Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-106

Core: deploy/cdi and deploy/jboss-as6 fail to build with maven3

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      With maven 3.0 I get the following error when building core:

      beve-7719:core danbev$ mvn clean install
      [INFO] Scanning for projects...
      [ERROR] The build could not read 2 projects -> [Help 1]
      [ERROR]
      [ERROR] The project org.switchyard:deploy-cdi:${project.parent.version} (/Users/danbev/work/jboss/switchyward/core/deploy/cdi/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM: Could not find artifact org.switchyard:core-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 30, column 10 -> [Help 2]
      [ERROR]
      [ERROR] The project org.switchyard:deploy-jboss-as6:${project.parent.version} (/Users/danbev/work/jboss/switchyward/core/deploy/jboss-as6/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM: Could not find artifact org.switchyard:core-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 28, column 10 -> [Help 2]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

      The looks an issue with the relativePath's in deploy/cdi and deploy/jboss-as6. They currently look like this:

      <parent>
      <groupId>org.switchyard</groupId>
      <artifactId>core-parent</artifactId>
      <version>1.0-SNAPSHOT</version>
      <relativePath>../pom.xml</relativePath>
      </parent>
      This path look wrong and should probably be '../../pom.xml'

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                beve Daniel Bevenius
                Reporter:
                beve Daniel Bevenius
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: