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";>
 <modelVersion>4.0.0</modelVersion>

  <groupId>emiGrp</groupId>
  <artifactId>emiProj</artifactId>
  <version>1.0</version>

  <name>emiProj</name>

<distributionManagement>
<repository>
<id>droolssix</id>
<url>http://localhost:6900/archiva/repository/droolssix</url>
</repository>
</distributionManagement>

<repositories>
                <repository>
                                <id>droolssix</id>
                                <name>droolssix</name>
<url>http://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";>

                <localRepository>d:\localMaven\Repo</localRepository>

<servers>
                                <server>
                                                <id>droolssix</id>
                                                <username>admin</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<mailto: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<mailto: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.org<mailto: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

Reply via email to