1 Reply Latest reply on Jul 27, 2015 2:01 AM by abhijithumbe

    Failed to read artifact descriptor

    mjaradat

      Dears,

       

      I started maven project on jdeveloper studio, and added jbpm-flow to pom file, but after in uploaded the porject in jbpm6, the build failed with

       

      org.kie.scanner.embedder.MavenEmbedderException: Failed to read artifact descriptor for org.jbpm:jbpm-flow:jar:6.0.0.Final

       

       

       

      pom.xml

      .

      <dependency>

                <groupId>org.jbpm</groupId>

                <artifactId>jbpm-flow</artifactId>

                <version>6.0.0.Final</version>

                <scope>provided</scope>

            </dependency>

      .

        • 1. Re: Failed to read artifact descriptor
          abhijithumbe

          Hi,

          Looks like you are missed to configure setting.xml for jBPM server instance. The settings.xml file can be located in 3 locations, the actual settings used is a merge of those 3 locations.

           

          • The Maven install: $M2_HOME/conf/settings.xml
          •   A user's install: ${user.home}/.m2/settings.xml
          •   Folder location specified by the system propert kie.maven.settings.custom

           

          Bydefault BPMS/BRMS server use setting.xml from ${user.home}/.m2/settings.xml.To change the setting.xml for each instance you can specify M2_HOME as environment variable while starting server instance or use kie.maven.settings.custom option. To resolve this issue specify correct repository in setting.xml and load setting.xml using options specified above.