Bamboo problems with maven release plugin - maven

I'm trying to migrate some jobs from jenkins over to bamboo and I'm facing some problems here. Whenever I run the job in bamboo, I get the following errors:
build 06-Nov-2013 15:46:08 [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands (execute-cli) on project standalone-d1: Execution execute-cli of goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands failed: Plugin org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final or one of its dependencies could not be resolved: Failed to collect dependencies at org.jboss.as.plugins:jboss-as-maven-plugin:jar:7.4.Final -> org.jboss.as:jboss-as-cli:jar:7.2.0.Final-redhat-8 -> org.jboss.remotingjmx:remoting-jmx:jar:1.1.0.Final-redhat-1 -> org.jboss.remoting3:jboss-remoting:jar:3.2.15.GA-redhat-1: Failed to read artifact descriptor for org.jboss.remoting3:jboss-remoting:jar:3.2.15.GA-redhat-1: Could not transfer artifact org.jboss.remoting3:jboss-remoting:pom:3.2.15.GA-redhat-1 from/to apache-repos (http://repository.apache.org): Connection to http://repository.apache.org refused: Connection refused -> [Help 1]
build 06-Nov-2013 15:46:08 [ERROR]
build 06-Nov-2013 15:46:08 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
build 06-Nov-2013 15:46:08 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
build 06-Nov-2013 15:46:08 [ERROR]
build 06-Nov-2013 15:46:08 [ERROR] For more information about the errors and possible solutions, please read the following articles:
build 06-Nov-2013 15:46:08 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
build 06-Nov-2013 15:46:08 [ERROR]
build 06-Nov-2013 15:46:08 [ERROR] After correcting the problems, you can resume the build with the command
build 06-Nov-2013 15:46:08 [ERROR] mvn <goals> -rf :standalone-d1
I'm pretty new to that kind of stuff, so I'm not really sure, what information one might need in order to help me solve this problem. Therefore it would be great, if you guys could just tell me, whatever I should add to this post, so that you know, where I might start looking for a solution.
For me it looks like it's missing some dependencies, but I couldn't find any missing artifacts. My colleague said, that it might be a problem with the maven-release-plugin, since he had similar problems earlier. Though they couldn't solve those either, but they were quite sure, that it had something to do with the plugin.
Update:
After adding proxy-information to the settings.xml, I now get another error:
build 07-Nov-2013 09:17:14 [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands (execute-cli) on project standalone-d1: Execution execute-cli of goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands failed: I/O Error could not execute operation '{
build 07-Nov-2013 09:17:14 [ERROR] "address" => [],
build 07-Nov-2013 09:17:14 [ERROR] "operation" => "read-attribute",
build 07-Nov-2013 09:17:14 [ERROR] "name" => "launch-type"
build 07-Nov-2013 09:17:14 [ERROR] }': java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out
build 07-Nov-2013 09:17:14 [ERROR] -> [Help 1]

Related

Setting up artifact server connection(Maven) error

I am trying to setup Maven by creatiing m2/settings.xmlm file using command mvn -q org.sonatype.plugins:nexus-m2settings-maven-plugin:1.6.8:download -DnexusUrl=https://artifact.devsnc.com -DtemplateId=devsnc
but i am getting error as below:
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-m2settings-maven-plugin:1.6.8:download (default-cli) on project standalone-pom: Connection failed: com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection timed out: connect -> [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
Kindly help me

Could not transfer artifact commons-io:commons-io:pom:2.5-SNAPSHOT from/to LT-Nexus-Dependencies

Getting this error when i am trying to maven clean install
[ERROR] Failed to execute goal on project: Could not resolve dependencies for project:war:8.3.3: Failed to collect dependencies at com.piam:authentication-filter:jar:3.18.1 -> com.ltg.piam:commons-external:jar:3.18.1 -> com.nimbusds:oauth2-oidc-sdk:jar:4.9 -> com.nimbusds:nimbus-jose-jwt:jar:4.14 -> commons-io:commons-io:jar:2.5-SNAPSHOT: Failed to read artifact descriptor for commons-io:commons-io:jar:2.5-SNAPSHOT: Could not transfer artifact commons-io:commons-io:pom:2.5-SNAPSHOT from/to LT-Nexus-Dependencies (): authentication failed for commons-io/commons-io/2.5-SNAPSHOT/commons-io-2.5-SNAPSHOT.pom, status: 401 Unauthorized -> [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/DependencyResolutionException

maven package issues with dspace

I am teaching DSpace for MLIS students and when I give mvn package, I get the following error (file attached).
I try to install DSpace on Windows 7 with the following set of files. which in the past I have succeeded several times. As we could not upgrade the OS in the computer lab, I am stuck to teach the same installation, this time too.
jdk1.6.0_38,
apache-ant-1.9.2,
apache-maven-3.0.5,
apache tomcat 7.0,
dspace-3.2-src-release.
Kindly help me resolve.
The error log file:
C:\dspace\dspace-3.2-src-release\dspace>mvn package
[INFO] Scanning for projects...
Downloading: http://oss.sonatype.org/content/repositories/releases/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Downloading: http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.dspace:dspace:3.2 (C:\dspace\dspace-3.2-src-release\dspace\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.dspace:dspace-parent:3.2: Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to sonatype-releases
(http://oss.sonatype.org/content/repositories/releases/): peer not authenticated and 'parent.relativePath' points at wrong local POM # org.dspace:dspace-parent:3.2, C:\dspace\dspace-3.2-src-release\pom.xml, line 17, column 13 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
C:\dspace\dspace-3.2-src-release\dspace>

Unresolveable build extension in Maven

I am getting below error while building maven project.
[INFO] Scanning for projects...
Downloading: http://repo.jfrog.org/artifactory/plugins-releases-local/org/jfrog/maven/annomo
jo/maven-plugin-tools-anno/1.4.0/maven-plugin-tools-anno-1.4.0.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.0
or one of its dependencies could not be resolved: Failed to collect dependencies at org.mul
e.tools.maven:mule-app-maven-plugin:jar:1.0 -> org.jfrog.maven.annomojo:maven-plugin-tools-a
nno:jar:1.4.0 #
[ERROR] Unknown packaging: mule # line 6, column 13
#
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.test:testproj:1.0.1 (C:\Users\john\proj\testproj
c\pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin
:1.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org
.mule.tools.maven:mule-app-maven-plugin:jar:1.0 -> org.jfrog.maven.annomojo:maven-plugin-too
ls-anno:jar:1.4.0: Failed to read artifact descriptor for org.jfrog.maven.annomojo:maven-plu
gin-tools-anno:jar:1.4.0: Could not transfer artifact org.jfrog.maven.annomojo:maven-plugin-
tools-anno:pom:1.4.0 from/to jfrog (http://repo.jfrog.org/artifactory/plugins-releases-local
): Connect to repo.jfrog.org:80 [repo.jfrog.org/52.200.110.120, repo.jfrog.org/52.73.83.233]
failed: Connection refused: connect -> [Help 2]
[ERROR] Unknown packaging: mule # line 6, column 13
[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 follow
ing articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
Earlier we got connection refused for different IP. we opened the firewall for the same. Now it is showing differnt IP for connection refused.
Could you please help us on this to reslove the issue?

how to fix the build with maven in bluemix

I have created a sample app (java liberty profile) on Bluemix.
When I try to build the app on Bluemix devops (I do not make changes to the code). I have this error msg :
Cloning the 'master' branch from repo 'https://P90MSG01:3041/git/abderrazak/sia-test-build'
[INFO] Scanning for projects...
[INFO] Downloading: http://repo.maven.apache.org/maven2/net/wasdev/maven/parent/java7-parent/1.4/java7-parent-1.4.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project net.wasdev.wlp.sample:JavaHelloWorldApp:1.0-SNAPSHOT (/home/pipeline/1366b39e-02e6-4b9d-bb71-89d6d65b202d/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not transfer artifact net.wasdev.maven.parent:java7-parent:pom:1.4 from/to central (http://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:80 [repo.maven.apache.org/151.101.44.215] failed: Connection refused and 'parent.relativePath' points at no local POM # line 5, column 13 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Finished: FAILED
Is there a reason ?
Thank you.
As per Bluemix Status Page today DevOps Delivery Pipeline service experienced some issues that should be fixed now. Some users experienced issues with pipeline jobs.
I suggest you to try again now, it should work.

Resources