You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by mmistroni <mm...@gmail.com> on 2008/03/09 16:13:10 UTC

jsr181 sample, problem with maven-archetype-quickstart

hi all,
  i am going thru the servicemix's tutorial for jsr181, and i got stuck when
creating servicemix-jsr181-wsdl-first-service-unit 

i keep on getting exceptions regarding maven-archetype-quickstart

i have tried following 3 runs

[code]

C:\servicemix-projects\citytime>mvn -U
org.apache.maven.plugins:maven-archetype-
plugin:1.0-alpha-7:generate -DarchetypeGroupId=org.apache.servicemix.tooling
-Da
rchetypeAritfactId=servicemix-jsr181-wsdl-first-service-unit
-DarchetypeVersion=
3.3-SNAPSHOT -DgroupId=org.apache.servicemix.samples.citytime
-DartifactId=cityt
ime-jsr181-su
[/code]
[code]
C:\servicemix-projects\citytime>mvn -U
org.apache.maven.plugins:maven-archetype-
plugin:1.0-alpha-7:generate -DarchetypeGroupId=org.apache.servicemix.tooling
-Da
rchetypeAritfactId=servicemix-jsr181-wsdl-first-service-unit
-DarchetypeVersion=
3.1-incubating -DgroupId=org.apache.servicemix.samples.citytime
-DartifactId=cityt
ime-jsr181-su
[/code]
[code]
C:\servicemix-projects\citytime>mvn -U
org.apache.maven.plugins:maven-archetype-
plugin:1.0-alpha-7:generate -DarchetypeGroupId=org.apache.servicemix.tooling
-Da
rchetypeAritfactId=servicemix-jsr181-wsdl-first-service-unit
-DarchetypeVersion=
3.2 -DgroupId=org.apache.servicemix.samples.citytime -DartifactId=cityt
ime-jsr181-su
[/code]

i alwasy keep on getting this exception
[code]
GroupId: org.apache.servicemix.tooling
ArtifactId: maven-archetype-quickstart
Version: 3.3-SNAPSHOT

Reason: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.servicemix.tooling
-DartifactI
d=maven-archetype-quickstart \
        -Dversion=3.3-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.tooling
-DartifactId=ma
ven-archetype-quickstart \
        -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
         -Durl=[url] -DrepositoryId=[id]


  org.apache.servicemix.tooling:maven-archetype-quickstart:jar:3.3-SNAPSHOT

from the specified remote repositories:
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  central (http://repo1.maven.org/maven2),
  springframework.org (http://static.springframework.org/maven2-snapshots/),
  apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
[/code]

anyone could help here?
here's my settings.xml (which has alwasy worked so far as i was able to
build any other servicemix samples)   - only relevant part
[code]
<repositories>
				<repository>
					<id>springframework.org</id>
					<name>Springframework Maven SNAPSHOT Repository</name>
					<url>http://static.springframework.org/maven2-snapshots/</url>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</repository>
				<repository>
					<id>Maven Snapshots</id>
					<url>http://snapshots.maven.codehaus.org/maven2/</url>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
					<releases>
						<enabled>false</enabled>
					</releases>
				</repository>
				<repository>
				        <id>apache-incubating</id>
				       
<url>http://people.apache.org/repo/m2-incubating-repository</url>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>Maven Snapshots</id>
					<url>http://snapshots.maven.codehaus.org/maven2/</url>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
					<releases>
						<enabled>false</enabled>
					</releases>
				</pluginRepository>
				<pluginRepository>
					<id>Codehaus snapshot</id>
					<url>http://snapshots.repository.codehaus.org/</url>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
					<releases>
						<enabled>false</enabled>
					</releases>
				</pluginRepository>
				<pluginRepository>
  					<id>codehaus-plugins</id>
  					<url>http://dist.codehaus.org/</url>
  					<layout>legacy</layout>
  					<snapshots>
    						<enabled>true</enabled>
  					</snapshots>
  					<releases>
    						<enabled>true</enabled>
  					</releases>
				</pluginRepository>
				<pluginRepository>
					  <id>apache-incubating</id>
					  <url>http://people.apache.org/repo/m2-incubating-repository</url>
			        </pluginRepository>
				        
      			</pluginRepositories>
[/code]

thanks and regards
 marco

-- 
View this message in context: http://www.nabble.com/jsr181-sample%2C-problem-with-maven-archetype-quickstart-tp15936615s12049p15936615.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: jsr181 sample, problem with maven-archetype-quickstart

Posted by ma...@uk.bnpparibas.com.
yeah, can see that :(

 i guess the typo  is the real problem...

cant believe i got stuck 3 hours and the problem was in front of my eyes 
....

i'll need some holidays :)

regards
        marco



Internet
gert.vanthienen@skynet.be

10/03/2008 20:35
Please respond to
users@servicemix.apache.org


To
users
cc

Subject
Re: jsr181 sample, problem with maven-archetype-quickstart






marco,

I think the only real issue here is a typo in the Maven command 
(archetypeAritfactId instead of archetypeArtifactId).  Could you retry 
without this?

Gert

mmistroni wrote:
> hi all,
>   i am going thru the servicemix's tutorial for jsr181, and i got stuck 
when
> creating servicemix-jsr181-wsdl-first-service-unit 
>
> i keep on getting exceptions regarding maven-archetype-quickstart
>
> i have tried following 3 runs
>
> [code]
>
> C:\servicemix-projects\citytime>mvn -U
> org.apache.maven.plugins:maven-archetype-
> plugin:1.0-alpha-7:generate 
-DarchetypeGroupId=org.apache.servicemix.tooling
> -Da
> rchetypeAritfactId=servicemix-jsr181-wsdl-first-service-unit
> -DarchetypeVersion=
> 3.3-SNAPSHOT -DgroupId=org.apache.servicemix.samples.citytime
> -DartifactId=cityt
> ime-jsr181-su
> [/code]
> [code]
> C:\servicemix-projects\citytime>mvn -U
> org.apache.maven.plugins:maven-archetype-
> plugin:1.0-alpha-7:generate 
-DarchetypeGroupId=org.apache.servicemix.tooling
> -Da
> rchetypeAritfactId=servicemix-jsr181-wsdl-first-service-unit
> -DarchetypeVersion=
> 3.1-incubating -DgroupId=org.apache.servicemix.samples.citytime
> -DartifactId=cityt
> ime-jsr181-su
> [/code]
> [code]
> C:\servicemix-projects\citytime>mvn -U
> org.apache.maven.plugins:maven-archetype-
> plugin:1.0-alpha-7:generate 
-DarchetypeGroupId=org.apache.servicemix.tooling
> -Da
> rchetypeAritfactId=servicemix-jsr181-wsdl-first-service-unit
> -DarchetypeVersion=
> 3.2 -DgroupId=org.apache.servicemix.samples.citytime -DartifactId=cityt
> ime-jsr181-su
> [/code]
>
> i alwasy keep on getting this exception
> [code]
> GroupId: org.apache.servicemix.tooling
> ArtifactId: maven-archetype-quickstart
> Version: 3.3-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.servicemix.tooling
> -DartifactI
> d=maven-archetype-quickstart \
>         -Dversion=3.3-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.tooling
> -DartifactId=ma
> ven-archetype-quickstart \
>         -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
>          -Durl=[url] -DrepositoryId=[id]
>
>
> 
org.apache.servicemix.tooling:maven-archetype-quickstart:jar:3.3-SNAPSHOT
>
> from the specified remote repositories:
>   Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
>   central (http://repo1.maven.org/maven2),
>   springframework.org (
http://static.springframework.org/maven2-snapshots/),
>   apache-incubating (
http://people.apache.org/repo/m2-incubating-repository)
> [/code]
>
> anyone could help here?
> here's my settings.xml (which has alwasy worked so far as i was able to
> build any other servicemix samples)   - only relevant part
> [code]
> <repositories>
> <repository>
>  <id>springframework.org</id>
>  <name>Springframework Maven SNAPSHOT Repository</name>
>  <url>http://static.springframework.org/maven2-snapshots/</url>
>  <snapshots>
>                <enabled>true</enabled>
>  </snapshots>
> </repository>
> <repository>
>  <id>Maven Snapshots</id>
>  <url>http://snapshots.maven.codehaus.org/maven2/</url>
>  <snapshots>
>                <enabled>true</enabled>
>  </snapshots>
>  <releases>
>                <enabled>false</enabled>
>  </releases>
> </repository>
> <repository>
> <id>apache-incubating</id>
> 
> <url>http://people.apache.org/repo/m2-incubating-repository</url>
> </repository>
>                                                </repositories>
>                                                <pluginRepositories>
> <pluginRepository>
>  <id>Maven Snapshots</id>
>  <url>http://snapshots.maven.codehaus.org/maven2/</url>
>  <snapshots>
>                <enabled>true</enabled>
>  </snapshots>
>  <releases>
>                <enabled>false</enabled>
>  </releases>
> </pluginRepository>
> <pluginRepository>
>  <id>Codehaus snapshot</id>
>  <url>http://snapshots.repository.codehaus.org/</url>
>  <snapshots>
>                <enabled>true</enabled>
>  </snapshots>
>  <releases>
>                <enabled>false</enabled>
>  </releases>
> </pluginRepository>
> <pluginRepository>
>  <id>codehaus-plugins</id>
>  <url>http://dist.codehaus.org/</url>
>  <layout>legacy</layout>
>  <snapshots>
>                <enabled>true</enabled>
>  </snapshots>
>  <releases>
>                <enabled>true</enabled>
>  </releases>
> </pluginRepository>
> <pluginRepository>
>    <id>apache-incubating</id>
>    <url>http://people.apache.org/repo/m2-incubating-repository</url>
> </pluginRepository>
> 
> </pluginRepositories>
> [/code]
>
> thanks and regards
>  marco
>
> 




This communication is confidential, may be privileged and is meant only for the intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete this message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.


Re: jsr181 sample, problem with maven-archetype-quickstart

Posted by Gert Vanthienen <ge...@skynet.be>.
marco,

I think the only real issue here is a typo in the Maven command 
(archetypeAritfactId instead of archetypeArtifactId).  Could you retry 
without this?

Gert

mmistroni wrote:
> hi all,
>   i am going thru the servicemix's tutorial for jsr181, and i got stuck when
> creating servicemix-jsr181-wsdl-first-service-unit 
>
> i keep on getting exceptions regarding maven-archetype-quickstart
>
> i have tried following 3 runs
>
> [code]
>
> C:\servicemix-projects\citytime>mvn -U
> org.apache.maven.plugins:maven-archetype-
> plugin:1.0-alpha-7:generate -DarchetypeGroupId=org.apache.servicemix.tooling
> -Da
> rchetypeAritfactId=servicemix-jsr181-wsdl-first-service-unit
> -DarchetypeVersion=
> 3.3-SNAPSHOT -DgroupId=org.apache.servicemix.samples.citytime
> -DartifactId=cityt
> ime-jsr181-su
> [/code]
> [code]
> C:\servicemix-projects\citytime>mvn -U
> org.apache.maven.plugins:maven-archetype-
> plugin:1.0-alpha-7:generate -DarchetypeGroupId=org.apache.servicemix.tooling
> -Da
> rchetypeAritfactId=servicemix-jsr181-wsdl-first-service-unit
> -DarchetypeVersion=
> 3.1-incubating -DgroupId=org.apache.servicemix.samples.citytime
> -DartifactId=cityt
> ime-jsr181-su
> [/code]
> [code]
> C:\servicemix-projects\citytime>mvn -U
> org.apache.maven.plugins:maven-archetype-
> plugin:1.0-alpha-7:generate -DarchetypeGroupId=org.apache.servicemix.tooling
> -Da
> rchetypeAritfactId=servicemix-jsr181-wsdl-first-service-unit
> -DarchetypeVersion=
> 3.2 -DgroupId=org.apache.servicemix.samples.citytime -DartifactId=cityt
> ime-jsr181-su
> [/code]
>
> i alwasy keep on getting this exception
> [code]
> GroupId: org.apache.servicemix.tooling
> ArtifactId: maven-archetype-quickstart
> Version: 3.3-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>     mvn install:install-file -DgroupId=org.apache.servicemix.tooling
> -DartifactI
> d=maven-archetype-quickstart \
>         -Dversion=3.3-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.tooling
> -DartifactId=ma
> ven-archetype-quickstart \
>         -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
>          -Durl=[url] -DrepositoryId=[id]
>
>
>   org.apache.servicemix.tooling:maven-archetype-quickstart:jar:3.3-SNAPSHOT
>
> from the specified remote repositories:
>   Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
>   central (http://repo1.maven.org/maven2),
>   springframework.org (http://static.springframework.org/maven2-snapshots/),
>   apache-incubating (http://people.apache.org/repo/m2-incubating-repository)
> [/code]
>
> anyone could help here?
> here's my settings.xml (which has alwasy worked so far as i was able to
> build any other servicemix samples)   - only relevant part
> [code]
> <repositories>
> 				<repository>
> 					<id>springframework.org</id>
> 					<name>Springframework Maven SNAPSHOT Repository</name>
> 					<url>http://static.springframework.org/maven2-snapshots/</url>
> 					<snapshots>
> 						<enabled>true</enabled>
> 					</snapshots>
> 				</repository>
> 				<repository>
> 					<id>Maven Snapshots</id>
> 					<url>http://snapshots.maven.codehaus.org/maven2/</url>
> 					<snapshots>
> 						<enabled>true</enabled>
> 					</snapshots>
> 					<releases>
> 						<enabled>false</enabled>
> 					</releases>
> 				</repository>
> 				<repository>
> 				        <id>apache-incubating</id>
> 				       
> <url>http://people.apache.org/repo/m2-incubating-repository</url>
> 				</repository>
> 			</repositories>
> 			<pluginRepositories>
> 				<pluginRepository>
> 					<id>Maven Snapshots</id>
> 					<url>http://snapshots.maven.codehaus.org/maven2/</url>
> 					<snapshots>
> 						<enabled>true</enabled>
> 					</snapshots>
> 					<releases>
> 						<enabled>false</enabled>
> 					</releases>
> 				</pluginRepository>
> 				<pluginRepository>
> 					<id>Codehaus snapshot</id>
> 					<url>http://snapshots.repository.codehaus.org/</url>
> 					<snapshots>
> 						<enabled>true</enabled>
> 					</snapshots>
> 					<releases>
> 						<enabled>false</enabled>
> 					</releases>
> 				</pluginRepository>
> 				<pluginRepository>
>   					<id>codehaus-plugins</id>
>   					<url>http://dist.codehaus.org/</url>
>   					<layout>legacy</layout>
>   					<snapshots>
>     						<enabled>true</enabled>
>   					</snapshots>
>   					<releases>
>     						<enabled>true</enabled>
>   					</releases>
> 				</pluginRepository>
> 				<pluginRepository>
> 					  <id>apache-incubating</id>
> 					  <url>http://people.apache.org/repo/m2-incubating-repository</url>
> 			        </pluginRepository>
> 				        
>       			</pluginRepositories>
> [/code]
>
> thanks and regards
>  marco
>
>