Re: Jboss ESB and Maven - success!!

2008-09-04 Thread Scott Ryan
http://repository.jboss.com/maven2

should have all the jboss stuff


Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 3:05 PM, Lam Hayward <[EMAIL PROTECTED]>wrote:

> I created a brand new Java project from eclipse and all the maven
> directory from scratch. It works now!!
>
> It produced the .esb file.
>
> Thanks.
>
> In terms of jar dependency, a lot of the jboss esb jars can't be found
> in maven repo. Do you simply add them to your local repository? Or is
> there a repository out there I should reference?
>
> -Original Message-
> From: Lam Hayward [mailto:[EMAIL PROTECTED]
> Sent: September 4, 2008 4:47 PM
> To: Maven Users List
> Subject: RE: Jboss ESB and Maven
>
> Only one  element is in the pom.xml. That should be ok.
>
> The error shows "esb" is a very strange.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
> Ryan
> Sent: September 4, 2008 4:36 PM
> To: Maven Users List
> Subject: Re: Jboss ESB and Maven
>
> Are you sure the packaging is jboss-esb rather than just esb as the
> error message states?  I got the same error you did when i changed my
> packaging to just esb.  Make sure you only have one packaging entry.
>
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> Highlands Ranch, Co. 80129
> (303) 263-3044
> [EMAIL PROTECTED]
> www.soaringeagleco.com
>
>
> On Thu, Sep 4, 2008 at 2:23 PM, Lam Hayward
> <[EMAIL PROTECTED]>wrote:
>
> > I figured the directory structure would be similar to regular maven
> > project. So, I have the following:
> >
> > src/main/java
> > src/main/resources
> > src/test/java
> > src/test/resources
> >
> > I followed your suggestion to move the deployment.xml and
> > jboss-esb.xml to src/main/resources/META-INF directory.
> >
> > In the pom.xml file, I specified jboss-esb and
> >
> > 
> >  
> > 
> >
> >  org.codehaus.mojo
> >jboss-packaging-maven-plugin
> >
> >
> >true
> >
> > 
> >  
> > 
> >
> > When I run "mvn install", it complains:
> >
> > $ mvn install
> > [INFO] Scanning for projects...
> > [INFO]
> > --
> > --
> > [INFO] Building esb
> > [INFO]task-segment: [install]
> > [INFO]
> > --
> > --
> > [INFO]
> > --
> > --
> > [ERROR] BUILD ERROR
> > [INFO]
> > --
> > -- [INFO] Cannot find lifecycle mapping for packaging: 'esb'.
> > Component descriptor cannot be found in the component repository:
> > org.apache.mav
> > en.lifecycle.mapping.LifecycleMappingesb.
> > [INFO]
> > --
> > -- [INFO] For more information, run Maven with the -e switch [INFO]
> > --
> > --
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Thu Sep 04 16:16:44 EDT 2008 [INFO] Final Memory:
> > 2M/4M [INFO]
> > --
> > --
> >
> > It didn't seem to compile the code. The target directory has empty
> "lib"
> > directory and empty "META-INF" directory.
> >
> > Is there something missing?
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> > Scott Ryan
> > Sent: September 4, 2008 3:50 PM
> > To: Maven Users List
> > Subject: Re: Jboss ESB and Maven
> >
> > We have used the plugin with great success and can send you our layout
>
> > but basically use the standard maven 2 structure as follows
> >
> > src/main/java
> > src/main/resources
> >
> > put the jbm-queue-service.xml file in the resources directory and the
> > following files in the resource/META-INF directory
> >
> > deployment.xml
> > jboss-esb.xml
> >
> > Let me know if i can help in any way.
> >
> > Scott Ryan
> > President/CTO
> > Soaring Eagle L.L.C.
> > Highlands Ranch, Co. 80129
> > (303) 263-3044
> > [EMAIL PROTECTED]
&

RE: Jboss ESB and Maven - success!!

2008-09-04 Thread Lam Hayward
I created a brand new Java project from eclipse and all the maven
directory from scratch. It works now!!

It produced the .esb file.

Thanks.

In terms of jar dependency, a lot of the jboss esb jars can't be found
in maven repo. Do you simply add them to your local repository? Or is
there a repository out there I should reference?

-Original Message-
From: Lam Hayward [mailto:[EMAIL PROTECTED] 
Sent: September 4, 2008 4:47 PM
To: Maven Users List
Subject: RE: Jboss ESB and Maven

Only one  element is in the pom.xml. That should be ok. 

The error shows "esb" is a very strange.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
Ryan
Sent: September 4, 2008 4:36 PM
To: Maven Users List
Subject: Re: Jboss ESB and Maven

Are you sure the packaging is jboss-esb rather than just esb as the
error message states?  I got the same error you did when i changed my
packaging to just esb.  Make sure you only have one packaging entry.


Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 2:23 PM, Lam Hayward
<[EMAIL PROTECTED]>wrote:

> I figured the directory structure would be similar to regular maven 
> project. So, I have the following:
>
> src/main/java
> src/main/resources
> src/test/java
> src/test/resources
>
> I followed your suggestion to move the deployment.xml and 
> jboss-esb.xml to src/main/resources/META-INF directory.
>
> In the pom.xml file, I specified jboss-esb and
>
> 
>  
> 
>
>  org.codehaus.mojo
>jboss-packaging-maven-plugin
>
>
>true
>
> 
>  
> 
>
> When I run "mvn install", it complains:
>
> $ mvn install
> [INFO] Scanning for projects...
> [INFO]
> --
> --
> [INFO] Building esb
> [INFO]task-segment: [install]
> [INFO]
> --
> --
> [INFO]
> --
> --
> [ERROR] BUILD ERROR
> [INFO]
> --
> -- [INFO] Cannot find lifecycle mapping for packaging: 'esb'.
> Component descriptor cannot be found in the component repository:
> org.apache.mav
> en.lifecycle.mapping.LifecycleMappingesb.
> [INFO]
> --
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> --
> --
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Sep 04 16:16:44 EDT 2008 [INFO] Final Memory: 
> 2M/4M [INFO]
> --
> --
>
> It didn't seem to compile the code. The target directory has empty
"lib"
> directory and empty "META-INF" directory.
>
> Is there something missing?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
> Scott Ryan
> Sent: September 4, 2008 3:50 PM
> To: Maven Users List
> Subject: Re: Jboss ESB and Maven
>
> We have used the plugin with great success and can send you our layout

> but basically use the standard maven 2 structure as follows
>
> src/main/java
> src/main/resources
>
> put the jbm-queue-service.xml file in the resources directory and the 
> following files in the resource/META-INF directory
>
> deployment.xml
> jboss-esb.xml
>
> Let me know if i can help in any way.
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> Highlands Ranch, Co. 80129
> (303) 263-3044
> [EMAIL PROTECTED]
> www.soaringeagleco.com
>
>
> On Thu, Sep 4, 2008 at 1:07 PM, Lam Hayward
> <[EMAIL PROTECTED]>wrote:
>
> > I have a Jboss ESB example project with ant build script to convert 
> > to
>
> > maven. Maven usually prefers certain directory structure. There is a

> > plugin for jboss esb packaging. Is there somewhere I can find the 
> > directory structure and pom.xml?
> >
> > 
> > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jboss ESB and Maven

2008-09-04 Thread Scott Ryan
try changing the packaging to war and see if you  get a warning about
web.xml when you do mvn install.

Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 3:04 PM, Scott Ryan <[EMAIL PROTECTED]> wrote:

> Are you sure esb does not appear anywhere else in your pom or any parent
> pom?
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> Highlands Ranch, Co. 80129
> (303) 263-3044
> [EMAIL PROTECTED]
> www.soaringeagleco.com
>
>
> On Thu, Sep 4, 2008 at 2:45 PM, Lam Hayward <[EMAIL PROTECTED]>wrote:
>
>> I have exactly the same  and  as yours.
>>
>>4.0.0
>>myCompany
>>myEsb
>>jboss-esb
>>1.0-SNAPSHOT
>>myEsb
>>
>> I use jboss-esb for packaging.
>>
>> The codehause plugin jar was downloaded to my local repository.
>> Everything seems to be there.
>>
>> Even if I run "mvn compile", I get the same error.
>>
>> $ mvn compile
>> [INFO] Scanning for projects...
>> [INFO]
>> 
>> [INFO] Building esb
>> [INFO]task-segment: [compile]
>> [INFO]
>> 
>> [INFO]
>> 
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO] Cannot find lifecycle mapping for packaging: 'esb'.
>> Component descriptor cannot be found in the component repository:
>> org.apache.mav
>> en.lifecycle.mapping.LifecycleMappingesb.
>> [INFO]
>> 
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> 
>> [INFO] Total time: < 1 second
>> [INFO] Finished at: Thu Sep 04 16:44:04 EDT 2008
>> [INFO] Final Memory: 2M/4M
>> [INFO]
>> 
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
>> Ryan
>> Sent: September 4, 2008 4:33 PM
>> To: Maven Users List
>> Subject: Re: Jboss ESB and Maven
>>
>> Here are some relevant sections of my pom
>>
>>  jboss-esb
>>
>> 
>>
>>  
>>src/main/resources
>>true
>>  
>>
>>
>>  
>>org.codehaus.mojo
>>jboss-packaging-maven-plugin
>>true
>>  
>>
>>  
>>
>>
>>
>> Scott Ryan
>> President/CTO
>> Soaring Eagle L.L.C.
>> Highlands Ranch, Co. 80129
>> (303) 263-3044
>> [EMAIL PROTECTED]
>> www.soaringeagleco.com
>>
>>
>> On Thu, Sep 4, 2008 at 2:23 PM, Lam Hayward
>> <[EMAIL PROTECTED]>wrote:
>>
>> > I figured the directory structure would be similar to regular maven
>> > project. So, I have the following:
>> >
>> > src/main/java
>> > src/main/resources
>> > src/test/java
>> > src/test/resources
>> >
>> > I followed your suggestion to move the deployment.xml and
>> > jboss-esb.xml to src/main/resources/META-INF directory.
>> >
>> > In the pom.xml file, I specified jboss-esb and
>> >
>> > 
>> >  
>> > 
>> >
>> >  org.codehaus.mojo
>> >jboss-packaging-maven-plugin
>> >
>> >
>> >true
>> >
>> > 
>> >  
>> > 
>> >
>> > When I run "mvn install", it complains:
>> >
>> > $ mvn install
>> > [INFO] Scanning for projects...
>> > [INFO]
>> > --
>> > --
>> > [INFO] Building esb
>> > [INFO]task-segment: [install]
>> > [INFO]
>> > --
>> > --
>> > [INFO]
>> > --
>> > --
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> > --
>> > -- [INFO] Cannot find life

Re: Jboss ESB and Maven

2008-09-04 Thread Scott Ryan
Are you sure esb does not appear anywhere else in your pom or any parent
pom?

Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 2:45 PM, Lam Hayward <[EMAIL PROTECTED]>wrote:

> I have exactly the same  and  as yours.
>
>4.0.0
>myCompany
>myEsb
>jboss-esb
>1.0-SNAPSHOT
>myEsb
>
> I use jboss-esb for packaging.
>
> The codehause plugin jar was downloaded to my local repository.
> Everything seems to be there.
>
> Even if I run "mvn compile", I get the same error.
>
> $ mvn compile
> [INFO] Scanning for projects...
> [INFO]
> 
> [INFO] Building esb
> [INFO]task-segment: [compile]
> [INFO]
> 
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Cannot find lifecycle mapping for packaging: 'esb'.
> Component descriptor cannot be found in the component repository:
> org.apache.mav
> en.lifecycle.mapping.LifecycleMappingesb.
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Sep 04 16:44:04 EDT 2008
> [INFO] Final Memory: 2M/4M
> [INFO]
> 
>
> -Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
> Ryan
> Sent: September 4, 2008 4:33 PM
> To: Maven Users List
> Subject: Re: Jboss ESB and Maven
>
> Here are some relevant sections of my pom
>
>  jboss-esb
>
> 
>
>  
>src/main/resources
>true
>  
>
>
>  
>org.codehaus.mojo
>jboss-packaging-maven-plugin
>true
>  
>
>  
>
>
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> Highlands Ranch, Co. 80129
> (303) 263-3044
> [EMAIL PROTECTED]
> www.soaringeagleco.com
>
>
> On Thu, Sep 4, 2008 at 2:23 PM, Lam Hayward
> <[EMAIL PROTECTED]>wrote:
>
> > I figured the directory structure would be similar to regular maven
> > project. So, I have the following:
> >
> > src/main/java
> > src/main/resources
> > src/test/java
> > src/test/resources
> >
> > I followed your suggestion to move the deployment.xml and
> > jboss-esb.xml to src/main/resources/META-INF directory.
> >
> > In the pom.xml file, I specified jboss-esb and
> >
> > 
> >  
> > 
> >
> >  org.codehaus.mojo
> >jboss-packaging-maven-plugin
> >
> >
> >true
> >
> > 
> >  
> > 
> >
> > When I run "mvn install", it complains:
> >
> > $ mvn install
> > [INFO] Scanning for projects...
> > [INFO]
> > --
> > --
> > [INFO] Building esb
> > [INFO]task-segment: [install]
> > [INFO]
> > --
> > --
> > [INFO]
> > --
> > --
> > [ERROR] BUILD ERROR
> > [INFO]
> > --
> > -- [INFO] Cannot find lifecycle mapping for packaging: 'esb'.
> > Component descriptor cannot be found in the component repository:
> > org.apache.mav
> > en.lifecycle.mapping.LifecycleMappingesb.
> > [INFO]
> > --
> > -- [INFO] For more information, run Maven with the -e switch [INFO]
> > ------------------
> > --
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Thu Sep 04 16:16:44 EDT 2008 [INFO] Final Memory:
> > 2M/4M [INFO]
> > --
> > --
> >
> > It didn't seem to compile the code. The target directory has empty
> "lib"
> > directory and empty "META-INF" directory.
> >
> > Is 

RE: Jboss ESB and Maven

2008-09-04 Thread Lam Hayward
Only one  element is in the pom.xml. That should be ok. 

The error shows "esb" is a very strange.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
Ryan
Sent: September 4, 2008 4:36 PM
To: Maven Users List
Subject: Re: Jboss ESB and Maven

Are you sure the packaging is jboss-esb rather than just esb as the
error message states?  I got the same error you did when i changed my
packaging to just esb.  Make sure you only have one packaging entry.


Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 2:23 PM, Lam Hayward
<[EMAIL PROTECTED]>wrote:

> I figured the directory structure would be similar to regular maven 
> project. So, I have the following:
>
> src/main/java
> src/main/resources
> src/test/java
> src/test/resources
>
> I followed your suggestion to move the deployment.xml and 
> jboss-esb.xml to src/main/resources/META-INF directory.
>
> In the pom.xml file, I specified jboss-esb and
>
> 
>  
> 
>
>  org.codehaus.mojo
>jboss-packaging-maven-plugin
>
>
>true
>
> 
>  
> 
>
> When I run "mvn install", it complains:
>
> $ mvn install
> [INFO] Scanning for projects...
> [INFO]
> --
> --
> [INFO] Building esb
> [INFO]task-segment: [install]
> [INFO]
> --
> --
> [INFO]
> --
> --
> [ERROR] BUILD ERROR
> [INFO]
> --
> -- [INFO] Cannot find lifecycle mapping for packaging: 'esb'.
> Component descriptor cannot be found in the component repository:
> org.apache.mav
> en.lifecycle.mapping.LifecycleMappingesb.
> [INFO]
> --
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> --
> --
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Sep 04 16:16:44 EDT 2008 [INFO] Final Memory: 
> 2M/4M [INFO]
> --
> --
>
> It didn't seem to compile the code. The target directory has empty
"lib"
> directory and empty "META-INF" directory.
>
> Is there something missing?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
> Scott Ryan
> Sent: September 4, 2008 3:50 PM
> To: Maven Users List
> Subject: Re: Jboss ESB and Maven
>
> We have used the plugin with great success and can send you our layout

> but basically use the standard maven 2 structure as follows
>
> src/main/java
> src/main/resources
>
> put the jbm-queue-service.xml file in the resources directory and the 
> following files in the resource/META-INF directory
>
> deployment.xml
> jboss-esb.xml
>
> Let me know if i can help in any way.
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> Highlands Ranch, Co. 80129
> (303) 263-3044
> [EMAIL PROTECTED]
> www.soaringeagleco.com
>
>
> On Thu, Sep 4, 2008 at 1:07 PM, Lam Hayward
> <[EMAIL PROTECTED]>wrote:
>
> > I have a Jboss ESB example project with ant build script to convert 
> > to
>
> > maven. Maven usually prefers certain directory structure. There is a

> > plugin for jboss esb packaging. Is there somewhere I can find the 
> > directory structure and pom.xml?
> >
> > 
> > - To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Jboss ESB and Maven

2008-09-04 Thread Lam Hayward
I have exactly the same  and  as yours.

4.0.0
myCompany
myEsb
jboss-esb
1.0-SNAPSHOT
myEsb

I use jboss-esb for packaging. 

The codehause plugin jar was downloaded to my local repository.
Everything seems to be there.

Even if I run "mvn compile", I get the same error.

$ mvn compile
[INFO] Scanning for projects...
[INFO]

[INFO] Building esb
[INFO]task-segment: [compile]
[INFO]

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot find lifecycle mapping for packaging: 'esb'.
Component descriptor cannot be found in the component repository:
org.apache.mav
en.lifecycle.mapping.LifecycleMappingesb.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Thu Sep 04 16:44:04 EDT 2008
[INFO] Final Memory: 2M/4M
[INFO]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
Ryan
Sent: September 4, 2008 4:33 PM
To: Maven Users List
Subject: Re: Jboss ESB and Maven

Here are some relevant sections of my pom

 jboss-esb



  
src/main/resources
true
  


  
org.codehaus.mojo
jboss-packaging-maven-plugin
true
  

  



Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 2:23 PM, Lam Hayward
<[EMAIL PROTECTED]>wrote:

> I figured the directory structure would be similar to regular maven 
> project. So, I have the following:
>
> src/main/java
> src/main/resources
> src/test/java
> src/test/resources
>
> I followed your suggestion to move the deployment.xml and 
> jboss-esb.xml to src/main/resources/META-INF directory.
>
> In the pom.xml file, I specified jboss-esb and
>
> 
>  
> 
>
>  org.codehaus.mojo
>jboss-packaging-maven-plugin
>
>
>true
>
> 
>  
> 
>
> When I run "mvn install", it complains:
>
> $ mvn install
> [INFO] Scanning for projects...
> [INFO]
> --
> --
> [INFO] Building esb
> [INFO]task-segment: [install]
> [INFO]
> --
> --
> [INFO]
> --
> --
> [ERROR] BUILD ERROR
> [INFO]
> --
> -- [INFO] Cannot find lifecycle mapping for packaging: 'esb'.
> Component descriptor cannot be found in the component repository:
> org.apache.mav
> en.lifecycle.mapping.LifecycleMappingesb.
> [INFO]
> --
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> --
> --
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Sep 04 16:16:44 EDT 2008 [INFO] Final Memory: 
> 2M/4M [INFO]
> --
> --
>
> It didn't seem to compile the code. The target directory has empty
"lib"
> directory and empty "META-INF" directory.
>
> Is there something missing?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
> Scott Ryan
> Sent: September 4, 2008 3:50 PM
> To: Maven Users List
> Subject: Re: Jboss ESB and Maven
>
> We have used the plugin with great success and can send you our layout

> but basically use the standard maven 2 structure as follows
>
> src/main/java
> src/main/resources
>
> put the jbm-queue-service.xml file in the resources directory and the 
> following files in the resource/META-INF directory
>
> deployment.xml
> jboss-esb.xml
>
> Let me know if i can help in any way.
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> Highlands Ranch, Co. 80129
> (303) 263-3044
> [EMAIL PROTECTED]
> www.soaringeagleco.com
>
>
> On Thu, Sep 4, 2008 at 1:07 PM, Lam Hayward
> <[EMAIL PROTECTED]>wrote:
>
> > I have a Jboss ESB example project with ant b

Re: Jboss ESB and Maven

2008-09-04 Thread Scott Ryan
Are you sure the packaging is jboss-esb rather than just esb as the error
message states?  I got the same error you did when i changed my packaging to
just esb.  Make sure you only have one packaging entry.


Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 2:23 PM, Lam Hayward <[EMAIL PROTECTED]>wrote:

> I figured the directory structure would be similar to regular maven
> project. So, I have the following:
>
> src/main/java
> src/main/resources
> src/test/java
> src/test/resources
>
> I followed your suggestion to move the deployment.xml and jboss-esb.xml
> to src/main/resources/META-INF directory.
>
> In the pom.xml file, I specified jboss-esb and
>
> 
>  
> 
>
>  org.codehaus.mojo
>jboss-packaging-maven-plugin
>
>
>true
>
> 
>  
> 
>
> When I run "mvn install", it complains:
>
> $ mvn install
> [INFO] Scanning for projects...
> [INFO]
> 
> [INFO] Building esb
> [INFO]task-segment: [install]
> [INFO]
> 
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Cannot find lifecycle mapping for packaging: 'esb'.
> Component descriptor cannot be found in the component repository:
> org.apache.mav
> en.lifecycle.mapping.LifecycleMappingesb.
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Sep 04 16:16:44 EDT 2008
> [INFO] Final Memory: 2M/4M
> [INFO]
> 
>
> It didn't seem to compile the code. The target directory has empty "lib"
> directory and empty "META-INF" directory.
>
> Is there something missing?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
> Ryan
> Sent: September 4, 2008 3:50 PM
> To: Maven Users List
> Subject: Re: Jboss ESB and Maven
>
> We have used the plugin with great success and can send you our layout
> but basically use the standard maven 2 structure as follows
>
> src/main/java
> src/main/resources
>
> put the jbm-queue-service.xml file in the resources directory and the
> following files in the resource/META-INF directory
>
> deployment.xml
> jboss-esb.xml
>
> Let me know if i can help in any way.
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> Highlands Ranch, Co. 80129
> (303) 263-3044
> [EMAIL PROTECTED]
> www.soaringeagleco.com
>
>
> On Thu, Sep 4, 2008 at 1:07 PM, Lam Hayward
> <[EMAIL PROTECTED]>wrote:
>
> > I have a Jboss ESB example project with ant build script to convert to
>
> > maven. Maven usually prefers certain directory structure. There is a
> > plugin for jboss esb packaging. Is there somewhere I can find the
> > directory structure and pom.xml?
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Jboss ESB and Maven

2008-09-04 Thread Scott Ryan
Here are some relevant sections of my pom

 jboss-esb



  
src/main/resources
true
  


  
org.codehaus.mojo
jboss-packaging-maven-plugin
true
  

  



Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 2:23 PM, Lam Hayward <[EMAIL PROTECTED]>wrote:

> I figured the directory structure would be similar to regular maven
> project. So, I have the following:
>
> src/main/java
> src/main/resources
> src/test/java
> src/test/resources
>
> I followed your suggestion to move the deployment.xml and jboss-esb.xml
> to src/main/resources/META-INF directory.
>
> In the pom.xml file, I specified jboss-esb and
>
> 
>  
> 
>
>  org.codehaus.mojo
>jboss-packaging-maven-plugin
>
>
>true
>
> 
>  
> 
>
> When I run "mvn install", it complains:
>
> $ mvn install
> [INFO] Scanning for projects...
> [INFO]
> 
> [INFO] Building esb
> [INFO]task-segment: [install]
> [INFO]
> 
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Cannot find lifecycle mapping for packaging: 'esb'.
> Component descriptor cannot be found in the component repository:
> org.apache.mav
> en.lifecycle.mapping.LifecycleMappingesb.
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Sep 04 16:16:44 EDT 2008
> [INFO] Final Memory: 2M/4M
> [INFO]
> 
>
> It didn't seem to compile the code. The target directory has empty "lib"
> directory and empty "META-INF" directory.
>
> Is there something missing?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
> Ryan
> Sent: September 4, 2008 3:50 PM
> To: Maven Users List
> Subject: Re: Jboss ESB and Maven
>
> We have used the plugin with great success and can send you our layout
> but basically use the standard maven 2 structure as follows
>
> src/main/java
> src/main/resources
>
> put the jbm-queue-service.xml file in the resources directory and the
> following files in the resource/META-INF directory
>
> deployment.xml
> jboss-esb.xml
>
> Let me know if i can help in any way.
>
> Scott Ryan
> President/CTO
> Soaring Eagle L.L.C.
> Highlands Ranch, Co. 80129
> (303) 263-3044
> [EMAIL PROTECTED]
> www.soaringeagleco.com
>
>
> On Thu, Sep 4, 2008 at 1:07 PM, Lam Hayward
> <[EMAIL PROTECTED]>wrote:
>
> > I have a Jboss ESB example project with ant build script to convert to
>
> > maven. Maven usually prefers certain directory structure. There is a
> > plugin for jboss esb packaging. Is there somewhere I can find the
> > directory structure and pom.xml?
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: Jboss ESB and Maven

2008-09-04 Thread Lam Hayward
I figured the directory structure would be similar to regular maven
project. So, I have the following:

src/main/java
src/main/resources
src/test/java
src/test/resources

I followed your suggestion to move the deployment.xml and jboss-esb.xml
to src/main/resources/META-INF directory.

In the pom.xml file, I specified jboss-esb and


  


  org.codehaus.mojo
jboss-packaging-maven-plugin


true


  


When I run "mvn install", it complains:

$ mvn install
[INFO] Scanning for projects...
[INFO]

[INFO] Building esb
[INFO]task-segment: [install]
[INFO]

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot find lifecycle mapping for packaging: 'esb'.
Component descriptor cannot be found in the component repository:
org.apache.mav
en.lifecycle.mapping.LifecycleMappingesb.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Thu Sep 04 16:16:44 EDT 2008
[INFO] Final Memory: 2M/4M
[INFO]


It didn't seem to compile the code. The target directory has empty "lib"
directory and empty "META-INF" directory.

Is there something missing?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
Ryan
Sent: September 4, 2008 3:50 PM
To: Maven Users List
Subject: Re: Jboss ESB and Maven

We have used the plugin with great success and can send you our layout
but basically use the standard maven 2 structure as follows

src/main/java
src/main/resources

put the jbm-queue-service.xml file in the resources directory and the
following files in the resource/META-INF directory

deployment.xml
jboss-esb.xml

Let me know if i can help in any way.

Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 1:07 PM, Lam Hayward
<[EMAIL PROTECTED]>wrote:

> I have a Jboss ESB example project with ant build script to convert to

> maven. Maven usually prefers certain directory structure. There is a 
> plugin for jboss esb packaging. Is there somewhere I can find the 
> directory structure and pom.xml?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jboss ESB and Maven

2008-09-04 Thread Scott Ryan
We have used the plugin with great success and can send you our layout but
basically use the standard maven 2 structure as follows

src/main/java
src/main/resources

put the jbm-queue-service.xml file in the resources directory and the
following files in the resource/META-INF directory

deployment.xml
jboss-esb.xml

Let me know if i can help in any way.

Scott Ryan
President/CTO
Soaring Eagle L.L.C.
Highlands Ranch, Co. 80129
(303) 263-3044
[EMAIL PROTECTED]
www.soaringeagleco.com


On Thu, Sep 4, 2008 at 1:07 PM, Lam Hayward <[EMAIL PROTECTED]>wrote:

> I have a Jboss ESB example project with ant build script to convert to
> maven. Maven usually prefers certain directory structure. There is a
> plugin for jboss esb packaging. Is there somewhere I can find the
> directory structure and pom.xml?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>