OK, so this confirms you have your project configured to use bpmassets in
it's <distributionManagement> section and that you're having a 401 issue.
What do you have in your settings.xml? This, unfortunately, is moving
towards possibly a Nexus issue (IDK what form it expects the authentication
details to be provided).
You state it works OK with another Maven installation so I don't feel it's
currently an issue with the workbench.
On 30 June 2014 10:12, 706826 <zahid.ahmed(a)emirates.com> wrote:
<
http://drools.46999.n3.nabble.com/file/n4030199/user-Roles.png>
<
http://drools.46999.n3.nabble.com/file/n4030199/repository.png>
*Error Log.*
[0m [0m09:09:49,526 INFO
[org.drools.compiler.kie.builder.impl.KieRepositoryImpl]
(http-/0.0.0.0:8080-9) KieModule was added:MemoryKieModule[
ReleaseId=netsolace:netsolaceproj:1.0]
[0m [31m09:09:49,800 ERROR
[org.guvnor.common.services.builder.BuildServiceImpl] (http-/0.0.0.0:8080
-9)
org.sonatype.aether.deployment.DeploymentException: Failed to deploy
artifacts: Could not transfer artifact netsolace:netsolaceproj:jar:1.0
from/to bpmassets
(
http://lnxdevvm565:8880/nexus/content/repositories/bpmassets): Failed to
transfer file:
http://lnxdevvm565:8880/nexus/content/repositories/bpmassets/netsolace/ne...
.
Return code is: 401, ReasonPhrase:Unauthorized.:
java.lang.RuntimeException:
org.sonatype.aether.deployment.DeploymentException: Failed to deploy
artifacts: Could not transfer artifact netsolace:netsolaceproj:jar:1.0
from/to bpmassets
(
http://lnxdevvm565:8880/nexus/content/repositories/bpmassets): Failed to
transfer file:
http://lnxdevvm565:8880/nexus/content/repositories/bpmassets/netsolace/ne...
.
Return code is: 401, ReasonPhrase:Unauthorized.
at
org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:280)
[guvnor-m2repo-editor-backend-6.1.0.CR1.jar:6.1.0.CR1]
at
org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:163)
[guvnor-m2repo-editor-backend-6.1.0.CR1.jar:6.1.0.CR1]
at
org.guvnor.m2repo.backend.server.GuvnorM2Repository$Proxy$_$$_WeldClientProxy.deployArtifact(GuvnorM2Repository$Proxy$_$$_WeldClientProxy.java)
[guvnor-m2repo-editor-backend-6.1.0.CR1.jar:6.1.0.CR1]
at
org.guvnor.m2repo.backend.server.M2RepoServiceImpl.deployJar(M2RepoServiceImpl.java:52)
[guvnor-m2repo-editor-backend-6.1.0.CR1.jar:6.1.0.CR1]
at
org.guvnor.m2repo.backend.server.M2RepoServiceImpl$Proxy$_$$_WeldClientProxy.deployJar(M2RepoServiceImpl$Proxy$_$$_WeldClientProxy.java)
[guvnor-m2repo-editor-backend-6.1.0.CR1.jar:6.1.0.CR1]
at
org.guvnor.common.services.builder.BuildServiceImpl.buildAndDeploy(BuildServiceImpl.java:103)
[guvnor-project-builder-6.1.0.CR1.jar:6.1.0.CR1]
at
org.guvnor.common.services.builder.BuildServiceImpl$Proxy$_$$_WeldClientProxy.buildAndDeploy(BuildServiceImpl$Proxy$_$$_WeldClientProxy.java)
[guvnor-project-builder-6.1.0.CR1.jar:6.1.0.CR1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.7.0_25]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_25]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606)
[rt.jar:1.7.0_25]
at
org.jboss.errai.bus.server.io.AbstractRPCMethodCallback.invokeMethodFromMessage(AbstractRPCMethodCallback.java:48)
[errai-bus-2.4.4.Final.jar:2.4.4.Final]
at
org.jboss.errai.bus.server.io.ValueReplyRPCEndpointCallback.callback(ValueReplyRPCEndpointCallback.java:22)
[errai-bus-2.4.4.Final.jar:2.4.4.Final]
at
org.jboss.errai.bus.server.io.RemoteServiceCallback.callback(RemoteServiceCallback.java:54)
[errai-bus-2.4.4.Final.jar:2.4.4.Final]
at
org.jboss.errai.cdi.server.CDIExtensionPoints$3.callback(CDIExtensionPoints.java:499)
[errai-weld-integration-2.4.4.Final.jar:2.4.4.Final]
at
org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:47)
[errai-bus-2.4.4.Final.jar:2.4.4.Final]
at
org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:284)
[errai-bus-2.4.4.Final.jar:2.4.4.Final]
at
org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)
[errai-bus-2.4.4.Final.jar:2.4.4.Final]
at
org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:97)
[errai-bus-2.4.4.Final.jar:2.4.4.Final]
at
org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:114)
[errai-bus-2.4.4.Final.jar:2.4.4.Final]
at
org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:140)
[errai-bus-2.4.4.Final.jar:2.4.4.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
[solder-impl-3.2.1.Final.jar:3.2.1.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
[solder-impl-3.2.1.Final.jar:3.2.1.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
[jbpm-designer-backend-6.1.0.CR1.jar:6.1.0.CR1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:283)
[uberfire-security-server-0.4.0.CR1.jar:0.4.0.CR1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
[jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
[jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to
deploy artifacts: Could not transfer artifact
netsolace:netsolaceproj:jar:1.0 from/to bpmassets
(
http://lnxdevvm565:8880/nexus/content/repositories/bpmassets): Failed to
transfer file:
http://lnxdevvm565:8880/nexus/content/repositories/bpmassets/netsolace/ne...
.
Return code is: 401, ReasonPhrase:Unauthorized.
at
org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:280)
[aether-impl-1.13.1.jar:]
at
org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:211)
[aether-impl-1.13.1.jar:]
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:443)
[aether-impl-1.13.1.jar:]
at
org.guvnor.m2repo.backend.server.GuvnorM2Repository.deployArtifact(GuvnorM2Repository.java:274)
[guvnor-m2repo-editor-backend-6.1.0.CR1.jar:6.1.0.CR1]
... 50 more
Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could
not
transfer artifact netsolace:netsolaceproj:jar:1.0 from/to bpmassets
(
http://lnxdevvm565:8880/nexus/content/repositories/bpmassets): Failed to
transfer file:
http://lnxdevvm565:8880/nexus/content/repositories/bpmassets/netsolace/ne...
.
Return code is: 401, ReasonPhrase:Unauthorized.
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:941)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:837)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:467)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:274)
[aether-impl-1.13.1.jar:]
... 53 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to
transfer file:
http://lnxdevvm565:8880/nexus/content/repositories/bpmassets/netsolace/ne...
.
Return code is: 401, ReasonPhrase:Unauthorized.
at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:581)
[wagon-http-shared4-2.0.jar:2.0]
at
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:476)
[wagon-http-shared4-2.0.jar:2.0]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:811)
[aether-connector-wagon-1.13.1.jar:]
... 55 more
*Pom.xml*
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>netsolace</groupId>
<artifactId>netsolaceproj</artifactId>
<version>1.0</version>
<packaging>kjar</packaging>
<name>netsolaceproj</name>
<distributionManagement>
<repository>
<id>bpmassets</id>
<url>http://lnxdevvm565:8880/nexus/content/repositories/bpmassets</url>
</repository>
</distributionManagement>
<repositories>
<repository>
<id>guvnor-m2-repo</id>
<name>Guvnor M2 Repo</name>
<url>http://lnxdevvm565:8080/kie-drools-wb61/maven2/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.kie</groupId>
<artifactId>kie-maven-plugin</artifactId>
<version>6.1.0.CR1</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users