Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Commit 16bac07

Browse files
committed
prepare pom.xml for maven release
1 parent 43d7903 commit 16bac07

File tree

1 file changed

+147
-3
lines changed

1 file changed

+147
-3
lines changed

pom.xml

Lines changed: 147 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
32
<modelVersion>4.0.0</modelVersion>
43
<groupId>io.github.zenwave360.jhipster</groupId>
54
<artifactId>jdl-jvm</artifactId>
65
<packaging>jar</packaging>
76
<version>0.0.1-SNAPSHOT</version>
8-
<name>jdl-jvm</name>
7+
8+
<name>${project.groupId}:${project.artifactId}</name>
9+
<description>Java wrapper for JHipster Domain Language (JDL)</description>
10+
<url>https://github.com/ZenWave360/jdl-jvm</url>
911

1012
<properties>
1113
<graal.version>21.3.0</graal.version>
@@ -15,6 +17,42 @@
1517
<maven.compiler.source>${java.version}</maven.compiler.source>
1618
</properties>
1719

20+
<licenses>
21+
<license>
22+
<name>Apache License, Version 2.0</name>
23+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
24+
</license>
25+
</licenses>
26+
27+
<developers>
28+
<developer>
29+
<name>Ivan Garcia Sainz-Aja</name>
30+
<email>[email protected]</email>
31+
<organization>ZenWave360</organization>
32+
<organizationUrl>https://github.com/ZenWave360</organizationUrl>
33+
</developer>
34+
</developers>
35+
36+
<distributionManagement>
37+
<repository>
38+
<id>ossrh</id>
39+
<name>Central Repository OSSRH</name>
40+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
41+
</repository>
42+
<snapshotRepository>
43+
<id>ossrh</id>
44+
<name>Central Repository OSSRH</name>
45+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
46+
</snapshotRepository>
47+
</distributionManagement>
48+
49+
<scm>
50+
<connection>scm:git:git://github.com/ZenWave360/jdl-jvm.git</connection>
51+
<developerConnection>scm:git:[email protected]:ZenWave360/jdl-jvm.git</developerConnection>
52+
<url>https://github.com/ZenWave360/jdl-jvm</url>
53+
<tag>HEAD</tag>
54+
</scm>
55+
1856
<dependencies>
1957
<dependency>
2058
<groupId>org.graalvm.js</groupId>
@@ -33,4 +71,110 @@
3371
<scope>test</scope>
3472
</dependency>
3573
</dependencies>
74+
75+
<build>
76+
<plugins>
77+
<plugin>
78+
<groupId>org.apache.maven.plugins</groupId>
79+
<artifactId>maven-release-plugin</artifactId>
80+
<version>2.5.3</version>
81+
<configuration>
82+
<localCheckout>true</localCheckout>
83+
<pushChanges>false</pushChanges>
84+
<mavenExecutorId>forked-path</mavenExecutorId>
85+
<autoVersionSubmodules>true</autoVersionSubmodules>
86+
<tagNameFormat>v@{project.version}</tagNameFormat>
87+
<!-- <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>-->
88+
</configuration>
89+
<dependencies>
90+
<dependency>
91+
<groupId>org.apache.maven.scm</groupId>
92+
<artifactId>maven-scm-provider-gitexe</artifactId>
93+
<version>1.9.5</version>
94+
</dependency>
95+
</dependencies>
96+
</plugin>
97+
<plugin>
98+
<groupId>org.apache.maven.plugins</groupId>
99+
<artifactId>maven-source-plugin</artifactId>
100+
<version>3.2.0</version>
101+
<executions>
102+
<execution>
103+
<id>attach-sources</id>
104+
<goals>
105+
<goal>jar</goal>
106+
</goals>
107+
</execution>
108+
</executions>
109+
</plugin>
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-javadoc-plugin</artifactId>
113+
<version>3.3.1</version>
114+
<executions>
115+
<execution>
116+
<id>attach-javadocs</id>
117+
<goals>
118+
<goal>jar</goal>
119+
</goals>
120+
</execution>
121+
</executions>
122+
</plugin>
123+
<plugin>
124+
<groupId>org.simplify4u.plugins</groupId>
125+
<artifactId>sign-maven-plugin</artifactId>
126+
<version>1.0.0</version>
127+
<executions>
128+
<execution>
129+
<goals>
130+
<goal>sign</goal>
131+
</goals>
132+
</execution>
133+
</executions>
134+
</plugin>
135+
</plugins>
136+
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
137+
<plugins>
138+
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
139+
<plugin>
140+
<artifactId>maven-clean-plugin</artifactId>
141+
<version>3.1.0</version>
142+
</plugin>
143+
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
144+
<plugin>
145+
<artifactId>maven-resources-plugin</artifactId>
146+
<version>3.0.2</version>
147+
</plugin>
148+
<plugin>
149+
<artifactId>maven-compiler-plugin</artifactId>
150+
<version>3.8.0</version>
151+
</plugin>
152+
<plugin>
153+
<artifactId>maven-surefire-plugin</artifactId>
154+
<version>2.22.1</version>
155+
</plugin>
156+
<plugin>
157+
<artifactId>maven-jar-plugin</artifactId>
158+
<version>3.0.2</version>
159+
</plugin>
160+
<plugin>
161+
<artifactId>maven-install-plugin</artifactId>
162+
<version>2.5.2</version>
163+
</plugin>
164+
<plugin>
165+
<artifactId>maven-deploy-plugin</artifactId>
166+
<version>2.8.2</version>
167+
</plugin>
168+
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
169+
<plugin>
170+
<artifactId>maven-site-plugin</artifactId>
171+
<version>3.7.1</version>
172+
</plugin>
173+
<plugin>
174+
<artifactId>maven-project-info-reports-plugin</artifactId>
175+
<version>3.0.0</version>
176+
</plugin>
177+
</plugins>
178+
</pluginManagement>
179+
</build>
36180
</project>

0 commit comments

Comments
 (0)