Hi,

on my old mac os x (10.7), I'm not able to build latest Sling Engine Bundle:

[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.sling:org.apache.sling.engine:bundle:2.2.11-SNAPSHOT
[WARNING]
'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
for com.sun:tools:jar refers to a non-existing file
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/tools.jar.
Please verify that you run Maven using a JDK and not just a JRE. @ line 98,
column 37
...
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(set-bundle-required-execution-environment) on project
org.apache.sling.engine: Execution
set-bundle-required-execution-environment of goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run failed: Plugin
org.apache.maven.plugins:maven-antrun-plugin:1.7 or one of its dependencies
could not be resolved: Could not find artifact com.sun:tools:jar:1.5.0 at
specified path
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/tools.jar
-> [Help 1]

And indeed I'm building with a JRE, however my java setup is already messed
up totally.
Is there any chance we can fix this in the pom?

Regards
Carsten
-- 
Carsten Ziegeler
[email protected]

Reply via email to