Details
-
Bug
-
Resolution: Done
-
Major
-
3.3.0.Beta3
-
None
Description
If I run the command: mvn clean install -f ../build/pom-core.xml -Parchives-bootstrap,default,local.site -Dmaven.test.skip=true
Then the build system assumes we're running on hudson. The error is:
[ERROR] Internal error: java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/home/hudson/static_build_env/jbds/target-platform_3.3.indigo.SR2/e372M-wtp332M.target/. -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/home/hudson/static_build_env/jbds/target-platform_3.3.indigo.SR2/e372M-wtp332M.target/.
Our documentation, however, insists we put the repo over in build/target-platform/REPO/. If our documentation wants the target-platform there, then the build system should assume it is there first, rather than assume it is in a hudson-specific location. Documentation: https://community.jboss.org/wiki/HowToBuildJBossToolsWithMaven3
Currently, if no local.site is set, it assumes it will be at file:/home/hudson/static_build_env/jbds/target-platform_3.3.indigo.SR2/e372M-wtp332M.target/, but really it should assume it is at ../build/target-platform/REPO/