Skip to content

Commit e71a535

Browse files
committed
Configure metadata and plugins
1 parent 621e0a4 commit e71a535

File tree

1 file changed

+127
-0
lines changed

1 file changed

+127
-0
lines changed

pom.xml

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,40 @@
88
<artifactId>openapi-workflow-parser</artifactId>
99
<version>1.0.0-SNAPSHOT</version>
1010

11+
<url>https://github.com/api-flows/openapi-workflow-parser</url>
12+
13+
<name>OpenAPI workflow parser</name>
14+
<description>Parsing OpenAPI workflow specifications</description>
15+
16+
<licenses>
17+
<license>
18+
<name>Apache License 2.0</name>
19+
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
<issueManagement>
24+
<system>github</system>
25+
<url>https://ggithub.com/api-flows/openapi-workflow-parser/issues</url>
26+
</issueManagement>
27+
28+
<scm>
29+
<connection>scm:git:git://github.com/api-flows/openapi-workflow-parser.git</connection>
30+
<developerConnection>scm:git:ssh://github.com/api-flows/openapi-workflow-parser.git</developerConnection>
31+
<url>http://github.com/api-flows/openapi-workflow-parser/tree/master</url>
32+
</scm>
33+
34+
<distributionManagement>
35+
<snapshotRepository>
36+
<id>ossrh</id>
37+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
38+
</snapshotRepository>
39+
<repository>
40+
<id>ossrh</id>
41+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
42+
</repository>
43+
</distributionManagement>
44+
1145
<properties>
1246
<maven.compiler.source>17</maven.compiler.source>
1347
<maven.compiler.target>17</maven.compiler.target>
@@ -61,11 +95,104 @@
6195

6296
<build>
6397
<plugins>
98+
<plugin>
99+
<artifactId>maven-compiler-plugin</artifactId>
100+
<version>3.11.0</version>
101+
</plugin>
64102
<plugin>
65103
<groupId>org.apache.maven.plugins</groupId>
66104
<artifactId>maven-surefire-plugin</artifactId>
67105
<version>3.1.2</version>
68106
</plugin>
107+
108+
<plugin>
109+
<groupId>org.apache.maven.plugins</groupId>
110+
<artifactId>maven-javadoc-plugin</artifactId>
111+
<version>3.6.0</version>
112+
<executions>
113+
<execution>
114+
<id>attach-javadocs</id>
115+
<goals>
116+
<goal>jar</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
121+
<plugin>
122+
<groupId>org.jacoco</groupId>
123+
<artifactId>jacoco-maven-plugin</artifactId>
124+
<version>0.8.8</version>
125+
<executions>
126+
<execution>
127+
<id>default-prepare-agent</id>
128+
<goals>
129+
<goal>prepare-agent</goal>
130+
</goals>
131+
</execution>
132+
<execution>
133+
<id>default-report</id>
134+
<goals>
135+
<goal>report</goal>
136+
</goals>
137+
</execution>
138+
<execution>
139+
<id>default-check</id>
140+
<goals>
141+
<goal>check</goal>
142+
</goals>
143+
<configuration />
144+
</execution>
145+
</executions>
146+
<configuration>
147+
<rules>
148+
<rule>
149+
<element>BUNDLE</element>
150+
</rule>
151+
</rules>
152+
</configuration>
153+
</plugin>
154+
155+
<plugin>
156+
<groupId>org.sonatype.plugins</groupId>
157+
<artifactId>nexus-staging-maven-plugin</artifactId>
158+
<version>1.6.13</version>
159+
<extensions>true</extensions>
160+
<configuration>
161+
<serverId>ossrh</serverId>
162+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
163+
<!-- allow manual releasing from https://s01.oss.sonatype.org/ -->
164+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
165+
</configuration>
166+
</plugin>
167+
<plugin>
168+
<groupId>org.apache.maven.plugins</groupId>
169+
<artifactId>maven-gpg-plugin</artifactId>
170+
<version>3.1.0</version>
171+
<executions>
172+
<execution>
173+
<id>sign-artifacts</id>
174+
<phase>verify</phase>
175+
<goals>
176+
<goal>sign</goal>
177+
</goals>
178+
<configuration>
179+
<keyname>${gpg.keyname}</keyname>
180+
<passphraseServerId>${gpg.passphrase}</passphraseServerId>
181+
</configuration>
182+
</execution>
183+
</executions>
184+
</plugin>
185+
<plugin>
186+
<groupId>org.apache.maven.plugins</groupId>
187+
<artifactId>maven-release-plugin</artifactId>
188+
<version>3.0.0-M7</version>
189+
<configuration>
190+
<autoVersionSubmodules>true</autoVersionSubmodules>
191+
<useReleaseProfile>false</useReleaseProfile>
192+
<releaseProfiles>release</releaseProfiles>
193+
<goals>deploy</goals>
194+
</configuration>
195+
</plugin>
69196
</plugins>
70197
</build>
71198

0 commit comments

Comments
 (0)