Community
Participate
Working Groups
When building a .product with Tycho, the `assemble-repository` mojo is automatically invoked to build a p2 repo. In many cases, this step is useless as the resulting p2 repo is not used, and is quite time-consuming. We should investigate whether we have some occurrence of such useless executions in Platform and skip them if they're not used. Here is what to add to a pom.xml to skip the assemble-repsitory step on an eclipse-repostory which is about building products: <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-p2-repository-plugin</artifactId> <executions> <execution> <id>default-assemble-repository</id> <phase></phase> <configuration> <skip>true</skip> </configuration> </execution> <execution> <id>default-archive-repository</id> <phase></phase> <configuration> <skip>true</skip> </configuration> </execution> </executions> </plugin>
FYI, on EPP builds, skipping those steps saves 2h of build. I don't think we can expect as much for the Platform, but if we can save at least 1 or 2 minutes, why not?