[jbosstools-issues] [JBoss JIRA] (JBIDE-12756) -Dmaven.skip.tests disables default profile when building locally

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Nov 7 08:06:18 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-12756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen closed JBIDE-12756.
---------------------------------------

    Resolution: Duplicate Issue

    
> -Dmaven.skip.tests disables default profile when building locally
> -----------------------------------------------------------------
>
>                 Key: JBIDE-12756
>                 URL: https://issues.jboss.org/browse/JBIDE-12756
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Build/Releng, target-platform, UpStream
>    Affects Versions: 4.0.0.Alpha2
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>
> Riddle me this...
> 1. This works:
> {code}
> 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/
> {code}
> 2. And this works:
> {code}
> 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/
> {code}
> 3. But this does not:
> {code}
> 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
> {code}
> 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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list