Community
Participate
Working Groups
when executing, mvn install -Dtycho.localArtifacts=ignore -Pquality it failes for each p2 that embedd some source feature [INFO] --- tycho-p2-repository-plugin:0.24.0:assemble-repository (default-assemble-repository) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: org.eclipse.papyrusrt.tooling.p2 raw:0.7.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.7.2-SNAPSHOT [ERROR] Missing requirement: org.eclipse.papyrusrt.tooling.p2 raw:0.7.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.7.2-SNAPSHOT requires 'org.eclipse.papyrusrt.umlrt.tooling.feature.source.feature.group [0.7.2,0.7.3)' but it could not be found [ERROR] [ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
The analysis of the maven trace highlights that a mvn clean is executed, even if it is not written. maven-clean-plugin:2.6:clean (default-clean-1) @ org.eclipse.papyrusrt.tooling.p2 [INFO] --- tycho-packaging-plugin:0.24.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] The project's OSGi version is 0.7.2.201603250759 [INFO] [INFO] --- maven-clean-plugin:2.6:clean (default-clean-1) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] Deleting /export/home/flefevre/gitNeon/org.eclipse.papyrus-rt/releng/tooling/site/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /export/home/flefevre/gitNeon/org.eclipse.papyrus-rt/releng/tooling/site/src/main/resources [INFO] [INFO] --- tycho-source-plugin:0.24.0:plugin-source (plugin-source) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] [INFO] --- target-platform-configuration:0.24.0:target-platform (default-target-platform) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] [INFO] --- tycho-p2-publisher-plugin:0.24.0:publish-products (default-publish-products) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] [INFO] --- tycho-p2-publisher-plugin:0.24.0:publish-categories (default-publish-categories) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] [INFO] --- tycho-p2-publisher-plugin:0.24.0:attach-artifacts (default-attach-artifacts) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] [INFO] --- tycho-p2-repository-plugin:0.24.0:assemble-repository (default-assemble-repository) @ org.eclipse.papyrusrt.tooling.p2 --- [INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: org.eclipse.papyrusrt.tooling.p2 raw:0.7.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.7.2-SNAPSHOT [ERROR] Missing requirement: org.eclipse.papyrusrt.tooling.p2 raw:0.7.2.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):0.7.2-SNAPSHOT requires 'org.eclipse.papyrusrt.umlrt.tooling.feature.source.feature.group [0.7.2,0.7.3)' but it could not be found [ERROR] [ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
Googling I went on t the follwoing mail from me [1] that references [2], where we learn that tycho has hard coded a clean phase! Proposition write a message on the tycho mailing list [1]: https://dev.eclipse.org/mhonarc/lists/tycho-user/msg06857.html [2]: https://dev.eclipse.org/mhonarc/lists/tycho-user/msg03724.html
I am not able to solve the problem even if by including a plugin specific configuration in the quality profile. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> For SysML project, there is a difference by default the p2, product are not part of the quality profile. we have a specific profile "product" to include rcptt/rcptttest, p2 and product. For me, it is preferrable to remove /org.eclipse.papyrus-sysml/releng/pom.xml <modules> <module>org.eclipse.papyrus.sysml14.feature</module> </modules> <profiles> <profile> <id>product</id> <activation> <activeByDefault>false</activeByDefault> </activation> <modules> <module>org.eclipse.papyrus.sysml14.p2</module> <module>org.eclipse.papyrus.sysml14.rcp</module> <module>org.eclipse.papyrus.sysml14.rcp.feature</module> <module>org.eclipse.papyrus.sysml14.product</module> <module>org.eclipse.papyrus.sysml14.rcptt.tests</module> </modules> </profile> </profiles>
Is this still an issue?