Hi,

I'm trying to create the simplest pom.xml that creates a runnable
Sling jar, based on the docs at
http://sling.apache.org/site/maven-launchpad-plugin.html

With the pom shown below I get this (somewhat cryptic) error:

Embedded error: Unable to find artifact.
Unable to determine the release version
...
  org.apache.sling:org.apache.sling.launchpad:xml:RELEASE

What am I missing?
-Bertrand

my pom:

<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.sling</groupId>
  <artifactId>minimal-launchpad-plugin-test</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>slinger</name>
  <url>http://maven.apache.org</url>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.sling</groupId>
        <artifactId>maven-launchpad-plugin</artifactId>
        <executions>
          <execution>
            <id>prepare-package</id>
            <goals>
              <goal>prepare-package</goal>
            </goals>
            <configuration>
              <packaging>jar</packaging>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>

Reply via email to