You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Lars Corneliussen (JIRA)" <ji...@apache.org> on 2011/04/20 16:59:06 UTC
[jira] [Created] (NPANDAY-416) Tests in projects whose paths
contains spaces fails: Reason: maven-test-plugin resolves to
plexus-utils:1.1
Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1
------------------------------------------------------------------------------------------------------------
Key: NPANDAY-416
URL: https://issues.apache.org/jira/browse/NPANDAY-416
Project: NPanday
Issue Type: Bug
Components: Maven Plugins
Affects Versions: 1.3.1-incubating
Reporter: Lars Corneliussen
Fix For: 1.3.1-incubating
Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
{code:title=As executed by NPanday}
CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
{code}
{code:title=As it should be}
CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
{code}
Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
Different versions used are:
* 1.0.4 <- fails with MethodMissing
* 1.1 <- seems to be used
* 1.4.1 <- from here would be ok
* 1.4.5
* 1.5.1
* 1.5.5
Even if the test-plugin should resolve to 1.4.5:
{code}
[DEBUG] maven-test-plugin: using locally installed snapshot
[DEBUG] Adding managed dependencies for unknown:maven-test-plugin
[DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] org.apache.maven:maven-core:jar:2.0.9
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
[DEBUG] org.apache.maven:maven-project:jar:2.0.9
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
[DEBUG] net.sf.kxml:kxml2:jar:2.1.8
[DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
[DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
[DEBUG] org.slf4j:slf4j-api:jar:1.5.11
{code}
Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
{code}
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
{code}
** Workaround **
Specify version explicitely:
{code}
<plugin>
<groupId>npanday.plugin</groupId>
<artifactId>maven-test-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.4.5</version>
</dependency>
</dependencies>
</plugin>
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (NPANDAY-416) MVN 2.2.1: Tests in projects whose
paths contains spaces fails: Reason: maven-test-plugin resolves to
plexus-utils:1.1
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Corneliussen updated NPANDAY-416:
--------------------------------------
Environment:
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_23
Java home: C:\Program Files\Java\jdk1.6.0_23\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
Summary: MVN 2.2.1: Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1 (was: Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1 )
In Maven 3.0.3 it passes. The problem occurs in MVN 2.2.1
> MVN 2.2.1: Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: NPANDAY-416
> URL: https://issues.apache.org/jira/browse/NPANDAY-416
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.3.1-incubating
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_23
> Java home: C:\Program Files\Java\jdk1.6.0_23\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
> Reporter: Lars Corneliussen
> Fix For: 1.3.1-incubating
>
> Attachments: buildlog.txt
>
>
> Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
> {code:title=As executed by NPanday}
> CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> {code:title=As it should be}
> CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
> Different versions used are:
> * 1.0.4 <- fails with MethodMissing
> * 1.1 <- seems to be used
> * 1.4.1 <- from here would be ok
> * 1.4.5
> * 1.5.1
> * 1.5.5
> Even if the test-plugin should resolve to 1.4.5:
> {code}
> [DEBUG] maven-test-plugin: using locally installed snapshot
> [DEBUG] Adding managed dependencies for unknown:maven-test-plugin
> [DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] org.apache.maven:maven-core:jar:2.0.9
> [DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
> [DEBUG] org.apache.maven:maven-project:jar:2.0.9
> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
> [DEBUG] net.sf.kxml:kxml2:jar:2.1.8
> [DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
> [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
> [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
> [DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
> [DEBUG] org.slf4j:slf4j-api:jar:1.5.11
> {code}
> Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
> {code}
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
> {code}
> h3. Workaround
> Specify version explicitely:
> {code}
> <plugin>
> <groupId>npanday.plugin</groupId>
> <artifactId>maven-test-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-utils</artifactId>
> <version>1.4.5</version>
> </dependency>
> </dependencies>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (NPANDAY-416) Tests in projects whose paths
contains spaces fails: Reason: maven-test-plugin resolves to
plexus-utils:1.1
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Corneliussen updated NPANDAY-416:
--------------------------------------
Description:
Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
{code:title=As executed by NPanday}
CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
{code}
{code:title=As it should be}
CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
{code}
Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
Different versions used are:
* 1.0.4 <- fails with MethodMissing
* 1.1 <- seems to be used
* 1.4.1 <- from here would be ok
* 1.4.5
* 1.5.1
* 1.5.5
Even if the test-plugin should resolve to 1.4.5:
{code}
[DEBUG] maven-test-plugin: using locally installed snapshot
[DEBUG] Adding managed dependencies for unknown:maven-test-plugin
[DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] org.apache.maven:maven-core:jar:2.0.9
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
[DEBUG] org.apache.maven:maven-project:jar:2.0.9
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
[DEBUG] net.sf.kxml:kxml2:jar:2.1.8
[DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
[DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
[DEBUG] org.slf4j:slf4j-api:jar:1.5.11
{code}
Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
{code}
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
{code}
h3. Workaround
Specify version explicitely:
{code}
<plugin>
<groupId>npanday.plugin</groupId>
<artifactId>maven-test-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.4.5</version>
</dependency>
</dependencies>
</plugin>
{code}
was:
Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
{code:title=As executed by NPanday}
CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
{code}
{code:title=As it should be}
CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
{code}
Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
Different versions used are:
* 1.0.4 <- fails with MethodMissing
* 1.1 <- seems to be used
* 1.4.1 <- from here would be ok
* 1.4.5
* 1.5.1
* 1.5.5
Even if the test-plugin should resolve to 1.4.5:
{code}
[DEBUG] maven-test-plugin: using locally installed snapshot
[DEBUG] Adding managed dependencies for unknown:maven-test-plugin
[DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
[DEBUG] org.apache.maven:maven-core:jar:2.0.9
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
[DEBUG] org.apache.maven:maven-project:jar:2.0.9
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
[DEBUG] net.sf.kxml:kxml2:jar:2.1.8
[DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
[DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
[DEBUG] org.slf4j:slf4j-api:jar:1.5.11
{code}
Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
{code}
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
{code}
** Workaround **
Specify version explicitely:
{code}
<plugin>
<groupId>npanday.plugin</groupId>
<artifactId>maven-test-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.4.5</version>
</dependency>
</dependencies>
</plugin>
{code}
> Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1
> ------------------------------------------------------------------------------------------------------------
>
> Key: NPANDAY-416
> URL: https://issues.apache.org/jira/browse/NPANDAY-416
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.3.1-incubating
> Reporter: Lars Corneliussen
> Fix For: 1.3.1-incubating
>
> Attachments: buildlog.txt
>
>
> Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
> {code:title=As executed by NPanday}
> CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> {code:title=As it should be}
> CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
> Different versions used are:
> * 1.0.4 <- fails with MethodMissing
> * 1.1 <- seems to be used
> * 1.4.1 <- from here would be ok
> * 1.4.5
> * 1.5.1
> * 1.5.5
> Even if the test-plugin should resolve to 1.4.5:
> {code}
> [DEBUG] maven-test-plugin: using locally installed snapshot
> [DEBUG] Adding managed dependencies for unknown:maven-test-plugin
> [DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] org.apache.maven:maven-core:jar:2.0.9
> [DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
> [DEBUG] org.apache.maven:maven-project:jar:2.0.9
> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
> [DEBUG] net.sf.kxml:kxml2:jar:2.1.8
> [DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
> [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
> [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
> [DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
> [DEBUG] org.slf4j:slf4j-api:jar:1.5.11
> {code}
> Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
> {code}
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
> {code}
> h3. Workaround
> Specify version explicitely:
> {code}
> <plugin>
> <groupId>npanday.plugin</groupId>
> <artifactId>maven-test-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-utils</artifactId>
> <version>1.4.5</version>
> </dependency>
> </dependencies>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (NPANDAY-416) MVN 2.2.1: Tests in projects whose
paths contains spaces fails: Reason: maven-test-plugin resolves to
plexus-utils:1.1
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Corneliussen resolved NPANDAY-416.
---------------------------------------
Resolution: Fixed
Assignee: Lars Corneliussen
Fixed together with NPANDAY-417 (root cause)
> MVN 2.2.1: Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: NPANDAY-416
> URL: https://issues.apache.org/jira/browse/NPANDAY-416
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.3.1-incubating
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_23
> Java home: C:\Program Files\Java\jdk1.6.0_23\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
> Reporter: Lars Corneliussen
> Assignee: Lars Corneliussen
> Fix For: 1.3.1-incubating
>
> Attachments: buildlog.txt
>
>
> Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
> {code:title=As executed by NPanday}
> CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> {code:title=As it should be}
> CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
> Different versions used are:
> * 1.0.4 <- fails with MethodMissing
> * 1.1 <- seems to be used
> * 1.4.1 <- from here would be ok
> * 1.4.5
> * 1.5.1
> * 1.5.5
> Even if the test-plugin should resolve to 1.4.5:
> {code}
> [DEBUG] maven-test-plugin: using locally installed snapshot
> [DEBUG] Adding managed dependencies for unknown:maven-test-plugin
> [DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] org.apache.maven:maven-core:jar:2.0.9
> [DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
> [DEBUG] org.apache.maven:maven-project:jar:2.0.9
> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
> [DEBUG] net.sf.kxml:kxml2:jar:2.1.8
> [DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
> [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
> [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
> [DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
> [DEBUG] org.slf4j:slf4j-api:jar:1.5.11
> {code}
> Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
> {code}
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
> {code}
> h3. Workaround
> Specify version explicitely:
> {code}
> <plugin>
> <groupId>npanday.plugin</groupId>
> <artifactId>maven-test-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-utils</artifactId>
> <version>1.4.5</version>
> </dependency>
> </dependencies>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NPANDAY-416) Tests in projects whose paths
contains spaces fails: Reason: maven-test-plugin resolves to
plexus-utils:1.1
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022226#comment-13022226 ]
Lars Corneliussen commented on NPANDAY-416:
-------------------------------------------
Making the dependency explicit on dotnet-executable does not help.
Specifying it directly on the maven-test-plugin does help. On the parent is neither enough. So what to do?
> Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1
> ------------------------------------------------------------------------------------------------------------
>
> Key: NPANDAY-416
> URL: https://issues.apache.org/jira/browse/NPANDAY-416
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.3.1-incubating
> Reporter: Lars Corneliussen
> Fix For: 1.3.1-incubating
>
>
> Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
> {code:title=As executed by NPanday}
> CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> {code:title=As it should be}
> CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
> Different versions used are:
> * 1.0.4 <- fails with MethodMissing
> * 1.1 <- seems to be used
> * 1.4.1 <- from here would be ok
> * 1.4.5
> * 1.5.1
> * 1.5.5
> Even if the test-plugin should resolve to 1.4.5:
> {code}
> [DEBUG] maven-test-plugin: using locally installed snapshot
> [DEBUG] Adding managed dependencies for unknown:maven-test-plugin
> [DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] org.apache.maven:maven-core:jar:2.0.9
> [DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
> [DEBUG] org.apache.maven:maven-project:jar:2.0.9
> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
> [DEBUG] net.sf.kxml:kxml2:jar:2.1.8
> [DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
> [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
> [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
> [DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
> [DEBUG] org.slf4j:slf4j-api:jar:1.5.11
> {code}
> Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
> {code}
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
> {code}
> ** Workaround **
> Specify version explicitely:
> {code}
> <plugin>
> <groupId>npanday.plugin</groupId>
> <artifactId>maven-test-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-utils</artifactId>
> <version>1.4.5</version>
> </dependency>
> </dependencies>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NPANDAY-416) MVN 2.2.1: Tests in projects whose
paths contains spaces fails: Reason: maven-test-plugin resolves to
plexus-utils:1.1
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022638#comment-13022638 ]
Lars Corneliussen commented on NPANDAY-416:
-------------------------------------------
This relates to:
* http://jira.codehaus.org/browse/MNG-3819 [regression] Plugins that don't declare dependency on plexus-utils no longer get plexus-utils:1.1
* http://jira.codehaus.org/browse/MNG-4276 Plugins with indirect dependency on plexus-utils are stuck with plexus-utils:1.1
Both issues seem not to be backported to Maven 2.2.1
> MVN 2.2.1: Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: NPANDAY-416
> URL: https://issues.apache.org/jira/browse/NPANDAY-416
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.3.1-incubating
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_23
> Java home: C:\Program Files\Java\jdk1.6.0_23\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
> Reporter: Lars Corneliussen
> Fix For: 1.3.1-incubating
>
> Attachments: buildlog.txt
>
>
> Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
> {code:title=As executed by NPanday}
> CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> {code:title=As it should be}
> CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
> Different versions used are:
> * 1.0.4 <- fails with MethodMissing
> * 1.1 <- seems to be used
> * 1.4.1 <- from here would be ok
> * 1.4.5
> * 1.5.1
> * 1.5.5
> Even if the test-plugin should resolve to 1.4.5:
> {code}
> [DEBUG] maven-test-plugin: using locally installed snapshot
> [DEBUG] Adding managed dependencies for unknown:maven-test-plugin
> [DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] org.apache.maven:maven-core:jar:2.0.9
> [DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
> [DEBUG] org.apache.maven:maven-project:jar:2.0.9
> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
> [DEBUG] net.sf.kxml:kxml2:jar:2.1.8
> [DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
> [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
> [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
> [DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
> [DEBUG] org.slf4j:slf4j-api:jar:1.5.11
> {code}
> Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
> {code}
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
> {code}
> h3. Workaround
> Specify version explicitely:
> {code}
> <plugin>
> <groupId>npanday.plugin</groupId>
> <artifactId>maven-test-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-utils</artifactId>
> <version>1.4.5</version>
> </dependency>
> </dependencies>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NPANDAY-416) Tests in projects whose paths
contains spaces fails: Reason: maven-test-plugin resolves to
plexus-utils:1.1
Posted by "Brett Porter (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022599#comment-13022599 ]
Brett Porter commented on NPANDAY-416:
--------------------------------------
are those lines in the debug output consecutive, or snipped? Very weird.
There's some special rules in Maven 2 about plexus-utils 1.1, but Maven 2.2.1+ should be giving you the version you asked for...
> Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1
> ------------------------------------------------------------------------------------------------------------
>
> Key: NPANDAY-416
> URL: https://issues.apache.org/jira/browse/NPANDAY-416
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.3.1-incubating
> Reporter: Lars Corneliussen
> Fix For: 1.3.1-incubating
>
>
> Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
> {code:title=As executed by NPanday}
> CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> {code:title=As it should be}
> CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
> Different versions used are:
> * 1.0.4 <- fails with MethodMissing
> * 1.1 <- seems to be used
> * 1.4.1 <- from here would be ok
> * 1.4.5
> * 1.5.1
> * 1.5.5
> Even if the test-plugin should resolve to 1.4.5:
> {code}
> [DEBUG] maven-test-plugin: using locally installed snapshot
> [DEBUG] Adding managed dependencies for unknown:maven-test-plugin
> [DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] org.apache.maven:maven-core:jar:2.0.9
> [DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
> [DEBUG] org.apache.maven:maven-project:jar:2.0.9
> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
> [DEBUG] net.sf.kxml:kxml2:jar:2.1.8
> [DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
> [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
> [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
> [DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
> [DEBUG] org.slf4j:slf4j-api:jar:1.5.11
> {code}
> Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
> {code}
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
> {code}
> ** Workaround **
> Specify version explicitely:
> {code}
> <plugin>
> <groupId>npanday.plugin</groupId>
> <artifactId>maven-test-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-utils</artifactId>
> <version>1.4.5</version>
> </dependency>
> </dependencies>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (NPANDAY-416) Tests in projects whose paths
contains spaces fails: Reason: maven-test-plugin resolves to
plexus-utils:1.1
Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NPANDAY-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Corneliussen updated NPANDAY-416:
--------------------------------------
Attachment: buildlog.txt
Attached the full build log. The lines shown were just small snippets of it.
> Tests in projects whose paths contains spaces fails: Reason: maven-test-plugin resolves to plexus-utils:1.1
> ------------------------------------------------------------------------------------------------------------
>
> Key: NPANDAY-416
> URL: https://issues.apache.org/jira/browse/NPANDAY-416
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.3.1-incubating
> Reporter: Lars Corneliussen
> Fix For: 1.3.1-incubating
>
> Attachments: buildlog.txt
>
>
> Again I found a problem in the handling of quotes and whitespaces. It occurs, when I try to run tests on a project that has Spaces in the path.
> {code:title=As executed by NPanday}
> CMD.EXE /X /C nunit-console L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll /xml:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" /output:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" /err:"L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> {code:title=As it should be}
> CMD.EXE /X /C nunit-console "L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target/test-assemblies\HelloNPanday.Logic.Test-test.dll" "/xml:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT.xml" "/output:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-RESULTS.txt" "/err:L:\Writing\dotnetpro\NPanday\hello-npanday-vs (Plus Tests)\HelloNPanday\HelloNPanday.Logic.Test\target\nunit-reports\TEST-HelloNPanday.Logic.Test-1.0-SNAPSHOT-ERROR.txt" /labels
> {code}
> Crap, crap, crap. I just found out, that the problem is because at runtime, the wrong plexus-utils version is resolved :((
> Different versions used are:
> * 1.0.4 <- fails with MethodMissing
> * 1.1 <- seems to be used
> * 1.4.1 <- from here would be ok
> * 1.4.5
> * 1.5.1
> * 1.5.5
> Even if the test-plugin should resolve to 1.4.5:
> {code}
> [DEBUG] maven-test-plugin: using locally installed snapshot
> [DEBUG] Adding managed dependencies for unknown:maven-test-plugin
> [DEBUG] npanday:dotnet-assembler:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-dao-project:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-executable:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-artifact:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-plugin:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-registry:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-repository:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-core:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-vendor:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-netdependency:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-assembly-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-compiler-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-executable-plugins:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-configuration-appenders:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] npanday:dotnet-model-settings:jar:1.3.1-incubating-SNAPSHOT
> [DEBUG] org.apache.maven:maven-core:jar:2.0.9
> [DEBUG] org.apache.maven:maven-artifact:jar:2.0.9
> [DEBUG] org.apache.maven:maven-project:jar:2.0.9
> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9
> [DEBUG] net.sf.kxml:kxml2:jar:2.1.8
> [DEBUG] xmlpull:xmlpull:jar:1.1.3.4a
> [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5
> [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-32
> [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-10
> [DEBUG] org.slf4j:slf4j-jdk14:jar:1.5.11
> [DEBUG] org.slf4j:slf4j-api:jar:1.5.11
> {code}
> Finding this in many places in the log. Which rule makes 1.1 override 1.4.5?
> {code}
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime (removed - nearer found: 1.1)
> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
> {code}
> ** Workaround **
> Specify version explicitely:
> {code}
> <plugin>
> <groupId>npanday.plugin</groupId>
> <artifactId>maven-test-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>org.codehaus.plexus</groupId>
> <artifactId>plexus-utils</artifactId>
> <version>1.4.5</version>
> </dependency>
> </dependencies>
> </plugin>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira