Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24ed131

Browse files
committed
Added profiles
1 parent 5c86431 commit 24ed131

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

pom.xml

+82
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,86 @@
103103
</plugin>
104104
</plugins>
105105
</build>
106+
107+
<profiles>
108+
<profile>
109+
<id>coverage</id>
110+
<build>
111+
<plugins>
112+
<plugin>
113+
<groupId>org.jacoco</groupId>
114+
<artifactId>jacoco-maven-plugin</artifactId>
115+
<version>0.8.7</version>
116+
<executions>
117+
<execution>
118+
<id>prepare-agent</id>
119+
<goals>
120+
<goal>prepare-agent</goal>
121+
</goals>
122+
</execution>
123+
<execution>
124+
<id>report</id>
125+
<goals>
126+
<goal>report</goal>
127+
</goals>
128+
</execution>
129+
</executions>
130+
</plugin>
131+
</plugins>
132+
</build>
133+
</profile>
134+
<profile>
135+
<id>release</id>
136+
<activation>
137+
<property>
138+
<name>release</name>
139+
</property>
140+
</activation>
141+
<build>
142+
<plugins>
143+
<plugin>
144+
<groupId>org.apache.maven.plugins</groupId>
145+
<artifactId>maven-javadoc-plugin</artifactId>
146+
<version>3.3.1</version>
147+
<executions>
148+
<execution>
149+
<id>attach-javadocs</id>
150+
<goals>
151+
<goal>jar</goal>
152+
</goals>
153+
</execution>
154+
</executions>
155+
</plugin>
156+
<plugin>
157+
<groupId>org.apache.maven.plugins</groupId>
158+
<artifactId>maven-source-plugin</artifactId>
159+
<version>3.2.1</version>
160+
<executions>
161+
<execution>
162+
<id>attach-sources</id>
163+
<phase>verify</phase>
164+
<goals>
165+
<goal>jar-no-fork</goal>
166+
</goals>
167+
</execution>
168+
</executions>
169+
</plugin>
170+
<plugin>
171+
<groupId>org.apache.maven.plugins</groupId>
172+
<artifactId>maven-gpg-plugin</artifactId>
173+
<version>3.0.1</version>
174+
<executions>
175+
<execution>
176+
<id>sign-artifacts</id>
177+
<phase>verify</phase>
178+
<goals>
179+
<goal>sign</goal>
180+
</goals>
181+
</execution>
182+
</executions>
183+
</plugin>
184+
</plugins>
185+
</build>
186+
</profile>
187+
</profiles>
106188
</project>

0 commit comments

Comments
 (0)