Skip to content

Commit

Permalink
Setting compiler level to 1.7 (Java 7) and removing the endorseddirs …
Browse files Browse the repository at this point in the history
…configuration (unless someone can tell me what this was being set for).

I found this reference: http://stackoverflow.com/questions/9280217/new-maven-project-using-archetypes-why-is-javaee-endorsed-api-jar-being-copied
which doesn't quite seem to apply
  • Loading branch information
Edwin Shin committed Feb 10, 2013
1 parent a5462c4 commit 5c2c6d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
24 changes: 0 additions & 24 deletions fcrepo-kernel/pom.xml
Expand Up @@ -157,30 +157,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<outputDirectory>${endorsed.dir}</outputDirectory>
<silent>true</silent>
<artifactItems>
<artifactItem>
<groupId>javax</groupId>
<artifactId>javaee-endorsed-api</artifactId>
<version>6.0</version>
<type>jar</type>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
Expand Down
10 changes: 0 additions & 10 deletions pom.xml
Expand Up @@ -24,7 +24,6 @@
<spring.version>3.2.0.RELEASE</spring.version>

<enunciate.version>1.26.2</enunciate.version>
<endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
<!-- Use ${project_name} instead of ${project.artifactId} to avoid incorrect
replacements of "fcrepo4" in child modules -->
<project_name>fcrepo4</project_name>
Expand Down Expand Up @@ -267,16 +266,7 @@
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>

<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArguments>
<endorseddirs>${endorsed.dir}</endorseddirs>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
Expand Down

0 comments on commit 5c2c6d5

Please sign in to comment.