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

Eric Norman commented on SLING-11158:
-------------------------------------

Perhaps we can start a discussion on what would be the preferred way to move 
forward.

These may be a couple of possible ways to resolve this problem:

1) Produce and release an additional alternate "uber" jar packaging of the 
feature launcher in a single jar file as it was before v1.1.28, and leave 
everything else as is?  The feature launcher assembly would continue to include 
the "thin" jar.

2) Change the starter build (and the feature-launcher-maven-plugin) to download 
the new feature launcher assembly, unpack it somewhere and use the new scripts 
to launch it?

... or maybe there is some other solution that I haven't thought of.

> The starter's "Start Sling" instructions don't work with feature launcher 
> v1.1.28 or later
> ------------------------------------------------------------------------------------------
>
>                 Key: SLING-11158
>                 URL: https://issues.apache.org/jira/browse/SLING-11158
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Feature Model Launcher 1.1.28, Feature Model Launcher 
> 1.2.0
>            Reporter: Eric Norman
>            Priority: Major
>             Fix For: Feature Launcher Maven Plugin 0.1.4, Feature Model 
> Launcher 1.2.2
>
>
> After the SLING-10956 changes, launching the Starter with the README provided 
> instructions while using the v1.1.28 or later feature launcher does not work 
> anymore.
> For example,
> {noformat}
> $ java -jar target/dependency/org.apache.sling.feature.launcher.jar -f 
> target/slingfeature-tmp/feature-oak_tar.json
> Error: Unable to initialize main class 
> org.apache.sling.feature.launcher.impl.Main
> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/commons/cli/ParseException{noformat}
>  
> Also, the start goal of the feature-launcher-maven-plugin fails with the same 
> exception when paired with a featureLauncherVersion of 1.1.28 or later.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to