Skip to content

Commit 3402240

Browse files
committed
add release profile
adjust pom version
1 parent 1782860 commit 3402240

1 file changed

Lines changed: 38 additions & 3 deletions

File tree

pom.xml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<relativePath/>
1111
</parent>
1212
<artifactId>cucumber-living-documentation</artifactId>
13-
<version>1.1.0</version>
13+
<version>1.1.0-SNAPSHOT</version>
1414
<packaging>hpi</packaging>
1515

1616
<properties>
@@ -254,8 +254,6 @@
254254
</build>
255255

256256
<profiles>
257-
258-
259257
<profile>
260258
<id>coverage</id>
261259
<properties>
@@ -307,6 +305,43 @@
307305
</dependencies>
308306
</profile>
309307

308+
<profile>
309+
<id>release</id>
310+
<build>
311+
<plugins>
312+
<plugin>
313+
<artifactId>maven-source-plugin</artifactId>
314+
<executions>
315+
<execution>
316+
<id>attach-sources</id>
317+
<goals>
318+
<goal>jar</goal>
319+
</goals>
320+
</execution>
321+
</executions>
322+
</plugin>
323+
<plugin>
324+
<artifactId>maven-javadoc-plugin</artifactId>
325+
<executions>
326+
<execution>
327+
<id>attach-javadocs</id>
328+
<goals>
329+
<goal>jar</goal>
330+
</goals>
331+
</execution>
332+
</executions>
333+
</plugin>
334+
<plugin>
335+
<artifactId>maven-surefire-plugin</artifactId>
336+
<version>2.19.1</version>
337+
<configuration>
338+
<skipTests>true</skipTests>
339+
</configuration>
340+
</plugin>
341+
</plugins>
342+
</build>
343+
</profile>
344+
310345
</profiles>
311346

312347

0 commit comments

Comments
 (0)