-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
4.0.0.Alpha2
-
None
Riddle me this...
1. This works:
mvn clean install -DskipTests=true [INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: org.jboss.tools.common.plugins:org.jboss.tools.common.core:3.4.0-SNAPSHOT @ /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/common/plugins/org.jboss.tools.common.core/pom.xml [INFO] Adding repository http://download.jboss.org/jbosstools/updates/target-platform_4.0.juno.SR0a/latest/ [INFO] Adding repository http://download.jboss.org/jbosstools/updates/target-platform_4.0.juno.SR0a/latest/
2. And this works:
mvn clean install -Dmaven.test.skip -Pdefault [INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: org.jboss.tools.common.plugins:org.jboss.tools.common.core:3.4.0-SNAPSHOT @ /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/common/plugins/org.jboss.tools.common.core/pom.xml [INFO] Adding repository http://download.jboss.org/jbosstools/updates/target-platform_4.0.juno.SR0a/latest/ [INFO] Adding repository http://download.jboss.org/jbosstools/updates/target-platform_4.0.juno.SR0a/latest/
3. But this does not:
mvn clean install -Dmaven.test.skip [INFO] Scanning for projects... [INFO] Computing target platform for MavenProject: org.jboss.tools.common.plugins:org.jboss.tools.common.core:3.4.0-SNAPSHOT @ /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/common/plugins/org.jboss.tools.common.core/pom.xml [INFO] Resolving dependencies of MavenProject: org.jboss.tools.common.plugins:org.jboss.tools.common.core:3.4.0-SNAPSHOT @ /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/common/plugins/org.jboss.tools.common.core/pom.xml [INFO] Cannot complete the request. Generating details. [INFO] Cannot complete the request. Generating details. [INFO] {osgi.ws=cocoa, osgi.os=macosx, osgi.arch=x86, org.eclipse.update.install.features=true} [ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: org.jboss.tools.common.core 3.4.0.qualifier [ERROR] Missing requirement: org.jboss.tools.common.core 3.4.0.qualifier requires 'bundle org.eclipse.core.runtime 3.7.0' but it could not be found
So... why does -Dmaven.test.skip cause the default profile in the parent pom, default, to be disabled when you turn off the tests, but DOES keep it enabled w/ -DskipTests?
- relates to
-
JBIDE-12635 -DskipPrivateRequirements=false in seam tests (and maybe others?) cause tests to always run even when -Dmaven.test.skip=true
- Closed
-
JBIDE-12836 Review and clean parent pom
- Closed