[ 
https://issues.apache.org/jira/browse/AMBER-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403882#comment-13403882
 ] 

Rob Shepherd commented on AMBER-56:
-----------------------------------

Apologies Antonio,  

It was a problem due me starting it as "sudo su jenkins" (because jenkins 
already has a populated .m2 repo)  

If I start it normally, or even...

sudo su - jenkins
cd /tmp/amber-build/amber-parent
mvn clean install

then it works fine, strange but at least it works.


My next issue is that the integration tests fail due to sonar already using 
port 9000 on the build host.  

I see that 9000 is embedded into code and config so I guess I'll just install 
it this time in "fingers crossed" mode.

I'll close this ticket - operator error!

Thank you.
                
> Cannot build from source using Maven.
> -------------------------------------
>
>                 Key: AMBER-56
>                 URL: https://issues.apache.org/jira/browse/AMBER-56
>             Project: Amber
>          Issue Type: Bug
>          Components: Parent
>         Environment: Linux, JDK 1.6, Maven 3.0.4
>            Reporter: Rob Shepherd
>
> localadmin@muon:/tmp/amber/amber-parent$ sudo su  jenkins -c 
> "/usr/local/f5/maven/bin/mvn compile"
> Warning: JAVA_HOME environment variable is not set.
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Apache Amber
> [INFO] Apache Amber: OAuth 2.0 Implementation - Parent
> [INFO] Apache Amber: OAuth 2.0 Implementation - Common
> [INFO] Apache Amber: OAuth 2.0 Implementation - Client
> [INFO] Apache Amber: OAuth 2.0 Implementation - HttpClient
> [INFO] Apache Amber: OAuth 2.0 Implementation - Dynamic Registration Common
> [INFO] Apache Amber: OAuth 2.0 Implementation - Dynamic Registration Client
> [INFO] Apache Amber: OAuth 2.0 Implementation - Demo Application
> [INFO] Apache Amber: OAuth 2.0 Implementation - Authorization Server
> [INFO] Apache Amber: OAuth 2.0 Implementation - Resource Server
> [INFO] Apache Amber: OAuth 2.0 Implementation - Resource Server Filter
> [INFO] Apache Amber: OAuth 2.0 Implementation - Test Utils
> [INFO] Apache Amber: OAuth 2.0 Implementation - Dynamic Registration Server
> [INFO] Apache Amber: OAuth 2.0 Implementation - Integration Tests
> [INFO]                                                                        
>  
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Apache Amber 0.22-incubating-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java) @ amber-parent ---
> [INFO] The requirePluginVersions rule is currently not compatible with Maven3.
> [INFO] 
> [INFO] --- buildnumber-maven-plugin:1.0:create (default) @ amber-parent ---
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] Executing: /bin/sh -c cd /tmp/amber/amber-parent && svn 
> --non-interactive info
> [INFO] Working directory: /tmp/amber/amber-parent
> [INFO] Storing buildNumber: 1354609 at timestamp: 1340969269859
> [INFO] Executing: /bin/sh -c cd /tmp/amber/amber-parent && svn 
> --non-interactive info
> [INFO] Working directory: /tmp/amber/amber-parent
> [INFO] Storing buildScmBranch: trunk
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ 
> amber-parent ---
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Amber ...................................... FAILURE [1.555s]
> [INFO] Apache Amber: OAuth 2.0 Implementation - Parent ... SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Common ... SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Client ... SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - HttpClient  SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Dynamic Registration Common  
> SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Dynamic Registration Client  
> SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Demo Application  SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Authorization Server  SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Resource Server  SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Resource Server Filter  
> SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Test Utils  SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Dynamic Registration Server  
> SKIPPED
> [INFO] Apache Amber: OAuth 2.0 Implementation - Integration Tests  SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 2.141s
> [INFO] Finished at: Fri Jun 29 12:27:50 BST 2012
> [INFO] Final Memory: 10M/106M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1:process 
> (default) on project amber-parent: Error finding remote resources manifests: 
> /tmp/amber/amber-parent/target/maven-shared-archive-resources/META-INF/NOTICE 
> (No such file or directory) -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to