Re: Dependencies and cargo plugin?

2008-10-24 Thread Marc Schneider
Hello,

I also use the cargo-maven2-plugin but don't need to specify all these
dependencies.

Btw I use cargo 1.0-alpha6.

Here is my plugin configuration :

plugin
groupIdorg.codehaus.cargo/groupId
artifactIdcargo-maven2-plugin/artifactId
configuration
waitfalse/wait
container
containerIdtomcat5x/containerId
home${tomcat.local.home}/home
/container
configuration
properties
cargo.logginghigh/cargo.logging

cargo.servlet.port${servlet.port}/cargo.servlet.port
/properties
/configuration
/configuration
executions
execution
idstart-container/id
phasepre-integration-test/phase
goals
goalstart/goal
/goals
/execution
execution
idstop-container/id
phasepost-integration-test/phase
goals
goalstop/goal
/goals
/execution
/executions
/plugin

Marc.


Wim Deblauwe a écrit :
 Hi,
 
 It seems that I need to add all my dependencies in my pom.xml 2 times when I
 use a war project with cargo. Is there a way to avoid this? This is very
 annoying to try to find out all the dependencies (and their transitive
 dependencies manually) and have to add those to the dependencies/ section
 of the cargo plugin. According to the documentation (
 http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars)
 this is only needed if you want to share between web projects, but I only
 have 1 and I still have to do it, otherwise I get ClassNotFoundExceptions.
 
 This is my pom.xml (partially):
 
 packagingwar/packaging
 build
 finalNameserver-web/finalName
 plugins
 plugin
 groupIdorg.codehaus.cargo/groupId
 artifactIdcargo-maven2-plugin/artifactId
 version0.3/version
 configuration
 container
 containerIdtomcat5x/containerId
 zipUrlInstaller
 url
 http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip
 /url
 installDir${installDir}/installDir
 /zipUrlInstaller
 systemProperties
 
 java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack
 /systemProperties
 dependencies
 LONG LIST OF DEPENDENCIES HERE
 
 
 regards,
 
 Wim
 


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



Re: Dependencies and cargo plugin?

2008-10-24 Thread Wim Deblauwe
In what repo is that version?

2008/10/24 Marc Schneider [EMAIL PROTECTED]

 Hello,

 I also use the cargo-maven2-plugin but don't need to specify all these
 dependencies.

 Btw I use cargo 1.0-alpha6.

 Here is my plugin configuration :

 plugin
groupIdorg.codehaus.cargo/groupId
artifactIdcargo-maven2-plugin/artifactId
 configuration
waitfalse/wait
container
containerIdtomcat5x/containerId
home${tomcat.local.home}/home
/container
configuration
properties
cargo.logginghigh/cargo.logging

  cargo.servlet.port${servlet.port}/cargo.servlet.port
/properties
/configuration
/configuration
executions
execution
idstart-container/id
phasepre-integration-test/phase
goals
goalstart/goal
/goals
/execution
execution
idstop-container/id
phasepost-integration-test/phase
goals
goalstop/goal
/goals
/execution
/executions
 /plugin

 Marc.


 Wim Deblauwe a écrit :
  Hi,
 
  It seems that I need to add all my dependencies in my pom.xml 2 times
 when I
  use a war project with cargo. Is there a way to avoid this? This is very
  annoying to try to find out all the dependencies (and their transitive
  dependencies manually) and have to add those to the dependencies/
 section
  of the cargo plugin. According to the documentation (
 
 http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars
 )
  this is only needed if you want to share between web projects, but I only
  have 1 and I still have to do it, otherwise I get
 ClassNotFoundExceptions.
 
  This is my pom.xml (partially):
 
  packagingwar/packaging
  build
  finalNameserver-web/finalName
  plugins
  plugin
  groupIdorg.codehaus.cargo/groupId
  artifactIdcargo-maven2-plugin/artifactId
  version0.3/version
  configuration
  container
  containerIdtomcat5x/containerId
  zipUrlInstaller
  url
 
 http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip
  /url
  installDir${installDir}/installDir
  /zipUrlInstaller
  systemProperties
 
  java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack
  /systemProperties
  dependencies
  LONG LIST OF DEPENDENCIES HERE
 
 
  regards,
 
  Wim
 


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




Re: Dependencies and cargo plugin?

2008-10-24 Thread Nick Stolwijk
It can be found here:
http://repository.codehaus.org/org/codehaus/cargo/cargo-maven2-plugin
beta 1 is also available.

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Fri, Oct 24, 2008 at 11:12 AM, Wim Deblauwe [EMAIL PROTECTED] wrote:
 In what repo is that version?

 2008/10/24 Marc Schneider [EMAIL PROTECTED]

 Hello,

 I also use the cargo-maven2-plugin but don't need to specify all these
 dependencies.

 Btw I use cargo 1.0-alpha6.

 Here is my plugin configuration :

 plugin
groupIdorg.codehaus.cargo/groupId
artifactIdcargo-maven2-plugin/artifactId
 configuration
waitfalse/wait
container
containerIdtomcat5x/containerId
home${tomcat.local.home}/home
/container
configuration
properties
cargo.logginghigh/cargo.logging

  cargo.servlet.port${servlet.port}/cargo.servlet.port
/properties
/configuration
/configuration
executions
execution
idstart-container/id
phasepre-integration-test/phase
goals
goalstart/goal
/goals
/execution
execution
idstop-container/id
phasepost-integration-test/phase
goals
goalstop/goal
/goals
/execution
/executions
 /plugin

 Marc.


 Wim Deblauwe a écrit :
  Hi,
 
  It seems that I need to add all my dependencies in my pom.xml 2 times
 when I
  use a war project with cargo. Is there a way to avoid this? This is very
  annoying to try to find out all the dependencies (and their transitive
  dependencies manually) and have to add those to the dependencies/
 section
  of the cargo plugin. According to the documentation (
 
 http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars
 )
  this is only needed if you want to share between web projects, but I only
  have 1 and I still have to do it, otherwise I get
 ClassNotFoundExceptions.
 
  This is my pom.xml (partially):
 
  packagingwar/packaging
  build
  finalNameserver-web/finalName
  plugins
  plugin
  groupIdorg.codehaus.cargo/groupId
  artifactIdcargo-maven2-plugin/artifactId
  version0.3/version
  configuration
  container
  containerIdtomcat5x/containerId
  zipUrlInstaller
  url
 
 http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip
  /url
  installDir${installDir}/installDir
  /zipUrlInstaller
  systemProperties
 
  java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack
  /systemProperties
  dependencies
  LONG LIST OF DEPENDENCIES HERE
 
 
  regards,
 
  Wim
 


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





Re: Dependencies and cargo plugin?

2008-10-24 Thread Wim Deblauwe
It works!

It would be good if they would update the documentation to let this know.
There is no sign of any of those alpha or beta versions on the cargo
website.

regards  thank you again, you just made me very happy :)

Wim

2008/10/24 Nick Stolwijk [EMAIL PROTECTED]

 It can be found here:
 http://repository.codehaus.org/org/codehaus/cargo/cargo-maven2-plugin
 beta 1 is also available.

 Hth,

 Nick Stolwijk
 ~Java Developer~

 Iprofs BV.
 Claus Sluterweg 125
 2012 WS Haarlem
 www.iprofs.nl



 On Fri, Oct 24, 2008 at 11:12 AM, Wim Deblauwe [EMAIL PROTECTED]
 wrote:
  In what repo is that version?
 
  2008/10/24 Marc Schneider [EMAIL PROTECTED]
 
  Hello,
 
  I also use the cargo-maven2-plugin but don't need to specify all these
  dependencies.
 
  Btw I use cargo 1.0-alpha6.
 
  Here is my plugin configuration :
 
  plugin
 groupIdorg.codehaus.cargo/groupId
 artifactIdcargo-maven2-plugin/artifactId
  configuration
 waitfalse/wait
 container
 containerIdtomcat5x/containerId
 home${tomcat.local.home}/home
 /container
 configuration
 properties
 cargo.logginghigh/cargo.logging
 
   cargo.servlet.port${servlet.port}/cargo.servlet.port
 /properties
 /configuration
 /configuration
 executions
 execution
 idstart-container/id
 phasepre-integration-test/phase
 goals
 goalstart/goal
 /goals
 /execution
 execution
 idstop-container/id
 phasepost-integration-test/phase
 goals
 goalstop/goal
 /goals
 /execution
 /executions
  /plugin
 
  Marc.
 
 
  Wim Deblauwe a écrit :
   Hi,
  
   It seems that I need to add all my dependencies in my pom.xml 2 times
  when I
   use a war project with cargo. Is there a way to avoid this? This is
 very
   annoying to try to find out all the dependencies (and their transitive
   dependencies manually) and have to add those to the dependencies/
  section
   of the cargo plugin. According to the documentation (
  
 
 http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars
  )
   this is only needed if you want to share between web projects, but I
 only
   have 1 and I still have to do it, otherwise I get
  ClassNotFoundExceptions.
  
   This is my pom.xml (partially):
  
   packagingwar/packaging
   build
   finalNameserver-web/finalName
   plugins
   plugin
   groupIdorg.codehaus.cargo/groupId
   artifactIdcargo-maven2-plugin/artifactId
   version0.3/version
   configuration
   container
   containerIdtomcat5x/containerId
   zipUrlInstaller
   url
  
 
 http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip
   /url
   installDir${installDir}/installDir
   /zipUrlInstaller
   systemProperties
  
   java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack
   /systemProperties
   dependencies
   LONG LIST OF DEPENDENCIES HERE
  
  
   regards,
  
   Wim
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 



Re: Dependencies and cargo plugin?

2008-10-24 Thread Marc Schneider
See here : http://repo1.maven.org/maven2/org/codehaus/cargo/cargo-maven-plugin/

Wim Deblauwe a écrit :
 In what repo is that version?
 
 2008/10/24 Marc Schneider [EMAIL PROTECTED]
 
 Hello,

 I also use the cargo-maven2-plugin but don't need to specify all these
 dependencies.

 Btw I use cargo 1.0-alpha6.

 Here is my plugin configuration :

 plugin
groupIdorg.codehaus.cargo/groupId
artifactIdcargo-maven2-plugin/artifactId
 configuration
waitfalse/wait
container
containerIdtomcat5x/containerId
home${tomcat.local.home}/home
/container
configuration
properties
cargo.logginghigh/cargo.logging

  cargo.servlet.port${servlet.port}/cargo.servlet.port
/properties
/configuration
/configuration
executions
execution
idstart-container/id
phasepre-integration-test/phase
goals
goalstart/goal
/goals
/execution
execution
idstop-container/id
phasepost-integration-test/phase
goals
goalstop/goal
/goals
/execution
/executions
 /plugin

 Marc.


 Wim Deblauwe a écrit :
 Hi,

 It seems that I need to add all my dependencies in my pom.xml 2 times
 when I
 use a war project with cargo. Is there a way to avoid this? This is very
 annoying to try to find out all the dependencies (and their transitive
 dependencies manually) and have to add those to the dependencies/
 section
 of the cargo plugin. According to the documentation (

 http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars
 )
 this is only needed if you want to share between web projects, but I only
 have 1 and I still have to do it, otherwise I get
 ClassNotFoundExceptions.
 This is my pom.xml (partially):

 packagingwar/packaging
 build
 finalNameserver-web/finalName
 plugins
 plugin
 groupIdorg.codehaus.cargo/groupId
 artifactIdcargo-maven2-plugin/artifactId
 version0.3/version
 configuration
 container
 containerIdtomcat5x/containerId
 zipUrlInstaller
 url

 http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip
 /url
 installDir${installDir}/installDir
 /zipUrlInstaller
 systemProperties

 java.net.preferIPv4Stacktrue/java.net.preferIPv4Stack
 /systemProperties
 dependencies
 LONG LIST OF DEPENDENCIES HERE


 regards,

 Wim


 -
 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]