Skip to content

Commit d230149

Browse files
committed
[MNGECLIPSE-1935] Forward compatibility with newer versions of plexus-build-api
o Added resource to load current API version from class path git-svn-id: file:///opt/svn/repositories/sonatype.org/spice/trunk/plexus-build-api@2002 5751e0cb-dcb7-432f-92e2-260806df54be
1 parent 1831819 commit d230149

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

pom.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ See the Apache License Version 2.0 for the specific language governing permissio
3737
</dependencies>
3838

3939
<build>
40+
<resources>
41+
<resource>
42+
<directory>src/main/resources</directory>
43+
<filtering>true</filtering>
44+
</resource>
45+
</resources>
4046
<plugins>
4147
<plugin>
4248
<groupId>org.codehaus.plexus</groupId>
@@ -51,12 +57,12 @@ See the Apache License Version 2.0 for the specific language governing permissio
5157
</executions>
5258
</plugin>
5359
<plugin>
54-
<groupId>org.apache.maven.plugins</groupId>
55-
<artifactId>maven-compiler-plugin</artifactId>
56-
<configuration>
57-
<source>1.4</source>
58-
<target>1.4</target>
59-
</configuration>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-compiler-plugin</artifactId>
62+
<configuration>
63+
<source>1.4</source>
64+
<target>1.4</target>
65+
</configuration>
6066
</plugin>
6167
<plugin>
6268
<groupId>org.apache.maven.plugins</groupId>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Used by M2E to determine API version from class path before injecting into plugin realms
2+
api.version = ${project.version}

0 commit comments

Comments
 (0)