Skip to content

Commit c72a54f

Browse files
committed
Added release profile
1 parent 38946c2 commit c72a54f

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

pom.xml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,58 @@
8282
</repository>
8383
</distributionManagement>
8484

85+
86+
87+
<profiles>
88+
<profile>
89+
<id>release</id>
90+
<build>
91+
<plugins>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-source-plugin</artifactId>
95+
<version>2.2.1</version>
96+
<executions>
97+
<execution>
98+
<id>attach-sources</id>
99+
<goals>
100+
<goal>jar-no-fork</goal>
101+
</goals>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-javadoc-plugin</artifactId>
108+
<version>3.3.1</version>
109+
<executions>
110+
<execution>
111+
<id>attach-javadocs</id>
112+
<goals>
113+
<goal>jar</goal>
114+
</goals>
115+
</execution>
116+
</executions>
117+
</plugin>
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-gpg-plugin</artifactId>
121+
<version>3.0.1</version>
122+
<executions>
123+
<execution>
124+
<id>sign-artifacts</id>
125+
<phase>verify</phase>
126+
<goals>
127+
<goal>sign</goal>
128+
</goals>
129+
</execution>
130+
</executions>
131+
</plugin>
132+
</plugins>
133+
</build>
134+
</profile>
135+
</profiles>
136+
85137
<build>
86138
<plugins>
87139
<plugin>

0 commit comments

Comments
 (0)