[Issue 1693] New - 'mvn compile' fails

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 1693] New - 'mvn compile' fails

jglick-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1693
                 Issue #|1693
                 Summary|'mvn compile' fails
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|trayapp
             Assigned to|davyboyhayes
             Reported by|jglick






------- Additional comments from [hidden email] Wed May 14 16:22:25 +0000 2008 -------
If you run 'mvn install' from the root Hudson pom dir, it works. But 'mvn
compile' fails:

[INFO] ------------------------------------------------------------------------
[INFO] Building Hudson Tray Application Client App
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.0.8
[INFO] JDK Version: 1.6.0_06 normalized as: 1.6.0-6
[INFO] OS Info: Arch: i386 Family: unix Name: linux Version: 2.6.24-16-generic
[INFO] [localizer:generate {execution: default}]
[INFO] [dependency:unpack-dependencies {execution: unpack-dependencies}]
[INFO] Unpacking
/space/src/hudson/plugins/hudsontrayapp/client-common/target/classesto
 /space/src/hudson/plugins/hudsontrayapp/client/target/classes
with Includes null and excludes:null
org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
        at
org.codehaus.plexus.archiver.AbstractUnArchiver.validate(AbstractUnArchiver.java:174)
        at
org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:107)
        at
org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:266)
        at
org.apache.maven.plugin.dependency.UnpackDependenciesMojo.execute(UnpackDependenciesMojo.java:90)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error unpacking file:
/space/src/hudson/plugins/hudsontrayapp/client-common/target/classes to:
/space/src/hudson/plugins/hudsontrayapp/client/target/classes
org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.

Perhaps a bug in the unarchiver plugin?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1693] 'mvn compile' fails

scm_issue_link
https://hudson.dev.java.net/issues/show_bug.cgi?id=1693



User scm_issue_link changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Fri May 23 06:43:11 +0000 2008 -------
Code changed in hudson
User: : kohsuke
Path:
 trunk/hudson/plugins/hudsontrayapp/client/pom.xml
 trunk/hudson/plugins/hudsontrayapp/plugin/pom.xml
http://fisheye4.cenqua.com/changelog/hudson/?cs=9607
Log:
[FIXED HUDSON-1693] generate-resources phase is too early to unpack other dependencies, as they may not be built. So think of this as a post-compilation step that adds more class files instead.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]