[
http://jira.codehaus.org/browse/MWEBSTART-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerome Lacoste updated MWEBSTART-73:
------------------------------------
Assignee: Jerome Lacoste
Fix Version/s: 1.0-alpha-2
I have fix for it.
> Build doesn't work on windows
> -----------------------------
>
> Key: MWEBSTART-73
> URL: http://jira.codehaus.org/browse/MWEBSTART-73
> Project: Maven 2.x Webstart Plugin
> Issue Type: Bug
> Affects Versions: 1.0-alpha-2
> Reporter: Jerome Lacoste
> Assignee: Jerome Lacoste
> Priority: Critical
> Fix For: 1.0-alpha-2
>
>
> Build fails on windows.
> * surefire 2.3.1 brings an old plexus-utils lib that breaks execution of
> programs that have spaces in path:
> * 2.4. is also broken for another reason: SUREFIRE-409
> * 2.3 is also broken due to (potentially) SUREFIRE-117
> Details.
> With 2.3.1
> [debug] Executing: "C:\Program Files\Java\jdk1.5.0_11\jre\..\bin\keytool.exe"
> -genkey -dname "CN=CN, OU=OU, L=L, ST=ST,
> O=O, C=C" -alias test -keypass 123456 -keystore
> C:\DOCUME~1\et4642\LOCALS~1\Temp\keystore -storepass 123456
> [warn] 'C:\Program' is not recognized as an internal or external command,
> [warn] operable program or batch file.
> [...]
> Results :
> Tests in error:
>
> testAddThenRemoveSignatureCheckUsingJarSignVerifyMojo(org.codehaus.mojo.webstart.JarUnsignMojoTest)
> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0
> With 2.3
> [INFO] Surefire report directory:
> C:\b2bdev\projects\OSS\mojo\webstart-maven-plugin\plugin\target\surefire-reports
> [INFO] Building jar: C:\DOCUME~1\et4642\LOCALS~1\Temp\surefirebooter25739.jar
> Forking command line: "C:\Program Files\Java\jdk1.5.0_11\jre\bin\java" -jar
> C:\DOCUME~1\et4642\LOCALS~1\Temp\surefireboo
> ter25739.jar C:\DOCUME~1\et4642\LOCALS~1\Temp\surefire25737tmp
> C:\DOCUME~1\et4642\LOCALS~1\Temp\surefire25738tmp
> java.lang.NoClassDefFoundError:
> org/apache/maven/surefire/booter/SurefireBooter
> Exception in thread "main"
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> With 2.4
> Results :
> Tests in error:
>
> testAddThenRemoveSignatureCheckUsingJarSignVerifyMojo(org.codehaus.mojo.webstart.JarUnsignMojoTest)
>
> testFailWhenSomeDependenciesDoNotExist(org.codehaus.mojo.webstart.AbstractJnlpMojoTest)
> testAllDependenciesExist(org.codehaus.mojo.webstart.AbstractJnlpMojoTest)
> Tests run: 11, Failures: 0, Errors: 3, Skipped: 0
> Caused by: org.codehaus.plexus.component.composition.CompositionException:
> Composition failed of field modelInterpolator
> in object of type org.apache.maven.project.DefaultMavenProjectBuilder
> because the requirement ComponentRequirement{role
> ='org.apache.maven.project.interpolation.ModelInterpolator', roleHint='null',
> fieldName='null'} was missing
> at
> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:154)
> at
> org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:73)
> at
> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68)
> at
> org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1486)
> at
> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29)
> ... 29 more
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> Unable to lookup component
> 'org.apache.maven.project.interpolation.ModelInterpolator', it could not be
> created
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:335)
> at
> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:129)
> ... 33 more
> Caused by:
> org.codehaus.plexus.component.factory.ComponentInstantiationException: Could
> not instanciate component: role:
> 'org.apache.maven.project.interpolation.ModelInterpolator', implementation:
> 'org.apache.maven.project.interpolation.RegexBasedModelInterpolator'
> at
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeException(JavaComponentFactory.java:77)
> at
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:62)
> at
> org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464)
> at
> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93)
> at
> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
> ... 34 more
> Caused by: java.lang.NoSuchMethodError:
> org.codehaus.plexus.util.cli.CommandLineUtils.getSystemEnvVars()Ljava/util/Properties;
> at
> org.apache.maven.project.interpolation.RegexBasedModelInterpolator.<init>(RegexBasedModelInterpolator.java:63)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at java.lang.Class.newInstance0(Class.java:350)
> at java.lang.Class.newInstance(Class.java:303)
> at
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44)
> ... 38 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email