You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by knitzl <ca...@gmail.com> on 2008/03/01 20:24:39 UTC

bridge example

question on the Bridge example in the user tutorial... the maven archetypes
create pom.xml files in each su that are of type "war", though the final mvn
install (to build the sa) look for jars, but they're not created.  In the
dialog for each mvn archtetype:create I go through this:


Choose a number: 
(1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/2
9/30/31/32/33/34/35/36): 1
Define value for version: : 1
Define value for package: : jar
Confirm properties configuration:
groupId: org.apache.servicemix.samples.bridge
artifactId: bridge-xslt-su
version: 1
package: jar
 Y: : y

I'm not sure what the "number" is used for, and for package, I give "jar",
but the generated pom still has "war"...  

any thoughts or help would be appreciated.
thanks
maven newbie...


-- 
View this message in context: http://www.nabble.com/bridge-example-tp15779131s12049p15779131.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: bridge example

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

There's a problem with some recent versions of the Maven archetype 
plugin.  They should get resolved soon, but it the meanwhile you'll have 
to use the workaround specified in 
https://issues.apache.org/activemq/browse/SM-1224 by explicitly 
specifying an older version of the Maven archetype plugin:
    mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create

It's best your tutorial project and to start all over again, because 
you've created a JSF-Spring-Hibernate project or something similar by 
now which might interfere with the rest of the tutorial work.

Gert


knitzl wrote:
> question on the Bridge example in the user tutorial... the maven archetypes
> create pom.xml files in each su that are of type "war", though the final mvn
> install (to build the sa) look for jars, but they're not created.  In the
> dialog for each mvn archtetype:create I go through this:
>
>
> Choose a number: 
> (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/2
> 9/30/31/32/33/34/35/36): 1
> Define value for version: : 1
> Define value for package: : jar
> Confirm properties configuration:
> groupId: org.apache.servicemix.samples.bridge
> artifactId: bridge-xslt-su
> version: 1
> package: jar
>  Y: : y
>
> I'm not sure what the "number" is used for, and for package, I give "jar",
> but the generated pom still has "war"...  
>
> any thoughts or help would be appreciated.
> thanks
> maven newbie...
>
>
>