Build error in m2release

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

Build error in m2release

robert.egan

I get this error when building the latest code in m2release plugin. For now, I have commented this from the plugins pom and the rest of the plugins have finished. I am going to try to check out an earlier version and work with that,

D:\apps\hudson\source\hudson\plugins\m2release>\apps\apache-maven-2.2.1\bin\mvn clean install -Dmaven.test.skip=true
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Hudson Maven Release Plug-in nexus helper
[INFO]   Hudson Maven Release Plug-in Plug-in
[INFO]   Hudson Maven Release Plug-in Parent
[INFO] ------------------------------------------------------------------------
[INFO] Building Hudson Maven Release Plug-in nexus helper
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory D:\apps\hudson\source\hudson\plugins\m2release\nexus\target
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\main\resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\test\resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
[INFO] [shade:shade {execution: default}]
[INFO] Including org.sonatype.nexus.restlight:nexus-restlight-stage-client:jar:1.5.0 in the shaded jar.
[INFO] Including org.sonatype.nexus.restlight:nexus-restlight-client-common:jar:1.5.0 in the shaded jar.
[INFO] Including org.jdom:jdom:jar:1.1 in the shaded jar.
[INFO] Including commons-httpclient:commons-httpclient:jar:3.1 in the shaded jar.
[INFO] Including commons-codec:commons-codec:jar:1.2 in the shaded jar.
[INFO] Including org.slf4j:slf4j-api:jar:1.5.6 in the shaded jar.
[INFO] Including org.slf4j:jcl-over-slf4j:jar:1.5.6 in the shaded jar.
[INFO] Including org.slf4j:slf4j-log4j12:jar:1.5.6 in the shaded jar.
[INFO] Including jaxen:jaxen:jar:1.1.1 in the shaded jar.
[INFO] Including dom4j:dom4j:jar:1.6.1 in the shaded jar.
[INFO] Including org.codehaus.plexus:plexus-utils:jar:1.5.8 in the shaded jar.
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar with D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT-shaded.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar to C:\Documents and Settings\eganr\.m2\repository\org\jvnet\hudson\plugins\m2release\nexus\0.0.4-SNAPSHOT\nexus-0.0.4-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Hudson Maven Release Plug-in Plug-in
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory D:\apps\hudson\source\hudson\plugins\m2release\plugin\target
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
[INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
[INFO] [localizer:generate {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] [hpi:apt-compile {execution: default-apt-compile}]
[INFO] Compiling 9 source files to D:\apps\hudson\source\hudson\plugins\m2release\plugin\target\classes
Note: Generating org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.stapler
Note: Generating org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper\DescriptorImpl\doUrlCheck.stapler
Note: org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl indexed under hudson.Extension
D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:311: inconvertible types
found   : hudson.model.AbstractBuild<capture#602 of ?,capture#193 of ?>
required: hudson.maven.MavenBuild
                if (build instanceof MavenBuild) {
                    ^
D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:312: inconvertible types
found   : hudson.model.AbstractBuild<capture#642 of ?,capture#501 of ?>
required: hudson.maven.MavenBuild
                        MavenBuild m2Build = (MavenBuild) build;
                                                          ^
D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:317: inconvertible types
found   : hudson.model.AbstractBuild<capture#991 of ?,capture#369 of ?>
required: hudson.maven.MavenModuleSetBuild
                else if (build instanceof MavenModuleSetBuild) {
                         ^
D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:318: inconvertible types
found   : hudson.model.AbstractBuild<capture#276 of ?,capture#391 of ?>
required: hudson.maven.MavenModuleSetBuild
                        MavenModuleSetBuild m2moduleSetBuild = (MavenModuleSetBuild) build;

     ^
D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:329: warning: [deprecation] getProjectAction(hudson.model.AbstractProject) in hudson.tasks.BuildWrapper has been deprecated
        public Action getProjectAction(AbstractProject job) {
                      ^
4 errors
1 warning
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Fatal error compiling

Embedded error: APT failed: 1
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48 seconds
[INFO] Finished at: Tue Jul 13 20:21:44 EDT 2010
[INFO] Final Memory: 41M/73M
[INFO] ------------------------------------------------------------------------
D:\apps\hudson\source\hudson\plugins\m2release>


Robert Egan,
Senior Software Engineer
Global Delivery Management
Cell: +1 617 455 1425
Work: +1 617 663 7289

This email message and any attachments may contain confidential, proprietary or non-public information.  The information is intended solely for the designated recipient(s).  If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email.  Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited.  Any opinions expressed in this email are those of the author personally.
Reply | Threaded
Open this post in threaded view
|

Re: Build error in m2release

domi@fortysix.ch
Robert,

are you sure you did not modify the code?

I did the folowing:
$> svn co https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/m2release
$> cd m2release
$> mvn clean install -Dmaven.test.skip=true

compiling works perfect on my site - the only thing noted in my log is  
a deprecated method:

[INFO] Copying 7 resources
[INFO] [hpi:apt-compile {execution: default-apt-compile}]
[INFO] Compiling 9 source files to  
/private/tmp/m2rtest/m2release/plugin/target/classes
Note: Generating  
org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.stapler
Note: Generating  
org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper/DescriptorImpl/doUrlCheck.stapler
Note:  
org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl  
indexed under hudson.Extension
/private/tmp/m2rtest/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java:329: warning: [deprecation] getProjectAction(hudson.model.AbstractProject) in hudson.tasks.BuildWrapper has been  
deprecated
        public Action getProjectAction(AbstractProject job) {
                      ^
1 warning
[INFO] [access-modifier-checker:enforce {execution: default-enforce}]
[INFO] [hpi:insert-test {execution: default-insert-test}]

regards Domi


Zitat von [hidden email]:

> I get this error when building the latest code in m2release plugin. For
> now, I have commented this from the plugins pom and the rest of the
> plugins have finished. I am going to try to check out an earlier version
> and work with that,
>
> D:\apps\hudson\source\hudson\plugins\m2release>\apps\apache-maven-2.2.1\bin\mvn
> clean install -Dmaven.test.skip=true
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Hudson Maven Release Plug-in nexus helper
> [INFO]   Hudson Maven Release Plug-in Plug-in
> [INFO]   Hudson Maven Release Plug-in Parent
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Hudson Maven Release Plug-in nexus helper
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.2.1
> [INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\main\resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] No sources to compile
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\test\resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] Building jar:
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> [INFO] [shade:shade {execution: default}]
> [INFO] Including
> org.sonatype.nexus.restlight:nexus-restlight-stage-client:jar:1.5.0 in the
> shaded jar.
> [INFO] Including
> org.sonatype.nexus.restlight:nexus-restlight-client-common:jar:1.5.0 in
> the shaded jar.
> [INFO] Including org.jdom:jdom:jar:1.1 in the shaded jar.
> [INFO] Including commons-httpclient:commons-httpclient:jar:3.1 in the
> shaded jar.
> [INFO] Including commons-codec:commons-codec:jar:1.2 in the shaded jar.
> [INFO] Including org.slf4j:slf4j-api:jar:1.5.6 in the shaded jar.
> [INFO] Including org.slf4j:jcl-over-slf4j:jar:1.5.6 in the shaded jar.
> [INFO] Including org.slf4j:slf4j-log4j12:jar:1.5.6 in the shaded jar.
> [INFO] Including jaxen:jaxen:jar:1.1.1 in the shaded jar.
> [INFO] Including dom4j:dom4j:jar:1.6.1 in the shaded jar.
> [INFO] Including org.codehaus.plexus:plexus-utils:jar:1.5.8 in the shaded
> jar.
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> with
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT-shaded.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> to C:\Documents and
> Settings\eganr\.m2\repository\org\jvnet\hudson\plugins\m2release\nexus\0.0.4-SNAPSHOT\nexus-0.0.4-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Hudson Maven Release Plug-in Plug-in
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\target
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.2.1
> [INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [localizer:generate {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 7 resources
> [INFO] [hpi:apt-compile {execution: default-apt-compile}]
> [INFO] Compiling 9 source files to
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\target\classes
> Note: Generating
> org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.stapler
> Note: Generating
> org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper\DescriptorImpl\doUrlCheck.stapler
> Note:
> org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl
> indexed under hudson.Extension
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:311:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#602 of ?,capture#193 of ?>
> required: hudson.maven.MavenBuild
>                 if (build instanceof MavenBuild) {
>                     ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:312:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#642 of ?,capture#501 of ?>
> required: hudson.maven.MavenBuild
>                         MavenBuild m2Build = (MavenBuild) build;
>                                                           ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:317:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#991 of ?,capture#369 of ?>
> required: hudson.maven.MavenModuleSetBuild
>                 else if (build instanceof MavenModuleSetBuild) {
>                          ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:318:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#276 of ?,capture#391 of ?>
> required: hudson.maven.MavenModuleSetBuild
>                         MavenModuleSetBuild m2moduleSetBuild =
> (MavenModuleSetBuild) build;
>
>      ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:329:
> warning: [deprecation] getProjectAction(hudson.model.AbstractProject) in
> hudson.tasks.BuildWrapper has been deprecated
>         public Action getProjectAction(AbstractProject job) {
>                       ^
> 4 errors
> 1 warning
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Fatal error compiling
>
> Embedded error: APT failed: 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 48 seconds
> [INFO] Finished at: Tue Jul 13 20:21:44 EDT 2010
> [INFO] Final Memory: 41M/73M
> [INFO]
> ------------------------------------------------------------------------
> D:\apps\hudson\source\hudson\plugins\m2release>
>
>
> Robert Egan,
> Senior Software Engineer
> Global Delivery Management
> Cell: +1 617 455 1425
> Work: +1 617 663 7289
>
> This email message and any attachments may contain confidential,
> proprietary or non-public information.  The information is intended solely
> for the designated recipient(s).  If an addressing or transmission error
> has misdirected this email, please notify the sender immediately and
> destroy this email.  Any review, dissemination, use or reliance upon this
> information by unintended recipients is prohibited.  Any opinions
> expressed in this email are those of the author personally.



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

Reply | Threaded
Open this post in threaded view
|

RE: Build error in m2release

Nord, James
Works the same for me.

Note you only need to run maven in the plugin  module - the nexus module is dead.

/James

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: 14 July 2010 06:26
To: [hidden email]
Subject: Re: Build error in m2release

Robert,

are you sure you did not modify the code?

I did the folowing:
$> svn co https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/m2release
$> cd m2release
$> mvn clean install -Dmaven.test.skip=true

compiling works perfect on my site - the only thing noted in my log is
a deprecated method:

[INFO] Copying 7 resources
[INFO] [hpi:apt-compile {execution: default-apt-compile}]
[INFO] Compiling 9 source files to
/private/tmp/m2rtest/m2release/plugin/target/classes
Note: Generating
org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.stapler
Note: Generating
org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper/DescriptorImpl/doUrlCheck.stapler
Note:
org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl
indexed under hudson.Extension
/private/tmp/m2rtest/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java:329: warning: [deprecation] getProjectAction(hudson.model.AbstractProject) in hudson.tasks.BuildWrapper has been
deprecated
        public Action getProjectAction(AbstractProject job) {
                      ^
1 warning
[INFO] [access-modifier-checker:enforce {execution: default-enforce}]
[INFO] [hpi:insert-test {execution: default-insert-test}]

regards Domi


Zitat von [hidden email]:

> I get this error when building the latest code in m2release plugin. For
> now, I have commented this from the plugins pom and the rest of the
> plugins have finished. I am going to try to check out an earlier version
> and work with that,
>
> D:\apps\hudson\source\hudson\plugins\m2release>\apps\apache-maven-2.2.1\bin\mvn
> clean install -Dmaven.test.skip=true
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Hudson Maven Release Plug-in nexus helper
> [INFO]   Hudson Maven Release Plug-in Plug-in
> [INFO]   Hudson Maven Release Plug-in Parent
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Hudson Maven Release Plug-in nexus helper
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.2.1
> [INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\main\resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] No sources to compile
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\test\resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] Building jar:
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> [INFO] [shade:shade {execution: default}]
> [INFO] Including
> org.sonatype.nexus.restlight:nexus-restlight-stage-client:jar:1.5.0 in the
> shaded jar.
> [INFO] Including
> org.sonatype.nexus.restlight:nexus-restlight-client-common:jar:1.5.0 in
> the shaded jar.
> [INFO] Including org.jdom:jdom:jar:1.1 in the shaded jar.
> [INFO] Including commons-httpclient:commons-httpclient:jar:3.1 in the
> shaded jar.
> [INFO] Including commons-codec:commons-codec:jar:1.2 in the shaded jar.
> [INFO] Including org.slf4j:slf4j-api:jar:1.5.6 in the shaded jar.
> [INFO] Including org.slf4j:jcl-over-slf4j:jar:1.5.6 in the shaded jar.
> [INFO] Including org.slf4j:slf4j-log4j12:jar:1.5.6 in the shaded jar.
> [INFO] Including jaxen:jaxen:jar:1.1.1 in the shaded jar.
> [INFO] Including dom4j:dom4j:jar:1.6.1 in the shaded jar.
> [INFO] Including org.codehaus.plexus:plexus-utils:jar:1.5.8 in the shaded
> jar.
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> with
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT-shaded.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> to C:\Documents and
> Settings\eganr\.m2\repository\org\jvnet\hudson\plugins\m2release\nexus\0.0.4-SNAPSHOT\nexus-0.0.4-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Hudson Maven Release Plug-in Plug-in
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\target
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.2.1
> [INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [localizer:generate {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 7 resources
> [INFO] [hpi:apt-compile {execution: default-apt-compile}]
> [INFO] Compiling 9 source files to
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\target\classes
> Note: Generating
> org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.stapler
> Note: Generating
> org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper\DescriptorImpl\doUrlCheck.stapler
> Note:
> org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl
> indexed under hudson.Extension
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:311:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#602 of ?,capture#193 of ?>
> required: hudson.maven.MavenBuild
>                 if (build instanceof MavenBuild) {
>                     ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:312:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#642 of ?,capture#501 of ?>
> required: hudson.maven.MavenBuild
>                         MavenBuild m2Build = (MavenBuild) build;
>                                                           ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:317:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#991 of ?,capture#369 of ?>
> required: hudson.maven.MavenModuleSetBuild
>                 else if (build instanceof MavenModuleSetBuild) {
>                          ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:318:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#276 of ?,capture#391 of ?>
> required: hudson.maven.MavenModuleSetBuild
>                         MavenModuleSetBuild m2moduleSetBuild =
> (MavenModuleSetBuild) build;
>
>      ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:329:
> warning: [deprecation] getProjectAction(hudson.model.AbstractProject) in
> hudson.tasks.BuildWrapper has been deprecated
>         public Action getProjectAction(AbstractProject job) {
>                       ^
> 4 errors
> 1 warning
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Fatal error compiling
>
> Embedded error: APT failed: 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 48 seconds
> [INFO] Finished at: Tue Jul 13 20:21:44 EDT 2010
> [INFO] Final Memory: 41M/73M
> [INFO]
> ------------------------------------------------------------------------
> D:\apps\hudson\source\hudson\plugins\m2release>
>
>
> Robert Egan,
> Senior Software Engineer
> Global Delivery Management
> Cell: +1 617 455 1425
> Work: +1 617 663 7289
>
> This email message and any attachments may contain confidential,
> proprietary or non-public information.  The information is intended solely
> for the designated recipient(s).  If an addressing or transmission error
> has misdirected this email, please notify the sender immediately and
> destroy this email.  Any review, dissemination, use or reliance upon this
> information by unintended recipients is prohibited.  Any opinions
> expressed in this email are those of the author personally.



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



**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the [hidden email] and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

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

Reply | Threaded
Open this post in threaded view
|

RE: Build error in m2release

robert.egan

Thanks.

I'm not sure what's wrong with my environment, but I'm going to skip building the plugin. Everything else is working fine, and we don't use maven here (yet).


Robert Egan,
Senior Software Engineer
Global Delivery Management
Cell: +1 617 455 1425
Work: +1 617 663 7289

This email message and any attachments may contain confidential, proprietary or non-public information.  The information is intended solely for the designated recipient(s).  If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email.  Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited.  Any opinions expressed in this email are those of the author personally.



From: "Nord, James" <[hidden email]>
To: "[hidden email]" <[hidden email]>
Date: 07/14/2010 05:35 AM
Subject: RE: Build error in m2release





Works the same for me.

Note you only need to run maven in the plugin  module - the nexus module is dead.

/James

-----Original Message-----
From: [hidden email] [
mailto:domi@...]
Sent: 14 July 2010 06:26
To: [hidden email]
Subject: Re: Build error in m2release

Robert,

are you sure you did not modify the code?

I did the folowing:
$> svn co
https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/m2release
$> cd m2release
$> mvn clean install -Dmaven.test.skip=true

compiling works perfect on my site - the only thing noted in my log is
a deprecated method:

[INFO] Copying 7 resources
[INFO] [hpi:apt-compile {execution: default-apt-compile}]
[INFO] Compiling 9 source files to
/private/tmp/m2rtest/m2release/plugin/target/classes
Note: Generating
org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.stapler
Note: Generating
org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper/DescriptorImpl/doUrlCheck.stapler
Note:
org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl
indexed under hudson.Extension
/private/tmp/m2rtest/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java:329: warning: [deprecation] getProjectAction(hudson.model.AbstractProject) in hudson.tasks.BuildWrapper has been
deprecated
       public Action getProjectAction(AbstractProject job) {
                     ^
1 warning
[INFO] [access-modifier-checker:enforce {execution: default-enforce}]
[INFO] [hpi:insert-test {execution: default-insert-test}]

regards Domi


Zitat von [hidden email]:

> I get this error when building the latest code in m2release plugin. For
> now, I have commented this from the plugins pom and the rest of the
> plugins have finished. I am going to try to check out an earlier version
> and work with that,
>
> D:\apps\hudson\source\hudson\plugins\m2release>\apps\apache-maven-2.2.1\bin\mvn
> clean install -Dmaven.test.skip=true
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Hudson Maven Release Plug-in nexus helper
> [INFO]   Hudson Maven Release Plug-in Plug-in
> [INFO]   Hudson Maven Release Plug-in Parent
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Hudson Maven Release Plug-in nexus helper
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.2.1
> [INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\main\resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] No sources to compile
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\test\resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] Building jar:
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> [INFO] [shade:shade {execution: default}]
> [INFO] Including
> org.sonatype.nexus.restlight:nexus-restlight-stage-client:jar:1.5.0 in the
> shaded jar.
> [INFO] Including
> org.sonatype.nexus.restlight:nexus-restlight-client-common:jar:1.5.0 in
> the shaded jar.
> [INFO] Including org.jdom:jdom:jar:1.1 in the shaded jar.
> [INFO] Including commons-httpclient:commons-httpclient:jar:3.1 in the
> shaded jar.
> [INFO] Including commons-codec:commons-codec:jar:1.2 in the shaded jar.
> [INFO] Including org.slf4j:slf4j-api:jar:1.5.6 in the shaded jar.
> [INFO] Including org.slf4j:jcl-over-slf4j:jar:1.5.6 in the shaded jar.
> [INFO] Including org.slf4j:slf4j-log4j12:jar:1.5.6 in the shaded jar.
> [INFO] Including jaxen:jaxen:jar:1.1.1 in the shaded jar.
> [INFO] Including dom4j:dom4j:jar:1.6.1 in the shaded jar.
> [INFO] Including org.codehaus.plexus:plexus-utils:jar:1.5.8 in the shaded
> jar.
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> with
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT-shaded.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> to C:\Documents and
> Settings\eganr\.m2\repository\org\jvnet\hudson\plugins\m2release\nexus\0.0.4-SNAPSHOT\nexus-0.0.4-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Hudson Maven Release Plug-in Plug-in
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\target
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.2.1
> [INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [localizer:generate {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 7 resources
> [INFO] [hpi:apt-compile {execution: default-apt-compile}]
> [INFO] Compiling 9 source files to
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\target\classes
> Note: Generating
> org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.stapler
> Note: Generating
> org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper\DescriptorImpl\doUrlCheck.stapler
> Note:
> org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl
> indexed under hudson.Extension
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:311:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#602 of ?,capture#193 of ?>
> required: hudson.maven.MavenBuild
>                 if (build instanceof MavenBuild) {
>                     ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:312:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#642 of ?,capture#501 of ?>
> required: hudson.maven.MavenBuild
>                         MavenBuild m2Build = (MavenBuild) build;
>                                                           ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:317:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#991 of ?,capture#369 of ?>
> required: hudson.maven.MavenModuleSetBuild
>                 else if (build instanceof MavenModuleSetBuild) {
>                          ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:318:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#276 of ?,capture#391 of ?>
> required: hudson.maven.MavenModuleSetBuild
>                         MavenModuleSetBuild m2moduleSetBuild =
> (MavenModuleSetBuild) build;
>
>      ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:329:
> warning: [deprecation] getProjectAction(hudson.model.AbstractProject) in
> hudson.tasks.BuildWrapper has been deprecated
>         public Action getProjectAction(AbstractProject job) {
>                       ^
> 4 errors
> 1 warning
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Fatal error compiling
>
> Embedded error: APT failed: 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 48 seconds
> [INFO] Finished at: Tue Jul 13 20:21:44 EDT 2010
> [INFO] Final Memory: 41M/73M
> [INFO]
> ------------------------------------------------------------------------
> D:\apps\hudson\source\hudson\plugins\m2release>
>
>
> Robert Egan,
> Senior Software Engineer
> Global Delivery Management
> Cell: +1 617 455 1425
> Work: +1 617 663 7289
>
> This email message and any attachments may contain confidential,
> proprietary or non-public information.  The information is intended solely
> for the designated recipient(s).  If an addressing or transmission error
> has misdirected this email, please notify the sender immediately and
> destroy this email.  Any review, dissemination, use or reliance upon this
> information by unintended recipients is prohibited.  Any opinions
> expressed in this email are those of the author personally.



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



**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the [hidden email] and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

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



Reply | Threaded
Open this post in threaded view
|

RE: Build error in m2release

robert.egan
In reply to this post by Nord, James

I have resolved the issue. I forgot (it was, after all, almost three years ago) that I had done a POC for Maven, and apparantly never bothered to clean up my ~/.m2/repository.

Once I blew it away the build ran without incident.


Robert Egan,
Senior Software Engineer
Global Delivery Management
Cell: +1 617 455 1425
Work: +1 617 663 7289

This email message and any attachments may contain confidential, proprietary or non-public information.  The information is intended solely for the designated recipient(s).  If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email.  Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited.  Any opinions expressed in this email are those of the author personally.



From: "Nord, James" <[hidden email]>
To: "[hidden email]" <[hidden email]>
Date: 07/14/2010 05:35 AM
Subject: RE: Build error in m2release





Works the same for me.

Note you only need to run maven in the plugin  module - the nexus module is dead.

/James

-----Original Message-----
From: [hidden email] [
mailto:domi@...]
Sent: 14 July 2010 06:26
To: [hidden email]
Subject: Re: Build error in m2release

Robert,

are you sure you did not modify the code?

I did the folowing:
$> svn co
https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/m2release
$> cd m2release
$> mvn clean install -Dmaven.test.skip=true

compiling works perfect on my site - the only thing noted in my log is
a deprecated method:

[INFO] Copying 7 resources
[INFO] [hpi:apt-compile {execution: default-apt-compile}]
[INFO] Compiling 9 source files to
/private/tmp/m2rtest/m2release/plugin/target/classes
Note: Generating
org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.stapler
Note: Generating
org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper/DescriptorImpl/doUrlCheck.stapler
Note:
org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl
indexed under hudson.Extension
/private/tmp/m2rtest/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java:329: warning: [deprecation] getProjectAction(hudson.model.AbstractProject) in hudson.tasks.BuildWrapper has been
deprecated
       public Action getProjectAction(AbstractProject job) {
                     ^
1 warning
[INFO] [access-modifier-checker:enforce {execution: default-enforce}]
[INFO] [hpi:insert-test {execution: default-insert-test}]

regards Domi


Zitat von [hidden email]:

> I get this error when building the latest code in m2release plugin. For
> now, I have commented this from the plugins pom and the rest of the
> plugins have finished. I am going to try to check out an earlier version
> and work with that,
>
> D:\apps\hudson\source\hudson\plugins\m2release>\apps\apache-maven-2.2.1\bin\mvn
> clean install -Dmaven.test.skip=true
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Hudson Maven Release Plug-in nexus helper
> [INFO]   Hudson Maven Release Plug-in Plug-in
> [INFO]   Hudson Maven Release Plug-in Parent
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Hudson Maven Release Plug-in nexus helper
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.2.1
> [INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\main\resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] No sources to compile
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\src\test\resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] Building jar:
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> [INFO] [shade:shade {execution: default}]
> [INFO] Including
> org.sonatype.nexus.restlight:nexus-restlight-stage-client:jar:1.5.0 in the
> shaded jar.
> [INFO] Including
> org.sonatype.nexus.restlight:nexus-restlight-client-common:jar:1.5.0 in
> the shaded jar.
> [INFO] Including org.jdom:jdom:jar:1.1 in the shaded jar.
> [INFO] Including commons-httpclient:commons-httpclient:jar:3.1 in the
> shaded jar.
> [INFO] Including commons-codec:commons-codec:jar:1.2 in the shaded jar.
> [INFO] Including org.slf4j:slf4j-api:jar:1.5.6 in the shaded jar.
> [INFO] Including org.slf4j:jcl-over-slf4j:jar:1.5.6 in the shaded jar.
> [INFO] Including org.slf4j:slf4j-log4j12:jar:1.5.6 in the shaded jar.
> [INFO] Including jaxen:jaxen:jar:1.1.1 in the shaded jar.
> [INFO] Including dom4j:dom4j:jar:1.6.1 in the shaded jar.
> [INFO] Including org.codehaus.plexus:plexus-utils:jar:1.5.8 in the shaded
> jar.
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> with
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT-shaded.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing
> D:\apps\hudson\source\hudson\plugins\m2release\nexus\target\nexus-0.0.4-SNAPSHOT.jar
> to C:\Documents and
> Settings\eganr\.m2\repository\org\jvnet\hudson\plugins\m2release\nexus\0.0.4-SNAPSHOT\nexus-0.0.4-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Hudson Maven Release Plug-in Plug-in
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\target
> [INFO] [enforcer:display-info {execution: default}]
> [INFO] Maven Version: 2.2.1
> [INFO] JDK Version: 1.6.0_17 normalized as: 1.6.0-17
> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1
> [INFO] [localizer:generate {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 7 resources
> [INFO] [hpi:apt-compile {execution: default-apt-compile}]
> [INFO] Compiling 9 source files to
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\target\classes
> Note: Generating
> org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.stapler
> Note: Generating
> org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper\DescriptorImpl\doUrlCheck.stapler
> Note:
> org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl
> indexed under hudson.Extension
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:311:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#602 of ?,capture#193 of ?>
> required: hudson.maven.MavenBuild
>                 if (build instanceof MavenBuild) {
>                     ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:312:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#642 of ?,capture#501 of ?>
> required: hudson.maven.MavenBuild
>                         MavenBuild m2Build = (MavenBuild) build;
>                                                           ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:317:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#991 of ?,capture#369 of ?>
> required: hudson.maven.MavenModuleSetBuild
>                 else if (build instanceof MavenModuleSetBuild) {
>                          ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:318:
> inconvertible types
> found   : hudson.model.AbstractBuild<capture#276 of ?,capture#391 of ?>
> required: hudson.maven.MavenModuleSetBuild
>                         MavenModuleSetBuild m2moduleSetBuild =
> (MavenModuleSetBuild) build;
>
>      ^
> D:\apps\hudson\source\hudson\plugins\m2release\plugin\src\main\java\org\jvnet\hudson\plugins\m2release\M2ReleaseBuildWrapper.java:329:
> warning: [deprecation] getProjectAction(hudson.model.AbstractProject) in
> hudson.tasks.BuildWrapper has been deprecated
>         public Action getProjectAction(AbstractProject job) {
>                       ^
> 4 errors
> 1 warning
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Fatal error compiling
>
> Embedded error: APT failed: 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 48 seconds
> [INFO] Finished at: Tue Jul 13 20:21:44 EDT 2010
> [INFO] Final Memory: 41M/73M
> [INFO]
> ------------------------------------------------------------------------
> D:\apps\hudson\source\hudson\plugins\m2release>
>
>
> Robert Egan,
> Senior Software Engineer
> Global Delivery Management
> Cell: +1 617 455 1425
> Work: +1 617 663 7289
>
> This email message and any attachments may contain confidential,
> proprietary or non-public information.  The information is intended solely
> for the designated recipient(s).  If an addressing or transmission error
> has misdirected this email, please notify the sender immediately and
> destroy this email.  Any review, dissemination, use or reliance upon this
> information by unintended recipients is prohibited.  Any opinions
> expressed in this email are those of the author personally.



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



**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the [hidden email] and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

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