Hello.

So Bruce,... ummm... I should be using ServiceMix
3.2-incubating-SNAPSHOT? There aint no such version on the ServiceMix
home page just yet. I can't even find it in development builds...

I did a Google search on Servicemix 3.2, and it came back with about 24
sites on two Google pages. I went to the second of these:
http://people.apache.org/maven-snapshot-repository/org/apache/servicemix
/servicemix-soap/3.2-incubating-SNAPSHOT/servicemix-soap-3.2-incubating-
20070131.094224-1.pom, and copied the output to
C:\servicemix-soap-3.2-incubating.pom.

Following the instructions given me on the output I received when I
earlier asked maven to create the binding-component project, I ran the
following:

C:\>mvn install:install-file -DgroupId=org.apache.servicemix.tooling
-DartifactId=servicemix-binding-component
-Dversion=3.2-incubating-SNAPSHOT -Dpackaging=jar
-Dfile=C:\servicemix-soap-3.2-incubating.pom

Maven said that the build was successful, the most apparently
informative message being the following:

[INFO] [install:install-file]
[INFO] Installing C:\servicemix-soap-3.2-incubating.pom to C:\Documents
and
Settings\othomas\.m2\repository\org\apache\servicemix\tooling\servicemix
-binding-component\3.2-incubating-SNAPSHOT\servicemix-binding-component-
3.2-incubating-SNAPSHOT.jar

Now... I run maven using the original parameters substituting
3.2-incubating-SNAPSHOT as the value for the -DarchetiypeVersion
parameter thus:

mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
-DarchetypeArtifactId=servicemix-binding-component
-DarchetypeVersion=3.2-incubating-SNAPSHOT
-DgroupId=au.com.wcg.bindingcomponent.executeshellscript
-DartifactId=WCGExecuteSchellScriptBindingComponent

... and it's not got the archetype version error any more (which is
good) but there appears to be another error which I may not have picked
up on earlier. Maven now tells me the following:

...
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
...
[INFO]
--------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
--------------------------------------------------------------------
[INFO] Error creating from archetype

Embedded error: The META-INF/maven/archetype.xml descriptor cannot be
found.
[INFO]
---------------------------------------------------------------------
...

So, I think I have one problem rectified, but other problems may have
appeared, or may have existed previously which I didn't pick up on.

Thank you for helping me,

  Owen.

-----Original Message-----
From: Bruce Snyder [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 07, 2007 2:26 PM
To: [email protected]
Subject: Re: Maven newbie alert - incorrect archetype version.

I've updated the tutorial some. The reason you're seeing the error is
because of the version of ServiceMix you were using. One of the
updates to the tutorial was to update the version of ServiceMix being
used to 3.2-incubating-SNAPSHOT.

I've also removed all the links using Fisheye since it is has not been
available for about a month now.

Unfortunately the tutorial is still not 100% complete yet. This is
very time-consuming work. Any contributions you might have are most
welcome.

Bruce
-- 
perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to