Community
Participate
Working Groups
How can I name the destination repo? With Ant (p2.mirror task): <property name="URL" value="http://dist.springsource.com/release/TOOLS/update/e3.7/" /> <p2.mirror> <repository location="file:${destination}/2.7.2.201109131000/" name="SpringIDE plugins for Eclipse 3.7" /> < source> <repository location="${URL}" /> </ source> </p2.mirror> With Maven, I can only set a destination path: <destination>${project.build.directory}/2.7.2.201109131000</destination> And while the *source* can include nested properties... <source> <repository> <url>http://dist.springsource.com/release/TOOLS/update/e3.7</url> <layout>p2</layout> </repository> </source> ... I can't do the same for the *destination*: <destination> <repository> <url>${project.build.directory}/site</url> <layout>p2</layout> <name>SpringIDE plugins for eclipse 3.7</name> </repository> </destination> See also: http://wiki.eclipse.org/Talk:Tycho/Additional_Tools
this shouldn't be hard to do. Feel free to provide a patch. Code is here: https://github.com/sonatype/tycho-extras/blob/master/tycho-p2-extras-plugin/src/main/java/org/eclipse/tycho/plugins/p2/extras/MirrorMojo.java
Gerrit patch: https://git.eclipse.org/r/19922
http://git.eclipse.org/c/tycho/org.eclipse.tycho.extras.git/commit/?id=1f7f9e100d99d55dd3ce33c90f5b88f122980755 thanks for the patch Thanh