Hello,

I've just built Sling locally and the build failed with a missing
dependency. It's an easy fix. See bellow the git diff. I've included the
SNAPSHOT version, but you could include the release of
org.apache.sling.validation.api.

p.s. Glad to hear Sling 9 is being released soon. I'm planning to use it
in a project (I enjoy composum feature). I have some questions that I
will post on the mailing list as I formulate them.


Great job,

Ioan Eugen Stan

-----

diff --git a/bundles/extensions/validation/examples/pom.xml
b/bundles/extensions/validation/examples/pom.xml
index f52ce72ff9..5117080d75 100644
--- a/bundles/extensions/validation/examples/pom.xml
+++ b/bundles/extensions/validation/examples/pom.xml
@@ -68,7 +68,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.validation.api</artifactId>
-            <version>1.0.0-SNAPSHOT</version>
+            <version>1.0.1-SNAPSHOT</version>
             <scope>provided</scope>
         </dependency>
         <dependency>

----


[ERROR] Failed to execute goal on project
org.apache.sling.validation.examples: Could not resolve dependencies for
project
org.apache.sling:org.apache.sling.validation.examples:bundle:1.0.0-SNAPSHOT:
Failure to find
org.apache.sling:org.apache.sling.validation.api:jar:1.0.0-SNAPSHOT in
https://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command




Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to