mock-javamail
  1. mock-javamail
  2. MOCK_JAVAMAIL-10

pom.xml file out of date; mvn clean install fails

    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

      The mock-javamail project is used in one of the GlassFish samples, mailconnector, distributed with the Java EE SDK.

      I checked out the mock-javamail workspace using the command

      svn checkout https://svn.java.net/svn/mock-javamail~svn/trunk mock-javamail

      and tried to build the binary. The first time I ran it, I got the errors shown in the attached output1.txt.

      I then modified the pom.xml file to use the updated java.net URLs, but I got essentially the same errors, shown in output2.txt.

      I have also attached the updated pom.xml file.

      This makes it impossible to build the project.

      1. javamail.providers
        0.4 kB
        Kim Haase
      2. output1.txt
        2 kB
        Kim Haase
      3. output2.txt
        2 kB
        Kim Haase
      4. pom.xml
        5 kB
        jendrock
      5. pom.xml
        4 kB
        Kim Haase
      6. pom.xml.updated
        4 kB
        Kim Haase

        Activity

        Hide
        Kim Haase added a comment -

        Note: to build the binary, I used the following command:

        mvn clean install

        Show
        Kim Haase added a comment - Note: to build the binary, I used the following command: mvn clean install
        Hide
        Kim Haase added a comment -

        Never mind, it was a proxy problem, now solved. Please close this issue as invalid.

        Show
        Kim Haase added a comment - Never mind, it was a proxy problem, now solved. Please close this issue as invalid.
        Hide
        Kim Haase added a comment -

        Actually, even with the proxy issues fixed, a revised version of the pom.xml file is needed because of outdated java.net paths and the need to replace the plexus-utils with the maven-compiler-plugin. I am attaching the version that works.

        Show
        Kim Haase added a comment - Actually, even with the proxy issues fixed, a revised version of the pom.xml file is needed because of outdated java.net paths and the need to replace the plexus-utils with the maven-compiler-plugin. I am attaching the version that works.
        Hide
        Kim Haase added a comment -

        Also attaching fixed javamail.providers file with updated path to JavaMail API docs.

        Show
        Kim Haase added a comment - Also attaching fixed javamail.providers file with updated path to JavaMail API docs.
        Hide
        jendrock added a comment -

        Some problems were encountered while building the effective model for org.jvnet.mock-javamail:mock-javamail:jar:1.10-SNAPSHOT:

        'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is missing. @ line 73, column 15

        FIX: Added <version>2.2</version>

        'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 121, column 15

        FIX: Added <version>2.8</version>

        'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ line 124, column 15

        FIX: Added <version>2.3</version>

        'repositories.repository.layout' for java.net uses the unsupported value 'legacy', artifact resolution might fail. @ line 35, column 15

        FIX: Changed <layout>legacy</layout> to <layout>default</layout>

        Show
        jendrock added a comment - Some problems were encountered while building the effective model for org.jvnet.mock-javamail:mock-javamail:jar:1.10-SNAPSHOT: 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-idea-plugin is missing. @ line 73, column 15 FIX: Added <version>2.2</version> 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 121, column 15 FIX: Added <version>2.8</version> 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ line 124, column 15 FIX: Added <version>2.3</version> 'repositories.repository.layout' for java.net uses the unsupported value 'legacy', artifact resolution might fail. @ line 35, column 15 FIX: Changed <layout>legacy</layout> to <layout>default</layout>

          People

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

            Dates

            • Created:
              Updated: