Failed to read artifact descriptor for org.drools:knowledge-api:jar:6.2.0.Final

369 views
Skip to first unread message

Kent Lee Jack

unread,
Mar 22, 2015, 11:45:27 AM3/22/15
to jbpm-...@googlegroups.com
Dear All,

I have encountered the following error when I build & deploy project , after adding custom class to capture process event through ecplise git commit.
org.kie.scanner.embedder.MavenEmbedderException: Failed to read artifact descriptor for org.drools:knowledge-api:jar:6.2.0.Final
Can anyone help? Thanks. Kent
My pom.xml looks like below.
<groupId>org.jbpm</groupId>
  <artifactId>HR</artifactId>
  <version>1.0</version>
  <name>HR1</name>
  <repositories>
    <repository>
      <id>guvnor-m2-repo</id>
      <name>Guvnor M2 Repo</name>
      <url>/maven2/</url>
    </repository>
  </repositories>
    <dependencies>
  <dependency>
  <groupId>org.drools</groupId>
  <artifactId>knowledge-api</artifactId>
  </dependency>
<dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-flow</artifactId>
</dependency>
 
  </dependencies>
  <dependencyManagement>
  <dependencies>
  <dependency>
  <groupId>org.drools</groupId>
  <artifactId>knowledge-api</artifactId>
  <version>6.2.0.Final</version>
  </dependency>

  <dependency>
  <groupId>org.jbpm</groupId>
  <artifactId>jbpm-flow</artifactId>
  <version>6.2.0.Final</version>
  </dependency>
  </dependencies>
  </dependencyManagement>
  <build>
    <plugins>
      <plugin>
        <groupId>org.kie</groupId>
        <artifactId>kie-maven-plugin</artifactId>
        <version>6.2.0.Final</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
  </build>
</project>

Kris Verlaenen

unread,
Mar 23, 2015, 2:47:19 PM3/23/15
to Kent Lee Jack, jbpm-...@googlegroups.com
You shouldn't have to add a dependency to knowledge-api or jbpm-flow, as they are already provided by the execution server.   If you do want to add them, you should at least specify them in scope provided.

Kris

--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/7b3b9caf-8912-4b94-85e9-f587fde4a4ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages