Skip to content

Commit 706c718

Browse files
committed
adding source plugin
1 parent 732b3ad commit 706c718

File tree

1 file changed

+32
-20
lines changed

1 file changed

+32
-20
lines changed

pom.xml

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -72,26 +72,6 @@
7272
</execution>
7373
</executions>
7474
</plugin>
75-
<plugin>
76-
<groupId>org.apache.maven.plugins</groupId>
77-
<artifactId>maven-release-plugin</artifactId>
78-
<version>2.5.1</version>
79-
<configuration>
80-
<tagNameFormat>v@{project.version}</tagNameFormat>
81-
<autoVersionSubmodules>true</autoVersionSubmodules>
82-
<releaseProfiles>releases</releaseProfiles>
83-
</configuration>
84-
</plugin>
85-
<plugin>
86-
<groupId>org.apache.maven.plugins</groupId>
87-
<artifactId>maven-javadoc-plugin</artifactId>
88-
<version>2.10.1</version>
89-
<configuration>
90-
<show>private</show>
91-
<nohelp>true</nohelp>
92-
<releaseProfiles>releases</releaseProfiles>
93-
</configuration>
94-
</plugin>
9575
</plugins>
9676
</build>
9777
<profiles>
@@ -118,6 +98,38 @@
11898
<skipStaging>true</skipStaging>
11999
</configuration>
120100
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-javadoc-plugin</artifactId>
104+
<version>2.10.1</version>
105+
<configuration>
106+
<show>private</show>
107+
<nohelp>true</nohelp>
108+
</configuration>
109+
</plugin>
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-source-plugin</artifactId>
113+
<version>2.4</version>
114+
<executions>
115+
<execution>
116+
<id>attach-sources</id>
117+
<phase>verify</phase>
118+
<goals>
119+
<goal>jar-no-fork</goal>
120+
</goals>
121+
</execution>
122+
</executions>
123+
</plugin>
124+
<plugin>
125+
<groupId>org.apache.maven.plugins</groupId>
126+
<artifactId>maven-release-plugin</artifactId>
127+
<version>2.5.1</version>
128+
<configuration>
129+
<tagNameFormat>v@{project.version}</tagNameFormat>
130+
<autoVersionSubmodules>true</autoVersionSubmodules>
131+
</configuration>
132+
</plugin>
121133
</plugins>
122134
</build>
123135
</profile>

0 commit comments

Comments
 (0)