> > ...I tried to use the newest
> > org.apache.sling.launchpad.base.jar to test SLING-922....
>
> > ...So maybe my question is a little bit silly: What is the right
> > and eaysiest way to that?...
>
> Checking with mvn dependency:resolve, launchpad/app correctly depends
> on launchpad.base:jar:app:2.0.5-SNAPSHOT, so building as follows
> should work:
>
> cd launchpad/base
> mvn clean install
> cd ../app
> mvn clean install
> java -jar target/org...
>
> And a full build at the top of the source code tree should
> work as well.
> -Bertrand

Unfortunately that's not the case. If you build launchpad/app it's using
launchpad.base 2.0.4-INCUBATOR for the launcher-jar because of the
launchpad/app/pom.xml:

<id>copy-launcher-jar</id>
<goals>
    <goal>copy</goal>
</goals>
<configuration>
    <artifactItems>
        <artifactItem>
            <groupId>org.apache.sling</groupId>
            <artifactId>org.apache.sling.launchpad.base</artifactId>
            <version>2.0.4-incubator</version>
        </artifactItem>
    </artifactItems>
    <stripVersion>true</stripVersion>
    <excludeTransitive>true</excludeTransitive>
    <outputDirectory>
        ${project.build.outputDirectory}/resources
    </outputDirectory>
</configuration>

Maybe this version should be changed to 2.0.5-INCUBATOR?

best regards
mike

Reply via email to