Hi,

On Tue, 2016-12-20 at 08:07 +0100, Carsten Ziegeler wrote:
> Hi,
> 
> this is the first release of our Slingshot Sample. It's not 100%
> perfect
> yet, but I think we should include it in our upcoming launchpad
> release.

First of all, a note on the check_staged_release.sh script - it does
not download txt files so the slingfeature txt file must be downloaded
manually to check the signatures and checksums.

I don't have the time to look into a fix right now unfortunately.

As for running the slingshot sample in the launchpad, I think I'm
missing something very simple. I have built and installed the project
in my local repository:

$ ls -1
~/.m2/repository/org/apache/sling/org.apache.sling.sample.slingshot/0.8
.0/
org.apache.sling.sample.slingshot-0.8.0.jar
org.apache.sling.sample.slingshot-0.8.0-mar.mar
org.apache.sling.sample.slingshot-0.8.0.pom
org.apache.sling.sample.slingshot-0.8.0-slingfeature.txt
org.apache.sling.sample.slingshot-0.8.0-sources.jar
org.apache.sling.sample.slingshot-0.8.0.txt.lastUpdated
_remote.repositories

but when I try to include the feature in the launchpad it can't be
found

diff --git a/launchpad/builder/src/main/provisioning/sling.txt
b/launchpad/builder/src/main/provisioning/sling.txt
index 8033161f7..34efaa2fe 100644
--- a/launchpad/builder/src/main/provisioning/sling.txt
+++ b/launchpad/builder/src/main/provisioning/sling.txt
@@ -65,6 +65,7 @@
     javax.mail/mail/1.4.7
     org.apache.geronimo.bundles/jstl/1.2_1
     org.apache.felix/org.apache.felix.http.whiteboard/3.0.0
+    org.apache.sling/org.apache.sling.sample.slingshot/0.8.0/slingfeat
ure
 
 [artifacts startLevel=5]
     org.apache.sling/org.apache.sling.extensions.webconsolebranding/1.
0.0

$ mvn clean package 
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m;
support was removed in 8.0
[INFO] Scanning for projects...
[ERROR] Unable to get artifact for Dependency
{groupId=org.apache.sling,
artifactId=org.apache.sling.sample.slingshot, version=0.8.0,
type=slingfeature}: Failure to find
org.apache.sling:org.apache.sling.sample.slingshot:txt:0.8.0 in https:/
/repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced

What am I doing wrong?

Thanks,

Robert

Reply via email to