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
 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.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/netsolaceproj/1.0/netsolaceproj-1.0.jar.
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;
  modelVersion4.0.0/modelVersion
  groupIdnetsolace/groupId
  artifactIdnetsolaceproj/artifactId
  version1.0/version
  packagingkjar/packaging
  namenetsolaceproj/name
  distributionManagement
repository
  idbpmassets/id
 
urlhttp://lnxdevvm565:8880/nexus/content/repositories/bpmassets/url
/repository
  /distributionManagement
  repositories
repository
  idguvnor-m2-repo/id
  nameGuvnor M2 Repo/name
  urlhttp://lnxdevvm565:8080/kie-drools-wb61/maven2//url
/repository
  /repositories
  build
plugins
  plugin
groupIdorg.kie/groupId
artifactIdkie-maven-plugin/artifactId
version6.1.0.CR1/version
extensionstrue/extensions
  /plugin
/plugins
  /build
/project





--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030199.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
/netsolaceproj-1.0.jar
 .
 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/netsolaceproj/1.0/netsolaceproj-1.0.jar
 .
 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/netsolaceproj/1.0/netsolaceproj-1.0.jar
 .
 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;
   modelVersion4.0.0/modelVersion
   groupIdnetsolace/groupId
   artifactIdnetsolaceproj/artifactId
   version1.0/version
   packagingkjar/packaging
   namenetsolaceproj/name
   distributionManagement
 repository
   idbpmassets/id

 urlhttp://lnxdevvm565:8880/nexus/content/repositories/bpmassets/url
 /repository
   /distributionManagement
   repositories
 repository
   idguvnor-m2-repo/id
   nameGuvnor M2 Repo/name
   urlhttp://lnxdevvm565:8080/kie-drools-wb61/maven2//url
 /repository
   /repositories
   build
 plugins
   plugin
 groupIdorg.kie/groupId
 artifactIdkie-maven-plugin/artifactId
 version6.1.0.CR1/version
 extensionstrue/extensions
   /plugin
 /plugins
   /build
 /project





 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-BRMS-Build-Deploy-tp4030153p4030199.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 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

[rules-users] BRMS Build Deploy

2014-06-25 Thread Shrinath Managuli
Hi Drools,

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

[cid:image001.png@01CF90A3.E6E26760]

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.org
https://lists.jboss.org/mailman/listinfo/rules-users

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