servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhupinder Singh (JIRA)" <j...@apache.org>
Subject [jira] Created: (SM-1235) Getting artifact missing error when creating project using Maven
Date Wed, 20 Feb 2008 04:54:15 GMT
Getting artifact missing error when creating project using Maven
----------------------------------------------------------------

                 Key: SM-1235
                 URL: https://issues.apache.org/activemq/browse/SM-1235
             Project: ServiceMix
          Issue Type: Bug
    Affects Versions: 3.2.1
         Environment: Sun JDK 1.5.0_10 
Window XP
ServiceMix 3.2.1 
Maven 2.0.8 
            Reporter: Bhupinder Singh


When creating the project   using Maven getting following error
C:\Apache Software Foundation\projects\tutorial>mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Tutorial
[INFO]   Tutorial :: File SU
[INFO]   Tutorial :: SA
[INFO] ------------------------------------------------------------------------
[INFO] Building Tutorial
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\Apache Software Foundation\projects\tutorial\pom.xml to C:\Documents
and Settings\b
husing\.m2\repository\org\apache\servicemix\tutorial\parent\1.0-SNAPSHOT\parent-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Tutorial :: File SU
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/wss4j/wss4j/1.5.1/wss4j-1.5.1.pom

Downloading: http://repo1.maven.org/maven2/wss4j/wss4j/1.5.1/wss4j-1.5.1.pom
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/opensaml/opensaml/1.1/opensam
l-1.1.pom
Downloading: http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1/opensaml-1.1.pom
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/xml-security/xmlsec/1.3.0/xmlsec-
1.3.0.pom
Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/woden/woden/1.0.0M6/wo
den-1.0.0M6.pom
Downloading: http://repo1.maven.org/maven2/org/apache/woden/woden/1.0.0M6/woden-1.0.0M6.pom
[INFO] [jbi:generate-depends-file]
[INFO] Created: C:\Apache Software Foundation\projects\tutorial\tutorial-file-su\target\classes\META-INF
\maven\dependencies.properties
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [jbi:generate-jbi-service-unit-descriptor]
[INFO] Generating jbi.xml
[INFO] generated : consumes [] provides []
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: C:\Apache Software Foundation\projects\tutorial\tutorial-file-su\target\tutorial-fi
le-su-3.2.1.jar
[INFO] [jbi:jbi-service-unit]
[INFO] Resolving org.apache.servicemix:servicemix-file:jar:3.2.1:compile
[INFO] Resolving org.apache.servicemix:servicemix-shared:jar:3.2.1:compile
[INFO] Resolving org.apache.servicemix:servicemix-common:jar:3.2.1:compile
[INFO] Resolving wsdl4j:wsdl4j:jar:1.6.1:compile
[INFO] Resolving org.apache.servicemix:servicemix-soap:jar:3.2.1:compile
[INFO] Resolving wss4j:wss4j:jar:1.5.1:compile
[INFO] Resolving bouncycastle:bcprov-jdk14:jar:136:compile
[INFO] Resolving org.opensaml:opensaml:jar:1.1:compile
[INFO] Resolving xml-security:xmlsec:jar:1.3.0:compile
[INFO] Resolving org.apache.servicemix:servicemix-soap2:jar:3.2.1:compile
[INFO] Resolving org.apache.ws.commons.schema:XmlSchema:jar:1.2:compile
[INFO] Resolving org.apache.woden:woden:jar:1.0.0M6:compile
[INFO] Resolving commons-logging:commons-logging:jar:1.1:compile
[INFO] Resolving log4j:log4j:jar:1.2.12:compile
[INFO] Generating service unit C:\Apache Software Foundation\projects\tutorial\tutorial-file-su\target\t
utorial-file-su-3.2.1.zip
[INFO] Building jar: C:\Apache Software Foundation\projects\tutorial\tutorial-file-su\target\tutorial-fi
le-su-3.2.1.zip
[INFO] [install:install]
[INFO] Installing C:\Apache Software Foundation\projects\tutorial\tutorial-file-su\target\tutorial-file-
su-3.2.1.jar to C:\Documents and Settings\bhusing\.m2\repository\org\apache\servicemix\tooling\tutorial-
file-su\3.2.1\tutorial-file-su-3.2.1.jar
[INFO] Installing C:\Apache Software Foundation\projects\tutorial\tutorial-file-su\target\tutorial-file-
su-3.2.1.zip to C:\Documents and Settings\bhusing\.m2\repository\org\apache\servicemix\tooling\tutorial-
file-su\3.2.1\tutorial-file-su-3.2.1.zip
[INFO] ------------------------------------------------------------------------
[INFO] Building Tutorial :: SA
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tutorial/tutoria
l-file-su/1.0-SNAPSHOT/tutorial-file-su-1.0-SNAPSHOT.pom
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tutorial/tutoria
l-file-su/1.0-SNAPSHOT/tutorial-file-su-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.servicemix.tutorial:tutorial-file-su:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.servicemix.tutorial -DartifactId=tutorial-file-su
-D
version=1.0-SNAPSHOT -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.servicemix.tutorial -DartifactId=tutorial-file-su
-Dve
rsion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.servicemix.tooling:tutorial-sa:jbi-service-assembly:3.2.1
        2) org.apache.servicemix.tutorial:tutorial-file-su:jar:1.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.apache.servicemix.tooling:tutorial-sa:jbi-service-assembly:3.2.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Wed Feb 20 10:02:19 IST 2008
[INFO] Final Memory: 19M/34M
[INFO] ------------------------------------------------------------------------


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


Mime
View raw message