Skip to content

Commit 23c7731

Browse files
committed
chore: #1 Prepare release by adding Maven stuff
Signed-off-by: Laurent Broudoux <[email protected]>
1 parent aec895f commit 23c7731

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
target
2+
.idea
3+
*.iml
4+
15
# Compiled class file
26
*.class
37

pom.xml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,48 @@
88
<artifactId>microcks-java-client</artifactId>
99
<version>0.0.1-SNAPSHOT</version>
1010

11+
<name>Microcks Java Client</name>
12+
<description>Java Client for interacting with Microcks API</description>
13+
<url>http://microcks.github.io</url>
14+
<organization>
15+
<name>Microcks</name>
16+
<url>http://microcks.github.io</url>
17+
</organization>
18+
19+
<licenses>
20+
<license>
21+
<name>Apache License, Version 2.0</name>
22+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
23+
<distribution>repo</distribution>
24+
</license>
25+
</licenses>
26+
27+
<developers>
28+
<developer>
29+
<id>microcks</id>
30+
<name>Microcks Development Team</name>
31+
<organizationUrl>https://microcks.github.io/</organizationUrl>
32+
</developer>
33+
</developers>
34+
35+
<scm>
36+
<connection>scm:git:https://github.com/microcks/microcks-java-client.git</connection>
37+
<developerConnection>scm:git:https://github.com/microcks/microcks-java-client.git</developerConnection>
38+
<url>http://github.com/microcks/microcks-java-client/</url>
39+
<tag>HEAD</tag>
40+
</scm>
41+
42+
<distributionManagement>
43+
<snapshotRepository>
44+
<id>oss-sonatype-staging</id>
45+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
46+
</snapshotRepository>
47+
<repository>
48+
<id>oss-sonatype-staging</id>
49+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
50+
</repository>
51+
</distributionManagement>
52+
1153
<properties>
1254
<maven.compiler.source>17</maven.compiler.source>
1355
<maven.compiler.target>17</maven.compiler.target>
@@ -134,4 +176,31 @@
134176
</plugin>
135177
</plugins>
136178
</build>
179+
180+
<profiles>
181+
<profile>
182+
<id>release</id>
183+
<build>
184+
<plugins>
185+
<plugin>
186+
<groupId>org.apache.maven.plugins</groupId>
187+
<artifactId>maven-gpg-plugin</artifactId>
188+
<version>1.6</version>
189+
<configuration>
190+
<passphrase>${gpg.passphrase}</passphrase>
191+
</configuration>
192+
<executions>
193+
<execution>
194+
<id>sign-artifacts</id>
195+
<phase>verify</phase>
196+
<goals>
197+
<goal>sign</goal>
198+
</goals>
199+
</execution>
200+
</executions>
201+
</plugin>
202+
</plugins>
203+
</build>
204+
</profile>
205+
</profiles>
137206
</project>

0 commit comments

Comments
 (0)