OpenJPA
  1. OpenJPA
  2. OPENJPA-783

openjpa-lib/pom.xml has extraneous code

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0, 2.0.0-M2
    • Component/s: None
    • Labels:
      None

      Description

      in the pom.xml for openjpa-lib, it is trying to delete a sun directory, that is not used. It mentions a stubbed "Perf" class, but I don't see any reference to it anywhere, not sure who would ever generate it.

      You might want to remove the openjpa-lib/src/main/sun directory as well!!

      <plugin>
      <artifactId>maven-antrun-plugin</artifactId>
      <executions>

      • <!--
      • delete the sun/misc/Perf.class file, which is
      • only there as a compilation stub
      • -->
        <execution>
      • <id>delete sun.misc.Perf</id>
      • <phase>process-classes</phase>
      • <configuration>
      • <tasks>
      • <delete failonerror="true" dir="$ {project.build.outputDirectory}

        /sun/" />

      • </tasks>
      • </configuration>
      • <goals>
      • <goal>run</goal>
      • </goals>
      • </execution>
      • <execution>
        <id>set subversion revision</id>
        <phase>compile</phase>

        Activity

        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Michael Dick made changes -
        Fix Version/s 1.3.0 [ 12313326 ]
        Fix Version/s 2.0.0 [ 12313483 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Michael Dick added a comment -

        Thanks again for the patch. Perf.java was included originally to support JDK 1.3. We removed the file but missed the pom changes.

        Show
        Michael Dick added a comment - Thanks again for the patch. Perf.java was included originally to support JDK 1.3. We removed the file but missed the pom changes.
        Michael Dick made changes -
        Field Original Value New Value
        Assignee Michael Dick [ mikedd ]
        Fernando Padilla created issue -

          People

          • Assignee:
            Michael Dick
            Reporter:
            Fernando Padilla
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development