Skip to content

Commit eee3eb1

Browse files
author
boncey
committed
Remove release plugin and build source jar by default
1 parent 81afadc commit eee3eb1

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

Flickr4Java/pom.xml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,18 @@
5151
</configuration>
5252
</plugin>
5353
<plugin>
54-
<artifactId>maven-release-plugin</artifactId>
55-
<version>2.4.1</version>
56-
<configuration>
57-
<useReleaseProfile>false</useReleaseProfile>
58-
<releaseProfiles>release</releaseProfiles>
59-
<autoVersionSubmodules>true</autoVersionSubmodules>
60-
</configuration>
54+
<groupId>org.apache.maven.plugins</groupId>
55+
<artifactId>maven-source-plugin</artifactId>
56+
<version>2.2.1</version>
57+
<executions>
58+
<execution>
59+
<id>attach-sources</id>
60+
<phase>verify</phase>
61+
<goals>
62+
<goal>jar-no-fork</goal>
63+
</goals>
64+
</execution>
65+
</executions>
6166
</plugin>
6267
</plugins>
6368

0 commit comments

Comments
 (0)