Skip to content

Commit 0324f73

Browse files
committed
Prepares pom for release
- Updates version to 1.0.2 - Adds maven central profile Signed-off-by: Frank Schnicke <frank.schnicke@iese.fraunhofer.de>
1 parent 6a0c4bd commit 0324f73

1 file changed

Lines changed: 69 additions & 2 deletions

File tree

pom.xml

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,33 @@
55

66
<groupId>org.eclipse.basyx</groupId>
77
<artifactId>basyx.sdk</artifactId>
8-
<version>1.0.2-SNAPSHOT</version>
8+
<version>1.0.2</version>
99
<name>BaSyx SDK</name>
10+
<description>BaSyx Software Development Kit</description>
11+
<url>https://www.eclipse.org/basyx/</url>
12+
13+
<licenses>
14+
<license>
15+
<name>Eclipse Public License 2.0</name>
16+
<url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt</url>
17+
</license>
18+
</licenses>
19+
20+
<developers>
21+
<developer>
22+
<organization>Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.</organization>
23+
<id>fschnicke</id>
24+
<name>Frank Schnicke</name>
25+
<email>frank.schnicke@iese.fraunhofer.de</email>
26+
</developer>
27+
</developers>
28+
29+
<scm>
30+
<connection>scm:https://github.com/eclipse-basyx/basyx-java-sdk.git</connection>
31+
<developerConnection>scm:https://github.com/eclipse-basyx/basyx-java-sdk.git</developerConnection>
32+
<tag>HEAD</tag>
33+
<url>https://github.com/eclipse-basyx/basyx-java-sdk</url>
34+
</scm>
1035

1136
<packaging>jar</packaging>
1237

@@ -114,6 +139,7 @@
114139
</executions>
115140
</plugin>
116141

142+
<!-- Generate javadoc -->
117143
<plugin>
118144
<groupId>org.apache.maven.plugins</groupId>
119145
<artifactId>maven-javadoc-plugin</artifactId>
@@ -124,7 +150,7 @@
124150
<executions>
125151
<execution>
126152
<goals>
127-
<goal>javadoc</goal>
153+
<goal>jar</goal>
128154
</goals>
129155
<id>generate-javadoc</id>
130156
<phase>package</phase>
@@ -242,5 +268,46 @@
242268
</dependency>
243269

244270
</dependencies>
271+
272+
<profiles>
273+
<profile>
274+
<id>MavenCentral</id>
275+
<distributionManagement>
276+
<snapshotRepository>
277+
<id>ossrh</id>
278+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
279+
</snapshotRepository>
280+
<repository>
281+
<id>ossrh</id>
282+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
283+
</repository>
284+
</distributionManagement>
285+
<build>
286+
<plugins>
287+
<!-- Signing the artifacts -->
288+
<plugin>
289+
<groupId>org.apache.maven.plugins</groupId>
290+
<artifactId>maven-gpg-plugin</artifactId>
291+
<version>1.6</version>
292+
<executions>
293+
<execution>
294+
<id>sign-artifacts</id>
295+
<phase>verify</phase>
296+
<goals>
297+
<goal>sign</goal>
298+
</goals>
299+
<configuration>
300+
<gpgArguments>
301+
<arg>--pinentry-mode</arg>
302+
<arg>loopback</arg>
303+
</gpgArguments>
304+
</configuration>
305+
</execution>
306+
</executions>
307+
</plugin>
308+
</plugins>
309+
</build>
310+
</profile>
311+
</profiles>
245312
</project>
246313

0 commit comments

Comments
 (0)