Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M3
    • Component/s: None
    • Labels:
      None
    • Environment:
      macos

      Description

      after get latest source from git. i compile the source and get below error

      ownloading: http://repo1.maven.org/maven2/org/springframework/roo/org.springframework.roo.osgi.bundle/1.1.0.M3/org.springframework.roo.osgi.bundle-1.1.0.M3.pom
      [ERROR] The build could not read 2 projects -> [Help 1]
      [ERROR] The project org.springframework.roo:org.springframework.roo.support:1.1.0.M3 (/Users/user/work/project2/spring-roo-git-repository/roo/support/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM org.springframework.roo:org.springframework.roo.osgi.bundle:1.1.0.M3 for org.springframework.roo:org.springframework.roo.support:1.1.0.M3: Failed to resolve POM for org.springframework.roo:org.springframework.roo.osgi.bundle:1.1.0.M3 due to Missing:
      ----------
      1) org.springframework.roo:org.springframework.roo.osgi.bundle:pom:1.1.0.M3
      ----------
      1 required artifact is missing.

      for artifact:
      org.springframework.roo:org.springframework.roo.osgi.bundle:pom:1.1.0.M3

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
      -> [Help 2]
      [ERROR] The project org.springframework.roo:org.springframework.roo.support.osgi:1.1.0.M3 (/Users/user/work/project2/spring-roo-git-repository/roo/support-osgi/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM org.springframework.roo:org.springframework.roo.osgi.bundle:1.1.0.M3 for org.springframework.roo:org.springframework.roo.support.osgi:1.1.0.M3: Failed to resolve POM for org.springframework.roo:org.springframework.roo.osgi.bundle:1.1.0.M3 due to Missing:
      ----------
      1) org.springframework.roo:org.springframework.roo.osgi.bundle:pom:1.1.0.M3
      ----------
      1 required artifact is missing.

      for artifact:
      org.springframework.roo:org.springframework.roo.osgi.bundle:pom:1.1.0.M3

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
      -> [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

        Activity

        Hide
        cometta cometta added a comment -

        i'm using pache Maven 3.0-beta-1 (r935667; 2010-04-20 01:00:39+0800) as well

        Show
        cometta cometta added a comment - i'm using pache Maven 3.0-beta-1 (r935667; 2010-04-20 01:00:39+0800) as well
        Hide
        sschmidt Stefan Schmidt added a comment -

        Ah, I believe this may be a maven version problem. Good you mentioned it. I am building successfully on Mac OSX with Maven 2.2, please give that a try:

        Apache Maven 2.2.0 (r788681; 2009-06-26 23:04:01+1000)
        Java version: 1.6.0_20
        OS name: "mac os x" version: "10.6.4" arch: "x86_64" Family: "mac"

        Show
        sschmidt Stefan Schmidt added a comment - Ah, I believe this may be a maven version problem. Good you mentioned it. I am building successfully on Mac OSX with Maven 2.2, please give that a try: Apache Maven 2.2.0 (r788681; 2009-06-26 23:04:01+1000) Java version: 1.6.0_20 OS name: "mac os x" version: "10.6.4" arch: "x86_64" Family: "mac"
        Hide
        cometta cometta added a comment -

        bingo! solved problem

        Show
        cometta cometta added a comment - bingo! solved problem
        Hide
        asampaleanu Adrian Sampaleanu added a comment -

        It might be useful for the Roo devs to try building with Maven 3 as well. It is better at catching deprecated uses of Maven than version 2 and in general gives better diagnostics. It already points to the use of some deprecated property names, for example.

        Show
        asampaleanu Adrian Sampaleanu added a comment - It might be useful for the Roo devs to try building with Maven 3 as well. It is better at catching deprecated uses of Maven than version 2 and in general gives better diagnostics. It already points to the use of some deprecated property names, for example.
        Hide
        sschmidt Stefan Schmidt added a comment -

        Thanks for confirming that a Maven 2.2 build passes succesfully. I'll go ahead and close this ticket given all Roo documentation points to the use of Maven 2.1 or 2.2.

        @Adrian, I agree we should look into supporting Maven 3 soon (currently it is not in GA release but it is still worth looking into this). Would you please open a new improvement ticket and attach some information what exactly is going wrong? Maybe you can also help out finding out what needs fixing...

        Cheers,
        Stefan

        Show
        sschmidt Stefan Schmidt added a comment - Thanks for confirming that a Maven 2.2 build passes succesfully. I'll go ahead and close this ticket given all Roo documentation points to the use of Maven 2.1 or 2.2. @Adrian, I agree we should look into supporting Maven 3 soon (currently it is not in GA release but it is still worth looking into this). Would you please open a new improvement ticket and attach some information what exactly is going wrong? Maybe you can also help out finding out what needs fixing... Cheers, Stefan

          People

          • Assignee:
            sschmidt Stefan Schmidt
            Reporter:
            cometta cometta
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: