The workbench attempts an install and deploy. GuvnorM2Repository in the
guvnor project is the class (IIRC).
Sent on the move
On 20 Mar 2014 21:47, "Joe White" <Joe.White(a)recondotech.com> wrote:
In fact, if I manually go into the guvnor repository, copy the
pom.xml
directly from the workbench, and command line run "mvn deploy" the jar gets
pushed out to my remote repository. So I know for sure the pom is
configured correctly in the workbench
Is the workbench actually calling "deploy" or just "install" ? Where
in
the code would be a good starting point to dig a little deeper on this?
*From:* rules-users-bounces(a)lists.jboss.org [mailto:
rules-users-bounces(a)lists.jboss.org] *On Behalf Of *Joe White
*Sent:* Thursday, March 20, 2014 3:15 PM
*To:* Rules Users List
*Subject:* Re: [rules-users] Updating project repositories
I've got distribution management that matches my settings xml added to the
pom but it doesn't seem to connect (or to attempt to connect)
<distributionManagement>
<repository>
<id>recondo-repo</id>
<url>
http://papaafrepo001.recondo.vci:8081/artifactory/recondo-release</url...
</repository>
<snapshotRepository>
<id>recondo-repo</id>
<url>
http://papaafrepo001.recondo.vci:8081/artifactory/recondo-snapshot</ur...
</snapshotRepository>
</distributionManagement>
*From:* rules-users-bounces(a)lists.jboss.org [
mailto:rules-users-bounces@lists.jboss.org<rules-users-bounces@lists.jboss.org>]
*On Behalf Of *Michael Anstis
*Sent:* Thursday, March 20, 2014 2:56 PM
*To:* Rules Users List
*Subject:* Re: [rules-users] Updating project repositories
That depends how you're configuring your project's distribution management.
Adding (I assume) your remote to the repositories section is only telling
maven a remote to query to *download* artifacts.
Sent on the move
On 20 Mar 2014 20:41, "Joe White" <Joe.White(a)recondotech.com> wrote:
So if I change the configuration in the WB UI should I expect the jar to
end up in my remote repo? It is only ending up in my local repository.
*From:* rules-users-bounces(a)lists.jboss.org [mailto:
rules-users-bounces(a)lists.jboss.org] *On Behalf Of *Michael Anstis
*Sent:* Thursday, March 20, 2014 1:10 PM
*To:* Rules Users List
*Subject:* Re: [rules-users] Updating project repositories
I've asked a colleague to comment.
We do manipulate the pom for the UI but should retain original content
that is not modified by the Project Editor.
@Toni... What's your opinion?
Sent on the move
On 20 Mar 2014 18:03, "Joe White" <Joe.White(a)recondotech.com> wrote:
Also, that is the same configuration that is in my settings.xml for my
installed maven instance and the profile is active.
*From:* rules-users-bounces(a)lists.jboss.org [mailto:
rules-users-bounces(a)lists.jboss.org] *On Behalf Of *Joe White
*Sent:* Thursday, March 20, 2014 12:01 PM
*To:* Rules Users List
*Subject:* [rules-users] Updating project repositories
I have updated my repository configuration but when I build and deploy by
package two things happen:
- The jar only gets deployed to my local repo it doesn't go out
to the remote instance
- The pom doesn't contain the full repository configuration when
deployed. The <snapshot> and <releases> config are dropped
Am I missing a piece of config to get the jar pushed out to my remote repo?
*My repository config inside the WB:*
<repositories>
<repository>
<id>recondo-repo</id>
<name>papaafrepo001-releases</name>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<url>
http://papaafrepo001.recondo.vci:8081/artifactory/repo</url>
</repository>
</repositories>
*Repo config inside the deployed pom:*
<repositories>
<repository>
<id>recondo-repo</id>
<name>papaafrepo001-releases</name>
<url>http://papaafrepo001.recondo.vci:8081/artifactory/repo</url>
</repository>
</repositories>
Joe White
CIO Technology Enabled Services
303-974-2849 (Office)
720-232-9023 (Cell)
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users