Please try again with 1.0-SNAPSHOT and not 1.0 On Wed, Feb 20, 2008 at 10:25 AM, Bhupinder Singh <[EMAIL PROTECTED]> wrote: > > I changed the version number of SU and SA's pom 1.0.Even then it is showing > same error. > > > > > It sems there is an inconsistency between the versions numbers used > for the file SU. > The file SU pom seems to specify 3.2.1 (the servicemix version) and > the version referenced in the SA pom (1.0-SNAPSHOT). Please fix the > SU and SA so that the version is 1.0-SNAPSHOT. > > > [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/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 > > [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-1.0.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 org.apache.ws.commons:XmlSchema:jar:1.1:compile > [WARNING] Attempting to build MavenProject instance for Artifact > (org.apache.ws.commons:XmlSchema:1.1) o > f type: jar; constructing POM artifact instead. > [INFO] Resolving stax:stax-api:jar:1.0:compile > [INFO] Resolving xerces:xercesImpl:jar:2.8.0:compile > [INFO] Resolving xml-apis:xml-apis:jar:1.3.03: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-1.0.zip > > [INFO] Building jar: C:\Apache Software > Foundation\projects\tutorial\tutorial-file-su\target\tutorial-fi > le-su-1.0.zip > > [INFO] [install:install] > [INFO] Installing C:\Apache Software > Foundation\projects\tutorial\tutorial-file-su\target\tutorial-file- > su-1.0.jar to C:\Documents and > > Settings\bhusing\.m2\repository\org\apache\servicemix\tooling\tutorial-fi > le-su\1.0\tutorial-file-su-1.0.jar > > [INFO] Installing C:\Apache Software > Foundation\projects\tutorial\tutorial-file-su\target\tutorial-file- > su-1.0.zip to C:\Documents and > > Settings\bhusing\.m2\repository\org\apache\servicemix\tooling\tutorial-fi > le-su\1.0\tutorial-file-su-1.0.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:1.0 > > 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:1.0 > > > 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: 16 seconds > [INFO] Finished at: Wed Feb 20 14:47:45 IST 2008 > > [INFO] Final Memory: 19M/34M > [INFO] > ------------------------------------------------------------------------ > > -- > View this message in context: > http://www.nabble.com/Getting-failed-to-resolve-artifact-error-when-installing-project-component-using-Maven-tp15582805s12049p15585237.html > > > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
-- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
