Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Failed to build the project.

      $ mvn install
      [WARNING] Some problems were encountered while building the effective model for org.jvnet.mock-javamail:mock-javamail:jar:1.12-SNAPSHOT
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is missing. @ line 71, column 15
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 64, column 15
      [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 114, column 15
      [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ line 117, column 15
      [WARNING] 'repositories.repository.layout' for java.net uses the unsupported value 'legacy', artifact resolution might fail. @ line 35, column 15
      [WARNING]
      [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      [WARNING]
      [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      [WARNING]
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JavaMail mock objects 1.12-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.716s
      [INFO] Finished at: Tue Apr 30 17:07:38 PDT 2013
      [INFO] Final Memory: 5M/149M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project mock-javamail: Could not resolve dependencies for project org.jvnet.mock-javamail:mock-javamail:jar:1.12-SNAPSHOT: Failed to collect dependencies for [javax.mail:mail:jar:1.4 (compile), junit:junit:jar:3.8 (compile)]: Failed to read artifact descriptor for javax.mail:mail:jar:1.4: Could not transfer artifact javax.mail:mail:pom:1.4 from/to internal-glassfish-nexus (http://gf-maven.us.oracle.com/nexus/content/groups/internal-gf-nexus/): No connector available to access repository internal-glassfish-nexus (http://gf-maven.us.oracle.com/nexus/content/groups/internal-gf-nexus/) of type legacy using the available factories WagonRepositoryConnectorFactory -> [Help 1]
      [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:

        Activity

        Hide
        dapeng_hu added a comment -

        The maven config file settings.xml defines internal repository. After removing it, the project works fine.

        Show
        dapeng_hu added a comment - The maven config file settings.xml defines internal repository. After removing it, the project works fine.

          People

          • Assignee:
            Unassigned
            Reporter:
            dapeng_hu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: