项目作者: mojohaus

项目描述 :
Flatten Maven Plugin
高级语言: Java
项目地址: git://github.com/mojohaus/flatten-maven-plugin.git
创建时间: 2015-05-15T21:52:46Z
项目社区:https://github.com/mojohaus/flatten-maven-plugin

开源协议:Apache License 2.0

下载


MojoHaus Flatten Maven Plugin

This is the flatten-maven-plugin.

Apache License, Version 2.0, January 2004
Maven Central
GitHub CI

Quickstart

This plugin generates a flattened version of your pom.xml and makes maven to install and deploy this one instead of the original pom.xml.

  1. <build>
  2. <plugins>
  3. <plugin>
  4. <groupId>org.codehaus.mojo</groupId>
  5. <artifactId>flatten-maven-plugin</artifactId>
  6. <!--<version>INSERT LATEST VERSION HERE</version>-->
  7. <executions>
  8. <execution>
  9. <goals>
  10. <goal>flatten</goal>
  11. </goals>
  12. </execution>
  13. </executions>
  14. <configuration>
  15. <!-- See usage on maven site from link above for details -->
  16. </configuration>
  17. </plugin>
  18. </plugins>
  19. </build>

Releasing

  • Make sure gpg-agent is running.
  • Execute mvn release:prepare release:perform

For publishing the site do the following:

  1. cd target/checkout
  2. mvn site scm-publish:publish-scm