Using Extensions

Extensions are used to enable Wagon providers, used for the transport of artifact between repositories, and plug-ins which provide lifecycle enhancements.

Wagon providers

  1. <project>
  2. ...
  3. <build>
  4. <extensions>
  5. <extension>
  6. <groupId>org.apache.maven.wagon</groupId>
  7. <artifactId>wagon-ftp</artifactId>
  8. <version>2.10</version>
  9. </extension>
  10. </extensions>
  11. </build>
  12. ...
  13. </project>

Plug-ins which provide lifecycle enhancements

  1. <project>
  2. ...
  3. <build>
  4. <plugins>
  5. <plugin>
  6. <groupId>org.apache.felix</groupId>
  7. <artifactId>maven-bundle-plugin</artifactId>
  8. <extensions>true</extensions>
  9. <configuration>
  10. ...
  11. </configuration>
  12. </plugin>
  13. </plugins>
  14. </build>
  15. ...
  16. </project>