diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2012-10-16 15:12:43 +0300 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2012-10-16 15:12:43 +0300 |
commit | 38a229fef27be11762204391c8b47d4799ef6266 (patch) | |
tree | 91690a454595718294f0a758f5fa74919b49de34 /pom.xml | |
parent | ee59b3fd8ca13ed16ae6a947c191f01ba71535d8 (diff) | |
download | pf4j-38a229fef27be11762204391c8b47d4799ef6266.tar.gz pf4j-38a229fef27be11762204391c8b47d4799ef6266.zip |
prepare for maven central repository
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 60 |
1 files changed, 59 insertions, 1 deletions
@@ -1,6 +1,12 @@ <?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <parent> + <groupId>org.sonatype.oss</groupId> + <artifactId>oss-parent</artifactId> + <version>7</version> + </parent> + <modelVersion>4.0.0</modelVersion> <groupId>ro.fortsoft.pf4j</groupId> <artifactId>pom</artifactId> @@ -25,7 +31,6 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <slf4j.version>1.6.4</slf4j.version> </properties> <build> @@ -42,6 +47,30 @@ </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.3.2</version> @@ -69,4 +98,33 @@ <module>demo</module> </modules> + <profiles> + <profile> + <id>release-sign-artifacts</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> + </project> |