Re: [rules-users] BRMS Build Deploy

2014-06-30 Thread 706826
Thanks Manstis,

Its working now with ARCHIVA as maven repo manager. BUT its not working with
SONATYPE NEXUS as maven repo manager.

Whenever I do build and deploy from the workbench it gives Buid Failed
error and the log says 401 Unauthorized



--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030194.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] BRMS Build Deploy

2014-06-30 Thread 706826
Hi Manstis, Its working now with ARCHIVA as maven repo manager. BUT its not
working with SONATYPE NEXUS as maven repo manager.

Whenever I do build and deploy from the workbench it gives *Buid Failed*
error and the log says *401 Unauthorized*




--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030195.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] BRMS Build Deploy

2014-06-30 Thread Michael Anstis
I assume Nexus requires authentication.

You'll need to configure this in Maven's settings.xml on the server you're
running the workbench.

Maven's user guide contains details of how to configure permissions for
remote servers in settings.xml.


On 30 June 2014 08:18, 706826 zahid.ah...@emirates.com wrote:

 Hi Manstis, Its working now with ARCHIVA as maven repo manager. BUT its not
 working with SONATYPE NEXUS as maven repo manager.

 Whenever I do build and deploy from the workbench it gives *Buid Failed*
 error and the log says *401 Unauthorized*




 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030195.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] BRMS Build Deploy

2014-06-30 Thread 706826
Yes, that's I have already configured as follows,

server
idbpmassets/id
usernamedeployment/username
passwordjbossadmin/password
/server


From: manstis [via Drools] [mailto:ml-node+s46999n4030196...@n3.nabble.com]
Sent: 30 June 2014 12:23
To: Zahid Ahmed
Subject: Re: [rules-users] BRMS Build  Deploy

I assume Nexus requires authentication.

You'll need to configure this in Maven's settings.xml on the server you're 
running the workbench.

Maven's user guide contains details of how to configure permissions for remote 
servers in settings.xml.

On 30 June 2014 08:18, 706826 [hidden 
email]/user/SendEmail.jtp?type=nodenode=4030196i=0 wrote:
Hi Manstis, Its working now with ARCHIVA as maven repo manager. BUT its not
working with SONATYPE NEXUS as maven repo manager.
Whenever I do build and deploy from the workbench it gives *Buid Failed*
error and the log says *401 Unauthorized*




--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030195.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
[hidden email]/user/SendEmail.jtp?type=nodenode=4030196i=1
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
[hidden email]/user/SendEmail.jtp?type=nodenode=4030196i=2
https://lists.jboss.org/mailman/listinfo/rules-users

If you reply to this email, your message will be added to the discussion below:
http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030196.html
To unsubscribe from [rules-users] BRMS Build  Deploy, click 
herehttp://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4030153code=emFoaWQuYWhtZWRAZW1pcmF0ZXMuY29tfDQwMzAxNTN8MTY2MjY4OTcw.
NAMLhttp://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030197.html
Sent from the Drools: User forum mailing list archive at Nabble.com.___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] BRMS Build Deploy

2014-06-30 Thread Michael Anstis
Please can you give some more information?

Where/how have you configured the workbench to attempt to deploy to Nexus
as opposed to it's internal maven repository?


On 30 June 2014 09:24, 706826 zahid.ah...@emirates.com wrote:

  Yes, that’s I have already configured as follows,



 server

 idbpmassets/id


 usernamedeployment/username


 passwordjbossadmin/password

 /server





 *From:* manstis [via Drools] [mailto:ml-node+[hidden email]
 http://user/SendEmail.jtp?type=nodenode=4030197i=0]
 *Sent:* 30 June 2014 12:23
 *To:* Zahid Ahmed

 *Subject:* Re: [rules-users] BRMS Build  Deploy



 I assume Nexus requires authentication.



 You'll need to configure this in Maven's settings.xml on the server you're
 running the workbench.



 Maven's user guide contains details of how to configure permissions for
 remote servers in settings.xml.



 On 30 June 2014 08:18, 706826 [hidden email]
 http://user/SendEmail.jtp?type=nodenode=4030196i=0 wrote:

 Hi Manstis, Its working now with ARCHIVA as maven repo manager. BUT its not

 working with SONATYPE NEXUS as maven repo manager.

 Whenever I do build and deploy from the workbench it gives *Buid Failed*
 error and the log says *401 Unauthorized*




 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030195.html

 Sent from the Drools: User forum mailing list archive at Nabble.com.

 ___
 rules-users mailing list
 [hidden email] http://user/SendEmail.jtp?type=nodenode=4030196i=1
 https://lists.jboss.org/mailman/listinfo/rules-users




 ___
 rules-users mailing list
 [hidden email] http://user/SendEmail.jtp?type=nodenode=4030196i=2
 https://lists.jboss.org/mailman/listinfo/rules-users
  --

 *If you reply to this email, your message will be added to the discussion
 below:*


 http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030196.html

 To unsubscribe from [rules-users] BRMS Build  Deploy, click here.
 NAML
 http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml

 --
 View this message in context: RE: [rules-users] BRMS Build  Deploy
 http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030197.html

 Sent from the Drools: User forum mailing list archive
 http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html at
 Nabble.com.

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] BRMS Build Deploy

2014-06-30 Thread 706826
http://drools.46999.n3.nabble.com/file/n4030199/user-Roles.png 
http://drools.46999.n3.nabble.com/file/n4030199/repository.png 

*Error Log.*
09: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]
09: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/netsolaceproj/1.0/netsolaceproj-1.0.jar.
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/netsolaceproj/1.0/netsolaceproj-1.0.jar.
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

Re: [rules-users] BRMS Build Deploy

2014-06-30 Thread Michael Anstis
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.ah...@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/netsolaceproj/1.0/netsolaceproj-1.0.jar
 .
 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/netsolaceproj/1.0/netsolaceproj-1.0.jar
 .
 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 

Re: [rules-users] BRMS Build Deploy

2014-06-30 Thread 706826
yes its working when I am deploying archiva as my repo manager.

*Settings.xml*

settings xmlns=http://maven.apache.org/SETTINGS/1.1.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.1.0
http://maven.apache.org/xsd/settings-1.1.0.xsd;

localRepositoryD:\Repositories/localRepository
servers
server
iddroolssix/id
usernameadmin/username
password$admin123$/password
/server
server
  idbpmassets/id
  usernamedeployment/username
  passwordjbossadmin/password
/server
/servers
 /settings



--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030202.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] BRMS Build Deploy

2014-06-26 Thread Michael Anstis
I can't remember in which version it was fixed, but Build  Deploy now
honours the distributionManagement section in a project's pom and
applicable server configuration in settings.xml

The fix was made March/April 2014 and hence will be in 6.1.0.CR1.


On 26 June 2014 04:24, Zahid Ahmed zahid.ah...@emirates.com wrote:

  Hi,



 I have a related question. When I do build and deploy, WB generates maven
 artifacts in a local repository (a directory defined as localRepository
 in settings.xml).



 *Problem*

 I am expecting WB to deploy it to the remote repository *which it is not
 doing.* I have done following configuration in maven setting.xml and
 project’s pom.xml.



 Kindly let me know if I am missing any configuration.



 *Pom.xml*

 *?xml version=1.0 encoding=UTF-8?*

 *project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/xsd/maven-4.0.0.xsd
 http://maven.apache.org/xsd/maven-4.0.0.xsd *

 *xmlns=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/POM/4.0.0*

 *xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
 http://www.w3.org/2001/XMLSchema-instance*

  * modelVersion4.0.0/modelVersion*



 *  groupIdemiGrp/groupId*

 *  artifactIdemiProj/artifactId*

 *  version1.0/version*



 *  nameemiProj/name*



 *distributionManagement*

 *repository*

 *iddroolssix/id*

 *urlhttp://localhost:6900/archiva/repository/droolssix
 http://localhost:6900/archiva/repository/droolssix/url*

 */repository*

 */distributionManagement*



 *repositories*

 *repository*

 *iddroolssix/id*

 *namedroolssix/name*

 *urlhttp://localhost:6900/archiva/repository/droolssix/
 http://localhost:6900/archiva/repository/droolssix//url*

 */repository*

 */repositories*

 */project*







 *Settngs.xml*

 *settings xmlns=http://maven.apache.org/SETTINGS/1.1.0
 http://maven.apache.org/SETTINGS/1.1.0
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
 http://www.w3.org/2001/XMLSchema-instance*

 *  xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.1.0
 http://maven.apache.org/SETTINGS/1.1.0
 http://maven.apache.org/xsd/settings-1.1.0.xsd
 http://maven.apache.org/xsd/settings-1.1.0.xsd*



 *localRepositoryd:\localMaven\Repo/localRepository*



 *servers*

 *server*

 *iddroolssix/id*

 *
 usernameadmin/username*

 *
 password$admin123$/password*

 */server*

 */servers*

 */settings*







 Regards,

 Zahid



 *From:* rules-users-boun...@lists.jboss.org [mailto:
 rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis
 *Sent:* 25 June 2014 18:46
 *To:* Rules Users List
 *Subject:* Re: [rules-users] BRMS Build  Deploy



 OK, so I didn't read your email properly :(



 There is a REST API to build and deploy programmatically; see the User
 Guide for details:
 http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/wb.WorkbenchIntegration.html#drools.WorkbenchRemoteAPI



 On 25 June 2014 15:07, Michael Anstis michael.ans...@gmail.com wrote:

 Build+Deploy builds everything in your project (rules, processes etc) into
 a KJAR and deploys them to the workbench's maven repository.



 If you're running kie-wb then there is also the notion of deploying a KJAR
 to the jBPM runtime.. but I don't know the exact mechanism (I've BCC'ed
 some colleagues who can help you).



 On 25 June 2014 14:05, Shrinath Managuli shrinath.manag...@aspiresys.com
 wrote:

   Hi Drools,



 Is it possible to automate the Build  Deploy processes in BRMS?





 Thanks,

 Shrinath

 [image: Aspire Systems]

 This e-mail message and any attachments are for the sole use of the
 intended recipient(s) and may contain proprietary, confidential, trade
 secret or privileged information. Any unauthorized review, use, disclosure
 or distribution is prohibited and may be a violation of law. If you are not
 the intended recipient, please contact the sender by reply e-mail and
 destroy all copies of the original message.

 [image: Aspire Systems]

 This e-mail message and any attachments are for the sole use of the
 intended recipient(s) and may contain proprietary, confidential, trade
 secret or privileged information. Any unauthorized review, use, disclosure
 or distribution is prohibited and may be a violation of law. If you are not
 the intended recipient, please contact the sender by reply e-mail and
 destroy all copies of the original message.



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users





 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules

Re: [rules-users] BRMS Build Deploy

2014-06-25 Thread Michael Anstis
Build+Deploy builds everything in your project (rules, processes etc) into
a KJAR and deploys them to the workbench's maven repository.

If you're running kie-wb then there is also the notion of deploying a KJAR
to the jBPM runtime.. but I don't know the exact mechanism (I've BCC'ed
some colleagues who can help you).


On 25 June 2014 14:05, Shrinath Managuli shrinath.manag...@aspiresys.com
wrote:

  Hi Drools,



 Is it possible to automate the Build  Deploy processes in BRMS?





 Thanks,

 Shrinath

 [image: Aspire Systems]

 This e-mail message and any attachments are for the sole use of the
 intended recipient(s) and may contain proprietary, confidential, trade
 secret or privileged information. Any unauthorized review, use, disclosure
 or distribution is prohibited and may be a violation of law. If you are not
 the intended recipient, please contact the sender by reply e-mail and
 destroy all copies of the original message.
  [image: Aspire Systems]

 This e-mail message and any attachments are for the sole use of the
 intended recipient(s) and may contain proprietary, confidential, trade
 secret or privileged information. Any unauthorized review, use, disclosure
 or distribution is prohibited and may be a violation of law. If you are not
 the intended recipient, please contact the sender by reply e-mail and
 destroy all copies of the original message.

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] BRMS Build Deploy

2014-06-25 Thread Michael Anstis
OK, so I didn't read your email properly :(

There is a REST API to build and deploy programmatically; see the User
Guide for details:
http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/wb.WorkbenchIntegration.html#drools.WorkbenchRemoteAPI


On 25 June 2014 15:07, Michael Anstis michael.ans...@gmail.com wrote:

 Build+Deploy builds everything in your project (rules, processes etc) into
 a KJAR and deploys them to the workbench's maven repository.

 If you're running kie-wb then there is also the notion of deploying a KJAR
 to the jBPM runtime.. but I don't know the exact mechanism (I've BCC'ed
 some colleagues who can help you).


 On 25 June 2014 14:05, Shrinath Managuli shrinath.manag...@aspiresys.com
 wrote:

  Hi Drools,



 Is it possible to automate the Build  Deploy processes in BRMS?





 Thanks,

 Shrinath

 [image: Aspire Systems]

 This e-mail message and any attachments are for the sole use of the
 intended recipient(s) and may contain proprietary, confidential, trade
 secret or privileged information. Any unauthorized review, use, disclosure
 or distribution is prohibited and may be a violation of law. If you are not
 the intended recipient, please contact the sender by reply e-mail and
 destroy all copies of the original message.
  [image: Aspire Systems]

 This e-mail message and any attachments are for the sole use of the
 intended recipient(s) and may contain proprietary, confidential, trade
 secret or privileged information. Any unauthorized review, use, disclosure
 or distribution is prohibited and may be a violation of law. If you are not
 the intended recipient, please contact the sender by reply e-mail and
 destroy all copies of the original message.

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] BRMS Build Deploy

2014-06-25 Thread Zahid Ahmed
Hi,

I have a related question. When I do build and deploy, WB generates maven 
artifacts in a local repository (a directory defined as localRepository in 
settings.xml).

Problem
I am expecting WB to deploy it to the remote repository which it is not doing. 
I have done following configuration in maven setting.xml and project’s pom.xml.

Kindly let me know if I am missing any configuration.

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;
 modelVersion4.0.0/modelVersion

  groupIdemiGrp/groupId
  artifactIdemiProj/artifactId
  version1.0/version

  nameemiProj/name

distributionManagement
repository
iddroolssix/id
urlhttp://localhost:6900/archiva/repository/droolssix/url
/repository
/distributionManagement

repositories
repository
iddroolssix/id
namedroolssix/name
urlhttp://localhost:6900/archiva/repository/droolssix//url
/repository
/repositories
/project



Settngs.xml
settings xmlns=http://maven.apache.org/SETTINGS/1.1.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.1.0 
http://maven.apache.org/xsd/settings-1.1.0.xsd;

localRepositoryd:\localMaven\Repo/localRepository

servers
server
iddroolssix/id
usernameadmin/username
password$admin123$/password
/server
/servers
/settings



Regards,
Zahid

From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Michael Anstis
Sent: 25 June 2014 18:46
To: Rules Users List
Subject: Re: [rules-users] BRMS Build  Deploy

OK, so I didn't read your email properly :(

There is a REST API to build and deploy programmatically; see the User Guide 
for details: 
http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/wb.WorkbenchIntegration.html#drools.WorkbenchRemoteAPI

On 25 June 2014 15:07, Michael Anstis 
michael.ans...@gmail.commailto:michael.ans...@gmail.com wrote:
Build+Deploy builds everything in your project (rules, processes etc) into a 
KJAR and deploys them to the workbench's maven repository.

If you're running kie-wb then there is also the notion of deploying a KJAR to 
the jBPM runtime.. but I don't know the exact mechanism (I've BCC'ed some 
colleagues who can help you).

On 25 June 2014 14:05, Shrinath Managuli 
shrinath.manag...@aspiresys.commailto:shrinath.manag...@aspiresys.com wrote:
Hi Drools,

Is it possible to automate the Build  Deploy processes in BRMS?

[cid:image001.png@01CF910E.AA2B0730]

Thanks,
Shrinath
[Aspire Systems]

This e-mail message and any attachments are for the sole use of the intended 
recipient(s) and may contain proprietary, confidential, trade secret or 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited and may be a violation of law. If you are not the 
intended recipient, please contact the sender by reply e-mail and destroy all 
copies of the original message.
[Aspire Systems]

This e-mail message and any attachments are for the sole use of the intended 
recipient(s) and may contain proprietary, confidential, trade secret or 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited and may be a violation of law. If you are not the 
intended recipient, please contact the sender by reply e-mail and destroy all 
copies of the original message.

___
rules-users mailing list
rules-users@lists.jboss.orgmailto:rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users