[ 
https://issues.apache.org/jira/browse/SLING-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502993#comment-14502993
 ] 

Robert Munteanu commented on SLING-4633:
----------------------------------------

[~kevinroll] - do the following changes fix the build for you?
{noformat}index 3a65738..d4b6b6b 100644
--- 
a/tooling/maven/archetypes/launchpad-standalone/src/main/resources/archetype-resources/pom.xml
+++ 
b/tooling/maven/archetypes/launchpad-standalone/src/main/resources/archetype-resources/pom.xml
@@ -36,12 +36,12 @@
                 </executions>
                 <configuration>
                     <defaultBundleList>
-                        <version>6</version>
+                        <version>7</version>
                     </defaultBundleList>
                     <jarWebSupport>
                         <groupId>org.apache.felix</groupId>
                         <artifactId>org.apache.felix.http.jetty</artifactId>
-                        <version>2.2.0</version>
+                        <version>2.2.2</version>
                     </jarWebSupport>
                 </configuration>
             </plugin>
@@ -64,7 +64,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.launchpad.base</artifactId>
-            <version>2.4.0</version>
+            <version>4.6.1-2.5.8</version>
             <classifier>app</classifier>
             <scope>runtime</scope>
         </dependency{noformat}

> Standalone Launchpad archetype needs to be updated
> --------------------------------------------------
>
>                 Key: SLING-4633
>                 URL: https://issues.apache.org/jira/browse/SLING-4633
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>    Affects Versions: Launchpad Standalone Archetype 1.0.0
>            Reporter: Kevin A. Roll
>            Priority: Blocker
>
> The Maven archetype 'sling-launchpad-standalone-archetype' needs to be 
> updated to a newer version of Sling. The current version contains a known bug 
> which causes an immediate crash on startup:
> 16.04.2015 12:51:57.845 *ERROR* [main] Failed to Start OSGi framework 
> org.osgi.framework.BundleException: Uncaught Instantiation Issue: 
> java.lang.ArrayIndexOutOfBoundsException: -1
>         at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:245)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
>         at java.util.ArrayList.elementData(ArrayList.java:371)
>         at java.util.ArrayList.get(ArrayList.java:384)
>         at 
> org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.java:1046)
> The code generated by the archetype is unusable due to this problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to