You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/10/02 09:53:23 UTC

[jira] Assigned: (SLING-1133) Unable to Build Sling source code with Maven 2

     [ https://issues.apache.org/jira/browse/SLING-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned SLING-1133:
----------------------------------------

    Assignee: Felix Meschberger

> Unable to Build Sling source code with Maven 2
> ----------------------------------------------
>
>                 Key: SLING-1133
>                 URL: https://issues.apache.org/jira/browse/SLING-1133
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>         Environment: Debian Lenny 
>            Reporter: Federico Arriola
>            Assignee: Felix Meschberger
>            Priority: Blocker
>
> Error finding the POM and jar file in the MAVEN repository
> Missing:
> ----------
> 1) org.apache.jackrabbit:jcr-api:jar:1.0.0.000
> Does any body know how to fix this issue ?
> here is the output when trying to build the source from the Sling project
> mvn clean install
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] [bundle:bundle {execution: default-bundle}]
> [WARNING] Warning building bundle org.apache.sling:org.apache.sling.launchpad.content:bundle:2.0.5-SNAPSHOT : Did not find matching referal for *
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: /home/neozilon/sling-source/sling/launchpad/content/target/org.apache.sling.launchpad.content-2.0.5-SNAPSHOT-sources.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Sling Launchpad Bundles Collection
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/org/apache/jackrabbit/jcr-api/1.0.0.000/jcr-api-1.0.0.000.pom
> [INFO] Unable to find resource 'org.apache.jackrabbit:jcr-api:pom:1.0.0.000' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo1.maven.org/maven2/org/apache/jackrabbit/jcr-api/1.0.0.000/jcr-api-1.0.0.000.jar
> [INFO] Unable to find resource 'org.apache.jackrabbit:jcr-api:jar:1.0.0.000' in repository central (http://repo1.maven.org/maven2)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) org.apache.jackrabbit:jcr-api:jar:1.0.0.000
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.jackrabbit -DartifactId=jcr-api -Dversion=1.0.0.000 -Dpackaging=jar -Dfile=/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=org.apache.jackrabbit -DartifactId=jcr-api -Dversion=1.0.0.000 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>   Path to dependency:
>         1) org.apache.sling:org.apache.sling.launchpad.bundles:jar:6-SNAPSHOT
>         2) org.apache.jackrabbit:jcr-api:jar:1.0.0.000
> ----------
> 1 required artifact is missing.
> for artifact:
>   org.apache.sling:org.apache.sling.launchpad.bundles:jar:6-SNAPSHOT
> from the specified remote repositories:
>   apache.snapshots (http://repository.apache.org/snapshots),
>   central (http://repo1.maven.org/maven2)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 33 seconds
> [INFO] Finished at: Mon Sep 28 05:23:17 MDT 2009
> [INFO] Final Memory: 62M/111M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.