Skip to content

Commit b5418f4

Browse files
committed
Added common settings.
1 parent f1be410 commit b5418f4

File tree

1 file changed

+37
-10
lines changed

1 file changed

+37
-10
lines changed

pom.xml

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
<name>JavaMoney</name>
2323
<url>http://javamoney.org</url>
2424
</organization>
25-
25+
<url>http://javamoney.org</url>
26+
2627
<developers>
2728
<developer>
2829
<id>atsticks</id>
@@ -183,6 +184,17 @@
183184
<url>https://github.com/JavaMoney/javamoney-parent/issues</url>
184185
</issueManagement>
185186

187+
<dependencyManagement>
188+
<dependencies>
189+
<dependency>
190+
<groupId>org.testng</groupId>
191+
<artifactId>testng</artifactId>
192+
<version>${testng.version}</version>
193+
<scope>test</scope>
194+
</dependency>
195+
</dependencies>
196+
</dependencyManagement>
197+
186198
<build>
187199
<extensions>
188200
<extension>
@@ -387,15 +399,6 @@
387399
</property>
388400
</activation>
389401
<build>
390-
<pluginManagement>
391-
<plugins>
392-
<plugin>
393-
<groupId>org.apache.maven.plugins</groupId>
394-
<artifactId>maven-gpg-plugin</artifactId>
395-
<version>1.5</version>
396-
</plugin>
397-
</plugins>
398-
</pluginManagement>
399402
<plugins>
400403
<plugin>
401404
<!-- Usage: mvn clean deploy -Dgpg.passphrase=yourpassphrase ; Or sign
@@ -418,6 +421,30 @@
418421
</execution>
419422
</executions>
420423
</plugin>
424+
<plugin>
425+
<groupId>org.apache.maven.plugins</groupId>
426+
<artifactId>maven-javadoc-plugin</artifactId>
427+
<executions>
428+
<execution>
429+
<id>attach-javadocs</id>
430+
<goals>
431+
<goal>jar</goal>
432+
</goals>
433+
</execution>
434+
</executions>
435+
</plugin>
436+
<plugin>
437+
<groupId>org.apache.maven.plugins</groupId>
438+
<artifactId>maven-source-plugin</artifactId>
439+
<executions>
440+
<execution>
441+
<id>attach-sources</id>
442+
<goals>
443+
<goal>jar</goal>
444+
</goals>
445+
</execution>
446+
</executions>
447+
</plugin>
421448
</plugins>
422449
</build>
423450
</profile>

0 commit comments

Comments
 (0)