You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by amit kumar <am...@gmail.com> on 2008/01/17 13:02:20 UTC

M2 Cargo Plugin

Hi,
Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I
tried looking for it ,but in vain.
If someone has already worked on it, please guide.

I am using maven 2.0.7
Windows XP
JBoss 4.2.0GA

regards,
Hemant Malik

Re: M2 Cargo Plugin

Posted by Daniele De Francesco <dd...@gmail.com>.
Hi,

there is a known issue about cargo and jboss 4.2.x...I don't know if they
have managed to patch it, just

   1. Go codehaus-jira and look for cargo and jboss 4.2
   2. Give a try to elder versions of jboss (i.e. jboss-4.0.3SP1 or later
   in the branch 4.0.x)

Cheers
Daniele

On Jan 17, 2008 1:41 PM, amit kumar <am...@gmail.com> wrote:

> Hi,
> I finally got to see the documentation on how to use cargo ( did not find
> an
> example for jboss), but when I put the required container configuration (
> the most basic one, just as first to test the start of the server). I am
> seeing the below error at console
>
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Home Dir:
> E:\jobsstest\target\jboss4x
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Home URL:
> file:/E:/jobsstest/target/jboss4x/
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Log Dir:
> E:\jobsstest\target\jboss4x\log
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Temp Dir:
> E:\jobsstest\target\jboss4x\tmp
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Root Deployment
> Filename: jboss-service.xml
> [INFO] [talledLocalContainer] 18:05:53,468 INFO  [ServerInfo] Java
> version:
> 1.5.0_08,Sun Microsystems Inc.
> [INFO] [talledLocalContainer] 18:05:53,468 INFO  [ServerInfo] Java VM:
> Java
> HotSpot(TM) Client VM 1.5.0_08-b03,Sun Microsystems Inc.
> [INFO] [talledLocalContainer] 18:05:53,468 INFO  [ServerInfo] OS-System:
> Windows XP 5.1,x86
> [INFO] [talledLocalContainer] 18:05:55,734 INFO  [Server] Core system
> initialized
> [INFO] [talledLocalContainer] 18:06:02,531 INFO  [ServiceBindingManager]
> Initializing store
> [INFO] [talledLocalContainer] 18:06:02,531 INFO  [ServiceBindingManager]
> Using StoreURL: file:/E:/jobsstest/target/jboss4x/conf/cargo-
>
> [INFO] [talledLocalContainer] 18:06:04,734 INFO
> [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
> [INFO] [talledLocalContainer] 18:06:05,328 WARN  [ServiceController]
> Problem
> starting service jboss:service=Naming
> [INFO] [talledLocalContainer] java.lang.NullPointerException
> [INFO] [talledLocalContainer]   at org.jnp.server.Main.getNamingInstance(
> Main.java:301)
> [INFO] [talledLocalContainer]   at org.jnp.server.Main.initJnpInvoker(
> Main.java:354)
> [INFO] [talledLocalContainer]   at org.jnp.server.Main.start(Main.java
> :316)
> [INFO] [talledLocalContainer]   at
> org.jboss.naming.NamingService.startService(NamingService.java:284)
> [INFO] [talledLocalContainer]   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(
> ServiceMBeanSupport.java:289)
> [INFO] [talledLocalContainer]   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(
> ServiceMBeanSupport.java:245).
>
>
>
> I am using the below basic configuration my pom.xml
>
>  <build>
>    <finalName>jobsstest</finalName>
>    <defaultGoal>package</defaultGoal>
>        <plugins>
>        <plugin>
>        <groupId>org.codehaus.cargo</groupId>
>        <artifactId>cargo-maven2-plugin</artifactId>
>        <version>0.3-SNAPSHOT</version>
>        <configuration>
>          <container>
>            <containerId>jboss4x</containerId>
>            <home>E:/jboss-4.2.0.GA</home>
>          </container>
>          </configuration>
>        </plugin>
>        </plugins>
>  </build>
>
> Any help?
>
> Amit
>
> On Jan 17, 2008 5:32 PM, amit kumar <am...@gmail.com> wrote:
>
> > Hi,
> > Anyone aware of any online documentation for M2 Cargo plugin for JBoss.
> I
> > tried looking for it ,but in vain.
> > If someone has already worked on it, please guide.
> >
> > I am using maven 2.0.7
> > Windows XP
> > JBoss 4.2.0GA
> >
> > regards,
> > Hemant Malik
> >
>

Re: M2 Cargo Plugin

Posted by Clifton <cl...@gmail.com>.
Don't know if it'll help your problem much but try removing the version tag
from the cargo plugin declaration. Unless you have a particular reason to
use a snapshot version it's generaly best to let maven grab the latest
release of a plugin.


amit kumar-18 wrote:
> 
> Hi,
> I finally got to see the documentation on how to use cargo ( did not find
> an
> example for jboss), but when I put the required container configuration (
> the most basic one, just as first to test the start of the server). I am
> seeing the below error at console
> 
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Home Dir:
> E:\jobsstest\target\jboss4x
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Home URL:
> file:/E:/jobsstest/target/jboss4x/
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Log Dir:
> E:\jobsstest\target\jboss4x\log
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Temp Dir:
> E:\jobsstest\target\jboss4x\tmp
> [INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Root Deployment
> Filename: jboss-service.xml
> [INFO] [talledLocalContainer] 18:05:53,468 INFO  [ServerInfo] Java
> version:
> 1.5.0_08,Sun Microsystems Inc.
> [INFO] [talledLocalContainer] 18:05:53,468 INFO  [ServerInfo] Java VM:
> Java
> HotSpot(TM) Client VM 1.5.0_08-b03,Sun Microsystems Inc.
> [INFO] [talledLocalContainer] 18:05:53,468 INFO  [ServerInfo] OS-System:
> Windows XP 5.1,x86
> [INFO] [talledLocalContainer] 18:05:55,734 INFO  [Server] Core system
> initialized
> [INFO] [talledLocalContainer] 18:06:02,531 INFO  [ServiceBindingManager]
> Initializing store
> [INFO] [talledLocalContainer] 18:06:02,531 INFO  [ServiceBindingManager]
> Using StoreURL: file:/E:/jobsstest/target/jboss4x/conf/cargo-
> 
> [INFO] [talledLocalContainer] 18:06:04,734 INFO
> [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
> [INFO] [talledLocalContainer] 18:06:05,328 WARN  [ServiceController]
> Problem
> starting service jboss:service=Naming
> [INFO] [talledLocalContainer] java.lang.NullPointerException
> [INFO] [talledLocalContainer]   at org.jnp.server.Main.getNamingInstance(
> Main.java:301)
> [INFO] [talledLocalContainer]   at org.jnp.server.Main.initJnpInvoker(
> Main.java:354)
> [INFO] [talledLocalContainer]   at
> org.jnp.server.Main.start(Main.java:316)
> [INFO] [talledLocalContainer]   at
> org.jboss.naming.NamingService.startService(NamingService.java:284)
> [INFO] [talledLocalContainer]   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(
> ServiceMBeanSupport.java:289)
> [INFO] [talledLocalContainer]   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(
> ServiceMBeanSupport.java:245).
> 
> 
> 
> I am using the below basic configuration my pom.xml
> 
>   <build>
>     <finalName>jobsstest</finalName>
>     <defaultGoal>package</defaultGoal>
>         <plugins>
>         <plugin>
>         <groupId>org.codehaus.cargo</groupId>
>         <artifactId>cargo-maven2-plugin</artifactId>
>         <version>0.3-SNAPSHOT</version>
>         <configuration>
>           <container>
>             <containerId>jboss4x</containerId>
>             <home>E:/jboss-4.2.0.GA</home>
>           </container>
>           </configuration>
>         </plugin>
>         </plugins>
>   </build>
> 
> Any help?
> 
> Amit
> 
> On Jan 17, 2008 5:32 PM, amit kumar <am...@gmail.com> wrote:
> 
>> Hi,
>> Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I
>> tried looking for it ,but in vain.
>> If someone has already worked on it, please guide.
>>
>> I am using maven 2.0.7
>> Windows XP
>> JBoss 4.2.0GA
>>
>> regards,
>> Hemant Malik
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/M2-Cargo-Plugin-tp14917416s177p14921409.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: M2 Cargo Plugin

Posted by amit kumar <am...@gmail.com>.
Hi,
I finally got to see the documentation on how to use cargo ( did not find an
example for jboss), but when I put the required container configuration (
the most basic one, just as first to test the start of the server). I am
seeing the below error at console

[INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Home Dir:
E:\jobsstest\target\jboss4x
[INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Home URL:
file:/E:/jobsstest/target/jboss4x/
[INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Log Dir:
E:\jobsstest\target\jboss4x\log
[INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Server Temp Dir:
E:\jobsstest\target\jboss4x\tmp
[INFO] [talledLocalContainer] 18:05:51,359 INFO  [Server] Root Deployment
Filename: jboss-service.xml
[INFO] [talledLocalContainer] 18:05:53,468 INFO  [ServerInfo] Java version:
1.5.0_08,Sun Microsystems Inc.
[INFO] [talledLocalContainer] 18:05:53,468 INFO  [ServerInfo] Java VM: Java
HotSpot(TM) Client VM 1.5.0_08-b03,Sun Microsystems Inc.
[INFO] [talledLocalContainer] 18:05:53,468 INFO  [ServerInfo] OS-System:
Windows XP 5.1,x86
[INFO] [talledLocalContainer] 18:05:55,734 INFO  [Server] Core system
initialized
[INFO] [talledLocalContainer] 18:06:02,531 INFO  [ServiceBindingManager]
Initializing store
[INFO] [talledLocalContainer] 18:06:02,531 INFO  [ServiceBindingManager]
Using StoreURL: file:/E:/jobsstest/target/jboss4x/conf/cargo-

[INFO] [talledLocalContainer] 18:06:04,734 INFO
[Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
[INFO] [talledLocalContainer] 18:06:05,328 WARN  [ServiceController] Problem
starting service jboss:service=Naming
[INFO] [talledLocalContainer] java.lang.NullPointerException
[INFO] [talledLocalContainer]   at org.jnp.server.Main.getNamingInstance(
Main.java:301)
[INFO] [talledLocalContainer]   at org.jnp.server.Main.initJnpInvoker(
Main.java:354)
[INFO] [talledLocalContainer]   at org.jnp.server.Main.start(Main.java:316)
[INFO] [talledLocalContainer]   at
org.jboss.naming.NamingService.startService(NamingService.java:284)
[INFO] [talledLocalContainer]   at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(
ServiceMBeanSupport.java:289)
[INFO] [talledLocalContainer]   at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(
ServiceMBeanSupport.java:245).



I am using the below basic configuration my pom.xml

  <build>
    <finalName>jobsstest</finalName>
    <defaultGoal>package</defaultGoal>
        <plugins>
        <plugin>
        <groupId>org.codehaus.cargo</groupId>
        <artifactId>cargo-maven2-plugin</artifactId>
        <version>0.3-SNAPSHOT</version>
        <configuration>
          <container>
            <containerId>jboss4x</containerId>
            <home>E:/jboss-4.2.0.GA</home>
          </container>
          </configuration>
        </plugin>
        </plugins>
  </build>

Any help?

Amit

On Jan 17, 2008 5:32 PM, amit kumar <am...@gmail.com> wrote:

> Hi,
> Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I
> tried looking for it ,but in vain.
> If someone has already worked on it, please guide.
>
> I am using maven 2.0.7
> Windows XP
> JBoss 4.2.0GA
>
> regards,
> Hemant Malik
>

Re: M2 Cargo Plugin

Posted by Daniele De Francesco <dd...@gmail.com>.
Hi,
you're right, poking through the cargo code, RELEASE, there exists only
identifier "jboss4x" whereas in cargo-ant version does exist "jboss42x"
identifier...too bad for me...sure they have a problem handling jboss 4.2.x.
If you have any clues about it, let me know...thx
Regards
Daniele

On Jan 18, 2008 1:38 PM, amit kumar <am...@gmail.com> wrote:

> Hi Daniele,
> thanks. I tried with 0.3.1 version of cargo plugin and used the id as
> jboss42x but mvn cargo:start threw the error below
>
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'cargo'.
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] Building jobsstest Maven Webapp
> [INFO]    task-segment: [cargo:start]
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] [cargo:start]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot create configuration. There's no registered configuration
> for
> the parameters (container [id = [jboss42x], type = [installed]], conf
> iguration type [standalone]). Actually there are no valid types registered
> for this configuration. Maybe you've made a mistake spelling it?
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.codehaus.cargo.container.ContainerException: Cannot create
> configuration. There's no registered configuration for the parameters
> (container [
> id = [jboss42x], type = [installed]], configuration type [standalone]).
> Actually there are no valid types registered for this configuration. Mayb
> e you've made a mistake spelling it?
>        at
>
> org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation
> (AbstractGenericHintFactory.java:143)
>        at
>
> org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactory.createImplementation
> (AbstractIntrospectionGenericHintFactory.ja
> va:86)
>        at
>
> org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.createConfiguration
> (DefaultConfigurationFactory.java:205)
>        at
> org.codehaus.cargo.maven2.configuration.Configuration.createConfiguration(
> Configuration.java:131)
>        at org.codehaus.cargo.maven2.AbstractCargoMojo.createConfiguration(
> AbstractCargoMojo.java:292)
>        at org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer(
> AbstractCargoMojo.java:380)
>        at org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer(
> AbstractCargoMojo.java:320)
>        at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(
> ContainerStartMojo.java:52)
>        at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(
> AbstractCargoMojo.java:243)
>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:443)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (
> DefaultLifecycleExecutor.java:539)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> DefaultLifecycleExecutor.java:493)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:463)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:311)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:278)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:143)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> :315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
> :430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 14 seconds
> [INFO] Finished at: Fri Jan 18 18:01:04 GMT+05:30 2008
> [INFO] Final Memory: 3M/6M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Looks like the plugin is not recognizing jboss42x with type installed. Or
> is
> there something that I am missing?
> Below is relevant part of my pom.xml.
>
> <pluginRepositories>
>  <pluginRepository>
>    <id>codehaus snapshot repository</id>
>    <url>http://repository.codehaus.org/</url>
>    <releases>
>      <enabled>true</enabled>
>    </releases>
>  </pluginRepository>
> </pluginRepositories>
>  <dependencies>
>  </dependencies>
>  <build>
>    <finalName>jobsstest</finalName>
>    <defaultGoal>package</defaultGoal>
>        <plugins>
>        <plugin>
>        <groupId>org.codehaus.cargo</groupId>
>        <artifactId>cargo-maven2-plugin</artifactId>
>        <version>0.3.1</version>
>           <configuration>
>          <container>
>            <containerId>jboss42x</containerId>
>            <home>E:/jboss-4.2.0.GA</home>
>          </container>
>          </configuration>
>        </plugin>
>        </plugins>
>  </build>
>
> I haven't tried yet the building of resources for the cargo plugin as told
> by you. Need to look into svn, haven't used it. Worked with CVS.
> Regards,
> Amit
> On Jan 18, 2008 3:17 PM, Daniele De Francesco <dd...@gmail.com>
> wrote:
>
> > Hi,
> >
> > the id of the container is "jboss42x"...assure you have the latest
> version
> > of maven 2 cargo plugin...alternatively do a full build yourself with
> the
> > svn code...take a look at
> >
> > http://cargo.codehaus.org/Importing+sources
> >
> > hope this helps.
> >
> > Cheers
> > Daniele
> >
> >
> >
> > On Jan 18, 2008 10:09 AM, amit kumar <am...@gmail.com> wrote:
> >
> > > Hi,
> > > What is the containerId for JBoss 4.2.0GA? Is it same jboss4x or
> > > different?
> > > Because I tried fetching the plugin without version name and maven did
> > > download something newer than 0.3-SNAPSHOT but it threw the same error
> > > when
> > > I used container id jboss4x.
> > >
> > > Regards,
> > > Amit
> > >
> > > On Jan 18, 2008 11:00 AM, amit kumar <am...@gmail.com>
> wrote:
> > >
> > > > Thanks a ton. But using an older version of JBoss would not be a
> > > > possibility reason being the product already on this version.
> > > >
> > > >
> > > >
> > > > On Jan 17, 2008 9:35 PM, David J. M. Karlsen <
> david@davidkarlsen.com>
> > > > wrote:
> > > >
> > > > > On Thu, 17 Jan 2008, amit kumar wrote:
> > > > >
> > > > > > Hi,
> > > > > > Anyone aware of any online documentation for M2 Cargo plugin for
> > > > > JBoss. I
> > > > > > tried looking for it ,but in vain.
> > > > > > If someone has already worked on it, please guide.
> > > > > >
> > > > > > I am using maven 2.0.7
> > > > > > Windows XP
> > > > > > JBoss 4.2.0GA
> > > > >
> > > > > Try the cargo users/dev list - there's a new commiter working on
> > this.
> > > > >
> > > > >
> > > > > David J. M. Karlsen - +47 90 68 22 43
> > > > > http://www.davidkarlsen.com
> > > > > http://mp3.davidkarlsen.com
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: M2 Cargo Plugin

Posted by amit kumar <am...@gmail.com>.
Hi Daniele,
thanks. I tried with 0.3.1 version of cargo plugin and used the id as
jboss42x but mvn cargo:start threw the error below

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'cargo'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building jobsstest Maven Webapp
[INFO]    task-segment: [cargo:start]
[INFO]
----------------------------------------------------------------------------
[INFO] [cargo:start]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot create configuration. There's no registered configuration for
the parameters (container [id = [jboss42x], type = [installed]], conf
iguration type [standalone]). Actually there are no valid types registered
for this configuration. Maybe you've made a mistake spelling it?
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.codehaus.cargo.container.ContainerException: Cannot create
configuration. There's no registered configuration for the parameters
(container [
id = [jboss42x], type = [installed]], configuration type [standalone]).
Actually there are no valid types registered for this configuration. Mayb
e you've made a mistake spelling it?
        at
org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImplementation
(AbstractGenericHintFactory.java:143)
        at
org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactory.createImplementation
(AbstractIntrospectionGenericHintFactory.ja
va:86)
        at
org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.createConfiguration
(DefaultConfigurationFactory.java:205)
        at
org.codehaus.cargo.maven2.configuration.Configuration.createConfiguration(
Configuration.java:131)
        at org.codehaus.cargo.maven2.AbstractCargoMojo.createConfiguration(
AbstractCargoMojo.java:292)
        at org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer(
AbstractCargoMojo.java:380)
        at org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer(
AbstractCargoMojo.java:320)
        at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(
ContainerStartMojo.java:52)
        at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(
AbstractCargoMojo.java:243)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:443)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java:493)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Fri Jan 18 18:01:04 GMT+05:30 2008
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------


Looks like the plugin is not recognizing jboss42x with type installed. Or is
there something that I am missing?
Below is relevant part of my pom.xml.

<pluginRepositories>
  <pluginRepository>
    <id>codehaus snapshot repository</id>
    <url>http://repository.codehaus.org/</url>
    <releases>
      <enabled>true</enabled>
    </releases>
  </pluginRepository>
</pluginRepositories>
 <dependencies>
  </dependencies>
  <build>
    <finalName>jobsstest</finalName>
    <defaultGoal>package</defaultGoal>
        <plugins>
        <plugin>
        <groupId>org.codehaus.cargo</groupId>
        <artifactId>cargo-maven2-plugin</artifactId>
        <version>0.3.1</version>
           <configuration>
          <container>
            <containerId>jboss42x</containerId>
            <home>E:/jboss-4.2.0.GA</home>
          </container>
          </configuration>
        </plugin>
        </plugins>
  </build>

I haven't tried yet the building of resources for the cargo plugin as told
by you. Need to look into svn, haven't used it. Worked with CVS.
Regards,
Amit
On Jan 18, 2008 3:17 PM, Daniele De Francesco <dd...@gmail.com>
wrote:

> Hi,
>
> the id of the container is "jboss42x"...assure you have the latest version
> of maven 2 cargo plugin...alternatively do a full build yourself with the
> svn code...take a look at
>
> http://cargo.codehaus.org/Importing+sources
>
> hope this helps.
>
> Cheers
> Daniele
>
>
>
> On Jan 18, 2008 10:09 AM, amit kumar <am...@gmail.com> wrote:
>
> > Hi,
> > What is the containerId for JBoss 4.2.0GA? Is it same jboss4x or
> > different?
> > Because I tried fetching the plugin without version name and maven did
> > download something newer than 0.3-SNAPSHOT but it threw the same error
> > when
> > I used container id jboss4x.
> >
> > Regards,
> > Amit
> >
> > On Jan 18, 2008 11:00 AM, amit kumar <am...@gmail.com> wrote:
> >
> > > Thanks a ton. But using an older version of JBoss would not be a
> > > possibility reason being the product already on this version.
> > >
> > >
> > >
> > > On Jan 17, 2008 9:35 PM, David J. M. Karlsen < david@davidkarlsen.com>
> > > wrote:
> > >
> > > > On Thu, 17 Jan 2008, amit kumar wrote:
> > > >
> > > > > Hi,
> > > > > Anyone aware of any online documentation for M2 Cargo plugin for
> > > > JBoss. I
> > > > > tried looking for it ,but in vain.
> > > > > If someone has already worked on it, please guide.
> > > > >
> > > > > I am using maven 2.0.7
> > > > > Windows XP
> > > > > JBoss 4.2.0GA
> > > >
> > > > Try the cargo users/dev list - there's a new commiter working on
> this.
> > > >
> > > >
> > > > David J. M. Karlsen - +47 90 68 22 43
> > > > http://www.davidkarlsen.com
> > > > http://mp3.davidkarlsen.com
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> >
>

Re: M2 Cargo Plugin

Posted by Daniele De Francesco <dd...@gmail.com>.
Hi,

the id of the container is "jboss42x"...assure you have the latest version
of maven 2 cargo plugin...alternatively do a full build yourself with the
svn code...take a look at

http://cargo.codehaus.org/Importing+sources

hope this helps.

Cheers
Daniele



On Jan 18, 2008 10:09 AM, amit kumar <am...@gmail.com> wrote:

> Hi,
> What is the containerId for JBoss 4.2.0GA? Is it same jboss4x or
> different?
> Because I tried fetching the plugin without version name and maven did
> download something newer than 0.3-SNAPSHOT but it threw the same error
> when
> I used container id jboss4x.
>
> Regards,
> Amit
>
> On Jan 18, 2008 11:00 AM, amit kumar <am...@gmail.com> wrote:
>
> > Thanks a ton. But using an older version of JBoss would not be a
> > possibility reason being the product already on this version.
> >
> >
> >
> > On Jan 17, 2008 9:35 PM, David J. M. Karlsen < david@davidkarlsen.com>
> > wrote:
> >
> > > On Thu, 17 Jan 2008, amit kumar wrote:
> > >
> > > > Hi,
> > > > Anyone aware of any online documentation for M2 Cargo plugin for
> > > JBoss. I
> > > > tried looking for it ,but in vain.
> > > > If someone has already worked on it, please guide.
> > > >
> > > > I am using maven 2.0.7
> > > > Windows XP
> > > > JBoss 4.2.0GA
> > >
> > > Try the cargo users/dev list - there's a new commiter working on this.
> > >
> > >
> > > David J. M. Karlsen - +47 90 68 22 43
> > > http://www.davidkarlsen.com
> > > http://mp3.davidkarlsen.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
>

Re: M2 Cargo Plugin

Posted by amit kumar <am...@gmail.com>.
Hi,
What is the containerId for JBoss 4.2.0GA? Is it same jboss4x or different?
Because I tried fetching the plugin without version name and maven did
download something newer than 0.3-SNAPSHOT but it threw the same error when
I used container id jboss4x.

Regards,
Amit

On Jan 18, 2008 11:00 AM, amit kumar <am...@gmail.com> wrote:

> Thanks a ton. But using an older version of JBoss would not be a
> possibility reason being the product already on this version.
>
>
>
> On Jan 17, 2008 9:35 PM, David J. M. Karlsen < david@davidkarlsen.com>
> wrote:
>
> > On Thu, 17 Jan 2008, amit kumar wrote:
> >
> > > Hi,
> > > Anyone aware of any online documentation for M2 Cargo plugin for
> > JBoss. I
> > > tried looking for it ,but in vain.
> > > If someone has already worked on it, please guide.
> > >
> > > I am using maven 2.0.7
> > > Windows XP
> > > JBoss 4.2.0GA
> >
> > Try the cargo users/dev list - there's a new commiter working on this.
> >
> >
> > David J. M. Karlsen - +47 90 68 22 43
> > http://www.davidkarlsen.com
> > http://mp3.davidkarlsen.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: M2 Cargo Plugin

Posted by amit kumar <am...@gmail.com>.
Thanks a ton. But using an older version of JBoss would not be a possibility
reason being the product already on this version.


On Jan 17, 2008 9:35 PM, David J. M. Karlsen <da...@davidkarlsen.com> wrote:

> On Thu, 17 Jan 2008, amit kumar wrote:
>
> > Hi,
> > Anyone aware of any online documentation for M2 Cargo plugin for JBoss.
> I
> > tried looking for it ,but in vain.
> > If someone has already worked on it, please guide.
> >
> > I am using maven 2.0.7
> > Windows XP
> > JBoss 4.2.0GA
>
> Try the cargo users/dev list - there's a new commiter working on this.
>
>
> David J. M. Karlsen - +47 90 68 22 43
> http://www.davidkarlsen.com
> http://mp3.davidkarlsen.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: M2 Cargo Plugin

Posted by "David J. M. Karlsen" <da...@davidkarlsen.com>.
On Thu, 17 Jan 2008, amit kumar wrote:

> Hi,
> Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I
> tried looking for it ,but in vain.
> If someone has already worked on it, please guide.
>
> I am using maven 2.0.7
> Windows XP
> JBoss 4.2.0GA

Try the cargo users/dev list - there's a new commiter working on this.


David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org