Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9192

Custom WIH created by archetype has invalid parent pom

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • None
    • 7.39.0.Final
    • Runtime Engine
    • None
    • NEW
    • NEW
    • Hide

      git clone https://github.com/kiegroup/jbpm-work-items

      cd jbpm-work-items/

      mvn clean install 

      mvn archetype:generate -DarchetypeGroupId=org.jbpm -DarchetypeArtifactId=jbpm-workitems-archetype -DarchetypeVersion=7.39.0-SNAPSHOT -DgroupId=org.kie.learning -DartifactId=hello-workitem -DclassPrefix=Custom -Dversion=7.39.0-SNAPSHOT -DarchetypeCatalog=local

      cd hello-workitem

      mvn clean install

       

       

      Show
      git clone https://github.com/kiegroup/jbpm-work-items cd jbpm-work-items/ mvn clean install  mvn archetype:generate -DarchetypeGroupId=org.jbpm -DarchetypeArtifactId=jbpm-workitems-archetype -DarchetypeVersion=7.39.0-SNAPSHOT -DgroupId=org.kie.learning -DartifactId=hello-workitem -DclassPrefix=Custom -Dversion=7.39.0-SNAPSHOT -DarchetypeCatalog=local cd hello-workitem mvn clean install    

      This commit is breaking the workitem archetype https://github.com/kiegroup/jbpm/commit/fa593e729a8cdb5f47bc8447db2993a972bdbd94

      The following parent bom archetype breaks the build.

      <artifactId>jbpm-workitems-repository-bom-parent</artifactId>

      When I switch it back to the one below it gets past this issue.

      <artifactId>jbpm-workitems</artifactId>

       

      Maybe it is still necessary to publish this bom.

       


      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [WARNING] 'parent.relativePath' of POM org.kie.learning:hello-workitem:7.39.0-SNAPSHOT (/Users/kvarela/projetos/contrib/jbpm-work-items/hello-workitem/pom.xml) points at org.jbpm.contrib:workitems instead of org.jbpm:jbpm-workitems-repository-bom-parent, please verify your project structure @ line 6, column 11
      [FATAL] Non-resolvable parent POM for org.kie.learning:hello-workitem:7.39.0-SNAPSHOT: Could not find artifact org.jbpm:jbpm-workitems-repository-bom-parent:pom:7.39.0-SNAPSHOT in jboss-public (https://repository.jboss.org/nexus/content/repositories/public/) and 'parent.relativePath' points at wrong local POM @ line 6, column 11
      @
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR] The project org.kie.learning:hello-workitem:7.39.0-SNAPSHOT (/Users/kvarela/projetos/contrib/jbpm-work-items/hello-workitem/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM for org.kie.learning:hello-workitem:7.39.0-SNAPSHOT: Could not find artifact org.jbpm:jbpm-workitems-repository-bom-parent:pom:7.39.0-SNAPSHOT in jboss-public (https://repository.jboss.org/nexus/content/repositories/public/) and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              kvarela@redhat.com Karina Varela (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: