1 Reply Latest reply on Feb 26, 2014 2:55 AM by swiderski.maciej

    Kie Jar with additional repository reference does not build

    jay.guidos-bidstrading.com

      Hi All,

       

      I added a repository stanza to my KIE jar POM to pull in some jars we have in our corporate repo.  I added:

       

          <repository>
            <id>bids-repository-group</id>
            <name>BIDS Public Repository Group</name>
            <url>http://cgybpm01:8081/nexus/content/groups/bids/</url>
            <releases>
              <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
              <updatePolicy>always</updatePolicy>
            </snapshots>
          </repository>
      

       

      to the pom in addition to the usual reference to the guvnor repo.

       

      The build will not complete inside of KIE workbench, but it does run properly from a command line maven build. I did some debugging and saw that if my artifacts were not in my local maven repo then no attempt was made to look up the artifact in my additional repository.  Is there something special I have to do here?

       

      Also, is there a way from within KIE to push a deployment up into my corporate repo?  If not, how?

       

      Jay

        • 1. Re: Kie Jar with additional repository reference does not build
          swiderski.maciej

          Jay Guidos wrote:

           

          Hi All,

           

          I added a repository stanza to my KIE jar POM to pull in some jars we have in our corporate repo.  I added:

           

          1.     <repository> 
          2.       <id>bids-repository-group</id> 
          3.       <name>BIDS Public Repository Group</name> 
          4.       <url>http://cgybpm01:8081/nexus/content/groups/bids/</url> 
          5.       <releases> 
          6.         <updatePolicy>never</updatePolicy> 
          7.       </releases> 
          8.       <snapshots> 
          9.         <updatePolicy>always</updatePolicy> 
          10.       </snapshots> 
          11.     </repository> 

           

          to the pom in addition to the usual reference to the guvnor repo.

           

          The build will not complete inside of KIE workbench, but it does run properly from a command line maven build. I did some debugging and saw that if my artifacts were not in my local maven repo then no attempt was made to look up the artifact in my additional repository.  Is there something special I have to do here?

           

          this should actually work. As an alternative you could try to define that repository in your settings.xml that is used by kie workbench. Although kie wb uses maven parser to read up all content of the pom so that should work just fine. Do you get any errors? if so stacktrace might be useful. If you could create jira and attach there as much information as possible to help to reproduce the issue that'll be great. Like pom.xml or even entire project.

           

          Jay Guidos wrote:


          Also, is there a way from within KIE to push a deployment up into my corporate repo?  If not, how?

           

          Jay

          I believe this is not supported at the moment. Another jira might be good too.

           

          HTH