You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by BradS <jr...@mac.com> on 2007/12/07 01:08:43 UTC

Maven Archetypes

I am a brand new user, and have frankly been having a terrible time with the
documentation.  I am trying to set up an SU and SA project using the
archetypes specified on these pages:

http://servicemix.apache.org/what-is-a-jbi-su-and-how-do-i-create-one.html 
http://servicemix.apache.org/what-is-a-jbi-sa-and-how-do-i-create-one.html

And both generated projects fail with this error on mvn install:

ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.activemq:activemq-core:jar:4.1-incubator-20070103
...


Is there a different archetype to use, or some way I can get that artifact? 
I couldn't find it anywhere.
-- 
View this message in context: http://www.nabble.com/Maven-Archetypes-tf4959407s12049.html#a14204040
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Maven Archetypes

Posted by Bruce Snyder <br...@gmail.com>.
On Dec 7, 2007 8:43 AM, BradS <jr...@mac.com> wrote:
>
>
> gnodet wrote:
> >
> > Btw, ServiceMix now has a shell script that can be used to create
> > archetypes
> > in an easier way, so I guess we should update the tutorial to make use of
> > it
> > instead of the full maven command line.
> >
>
> It looks like the documentation has been updated, but it appears to be wrong
> again.  The command line references bin/mvn-arch which doesn't exist in my
> download.  I do have an smx-arch, and when I change the command to that it
> worked fine.  Thanks for the help!

Thanks, I've fixed it.

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

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Maven Archetypes

Posted by BradS <jr...@mac.com>.

gnodet wrote:
> 
> Btw, ServiceMix now has a shell script that can be used to create
> archetypes
> in an easier way, so I guess we should update the tutorial to make use of
> it
> instead of the full maven command line.
> 

It looks like the documentation has been updated, but it appears to be wrong
again.  The command line references bin/mvn-arch which doesn't exist in my
download.  I do have an smx-arch, and when I change the command to that it
worked fine.  Thanks for the help!

-- 
View this message in context: http://www.nabble.com/Maven-Archetypes-tf4959407s12049.html#a14214525
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Maven Archetypes

Posted by Guillaume Nodet <gn...@gmail.com>.
Btw, ServiceMix now has a shell script that can be used to create archetypes
in an easier way, so I guess we should update the tutorial to make use of it
instead of the full maven command line.

On Dec 7, 2007 4:59 AM, Bruce Snyder <br...@gmail.com> wrote:

> On Dec 6, 2007 8:29 PM, Chris Custine <cc...@apache.org> wrote:
> > I think you will also want to replace the -DremoteRepositories=
> > http://people.apache.org/repo/m2-incubating-repository
> >
> > with:
> > -DremoteRepositories=http://repo1.maven.org/maven2
> >
> > or you might not need it at all if ServiceMix 3.2.1 is already resolved
> and
> > downloaded to you local maven repository.
>
> Actually the -DremoteRepositories system property is not needed since
> ServiceMix is no longer in the Incubator (i.e., we can now publish
> ServiceMix artifacts to the central repo).
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: Maven Archetypes

Posted by Bruce Snyder <br...@gmail.com>.
On Dec 6, 2007 8:29 PM, Chris Custine <cc...@apache.org> wrote:
> I think you will also want to replace the -DremoteRepositories=
> http://people.apache.org/repo/m2-incubating-repository
>
> with:
> -DremoteRepositories=http://repo1.maven.org/maven2
>
> or you might not need it at all if ServiceMix 3.2.1 is already resolved and
> downloaded to you local maven repository.

Actually the -DremoteRepositories system property is not needed since
ServiceMix is no longer in the Incubator (i.e., we can now publish
ServiceMix artifacts to the central repo).

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

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Maven Archetypes

Posted by Chris Custine <cc...@apache.org>.
I think you will also want to replace the -DremoteRepositories=
http://people.apache.org/repo/m2-incubating-repository

with:
-DremoteRepositories=http://repo1.maven.org/maven2

or you might not need it at all if ServiceMix 3.2.1 is already resolved and
downloaded to you local maven repository.

Cheers,
Chris

On Dec 6, 2007 8:24 PM, Chris Custine <cc...@apache.org> wrote:

> That version of ActiveMQ was a transitive dependency of servicemix
> 3.1-incubating, which is the version specified in the examples you
> mention.  That version should resolve, but what you really need to do is
> replace the 3.1-incubating when you call the archetype with 3.2.1.
> Someone should probably update the docs to reflect this.
>
> Thanks,
> Chris
>
>
> On Dec 6, 2007 5:08 PM, BradS < jrotentious@mac.com> wrote:
>
> >
> > I am a brand new user, and have frankly been having a terrible time with
> > the
> > documentation.  I am trying to set up an SU and SA project using the
> > archetypes specified on these pages:
> >
> >
> > http://servicemix.apache.org/what-is-a-jbi-su-and-how-do-i-create-one.html
> > http://servicemix.apache.org/what-is-a-jbi-sa-and-how-do-i-create-one.html
> >
> >
> > And both generated projects fail with this error on mvn install:
> >
> > ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) org.apache.activemq:activemq-core:jar:4.1-incubator-20070103
> > ...
> >
> >
> > Is there a different archetype to use, or some way I can get that
> > artifact?
> > I couldn't find it anywhere.
> > --
> > View this message in context: http://www.nabble.com/Maven-Archetypes-tf4959407s12049.html#a14204040
> >
> > Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >
> >
>

Re: Maven Archetypes

Posted by Chris Custine <cc...@apache.org>.
That version of ActiveMQ was a transitive dependency of servicemix
3.1-incubating, which is the version specified in the examples you mention.
That version should resolve, but what you really need to do is replace the
3.1-incubating when you call the archetype with 3.2.1.  Someone should
probably update the docs to reflect this.

Thanks,
Chris

On Dec 6, 2007 5:08 PM, BradS <jr...@mac.com> wrote:

>
> I am a brand new user, and have frankly been having a terrible time with
> the
> documentation.  I am trying to set up an SU and SA project using the
> archetypes specified on these pages:
>
> http://servicemix.apache.org/what-is-a-jbi-su-and-how-do-i-create-one.html
> http://servicemix.apache.org/what-is-a-jbi-sa-and-how-do-i-create-one.html
>
> And both generated projects fail with this error on mvn install:
>
> ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.activemq:activemq-core:jar:4.1-incubator-20070103
> ...
>
>
> Is there a different archetype to use, or some way I can get that
> artifact?
> I couldn't find it anywhere.
> --
> View this message in context:
> http://www.nabble.com/Maven-Archetypes-tf4959407s12049.html#a14204040
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: Maven Archetypes

Posted by BradS <jr...@mac.com>.


> OK, so obviously you used a Maven archeype to create a SU project that
> specified an older version of ServiceMix. Can you show me from which
> doc you copy/pasted this command? I'd like to fix the doc so others
> don't run into this again.
> 
> Bruce
> -- 
> 

I copied the commands from here:

http://servicemix.apache.org/what-is-a-jbi-su-and-how-do-i-create-one.html  
http://servicemix.apache.org/what-is-a-jbi-sa-and-how-do-i-create-one.html
-- 
View this message in context: http://www.nabble.com/Maven-Archetypes-tf4959407s12049.html#a14214517
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Maven Archetypes

Posted by Bruce Snyder <br...@gmail.com>.
On Dec 6, 2007 8:22 PM, BradS <jr...@mac.com> wrote:
>
> This may not be what you want, but I am new to maven so I don't know where
> the valuable information starts.
>
> I copied the archetype line from the su web page, and here is the output:
>
> [rodrigo-x:~/arch/my-consumer-su] mvn install
> [INFO] Scanning for projects...
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.1-incubating/jbi-maven-plugin-3.1-incubating.pom
> 3K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/tooling/3.1-incubating/tooling-3.1-incubating.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1-incubating/servicemix-3.1-incubating.pom
> 71K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.1-incubating/jbi-maven-plugin-3.1-incubating.jar
> 105K downloaded
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building A Service HTTP Service Engine Service Unit
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
> updates from apache.incubating
> [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
> updates from central
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-http/3.1-incubating/servicemix-http-3.1-incubating.pom
> 5K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/bindingcomponents/3.1-incubating/bindingcomponents-3.1-incubating.pom
> 1K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/deployables/3.1-incubating/deployables-3.1-incubating.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-shared/3.1-incubating/servicemix-shared-3.1-incubating.pom
> 1K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/sharedlibraries/3.1-incubating/sharedlibraries-3.1-incubating.pom
> 1K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-common/3.1-incubating/servicemix-common-3.1-incubating.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/common/3.1-incubating/common-3.1-incubating.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-soap/3.1-incubating/servicemix-soap-3.1-incubating.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
> Downloading: http://repo1.maven.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/bouncycastle/bcprov-jdk14/124/bcprov-jdk14-124.pom
> Downloading:
> http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk14/124/bcprov-jdk14-124.pom
> 156b downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-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-incubating-repository/org/mortbay/jetty/jetty/6.0.1/jetty-6.0.1.pom
> Downloading:
> http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.0.1/jetty-6.0.1.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/project/6.0.1/project-6.0.1.pom
> Downloading:
> http://repo1.maven.org/maven2/org/mortbay/jetty/project/6.0.1/project-6.0.1.pom
> 11K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty-util/6.0.1/jetty-util-6.0.1.pom
> Downloading:
> http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.0.1/jetty-util-6.0.1.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty-management/6.0.1/jetty-management-6.0.1.pom
> Downloading:
> http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-management/6.0.1/jetty-management-6.0.1.pom
> 3K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty-util/6.0.1/jetty-util-6.0.1.jar
> Downloading:
> http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-util/6.0.1/jetty-util-6.0.1.jar
> 104K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> Downloading:
> http://repo1.maven.org/maven2/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
> 29K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar
> Downloading:
> http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar
> 30K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-common/3.1-incubating/servicemix-common-3.1-incubating.jar
> 116K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty/6.0.1/jetty-6.0.1.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/mortbay/jetty/jetty/6.0.1/jetty-6.0.1.jar
> 419K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/bouncycastle/bcprov-jdk14/124/bcprov-jdk14-124.jar
> Downloading:
> http://www.ibiblio.org/maven2/bouncycastle/bcprov-jdk14/124/bcprov-jdk14-124.jar
> 891K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-shared/3.1-incubating/servicemix-shared-3.1-incubating.jar
> 28K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss4j-1.5.0.jar
> Downloading: http://www.ibiblio.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.jar
> 523K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty-management/6.0.1/jetty-management-6.0.1.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/mortbay/jetty/jetty-management/6.0.1/jetty-management-6.0.1.jar
> 22K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-soap/3.1-incubating/servicemix-soap-3.1-incubating.jar
> 90K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-http/3.1-incubating/servicemix-http-3.1-incubating.jar
> 102K downloaded
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-dao/2.0.1/spring-dao-2.0.1.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-dao/2.0.1/spring-dao-2.0.1.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-beans/2.0.1/spring-beans-2.0.1.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-beans/2.0.1/spring-beans-2.0.1.pom
> 1K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-core/2.0.1/spring-core-2.0.1.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-core/2.0.1/spring-core-2.0.1.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-context/2.0.1/spring-context-2.0.1.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-context/2.0.1/spring-context-2.0.1.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-core/3.1-incubating/servicemix-core-3.1-incubating.pom
> 9K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/core/3.1-incubating/core-3.1-incubating.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-jbi/3.1-incubating/servicemix-jbi-3.1-incubating.pom
> 1K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-services/3.1-incubating/servicemix-services-3.1-incubating.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.pom
> Downloading:
> http://www.ibiblio.org/maven2/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.pom
> 357b downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/geronimo-connector/1.2-beta/geronimo-connector-1.2-beta.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/geronimo/modules/geronimo-connector/1.2-beta/geronimo-connector-1.2-beta.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/modules/1.2-beta/modules-1.2-beta.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/geronimo/modules/modules/1.2-beta/modules-1.2-beta.pom
> 4K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/geronimo/1.2-beta/geronimo-1.2-beta.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/geronimo/geronimo/1.2-beta/geronimo-1.2-beta.pom
> 50K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/geronimo-transaction/1.2-beta/geronimo-transaction-1.2-beta.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/geronimo/modules/geronimo-transaction/1.2-beta/geronimo-transaction-1.2-beta.pom
> 1K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
> Downloading:
> http://servicemix.org/m2-repo/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-server/2.8/xbean-server-2.8.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/xbean/xbean-server/2.8/xbean-server-2.8.pom
> 1K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-classloader/2.8/xbean-classloader-2.8.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/xbean/xbean-classloader/2.8/xbean-classloader-2.8.pom
> 1K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-kernel/2.8/xbean-kernel-2.8.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/xbean/xbean-kernel/2.8/xbean-kernel-2.8.pom
> 851b downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-jmx/2.0.1/spring-jmx-2.0.1.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-jmx/2.0.1/spring-jmx-2.0.1.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/jencks/jencks/2.0/jencks-2.0.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/jencks/jencks/2.0/jencks-2.0.pom
> 10K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/jencks/jencks-parent/2.0/jencks-parent-2.0.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/jencks/jencks-parent/2.0/jencks-parent-2.0.pom
> 3K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/codehaus/woodstox/wstx-asl/3.0.3/wstx-asl-3.0.3.pom
> Downloading:
> http://www.ibiblio.org/maven2/org/codehaus/woodstox/wstx-asl/3.0.3/wstx-asl-3.0.3.pom
> 849b downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-server/2.8/xbean-server-2.8.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/xbean/xbean-server/2.8/xbean-server-2.8.jar
> 55K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/codehaus/woodstox/wstx-asl/3.0.3/wstx-asl-3.0.3.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/codehaus/woodstox/wstx-asl/3.0.3/wstx-asl-3.0.3.jar
> 464K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/geronimo-connector/1.2-beta/geronimo-connector-1.2-beta.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/geronimo/modules/geronimo-connector/1.2-beta/geronimo-connector-1.2-beta.jar
> 146K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-context/2.0.1/spring-context-2.0.1.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-context/2.0.1/spring-context-2.0.1.jar
> 119K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-beans/2.0.1/spring-beans-2.0.1.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-beans/2.0.1/spring-beans-2.0.1.jar
> 364K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-kernel/2.8/xbean-kernel-2.8.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/xbean/xbean-kernel/2.8/xbean-kernel-2.8.jar
> 83K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-dao/2.0.1/spring-dao-2.0.1.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-dao/2.0.1/spring-dao-2.0.1.jar
> 120K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.jar
> Downloading:
> http://www.ibiblio.org/maven2/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.jar
> 189K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-services/3.1-incubating/servicemix-services-3.1-incubating.jar
> 77K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-jbi/3.1-incubating/servicemix-jbi-3.1-incubating.jar
> 41K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-classloader/2.8/xbean-classloader-2.8.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/xbean/xbean-classloader/2.8/xbean-classloader-2.8.jar
> 45K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-core/2.0.1/spring-core-2.0.1.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-core/2.0.1/spring-core-2.0.1.jar
> 168K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-jmx/2.0.1/spring-jmx-2.0.1.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/springframework/spring-jmx/2.0.1/spring-jmx-2.0.1.jar
> 83K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
> Downloading:
> http://servicemix.org/m2-repo/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/geronimo-transaction/1.2-beta/geronimo-transaction-1.2-beta.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/apache/geronimo/modules/geronimo-transaction/1.2-beta/geronimo-transaction-1.2-beta.jar
> 60K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/jencks/jencks/2.0/jencks-2.0.jar
> Downloading:
> http://www.ibiblio.org/maven2/org/jencks/jencks/2.0/jencks-2.0.jar
> 69K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-core/3.1-incubating/servicemix-core-3.1-incubating.jar
> 620K downloaded
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.activemq:activemq-core:jar:4.1-incubator-20070103
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.activemq
> -DartifactId=activemq-core \
>           -Dversion=4.1-incubator-20070103 -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Path to dependency:
>         1)
> org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.1-incubating
>         2) org.apache.servicemix:servicemix-core:jar:3.1-incubating
>         3) org.apache.activemq:activemq-core:jar:4.1-incubator-20070103
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.1-incubating
>
> from the specified remote repositories:
>   central (http://www.ibiblio.org/maven2),
>   servicemix-m2-repo (http://servicemix.org/m2-repo),
>   apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
>   apache-incubating
> (http://people.apache.org/repo/m2-incubating-repository),
>   apache.incubating (http://people.apache.org/repo/m2-incubating-repository)

OK, so obviously you used a Maven archeype to create a SU project that
specified an older version of ServiceMix. Can you show me from which
doc you copy/pasted this command? I'd like to fix the doc so others
don't run into this again.

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

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Maven Archetypes

Posted by BradS <jr...@mac.com>.
This may not be what you want, but I am new to maven so I don't know where
the valuable information starts.

I copied the archetype line from the su web page, and here is the output:

[rodrigo-x:~/arch/my-consumer-su] mvn install
[INFO] Scanning for projects...
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.1-incubating/jbi-maven-plugin-3.1-incubating.pom
3K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/tooling/3.1-incubating/tooling-3.1-incubating.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1-incubating/servicemix-3.1-incubating.pom
71K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.1-incubating/jbi-maven-plugin-3.1-incubating.jar
105K downloaded
[INFO]
----------------------------------------------------------------------------
[INFO] Building A Service HTTP Service Engine Service Unit
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
updates from apache.incubating
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
updates from central
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-http/3.1-incubating/servicemix-http-3.1-incubating.pom
5K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/bindingcomponents/3.1-incubating/bindingcomponents-3.1-incubating.pom
1K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/deployables/3.1-incubating/deployables-3.1-incubating.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-shared/3.1-incubating/servicemix-shared-3.1-incubating.pom
1K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/sharedlibraries/3.1-incubating/sharedlibraries-3.1-incubating.pom
1K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-common/3.1-incubating/servicemix-common-3.1-incubating.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/common/3.1-incubating/common-3.1-incubating.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-soap/3.1-incubating/servicemix-soap-3.1-incubating.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
Downloading: http://repo1.maven.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/bouncycastle/bcprov-jdk14/124/bcprov-jdk14-124.pom
Downloading:
http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk14/124/bcprov-jdk14-124.pom
156b downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-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-incubating-repository/org/mortbay/jetty/jetty/6.0.1/jetty-6.0.1.pom
Downloading:
http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.0.1/jetty-6.0.1.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/project/6.0.1/project-6.0.1.pom
Downloading:
http://repo1.maven.org/maven2/org/mortbay/jetty/project/6.0.1/project-6.0.1.pom
11K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty-util/6.0.1/jetty-util-6.0.1.pom
Downloading:
http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-util/6.0.1/jetty-util-6.0.1.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty-management/6.0.1/jetty-management-6.0.1.pom
Downloading:
http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-management/6.0.1/jetty-management-6.0.1.pom
3K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty-util/6.0.1/jetty-util-6.0.1.jar
Downloading:
http://repo.mergere.com/maven2/org/mortbay/jetty/jetty-util/6.0.1/jetty-util-6.0.1.jar
104K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
Downloading:
http://repo1.maven.org/maven2/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
29K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar
Downloading:
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar
30K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-common/3.1-incubating/servicemix-common-3.1-incubating.jar
116K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty/6.0.1/jetty-6.0.1.jar
Downloading:
http://www.ibiblio.org/maven2/org/mortbay/jetty/jetty/6.0.1/jetty-6.0.1.jar
419K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/bouncycastle/bcprov-jdk14/124/bcprov-jdk14-124.jar
Downloading:
http://www.ibiblio.org/maven2/bouncycastle/bcprov-jdk14/124/bcprov-jdk14-124.jar
891K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-shared/3.1-incubating/servicemix-shared-3.1-incubating.jar
28K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss4j-1.5.0.jar
Downloading: http://www.ibiblio.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.jar
523K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/mortbay/jetty/jetty-management/6.0.1/jetty-management-6.0.1.jar
Downloading:
http://www.ibiblio.org/maven2/org/mortbay/jetty/jetty-management/6.0.1/jetty-management-6.0.1.jar
22K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-soap/3.1-incubating/servicemix-soap-3.1-incubating.jar
90K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-http/3.1-incubating/servicemix-http-3.1-incubating.jar
102K downloaded
[INFO] [compiler:compile]
[INFO] No sources to compile
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-dao/2.0.1/spring-dao-2.0.1.pom
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-dao/2.0.1/spring-dao-2.0.1.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-beans/2.0.1/spring-beans-2.0.1.pom
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-beans/2.0.1/spring-beans-2.0.1.pom
1K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-core/2.0.1/spring-core-2.0.1.pom
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-core/2.0.1/spring-core-2.0.1.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-context/2.0.1/spring-context-2.0.1.pom
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-context/2.0.1/spring-context-2.0.1.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-core/3.1-incubating/servicemix-core-3.1-incubating.pom
9K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/core/3.1-incubating/core-3.1-incubating.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-jbi/3.1-incubating/servicemix-jbi-3.1-incubating.pom
1K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-services/3.1-incubating/servicemix-services-3.1-incubating.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.pom
Downloading:
http://www.ibiblio.org/maven2/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.pom
357b downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/geronimo-connector/1.2-beta/geronimo-connector-1.2-beta.pom
Downloading:
http://www.ibiblio.org/maven2/org/apache/geronimo/modules/geronimo-connector/1.2-beta/geronimo-connector-1.2-beta.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/modules/1.2-beta/modules-1.2-beta.pom
Downloading:
http://www.ibiblio.org/maven2/org/apache/geronimo/modules/modules/1.2-beta/modules-1.2-beta.pom
4K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/geronimo/1.2-beta/geronimo-1.2-beta.pom
Downloading:
http://www.ibiblio.org/maven2/org/apache/geronimo/geronimo/1.2-beta/geronimo-1.2-beta.pom
50K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/geronimo-transaction/1.2-beta/geronimo-transaction-1.2-beta.pom
Downloading:
http://www.ibiblio.org/maven2/org/apache/geronimo/modules/geronimo-transaction/1.2-beta/geronimo-transaction-1.2-beta.pom
1K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
Downloading:
http://www.ibiblio.org/maven2/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
Downloading:
http://servicemix.org/m2-repo/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-server/2.8/xbean-server-2.8.pom
Downloading:
http://www.ibiblio.org/maven2/org/apache/xbean/xbean-server/2.8/xbean-server-2.8.pom
1K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-classloader/2.8/xbean-classloader-2.8.pom
Downloading:
http://www.ibiblio.org/maven2/org/apache/xbean/xbean-classloader/2.8/xbean-classloader-2.8.pom
1K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-kernel/2.8/xbean-kernel-2.8.pom
Downloading:
http://www.ibiblio.org/maven2/org/apache/xbean/xbean-kernel/2.8/xbean-kernel-2.8.pom
851b downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-jmx/2.0.1/spring-jmx-2.0.1.pom
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-jmx/2.0.1/spring-jmx-2.0.1.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/jencks/jencks/2.0/jencks-2.0.pom
Downloading:
http://www.ibiblio.org/maven2/org/jencks/jencks/2.0/jencks-2.0.pom
10K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/jencks/jencks-parent/2.0/jencks-parent-2.0.pom
Downloading:
http://www.ibiblio.org/maven2/org/jencks/jencks-parent/2.0/jencks-parent-2.0.pom
3K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/codehaus/woodstox/wstx-asl/3.0.3/wstx-asl-3.0.3.pom
Downloading:
http://www.ibiblio.org/maven2/org/codehaus/woodstox/wstx-asl/3.0.3/wstx-asl-3.0.3.pom
849b downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-server/2.8/xbean-server-2.8.jar
Downloading:
http://www.ibiblio.org/maven2/org/apache/xbean/xbean-server/2.8/xbean-server-2.8.jar
55K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/codehaus/woodstox/wstx-asl/3.0.3/wstx-asl-3.0.3.jar
Downloading:
http://www.ibiblio.org/maven2/org/codehaus/woodstox/wstx-asl/3.0.3/wstx-asl-3.0.3.jar
464K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/geronimo-connector/1.2-beta/geronimo-connector-1.2-beta.jar
Downloading:
http://www.ibiblio.org/maven2/org/apache/geronimo/modules/geronimo-connector/1.2-beta/geronimo-connector-1.2-beta.jar
146K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-context/2.0.1/spring-context-2.0.1.jar
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-context/2.0.1/spring-context-2.0.1.jar
119K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-beans/2.0.1/spring-beans-2.0.1.jar
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-beans/2.0.1/spring-beans-2.0.1.jar
364K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-kernel/2.8/xbean-kernel-2.8.jar
Downloading:
http://www.ibiblio.org/maven2/org/apache/xbean/xbean-kernel/2.8/xbean-kernel-2.8.jar
83K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-dao/2.0.1/spring-dao-2.0.1.jar
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-dao/2.0.1/spring-dao-2.0.1.jar
120K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.jar
Downloading:
http://www.ibiblio.org/maven2/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.jar
189K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-services/3.1-incubating/servicemix-services-3.1-incubating.jar
77K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-jbi/3.1-incubating/servicemix-jbi-3.1-incubating.jar
41K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/xbean/xbean-classloader/2.8/xbean-classloader-2.8.jar
Downloading:
http://www.ibiblio.org/maven2/org/apache/xbean/xbean-classloader/2.8/xbean-classloader-2.8.jar
45K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-core/2.0.1/spring-core-2.0.1.jar
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-core/2.0.1/spring-core-2.0.1.jar
168K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/springframework/spring-jmx/2.0.1/spring-jmx-2.0.1.jar
Downloading:
http://www.ibiblio.org/maven2/org/springframework/spring-jmx/2.0.1/spring-jmx-2.0.1.jar
83K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
Downloading:
http://www.ibiblio.org/maven2/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
Downloading:
http://servicemix.org/m2-repo/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-core/4.1-incubator-20070103/activemq-core-4.1-incubator-20070103.jar
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/modules/geronimo-transaction/1.2-beta/geronimo-transaction-1.2-beta.jar
Downloading:
http://www.ibiblio.org/maven2/org/apache/geronimo/modules/geronimo-transaction/1.2-beta/geronimo-transaction-1.2-beta.jar
60K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/jencks/jencks/2.0/jencks-2.0.jar
Downloading:
http://www.ibiblio.org/maven2/org/jencks/jencks/2.0/jencks-2.0.jar
69K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix-core/3.1-incubating/servicemix-core-3.1-incubating.jar
620K downloaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.activemq:activemq-core:jar:4.1-incubator-20070103

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.activemq
-DartifactId=activemq-core \
          -Dversion=4.1-incubator-20070103 -Dpackaging=jar
-Dfile=/path/to/file

  Path to dependency: 
  	1)
org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.1-incubating
  	2) org.apache.servicemix:servicemix-core:jar:3.1-incubating
  	3) org.apache.activemq:activemq-core:jar:4.1-incubator-20070103

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

for artifact: 
  org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.1-incubating

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


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 42 seconds
[INFO] Finished at: Thu Dec 06 21:20:17 CST 2007
[INFO] Final Memory: 13M/24M
[INFO]
------------------------------------------------------------------------
[rodrigo-x:~/arch/my-consumer-su] 


-- 
View this message in context: http://www.nabble.com/Maven-Archetypes-tf4959407s12049.html#a14206101
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Maven Archetypes

Posted by Bruce Snyder <br...@gmail.com>.
On Dec 6, 2007 7:21 PM, BradS <jr...@mac.com> wrote:
>
> I am using 3.2.1.  I just downloaded it today - so I believe that it is
> current.  Is there a better version for me to use?

No, that's the latest release (it was released last week). So I'm very
puzzled by the dependency you noted on an ActiveMQ artifact with an
incubator label on it. Please  paste the full error for further
inspection.

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

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: Maven Archetypes

Posted by BradS <jr...@mac.com>.
I am using 3.2.1.  I just downloaded it today - so I believe that it is
current.  Is there a better version for me to use?

Brad Smith.

-- 
View this message in context: http://www.nabble.com/Maven-Archetypes-tf4959407s12049.html#a14205558
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Maven Archetypes

Posted by Bruce Snyder <br...@gmail.com>.
On Dec 6, 2007 5:08 PM, BradS <jr...@mac.com> wrote:
>
> I am a brand new user, and have frankly been having a terrible time with the
> documentation.  I am trying to set up an SU and SA project using the
> archetypes specified on these pages:
>
> http://servicemix.apache.org/what-is-a-jbi-su-and-how-do-i-create-one.html
> http://servicemix.apache.org/what-is-a-jbi-sa-and-how-do-i-create-one.html
>
> And both generated projects fail with this error on mvn install:
>
> ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.activemq:activemq-core:jar:4.1-incubator-20070103
> ...
>
>
> Is there a different archetype to use, or some way I can get that artifact?
> I couldn't find it anywhere.

What version of ServiceMix are you using? It's been a long time since
there's been a dependency on any ActiveMQ artifacts with the incubator
label.

I suggest downloading the latest release:

http://servicemix.apache.org/downloads.html

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

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/