[jira] [Commented] (SLING-4436) org.apache.sling.scripting.sightly does not compile
[ https://issues.apache.org/jira/browse/SLING-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14338235#comment-14338235 ] Konrad Windszus commented on SLING-4436: Sorry for the noise. I just figured out I had a corrupt version of org.eclipse.core:resource:3.4.0 in my local repo. That was caused by the Atlassian Public Maven Repo. That has a corrupt version of that artifact: https://maven.atlassian.com/content/groups/public/org/eclipse/core/resources/3.4.0/. org.apache.sling.scripting.sightly does not compile --- Key: SLING-4436 URL: https://issues.apache.org/jira/browse/SLING-4436 Project: Sling Issue Type: Bug Components: Scripting Affects Versions: Scripting Sightly Engine 1.0.0 Reporter: Konrad Windszus The current 1.0.0-SNAPSHOT version of the {{org.apache.sling.scripting.sightly}} Maven module doesn't compile, as it can't find the {{org.eclipse.core:resources:jar:3.4.0}} transitive dependency included in {{org.apache.sling.commons.compiler:2.0.0}}. In order to reproduce, clean your local Maven repository and try to compile the aforementioned module. The fix would be to increase that dependency to {{org.apache.sling.commons.compiler:2.2.0}}. Compare with SLING-4379. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4436) org.apache.sling.scripting.sightly does not compile
[ https://issues.apache.org/jira/browse/SLING-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14336955#comment-14336955 ] Radu Cotescu commented on SLING-4436: - [~kwin], how should we move on with this issue? I can't reproduce it no matter how I approach this. org.apache.sling.scripting.sightly does not compile --- Key: SLING-4436 URL: https://issues.apache.org/jira/browse/SLING-4436 Project: Sling Issue Type: Bug Components: Scripting Affects Versions: Scripting Sightly Engine 1.0.0 Reporter: Konrad Windszus The current 1.0.0-SNAPSHOT version of the {{org.apache.sling.scripting.sightly}} Maven module doesn't compile, as it can't find the {{org.eclipse.core:resources:jar:3.4.0}} transitive dependency included in {{org.apache.sling.commons.compiler:2.0.0}}. In order to reproduce, clean your local Maven repository and try to compile the aforementioned module. The fix would be to increase that dependency to {{org.apache.sling.commons.compiler:2.2.0}}. Compare with SLING-4379. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4436) org.apache.sling.scripting.sightly does not compile
[ https://issues.apache.org/jira/browse/SLING-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14329901#comment-14329901 ] Radu Cotescu commented on SLING-4436: - I've renamed my {{settings.xml}} file and the build still works for me: {noformat} ~/workspace/adobe/code/sling-git-svn/contrib/scripting/sightly/engine (master) rm -rf ~/.m2/repository/org/apache/sling/org.apache.sling.commons.compiler/ ~/workspace/adobe/code/sling-git-svn/contrib/scripting/sightly/engine (master) rm -rf ~/.m2/repository/org/eclipse/core/resources/ ~/workspace/adobe/code/sling-git-svn/contrib/scripting/sightly/engine (master) subl ~/.m2/settings.xml ~/workspace/adobe/code/sling-git-svn/contrib/scripting/sightly/engine (master) mv ~/.m2/settings.xml ~/.m2/settings-exp.xml ~/workspace/adobe/code/sling-git-svn/contrib/scripting/sightly/engine (master) mvn clean package [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Apache Sling Scripting Sightly Engine 1.0.0-SNAPSHOT [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.compiler/2.0.0/org.apache.sling.commons.compiler-2.0.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.compiler/2.0.0/org.apache.sling.commons.compiler-2.0.0.pom (6 KB at 11.7 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/eclipse/core/resources/maven-metadata.xml Downloading: http://repository.apache.org/snapshots/org/eclipse/core/resources/maven-metadata.xml Downloaded: https://repo.maven.apache.org/maven2/org/eclipse/core/resources/maven-metadata.xml (367 B at 13.8 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/eclipse/core/resources/3.2.1-R32x_v20060914/resources-3.2.1-R32x_v20060914.pom Downloaded: https://repo.maven.apache.org/maven2/org/eclipse/core/resources/3.2.1-R32x_v20060914/resources-3.2.1-R32x_v20060914.pom (2 KB at 29.0 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.pom Downloaded: https://repo.maven.apache.org/maven2/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.pom (2 KB at 37.4 KB/sec) Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.compiler/2.0.0/org.apache.sling.commons.compiler-2.0.0.jar Downloading: https://repo.maven.apache.org/maven2/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.jar Downloaded: https://repo.maven.apache.org/maven2/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.jar (663 KB at 2619.6 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.compiler/2.0.0/org.apache.sling.commons.compiler-2.0.0.jar (3833 KB at 3678.4 KB/sec) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.scripting.sightly --- [INFO] Deleting /Users/radu/workspace/adobe/code/sling-git-svn/contrib/scripting/sightly/engine/target ... --- T E S T S --- Running org.apache.sling.scripting.sightly.impl.compiler.SightlyJavaCompilerServiceTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.383 sec - in org.apache.sling.scripting.sightly.impl.compiler.SightlyJavaCompilerServiceTest Running org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImplTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec - in org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImplTest Running org.apache.sling.scripting.sightly.impl.html.dom.HtmlParserTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.sling.scripting.sightly.impl.html.dom.HtmlParserTest Running org.apache.sling.scripting.sightly.impl.utils.PathInfoTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in org.apache.sling.scripting.sightly.impl.utils.PathInfoTest Results : Tests run: 16, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- animal-sniffer-maven-plugin:1.11:check (default) @ org.apache.sling.scripting.sightly --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0 [INFO] [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ org.apache.sling.scripting.sightly --- [INFO] [INFO] maven-source-plugin:2.2.1:jar (attach-sources) generate-sources @ org.apache.sling.scripting.sightly [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.scripting.sightly --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (set-bundle-required-execution-environment) @
[jira] [Commented] (SLING-4436) org.apache.sling.scripting.sightly does not compile
[ https://issues.apache.org/jira/browse/SLING-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14328655#comment-14328655 ] Konrad Windszus commented on SLING-4436: {{org.eclipse.core:resource:3.4.0}} is not available from Maven Central: http://search.maven.org/#search|gav|1|g%3A%22org.eclipse.core%22%20AND%20a%3A%22resources%22. Probably you are using another maven repository which has that artifact. Just remove your settings.xml to reproduce the issue. org.apache.sling.scripting.sightly does not compile --- Key: SLING-4436 URL: https://issues.apache.org/jira/browse/SLING-4436 Project: Sling Issue Type: Bug Components: Scripting Affects Versions: Scripting Sightly Engine 1.0.0 Reporter: Konrad Windszus The current 1.0.0-SNAPSHOT version of the {{org.apache.sling.scripting.sightly}} Maven module doesn't compile, as it can't find the {{org.eclipse.core:resources:jar:3.4.0}} transitive dependency included in {{org.apache.sling.commons.compiler:2.0.0}}. In order to reproduce, clean your local Maven repository and try to compile the aforementioned module. The fix would be to increase that dependency to {{org.apache.sling.commons.compiler:2.2.0}}. Compare with SLING-4379. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4436) org.apache.sling.scripting.sightly does not compile
[ https://issues.apache.org/jira/browse/SLING-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14328419#comment-14328419 ] Radu Cotescu commented on SLING-4436: - I've removed both the {{org.eclipse.core:resources}} and {{org.apache.sling.commons.compiler}} artefacts from my local Maven repository and I was still able to build Sightly without any problems. org.apache.sling.scripting.sightly does not compile --- Key: SLING-4436 URL: https://issues.apache.org/jira/browse/SLING-4436 Project: Sling Issue Type: Bug Components: Scripting Affects Versions: Scripting Sightly Engine 1.0.0 Reporter: Konrad Windszus The current 1.0.0-SNAPSHOT version of the {{org.apache.sling.scripting.sightly}} Maven module doesn't compile, as it can't find the {{org.eclipse.core:resources:jar:3.4.0}} transitive dependency included in {{org.apache.sling.commons.compiler:2.0.0}}. In order to reproduce, clean your local Maven repository and try to compile the aforementioned module. The fix would be to increase that dependency to {{org.apache.sling.commons.compiler:2.2.0}}. Compare with SLING-4379. -- This message was sent by Atlassian JIRA (v6.3.4#6332)