You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2008/02/01 11:30:24 UTC
svn commit: r617428 - /incubator/sling/trunk/scripting/resolver/pom.xml
Author: fmeschbe
Date: Fri Feb 1 02:30:20 2008
New Revision: 617428
URL: http://svn.apache.org/viewvc?rev=617428&view=rev
Log:
SLING-217 Ensure compilation with BSF 3.0 API even on JDK 6
Modified:
incubator/sling/trunk/scripting/resolver/pom.xml
Modified: incubator/sling/trunk/scripting/resolver/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/scripting/resolver/pom.xml?rev=617428&r1=617427&r2=617428&view=diff
==============================================================================
--- incubator/sling/trunk/scripting/resolver/pom.xml (original)
+++ incubator/sling/trunk/scripting/resolver/pom.xml Fri Feb 1 02:30:20 2008
@@ -71,6 +71,42 @@
</instructions>
</configuration>
</plugin>
+
+ <!-- SLING-217: Ensure compilation with BSF API in bootclasspath -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0-alpha-4</version>
+ <executions>
+ <execution>
+ <id>get-bsf3-api</id>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.bsf</groupId>
+ <artifactId>bsf-api</artifactId>
+ <version>3.0-beta2</version>
+ </artifactItem>
+ </artifactItems>
+ <stripVersion>true</stripVersion>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <compilerArguments>
+ <bootclasspath>
+ ${project.build.directory}/dependency/bsf-api.jar:${java.home}/lib/rt.jar
+ </bootclasspath>
+ </compilerArguments>
+ </configuration>
+ </plugin>
</plugins>
</build>