firstcup
  1. firstcup
  2. FIRSTCUP-14

Archetypes use incorrect version of parent pom.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.1
    • Fix Version/s: 7.0.2
    • Component/s: examples
    • Labels:
      None

      Description

      The Maven release plugin doesn't update the versions in archetype projects, so the created archetypes are looking for org.glassfish.javaeetutorial.firstcup:firstcup:pom:7.0.1-SNAPSHOT. This should be 7.0.1.

      See:
      http://stackoverflow.com/questions/17071365/java-ee-7-first-cup-tutorial-maven-issues

        Activity

        Hide
        Ian Evans added a comment - - edited

        The workaround is to edit the generated pom.xml and replace the parent definition with:

        <parent>
            <artifactId>firstcup</artifactId>
            <groupId>org.glassfish.javaeetutorial.firstcup</groupId>
            <version>7.0.1</version>
        </parent>
        

        That is, delete -SNAPSHOT from <version> in the generated pom.xml.

        Show
        Ian Evans added a comment - - edited The workaround is to edit the generated pom.xml and replace the parent definition with: <parent> <artifactId>firstcup</artifactId> <groupId>org.glassfish.javaeetutorial.firstcup</groupId> <version>7.0.1</version> </parent> That is, delete -SNAPSHOT from <version> in the generated pom.xml .
        Hide
        Ian Evans added a comment -

        Fixed in source, and committed to 7.0.1 and 7.0.2 branch. Looking into the possibility of pushing out an updated package in the Update Center.

        Show
        Ian Evans added a comment - Fixed in source, and committed to 7.0.1 and 7.0.2 branch. Looking into the possibility of pushing out an updated package in the Update Center.

          People

          • Assignee:
            Ian Evans
            Reporter:
            Ian Evans
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: