diff options
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 129 |
1 files changed, 69 insertions, 60 deletions
@@ -8,7 +8,7 @@ <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <name>everge</name> - <description>Simple regex-based text processin</description> + <description>Simple regex-based text processing</description> <url>http://www.github.com/bculkin2442/everge</url> <developers> <developer> @@ -82,65 +82,6 @@ <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <version>2.2.1</version> - <executions> - <execution> - <id>attach-sources</id> - <goals> - <goal>jar-no-fork</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.9.1</version> - <executions> - <execution> - <id>attach-javadocs</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <version>1.5</version> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>com.github.github</groupId> - <artifactId>site-maven-plugin</artifactId> - <version>0.9</version> - <executions> - <execution> - <goals> - <goal>site</goal> - </goals> - <phase>site-deploy</phase> - <configuration> - <server>github</server> - <message>Building site for my project</message> - <path>${site.path}</path> - <merge>true</merge> - </configuration> - </execution> - </executions> - </plugin> </plugins> <resources> <resource> @@ -152,6 +93,74 @@ </resource> </resources> </build> + <profiles> + <profile> + <id>release</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>2.2.1</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.9.1</version> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.5</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>com.github.github</groupId> + <artifactId>site-maven-plugin</artifactId> + <version>0.9</version> + <executions> + <execution> + <goals> + <goal>site</goal> + </goals> + <phase>site-deploy</phase> + <configuration> + <server>github</server> + <message>Building site for my project</message> + <path>${site.path}</path> + <merge>true</merge> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> <reporting> <plugins> <plugin> |
