Hi all,

the current trunk fails with a fresh local repository (or at least one
that does not include all sling builds) to build because
samples/simple-demo/pom.xml references the maven-jspc-plugin in
version 2.0.2-incubator which is not available (mvn clean or mvn
eclipse:eclipse - my original goal - doesn't even work since it's a
missing plugin dependency... stupid maven). The current trunk version
of the plugin is already on version 2.0.3-incubator-SNAPSHOT and the
2.0.2-incubator version is only deployed on the
http://people.apache.org/repo/m2-incubating-repository which is not
configured for the simple-demo project.

To fix it, I had to make these changes:

parent/pom.xml must include the incubating repository as
pluginRepository (it only references it as normal repository):

        <pluginRepository>
            <id>apache.incubating</id>
            <name>Apache Incubating Repository</name>
            <url>http://people.apache.org/repo/m2-incubating-repository</url>
        </pluginRepository>

samples/simple-demo/pom.xml needs to reference the current parent pom:

    <parent>
        <groupId>org.apache.sling</groupId>
        <artifactId>sling</artifactId>
        <version>4-incubator-SNAPSHOT</version>
        <relativePath>../../parent/pom.xml</relativePath>
    </parent>


Regards,
Alex

-- 
Alexander Klimetschek
[EMAIL PROTECTED]

Reply via email to