Skip to content

Commit 1935d9a

Browse files
committed
add release profile
1 parent 7c5fa51 commit 1935d9a

1 file changed

Lines changed: 42 additions & 2 deletions

File tree

pom.xml

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.github.adminfaces</groupId>
66
<artifactId>admin-starter-archetype</artifactId>
7-
<version>1.0.0-RC15</version>
7+
<version>1.0.0-RC15-SNAPSHOT</version>
88
<packaging>maven-archetype</packaging>
99

1010
<name>admin-starter-archetype</name>
@@ -20,7 +20,7 @@
2020
</developer>
2121
</developers>
2222

23-
<licenses>
23+
<licenses>
2424
<license>
2525
<name>The MIT License (MIT)</name>
2626
<url>https://opensource.org/licenses/MIT</url>
@@ -51,6 +51,46 @@
5151
</plugins>
5252
</pluginManagement>
5353
</build>
54+
55+
<profiles>
56+
<profile>
57+
<id>release</id>
58+
<build>
59+
<plugins>
60+
<plugin>
61+
<artifactId>maven-source-plugin</artifactId>
62+
<executions>
63+
<execution>
64+
<id>attach-sources</id>
65+
<goals>
66+
<goal>jar</goal>
67+
</goals>
68+
</execution>
69+
</executions>
70+
</plugin>
71+
<plugin>
72+
<artifactId>maven-javadoc-plugin</artifactId>
73+
<executions>
74+
<execution>
75+
<id>attach-javadocs</id>
76+
<goals>
77+
<goal>jar</goal>
78+
</goals>
79+
</execution>
80+
</executions>
81+
</plugin>
82+
<plugin>
83+
<artifactId>maven-surefire-plugin</artifactId>
84+
<version>2.19.1</version>
85+
<configuration>
86+
<skipTests>true</skipTests>
87+
</configuration>
88+
</plugin>
89+
</plugins>
90+
</build>
91+
</profile>
92+
93+
</profiles>
5494

5595
<distributionManagement>
5696
<snapshotRepository>

0 commit comments

Comments
 (0)