can't set portTypeName in axistools-maven-plugin

2010-03-24 Thread Perez Ronen
Hi All,

It seems that the portTypeName  parameter of the axistools-maven-plugin 
(version 1.3) cannot be set.
The classOfPortType parameter is a required parameter and cannot be omitted but 
when setting it alongside portTypeName  the following error appear:

Embedded error: Java2WSDL execution failed
invalid parameters, can not use portTypeName and classOfPortType together

I see there is  Jira issue herehttp://jira.codehaus.org/browse/MAXISTOOLS-24. 
Is there a workaround?

Ronen.



This e-mail message may contain confidential, commercial or privileged 
information that constitutes proprietary information of Comverse Technology or 
its subsidiaries. If you are not the intended recipient of this message, you 
are hereby notified that any review, use or distribution of this information is 
absolutely prohibited and we request that you delete all copies and contact us 
by e-mailing to: secur...@comverse.com. Thank You.


Re: can't set portTypeName in axistools-maven-plugin

2010-03-24 Thread Dan Tran
looks like a patch is needed :-)

-D

On Wed, Mar 24, 2010 at 12:01 AM, Perez Ronen ronen.pe...@comverse.com wrote:
 Hi All,

 It seems that the portTypeName  parameter of the axistools-maven-plugin 
 (version 1.3) cannot be set.
 The classOfPortType parameter is a required parameter and cannot be omitted 
 but when setting it alongside portTypeName  the following error appear:

 Embedded error: Java2WSDL execution failed
 invalid parameters, can not use portTypeName and classOfPortType together

 I see there is  Jira issue 
 herehttp://jira.codehaus.org/browse/MAXISTOOLS-24. Is there a workaround?

 Ronen.


 
 This e-mail message may contain confidential, commercial or privileged 
 information that constitutes proprietary information of Comverse Technology 
 or its subsidiaries. If you are not the intended recipient of this message, 
 you are hereby notified that any review, use or distribution of this 
 information is absolutely prohibited and we request that you delete all 
 copies and contact us by e-mailing to: secur...@comverse.com. Thank You.


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



maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread eyal edri
is there a maven plugin i can use in order to run a bash script/code after
the deploy phase is run?

thanks!

-- 
Eyal Edri


Re: Release plugin 2.0 and gpg plugin 1.0 - passphrase prompting fails

2010-03-24 Thread Eric Chatellier
Le 23/03/2010 21:44, Kathryn Huxtable a écrit :
 My POM is set up exactly as desired by Sonatype for releasing to their OSSRH 
 repository, described in

   http://nexus.sonatype.org/oss-repository-hosting.html

 except that I'm using version 2.0 of the release plugin and 1.0 of the gpg 
 plugin.

 I don't get prompted for my signing passphrase when doing a release:perform. 
 If I do the gpg:sign manually, I get prompted.

 I'm currently using the workaround of entering

   -Dgpg.passphrase=foo -Darguments=-Dgpg.passphrase=foo

 on the command line. Since I'm doing this on a Mac laptop and I wipe the 
 .bash_history file afterwards, I'm not too worried about my passphrase being 
 sniffed, but it's ugly.

 So, (a) is there a fix, or (b) does someone know how to get the gpg agent 
 working with this on a Mac. It seems to work with git commits to GitHub from 
 terminal, but doesn't get activated when I add

   useAgenttrue/useAgent

 to the configuration element of the gpg plugin. It just hangs, same as if I 
 don't put the passphrase on the command line.

 Any assistance would be appreciated, or an ETA on when the basic bug will be 
 fixed. (I actually would prefer to get the agent working.)

 BTW, I'm running version 2.0.12 of the gpg-agent on Mac OS X 10.6.2.
   
Hi,

Have you tried configuration workarround described
in this issue : http://jira.codehaus.org/browse/MGPG-9 ?

-- 
Éric chatell...@codelutin.com
Tel: 02 40 50 29 28
http://www.codelutin.com 


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



Re: maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread eyal edri
found it! :)

plugin
artifactIdmaven-antrun-plugin/artifactId
executions
  execution
phasedeploy/phase
configuration
  tasks
exec
  dir=${basedir}
  executable=${basedir}/src/main/scripts/run-yum-make.sh
  failonerror=true
/exec
  /tasks
/configuration
goals
  goalrun/goal
/goals
  /execution
/executions
  /plugin

On Wed, Mar 24, 2010 at 11:20 AM, eyal edri eyal.e...@gmail.com wrote:

 is there a maven plugin i can use in order to run a bash script/code after
 the deploy phase is run?

 thanks!

 --
 Eyal Edri




-- 
Eyal Edri


Re: maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread Anders Hammar
You know this won't be run *after* the deploy phase (as asked), but in that
phase? The deploy phase is the last phase btw.

/Anders

On Wed, Mar 24, 2010 at 10:56, eyal edri eyal.e...@gmail.com wrote:

 found it! :)

 plugin
artifactIdmaven-antrun-plugin/artifactId
executions
  execution
phasedeploy/phase
configuration
  tasks
exec
  dir=${basedir}
  executable=${basedir}/src/main/scripts/run-yum-make.sh
  failonerror=true
/exec
  /tasks
/configuration
goals
  goalrun/goal
/goals
  /execution
/executions
  /plugin

 On Wed, Mar 24, 2010 at 11:20 AM, eyal edri eyal.e...@gmail.com wrote:

  is there a maven plugin i can use in order to run a bash script/code
 after
  the deploy phase is run?
 
  thanks!
 
  --
  Eyal Edri
 



 --
 Eyal Edri



Re: maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread eyal edri
i know, but somehow (don't know exactly why), it runs after another plugin
that runs in the deploy phase (which was my intention) , maybe because it's
written after it the pom?

/Eyal

On Wed, Mar 24, 2010 at 12:10 PM, Anders Hammar and...@hammar.net wrote:

 You know this won't be run *after* the deploy phase (as asked), but in that
 phase? The deploy phase is the last phase btw.

 /Anders

 On Wed, Mar 24, 2010 at 10:56, eyal edri eyal.e...@gmail.com wrote:

  found it! :)
 
  plugin
 artifactIdmaven-antrun-plugin/artifactId
 executions
   execution
 phasedeploy/phase
 configuration
   tasks
 exec
   dir=${basedir}
   executable=${basedir}/src/main/scripts/run-yum-make.sh
   failonerror=true
 /exec
   /tasks
 /configuration
 goals
   goalrun/goal
 /goals
   /execution
 /executions
   /plugin
 
  On Wed, Mar 24, 2010 at 11:20 AM, eyal edri eyal.e...@gmail.com wrote:
 
   is there a maven plugin i can use in order to run a bash script/code
  after
   the deploy phase is run?
  
   thanks!
  
   --
   Eyal Edri
  
 
 
 
  --
  Eyal Edri
 




-- 
Eyal Edri


Re: maven plugin to run a command line after 'deploy' phase

2010-03-24 Thread Anders Hammar
I believe bound plugins are executed in the order they are declared. I would
assume that the effective-pom shows this. However, I think I rememeber an
earlier discussion about that this could depend on the version of Maven
you're using.
In any case, having two plugins requiring a specific execution order bound
to the same phase is not best-practise.
Also, a bash script is os dependent and wouldn't work on Windows for
instance. I would try to move to something platform independent.

/Anders
On Wed, Mar 24, 2010 at 11:22, eyal edri eyal.e...@gmail.com wrote:

 i know, but somehow (don't know exactly why), it runs after another plugin
 that runs in the deploy phase (which was my intention) , maybe because it's
 written after it the pom?

 /Eyal

 On Wed, Mar 24, 2010 at 12:10 PM, Anders Hammar and...@hammar.net wrote:

  You know this won't be run *after* the deploy phase (as asked), but in
 that
  phase? The deploy phase is the last phase btw.
 
  /Anders
 
  On Wed, Mar 24, 2010 at 10:56, eyal edri eyal.e...@gmail.com wrote:
 
   found it! :)
  
   plugin
  artifactIdmaven-antrun-plugin/artifactId
  executions
execution
  phasedeploy/phase
  configuration
tasks
  exec
dir=${basedir}
  
  executable=${basedir}/src/main/scripts/run-yum-make.sh
failonerror=true
  /exec
/tasks
  /configuration
  goals
goalrun/goal
  /goals
/execution
  /executions
/plugin
  
   On Wed, Mar 24, 2010 at 11:20 AM, eyal edri eyal.e...@gmail.com
 wrote:
  
is there a maven plugin i can use in order to run a bash script/code
   after
the deploy phase is run?
   
thanks!
   
--
Eyal Edri
   
  
  
  
   --
   Eyal Edri
  
 



 --
 Eyal Edri



reading dependency list from pom into rpm plugin require

2010-03-24 Thread eyal edri
Hi,

i'm looking for the best way to auto fill the require field in the rpm
plugin.
since we're using rpm/yum as the deployer of our java apps,
i don't want to mange a duplicate set of dependencies in the pom file,
in order to do so,  i want to fill the requires tag auto from the maven
dependencies list in the pom file.

for example, the following pom will create an rpm with rpm dependencies
similar to the maven ones.
(marked in yellow)

a few 'rules' needs to be followed:
1. each rpm will always have the same name of the artifactId.
2. each maven dependency will be packed in its own rpm

any ideas? (gmaven maybe..)

*the pom:*
?xml version=1.0 encoding=utf-8?
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdcom.company.url.miscats/groupId
  artifactIdApplication/artifactId
  packagingjar/packaging
  version2.0.0-3/version
  nameApplication/name
  parent
   artifactIdParent/artifactId
   groupIdcom.company.maven.pom/groupId
   version2.0.0-5/version
  /parent
  descriptionthe app/description
  build
plugins
  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdrpm-maven-plugin/artifactId
extensionsfalse/extensions
 executions
  execution
goals
  goalrpm/goal
/goals
  /execution
 /executions
 configuration
copyright${project.organization.name}/copyright
distributionXXX/distribution
groupSample/Apps/group
packager${user.name}/packager
 name${project.name}/name
 summary${project.description}/summary
 needarchtrue/needarch
 autoRequirestrue/autoRequires
 dependency/
 requires
 requireDep1/require
 requireDep2/require
 /requires
 mappings
 mapping
   artifact/

directory/usr/lib/java/${project.artifactId}/directory
   filemode750/filemode
   usernameroot/username
   groupnameroot/groupname
/mapping
mapping
   directory/etc/${project.artifactId}/directory
   filemode750/filemode
   usernameroot/username
   groupnameroot/groupname
   sources
   source

locationsrc/main/resources/App.properties/location

locationsrc/main/resources/log4j.properties/location
   /source
   /sources
/mapping
mapping
   directory/etc/cron.d//directory
   filemode750/filemode
   usernameroot/username
   groupnameroot/groupname
   sources
   source
   locationsrc/main/resources/App.cron/location
   /source
   /sources
/mapping
/mappings
preinstallScriptlet
 scriptecho installing ${artifactId} on arch
${os.arch}/script
/preinstallScriptlet
 /configuration
   /plugin
/plugins
  /build
  dependencies
   dependency
   groupIdcom.company.sql/groupId
   artifactIdDep1/artifactId
   version2.0.0-4/version
   /dependency
   dependency
   groupIdcom.company.stub/groupId
   artifactIdDep2/artifactId
   version2.0.0-2/version
   /dependency
  /dependencies
/project

-- 
Eyal Edri


Re: reading dependency list from pom into rpm plugin require

2010-03-24 Thread Stephen Connolly
I think you really want an rpm packaging type then the listed deps which are
typerpm/type would be the ones which are required

not sure if the plugin supports the above

On 24 March 2010 13:20, eyal edri eyal.e...@gmail.com wrote:

 Hi,

 i'm looking for the best way to auto fill the require field in the rpm
 plugin.
 since we're using rpm/yum as the deployer of our java apps,
 i don't want to mange a duplicate set of dependencies in the pom file,
 in order to do so,  i want to fill the requires tag auto from the maven
 dependencies list in the pom file.

 for example, the following pom will create an rpm with rpm dependencies
 similar to the maven ones.
 (marked in yellow)

 a few 'rules' needs to be followed:
 1. each rpm will always have the same name of the artifactId.
 2. each maven dependency will be packed in its own rpm

 any ideas? (gmaven maybe..)

 *the pom:*
 ?xml version=1.0 encoding=utf-8?
 project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=
 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd
 
  modelVersion4.0.0/modelVersion
  groupIdcom.company.url.miscats/groupId
  artifactIdApplication/artifactId
  packagingjar/packaging
  version2.0.0-3/version
  nameApplication/name
  parent
   artifactIdParent/artifactId
   groupIdcom.company.maven.pom/groupId
   version2.0.0-5/version
  /parent
  descriptionthe app/description
  build
plugins
  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdrpm-maven-plugin/artifactId
extensionsfalse/extensions
 executions
  execution
goals
  goalrpm/goal
/goals
  /execution
 /executions
 configuration
copyright${project.organization.name}/copyright
distributionXXX/distribution
groupSample/Apps/group
packager${user.name}/packager
 name${project.name}/name
 summary${project.description}/summary
 needarchtrue/needarch
 autoRequirestrue/autoRequires
 dependency/
 requires
 requireDep1/require
 requireDep2/require
 /requires
 mappings
 mapping
   artifact/

 directory/usr/lib/java/${project.artifactId}/directory
   filemode750/filemode
   usernameroot/username
   groupnameroot/groupname
/mapping
mapping
   directory/etc/${project.artifactId}/directory
   filemode750/filemode
   usernameroot/username
   groupnameroot/groupname
   sources
   source

 locationsrc/main/resources/App.properties/location

 locationsrc/main/resources/log4j.properties/location
   /source
   /sources
/mapping
mapping
   directory/etc/cron.d//directory
   filemode750/filemode
   usernameroot/username
   groupnameroot/groupname
   sources
   source
   locationsrc/main/resources/App.cron/location
   /source
   /sources
/mapping
/mappings
preinstallScriptlet
 scriptecho installing ${artifactId} on arch
 ${os.arch}/script
/preinstallScriptlet
 /configuration
   /plugin
/plugins
  /build
  dependencies
   dependency
   groupIdcom.company.sql/groupId
   artifactIdDep1/artifactId
   version2.0.0-4/version
   /dependency
   dependency
   groupIdcom.company.stub/groupId
   artifactIdDep2/artifactId
   version2.0.0-2/version
   /dependency
  /dependencies
 /project

 --
 Eyal Edri



Re: reading dependency list from pom into rpm plugin require

2010-03-24 Thread Karl Heinz Marbaise

Hi,


Stephen Connolly-2 wrote:
 
 I think you really want an rpm packaging type then the listed deps which
 are
 typerpm/type would be the ones which are required
 
 not sure if the plugin supports the above
 

Based on the docs etc. 
http://mojo.codehaus.org/rpm-maven-plugin/adv-params.html#Dependency

it does notbut it would very handy to have thatcause i really could
use it as well..

Kind regards
Karl Heinz Marbaise
-- 
View this message in context: 
http://old.nabble.com/reading-dependency-list-from-pom-into-rpm-plugin-require-tp28014957p28015307.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: reading dependency list from pom into rpm plugin require

2010-03-24 Thread eyal edri
you mean that the pom packaging will be set to rpm?

but then, the development env (not deploy) won't work i think..
cause the maven dependencies will look for the jar in the repository.

that way i create a jar which is deployed to the repository (for normal dev
env)  and also an rpm which is used for deployment on production.

i didn't understood your last sentence...

 deps which are typerpm/type would be the ones which are required


 do you mean to say there is a way for the rpm plugin to auto know it's
dependencies, if they are rpm type?

On Wed, Mar 24, 2010 at 3:39 PM, Stephen Connolly 
stephen.alan.conno...@gmail.com wrote:

 I think you really want an rpm packaging type then the listed deps which
 are
 typerpm/type would be the ones which are required

 not sure if the plugin supports the above

 On 24 March 2010 13:20, eyal edri eyal.e...@gmail.com wrote:

  Hi,
 
  i'm looking for the best way to auto fill the require field in the rpm
  plugin.
  since we're using rpm/yum as the deployer of our java apps,
  i don't want to mange a duplicate set of dependencies in the pom file,
  in order to do so,  i want to fill the requires tag auto from the maven
  dependencies list in the pom file.
 
  for example, the following pom will create an rpm with rpm dependencies
  similar to the maven ones.
  (marked in yellow)
 
  a few 'rules' needs to be followed:
  1. each rpm will always have the same name of the artifactId.
  2. each maven dependency will be packed in its own rpm
 
  any ideas? (gmaven maybe..)
 
  *the pom:*
  ?xml version=1.0 encoding=utf-8?
  project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
  http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=
  http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd
  
   modelVersion4.0.0/modelVersion
   groupIdcom.company.url.miscats/groupId
   artifactIdApplication/artifactId
   packagingjar/packaging
   version2.0.0-3/version
   nameApplication/name
   parent
artifactIdParent/artifactId
groupIdcom.company.maven.pom/groupId
version2.0.0-5/version
   /parent
   descriptionthe app/description
   build
 plugins
   plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdrpm-maven-plugin/artifactId
 extensionsfalse/extensions
  executions
   execution
 goals
   goalrpm/goal
 /goals
   /execution
  /executions
  configuration
 copyright${project.organization.name}/copyright
 distributionXXX/distribution
 groupSample/Apps/group
 packager${user.name}/packager
  name${project.name}/name
  summary${project.description}/summary
  needarchtrue/needarch
  autoRequirestrue/autoRequires
  dependency/
  requires
  requireDep1/require
  requireDep2/require
  /requires
  mappings
  mapping
artifact/
 
  directory/usr/lib/java/${project.artifactId}/directory
filemode750/filemode
usernameroot/username
groupnameroot/groupname
 /mapping
 mapping
directory/etc/${project.artifactId}/directory
filemode750/filemode
usernameroot/username
groupnameroot/groupname
sources
source
 
  locationsrc/main/resources/App.properties/location
 
  locationsrc/main/resources/log4j.properties/location
/source
/sources
 /mapping
 mapping
directory/etc/cron.d//directory
filemode750/filemode
usernameroot/username
groupnameroot/groupname
sources
source
locationsrc/main/resources/App.cron/location
/source
/sources
 /mapping
 /mappings
 preinstallScriptlet
  scriptecho installing ${artifactId} on arch
  ${os.arch}/script
 /preinstallScriptlet
  /configuration
/plugin
 /plugins
   /build
   dependencies
dependency
groupIdcom.company.sql/groupId
artifactIdDep1/artifactId
version2.0.0-4/version
/dependency
dependency
groupIdcom.company.stub/groupId
artifactIdDep2/artifactId
version2.0.0-2/version
/dependency
   /dependencies
  /project
 
  --
  Eyal Edri
 




-- 
Eyal Edri


Re: Release plugin 2.0 and gpg plugin 1.0 - passphrase prompting fails

2010-03-24 Thread Kathryn Huxtable
On Mar 24, 2010, at 4:36 AM, Eric Chatellier wrote:
 Le 23/03/2010 21:44, Kathryn Huxtable a écrit :
 My POM is set up exactly as desired by Sonatype for releasing to their OSSRH 
 repository, described in
 
  http://nexus.sonatype.org/oss-repository-hosting.html
 
 except that I'm using version 2.0 of the release plugin and 1.0 of the gpg 
 plugin.
 
 I don't get prompted for my signing passphrase when doing a release:perform. 
 If I do the gpg:sign manually, I get prompted.
 
 I'm currently using the workaround of entering
 
  -Dgpg.passphrase=foo -Darguments=-Dgpg.passphrase=foo
 
 on the command line. Since I'm doing this on a Mac laptop and I wipe the 
 .bash_history file afterwards, I'm not too worried about my passphrase being 
 sniffed, but it's ugly.
 
 So, (a) is there a fix, or (b) does someone know how to get the gpg agent 
 working with this on a Mac. It seems to work with git commits to GitHub from 
 terminal, but doesn't get activated when I add
 
  useAgenttrue/useAgent
 
 to the configuration element of the gpg plugin. It just hangs, same as if 
 I don't put the passphrase on the command line.
 
 Any assistance would be appreciated, or an ETA on when the basic bug will be 
 fixed. (I actually would prefer to get the agent working.)
 
 BTW, I'm running version 2.0.12 of the gpg-agent on Mac OS X 10.6.2.
 
 Hi,
 
 Have you tried configuration workarround described
 in this issue : http://jira.codehaus.org/browse/MGPG-9 ?

I had not. I have now, and it worked. It even used the agent!

Thanks much!

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



Re: reading dependency list from pom into rpm plugin require

2010-03-24 Thread Stephen Connolly
having requires in a rpm on an artifact which is not also an rpm will give
you a requires that can never be satisfied.

therefore you would need to have dependencies with typerpm/type in order
to patch the rpm plugin to scan the dependencies for deps to add as a
requires.

That would not mandate having the packaging set to rpm (but life would be
easier if you did... you'd need two modules for every jar if you insist on
installing each individual jar as an individual rpm)

I am thinking more of the case where an rpm contains many jars that make up
an application... in which case a packagingrpm/packaging makes more
sense

-Stephen

On 24 March 2010 13:51, eyal edri eyal.e...@gmail.com wrote:

 you mean that the pom packaging will be set to rpm?

 but then, the development env (not deploy) won't work i think..
 cause the maven dependencies will look for the jar in the repository.

 that way i create a jar which is deployed to the repository (for normal dev
 env)  and also an rpm which is used for deployment on production.

 i didn't understood your last sentence...

  deps which are typerpm/type would be the ones which are required


  do you mean to say there is a way for the rpm plugin to auto know it's
 dependencies, if they are rpm type?

 On Wed, Mar 24, 2010 at 3:39 PM, Stephen Connolly 
 stephen.alan.conno...@gmail.com wrote:

  I think you really want an rpm packaging type then the listed deps which
  are
  typerpm/type would be the ones which are required
 
  not sure if the plugin supports the above
 
  On 24 March 2010 13:20, eyal edri eyal.e...@gmail.com wrote:
 
   Hi,
  
   i'm looking for the best way to auto fill the require field in the
 rpm
   plugin.
   since we're using rpm/yum as the deployer of our java apps,
   i don't want to mange a duplicate set of dependencies in the pom file,
   in order to do so,  i want to fill the requires tag auto from the
 maven
   dependencies list in the pom file.
  
   for example, the following pom will create an rpm with rpm dependencies
   similar to the maven ones.
   (marked in yellow)
  
   a few 'rules' needs to be followed:
   1. each rpm will always have the same name of the artifactId.
   2. each maven dependency will be packed in its own rpm
  
   any ideas? (gmaven maybe..)
  
   *the pom:*
   ?xml version=1.0 encoding=utf-8?
   project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
   http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=
   http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/maven-v4_0_0.xsd
   
modelVersion4.0.0/modelVersion
groupIdcom.company.url.miscats/groupId
artifactIdApplication/artifactId
packagingjar/packaging
version2.0.0-3/version
nameApplication/name
parent
 artifactIdParent/artifactId
 groupIdcom.company.maven.pom/groupId
 version2.0.0-5/version
/parent
descriptionthe app/description
build
  plugins
plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdrpm-maven-plugin/artifactId
  extensionsfalse/extensions
   executions
execution
  goals
goalrpm/goal
  /goals
/execution
   /executions
   configuration
  copyright${project.organization.name}/copyright
  distributionXXX/distribution
  groupSample/Apps/group
  packager${user.name}/packager
   name${project.name}/name
   summary${project.description}/summary
   needarchtrue/needarch
   autoRequirestrue/autoRequires
   dependency/
   requires
   requireDep1/require
   requireDep2/require
   /requires
   mappings
   mapping
 artifact/
  
   directory/usr/lib/java/${project.artifactId}/directory
 filemode750/filemode
 usernameroot/username
 groupnameroot/groupname
  /mapping
  mapping
 directory/etc/${project.artifactId}/directory
 filemode750/filemode
 usernameroot/username
 groupnameroot/groupname
 sources
 source
  
   locationsrc/main/resources/App.properties/location
  
   locationsrc/main/resources/log4j.properties/location
 /source
 /sources
  /mapping
  mapping
 directory/etc/cron.d//directory
 filemode750/filemode
 usernameroot/username
 groupnameroot/groupname
 sources
 source
 locationsrc/main/resources/App.cron/location
 /source
 /sources
   

Kerberos Authentication

2010-03-24 Thread Igor Galić
Hi folks,

A little background, explaining the Subject:
We are mostly a Windows Shop; our front-end servers are IIS6/7 running
C# and ASP.Net applications. Most of the back-ends are JBoss, though.
Our internal client infrastructure centers around Windows XP
(Currently migrating to Windows 7) and most of our internal Servers are
Windows 2003 and Windows 2008.

Microsoft AD plays a central part, and many applications authenticate
against it. Most of them, unfortunately, via LDAP.

Currently we're running our internal Maven Repository on Archiva (in
Tomcat), but we're deploying via scp.
I would like to migrate to Kerberos Authentication and Dav deployment,
which would enormously reduce the maintenance effort.
Using Tomcat the migration to Kerberos should be easy and straight
forward enough. But with the current authentication plugin support, the
deployment in Maven is going to be a problem.

The only thing I have found which goes remotely in this direction is:
http://jira.codehaus.org/browse/WAGON-181 which hasn't been touched in
over 2 years. Wendy suggested it's easy enough to implement, but
unfortunately my Java (not JEE, Java) experience has gone a bit rusty,
when in the last ten years I didn't put it to use.

So I'm writing here now, to ask if anyone else has a need for
GSSAPI/Kerberos in their environment, or maybe even if someone has the
knowhow and the leisure to implement it.

Thank you for you attention.

Bye!
-- 
Igor Galić

Tel: +43 (0) 699 122 96 338
Fax: +43(0) 1 91 333 41
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/

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



Maven Versioning Scheme

2010-03-24 Thread Maven User

Hi list,

Does anyone know where the documentation lies for maven's versioning  
scheme?


I remember seeing a page that explained what's acceptible (how many  
digits, delimited, etc.).


Many thanks in advance!

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



Reading xml file from jar

2010-03-24 Thread Sonny Heer
Hi,

I have a web application module, which when built into a war, isn't
able to read an xml file from another module jar.  How do I accomplish
this in Maven?

Thanks.

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



Re: Maven Versioning Scheme

2010-03-24 Thread Paul Benedict
Please see here. I hope it's what you're looking for:
http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution

Paul

On Wed, Mar 24, 2010 at 12:25 PM, Maven User maven.2.u...@gmail.com wrote:
 Hi list,

 Does anyone know where the documentation lies for maven's versioning scheme?

 I remember seeing a page that explained what's acceptible (how many digits,
 delimited, etc.).

 Many thanks in advance!

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



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



Maven release plugin problems

2010-03-24 Thread Jonathan Ducharme
Hello,

I'm trying to add the release plugin to an existing project, and I'm getting
a fatal error.

I did a bit of research but nothing found nothing really that could help me
fix my problem. I'm using maven 2.2.1, and the version 2.0 of the release
plugin.

It might be more appropriate to post this on the scm user list, but I really
don't know.

[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO]
org.apache.maven.scm.providers.svn.settings.Settings.isUseNonInteractive()Z
[INFO]

[INFO] Trace
java.lang.NoSuchMethodError:
org.apache.maven.scm.providers.svn.settings.Settings.isUseNonInteractive()Z
at
org.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils.getBaseSvnCommandLine(SvnComma
ndLineUtils.java:121)
at
org.apache.maven.scm.provider.svn.svnexe.command.status.SvnStatusCommand.createCommandLine(SvnStatu
sCommand.java:83)
at
org.apache.maven.scm.provider.svn.svnexe.command.status.SvnStatusCommand.executeStatusCommand(SvnSt
atusCommand.java:46)
at
org.apache.maven.scm.command.status.AbstractStatusCommand.executeCommand(AbstractStatusCommand.java
:44)
at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
at
org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java
:371)
at
org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.status(AbstractSvnScmProvider.java:340)
at
org.apache.maven.scm.provider.AbstractScmProvider.status(AbstractScmProvider.java:655)
at
org.apache.maven.shared.release.phase.ScmCheckModificationsPhase.execute(ScmCheckModificationsPhase
.java:98)
at
org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:203)
at
org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:140)
at
org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:103)
at
org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:211)
at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:181)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.
java:569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleEx
ecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.ja
va:284)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
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:597)
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: 3 seconds
[INFO] Finished at: Wed Mar 24 14:47:47 EDT 2010
[INFO] Final Memory: 14M/508M
[INFO]


Thanks for the help

Jonathan Ducharme


Re: Maven release plugin problems

2010-03-24 Thread Wendy Smoak
On Wed, Mar 24, 2010 at 2:51 PM, Jonathan Ducharme
ducharme.jonat...@gmail.com wrote:

 I'm trying to add the release plugin to an existing project, and I'm getting
 a fatal error.
...
 I'm using maven 2.2.1, and the version 2.0 of the release plugin.
...
 [INFO] Trace
 java.lang.NoSuchMethodError:
 org.apache.maven.scm.providers.svn.settings.Settings.isUseNonInteractive()Z
        at
 org.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils.getBaseSvnCommandLine(SvnComma
 ndLineUtils.java:121)

Can you come up with a simple example project that demonstrates the
problem, and describe your environment?

All I can tell from the error is that you're probably using
Subversion.  Any interesting configuration we should know about?

-- 
Wendy

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



Re: Reading xml file from jar

2010-03-24 Thread Justin Edelson
Assuming the other module jar is included in WEB-INF/lib,
getResouceAsStream() should work. But this has nothing to do with Maven.

Justin

On Mar 24, 2010, at 10:55 AM, Sonny Heer sonnyh...@gmail.com wrote:

 Hi,

 I have a web application module, which when built into a war, isn't
 able to read an xml file from another module jar.  How do I accomplish
 this in Maven?

 Thanks.

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


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



Deploying site to svn repo (google code)

2010-03-24 Thread Kathryn Huxtable
My project is hosted at Google Code, and I'm syncing to Central via Sonatype.

I've been deploying my site documentation to my personal website because I have 
ssh access there and the ssh wagon is very efficient.

I've tried using the webdav wagon to deploy my site docs, and while it's okay 
for individual files, for instance it would be fine to deploy artifacts, there 
are *hundreds* of files, mostly javadoc, associated with my site. It takes 
forever.

Is there an efficient way to deploy a site to an svn repository?

I tried the scm wagon, using the following in my build section:

extensions
  extension
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-scm/artifactId
version1.0-beta-6/version
  /extension
  extension
groupIdorg.apache.maven.scm/groupId
artifactIdmaven-scm-manager-plexus/artifactId
version1.3/version
  /extension
  extension
groupIdorg.apache.maven.scm/groupId
artifactIdmaven-scm-provider-svnexe/artifactId
version1.3/version
  /extension
/extensions

This generated an error on site:deploy as follows:

[INFO] [site:deploy {execution: default-cli}]
scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session: Opened  
Uploading: . to scm:svn:https://seaglass.googlecode.com/svn/site/seaglass

scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session: 
Disconnecting  
scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session: 
Disconnected
[FATAL ERROR] org.apache.maven.plugins.site.SiteDeployMojo#execute() caused a 
linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the 
realms:
[FATAL ERROR] Plugin realm = 
app0.child-container[org.apache.maven.plugins:maven-site-plugin:2.1]
urls[0] = 
file:/Users/huxtable/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar
urls[1] = 
file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1.2/doxia-module-xhtml-1.1.2.jar
urls[2] = 
file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
urls[3] = 
file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-core/1.1.2/doxia-core-1.1.2.jar
urls[4] = 
file:/Users/huxtable/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
urls[5] = 
file:/Users/huxtable/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
urls[6] = 
file:/Users/huxtable/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
urls[7] = 
file:/Users/huxtable/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
urls[8] = 
file:/Users/huxtable/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
urls[9] = 
file:/Users/huxtable/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
urls[10] = 
file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.1.2/doxia-module-apt-1.1.2.jar
urls[11] = 
file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.1.2/doxia-module-xdoc-1.1.2.jar
urls[12] = 
file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1.2/doxia-module-fml-1.1.2.jar
urls[13] = 
file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1.2/doxia-decoration-model-1.1.2.jar
urls[14] = 
file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1.2/doxia-site-renderer-1.1.2.jar
urls[15] = 
file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
urls[16] = 
file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
urls[17] = 
file:/Users/huxtable/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
urls[18] = 
file:/Users/huxtable/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
urls[19] = file:/Users/huxtable/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
urls[20] = 
file:/Users/huxtable/.m2/repository/org/apache/maven/shared/maven-doxia-tools/1.2/maven-doxia-tools-1.2.jar
urls[21] = 
file:/Users/huxtable/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
urls[22] = 
file:/Users/huxtable/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
urls[23] = 
file:/Users/huxtable/.m2/repository/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.jar
urls[24] = 
file:/Users/huxtable/.m2/repository/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
urls[25] = 
file:/Users/huxtable/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/local/maven/lib/maven-2.2.1-uber.jar
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] 
org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/plexus/util/cli/Arg;
[INFO] 

Re: Maven Versioning Scheme

2010-03-24 Thread Maven User

Yessir!  Thank you muchly!!!

On Mar 24, 2010, at 2:22 PM, Paul Benedict pbened...@apache.org wrote:


Please see here. I hope it's what you're looking for:
http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution

Paul

On Wed, Mar 24, 2010 at 12:25 PM, Maven User maven. 
2.u...@gmail.com wrote:

Hi list,

Does anyone know where the documentation lies for maven's  
versioning scheme?


I remember seeing a page that explained what's acceptible (how many  
digits,

delimited, etc.).

Many thanks in advance!

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




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



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



Re: Deploying site to svn repo (google code)

2010-03-24 Thread Justin Edelson
Did you look at wagon-svn?

On Mar 24, 2010, at 12:28 PM, Kathryn Huxtable kath...@kathrynhuxtable.org
  wrote:

 My project is hosted at Google Code, and I'm syncing to Central via
 Sonatype.

 I've been deploying my site documentation to my personal website
 because I have ssh access there and the ssh wagon is very efficient.

 I've tried using the webdav wagon to deploy my site docs, and while
 it's okay for individual files, for instance it would be fine to
 deploy artifacts, there are *hundreds* of files, mostly javadoc,
 associated with my site. It takes forever.

 Is there an efficient way to deploy a site to an svn repository?

 I tried the scm wagon, using the following in my build section:

 extensions
  extension
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-scm/artifactId
version1.0-beta-6/version
  /extension
  extension
groupIdorg.apache.maven.scm/groupId
artifactIdmaven-scm-manager-plexus/artifactId
version1.3/version
  /extension
  extension
groupIdorg.apache.maven.scm/groupId
artifactIdmaven-scm-provider-svnexe/artifactId
version1.3/version
  /extension
 /extensions

 This generated an error on site:deploy as follows:

 [INFO] [site:deploy {execution: default-cli}]
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Opened
 Uploading: . to scm:svn:https://seaglass.googlecode.com/svn/site/
 seaglass

 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Disconnecting
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Disconnected
 [FATAL ERROR] org.apache.maven.plugins.site.SiteDeployMojo#execute()
 caused a linkage error (java.lang.NoSuchMethodError) and may be out-
 of-date. Check the realms:
 [FATAL ERROR] Plugin realm = app0.child-container
 [org.apache.maven.plugins:maven-site-plugin:2.1]
 urls[0] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar
 urls[1] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/
 doxia-module-xhtml/1.1.2/doxia-module-xhtml-1.1.2.jar
 urls[2] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-utils/1.5.1/plexus-utils-1.5.1.jar
 urls[3] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/
 doxia-core/1.1.2/doxia-core-1.1.2.jar
 urls[4] = file:/Users/huxtable/.m2/repository/xerces/xercesImpl/
 2.8.1/xercesImpl-2.8.1.jar
 urls[5] = file:/Users/huxtable/.m2/repository/xml-apis/xml-apis/
 1.3.03/xml-apis-1.3.03.jar
 urls[6] = file:/Users/huxtable/.m2/repository/commons-lang/commons-
 lang/2.1/commons-lang-2.1.jar
 urls[7] = file:/Users/huxtable/.m2/repository/commons-httpclient/
 commons-httpclient/3.1/commons-httpclient-3.1.jar
 urls[8] = file:/Users/huxtable/.m2/repository/commons-logging/
 commons-logging/1.0.4/commons-logging-1.0.4.jar
 urls[9] = file:/Users/huxtable/.m2/repository/commons-codec/commons-
 codec/1.2/commons-codec-1.2.jar
 urls[10] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-apt/1.1.2/doxia-module-apt-1.1.2.jar
 urls[11] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-xdoc/1.1.2/doxia-module-xdoc-1.1.2.jar
 urls[12] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-fml/1.1.2/doxia-module-fml-1.1.2.jar
 urls[13] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-decoration-model/1.1.2/doxia-decoration-model-1.1.2.jar
 urls[14] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-site-renderer/1.1.2/doxia-site-renderer-1.1.2.jar
 urls[15] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
 urls[16] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
 urls[17] = file:/Users/huxtable/.m2/repository/org/apache/velocity/
 velocity/1.5/velocity-1.5.jar
 urls[18] = file:/Users/huxtable/.m2/repository/commons-collections/
 commons-collections/3.2/commons-collections-3.2.jar
 urls[19] = file:/Users/huxtable/.m2/repository/oro/oro/2.0.8/
 oro-2.0.8.jar
 urls[20] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 shared/maven-doxia-tools/1.2/maven-doxia-tools-1.2.jar
 urls[21] = file:/Users/huxtable/.m2/repository/commons-io/commons-io/
 1.4/commons-io-1.4.jar
 urls[22] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
 urls[23] = file:/Users/huxtable/.m2/repository/org/mortbay/jetty/
 jetty/6.1.5/jetty-6.1.5.jar
 urls[24] = file:/Users/huxtable/.m2/repository/org/mortbay/jetty/
 jetty-util/6.1.5/jetty-util-6.1.5.jar
 urls[25] = file:/Users/huxtable/.m2/repository/org/mortbay/jetty/
 servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
 [FATAL ERROR] Container realm = plexus.core
 urls[0] = file:/usr/local/maven/lib/maven-2.2.1-uber.jar
 [INFO]
 ---
 -
 [ERROR] FATAL ERROR
 [INFO]
 ---
 

Re: Deploying site to svn repo (google code)

2010-03-24 Thread Kathryn Huxtable
Yes, I did. It works fine for deploying artifacts, as there are usually only a 
few.

When deploying a site, though, it doesn't scale well. It deploys each file 
separately, or at least the last version I tried did.

It took hours. I don't consider that reasonable when the wagon-ssh deploys in 
less than one minute. It zips the site up, scp's it to the target, and then 
runs an ssh unzip command to unpack the files, then deletes the zip file.

Since I can commit many files at once with subversion, it seems that it ought 
to be possible to do something similar with that, though it still may not scale 
well.

For the record, my co-developer is fine with the site docs being on my personal 
website, but I would prefer that they be with the project domain. I just don't 
have ssh access there, and I'm not willing to pay for another hosting site on 
my personal provider.

-K

On Mar 24, 2010, at 2:35 PM, Justin Edelson wrote:

 Did you look at wagon-svn?
 
 On Mar 24, 2010, at 12:28 PM, Kathryn Huxtable kath...@kathrynhuxtable.org
 wrote:
 
 My project is hosted at Google Code, and I'm syncing to Central via
 Sonatype.
 
 I've been deploying my site documentation to my personal website
 because I have ssh access there and the ssh wagon is very efficient.
 
 I've tried using the webdav wagon to deploy my site docs, and while
 it's okay for individual files, for instance it would be fine to
 deploy artifacts, there are *hundreds* of files, mostly javadoc,
 associated with my site. It takes forever.
 
 Is there an efficient way to deploy a site to an svn repository?
 
 I tried the scm wagon, using the following in my build section:
 
 extensions
 extension
   groupIdorg.apache.maven.wagon/groupId
   artifactIdwagon-scm/artifactId
   version1.0-beta-6/version
 /extension
 extension
   groupIdorg.apache.maven.scm/groupId
   artifactIdmaven-scm-manager-plexus/artifactId
   version1.3/version
 /extension
 extension
   groupIdorg.apache.maven.scm/groupId
   artifactIdmaven-scm-provider-svnexe/artifactId
   version1.3/version
 /extension
 /extensions
 
 This generated an error on site:deploy as follows:
 
 [INFO] [site:deploy {execution: default-cli}]
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Opened
 Uploading: . to scm:svn:https://seaglass.googlecode.com/svn/site/
 seaglass
 
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Disconnecting
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Disconnected
 [FATAL ERROR] org.apache.maven.plugins.site.SiteDeployMojo#execute()
 caused a linkage error (java.lang.NoSuchMethodError) and may be out-
 of-date. Check the realms:
 [FATAL ERROR] Plugin realm = app0.child-container
 [org.apache.maven.plugins:maven-site-plugin:2.1]
 urls[0] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar
 urls[1] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/
 doxia-module-xhtml/1.1.2/doxia-module-xhtml-1.1.2.jar
 urls[2] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-utils/1.5.1/plexus-utils-1.5.1.jar
 urls[3] = file:/Users/huxtable/.m2/repository/org/apache/maven/doxia/
 doxia-core/1.1.2/doxia-core-1.1.2.jar
 urls[4] = file:/Users/huxtable/.m2/repository/xerces/xercesImpl/
 2.8.1/xercesImpl-2.8.1.jar
 urls[5] = file:/Users/huxtable/.m2/repository/xml-apis/xml-apis/
 1.3.03/xml-apis-1.3.03.jar
 urls[6] = file:/Users/huxtable/.m2/repository/commons-lang/commons-
 lang/2.1/commons-lang-2.1.jar
 urls[7] = file:/Users/huxtable/.m2/repository/commons-httpclient/
 commons-httpclient/3.1/commons-httpclient-3.1.jar
 urls[8] = file:/Users/huxtable/.m2/repository/commons-logging/
 commons-logging/1.0.4/commons-logging-1.0.4.jar
 urls[9] = file:/Users/huxtable/.m2/repository/commons-codec/commons-
 codec/1.2/commons-codec-1.2.jar
 urls[10] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-apt/1.1.2/doxia-module-apt-1.1.2.jar
 urls[11] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-xdoc/1.1.2/doxia-module-xdoc-1.1.2.jar
 urls[12] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-fml/1.1.2/doxia-module-fml-1.1.2.jar
 urls[13] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-decoration-model/1.1.2/doxia-decoration-model-1.1.2.jar
 urls[14] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-site-renderer/1.1.2/doxia-site-renderer-1.1.2.jar
 urls[15] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
 urls[16] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
 urls[17] = file:/Users/huxtable/.m2/repository/org/apache/velocity/
 velocity/1.5/velocity-1.5.jar
 urls[18] = file:/Users/huxtable/.m2/repository/commons-collections/
 commons-collections/3.2/commons-collections-3.2.jar
 urls[19] = 

Re: Maven release plugin problems

2010-03-24 Thread Jonathan Ducharme
Well from more research it's seem to be an issue with parent poms I have in
my project. If I remove those parent pom, it goes as expect but with the
parent pom it doesn't.

I use the normal code snippet for the release plugin

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-release-plugin/artifactId
version2.0/version
configuration
taghttps://my.repo/svn/repos/scm_demo/release/tag
/configuration
/plugin

I am use the scm tag with the svn repo

scm
connectionhttps://my.repo/svn/repos/scm_demo/release/connection
developerConnectionhttps://my.repo/svn/repos/scm_demo/release
/developerConnection
/scm

Beside that nothing very exotic, java 1.6_u18, a fresh maven 2.2.1 install.

Sadly, with the nature of the work, I can't release anymore info, nor those
parent poms...

Thanks for the help though!




On Wed, Mar 24, 2010 at 3:06 PM, Wendy Smoak wsm...@gmail.com wrote:

 On Wed, Mar 24, 2010 at 2:51 PM, Jonathan Ducharme
 ducharme.jonat...@gmail.com wrote:

  I'm trying to add the release plugin to an existing project, and I'm
 getting
  a fatal error.
 ...
  I'm using maven 2.2.1, and the version 2.0 of the release plugin.
 ...
  [INFO] Trace
  java.lang.NoSuchMethodError:
 
 org.apache.maven.scm.providers.svn.settings.Settings.isUseNonInteractive()Z
 at
 
 org.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils.getBaseSvnCommandLine(SvnComma
  ndLineUtils.java:121)

 Can you come up with a simple example project that demonstrates the
 problem, and describe your environment?

 All I can tell from the error is that you're probably using
 Subversion.  Any interesting configuration we should know about?

 --
 Wendy

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




Re: Deploying site to svn repo (google code)

2010-03-24 Thread Justin Edelson
My experience was that wagon-svn was faster than dav, but they both
are sub-par compared with scp because there's no way to remotely
execute a command (I.e. unzip).

Justin

On Mar 24, 2010, at 12:41 PM, Kathryn Huxtable kath...@kathrynhuxtable.org
  wrote:

 Yes, I did. It works fine for deploying artifacts, as there are
 usually only a few.

 When deploying a site, though, it doesn't scale well. It deploys
 each file separately, or at least the last version I tried did.

 It took hours. I don't consider that reasonable when the wagon-ssh
 deploys in less than one minute. It zips the site up, scp's it to
 the target, and then runs an ssh unzip command to unpack the files,
 then deletes the zip file.

 Since I can commit many files at once with subversion, it seems that
 it ought to be possible to do something similar with that, though it
 still may not scale well.

 For the record, my co-developer is fine with the site docs being on
 my personal website, but I would prefer that they be with the
 project domain. I just don't have ssh access there, and I'm not
 willing to pay for another hosting site on my personal provider.

 -K

 On Mar 24, 2010, at 2:35 PM, Justin Edelson wrote:

 Did you look at wagon-svn?

 On Mar 24, 2010, at 12:28 PM, Kathryn Huxtable kath...@kathrynhuxtable.org
 wrote:

 My project is hosted at Google Code, and I'm syncing to Central via
 Sonatype.

 I've been deploying my site documentation to my personal website
 because I have ssh access there and the ssh wagon is very efficient.

 I've tried using the webdav wagon to deploy my site docs, and while
 it's okay for individual files, for instance it would be fine to
 deploy artifacts, there are *hundreds* of files, mostly javadoc,
 associated with my site. It takes forever.

 Is there an efficient way to deploy a site to an svn repository?

 I tried the scm wagon, using the following in my build section:

 extensions
 extension
  groupIdorg.apache.maven.wagon/groupId
  artifactIdwagon-scm/artifactId
  version1.0-beta-6/version
 /extension
 extension
  groupIdorg.apache.maven.scm/groupId
  artifactIdmaven-scm-manager-plexus/artifactId
  version1.3/version
 /extension
 extension
  groupIdorg.apache.maven.scm/groupId
  artifactIdmaven-scm-provider-svnexe/artifactId
  version1.3/version
 /extension
 /extensions

 This generated an error on site:deploy as follows:

 [INFO] [site:deploy {execution: default-cli}]
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Opened
 Uploading: . to scm:svn:https://seaglass.googlecode.com/svn/site/
 seaglass

 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Disconnecting
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Disconnected
 [FATAL ERROR] org.apache.maven.plugins.site.SiteDeployMojo#execute()
 caused a linkage error (java.lang.NoSuchMethodError) and may be out-
 of-date. Check the realms:
 [FATAL ERROR] Plugin realm = app0.child-container
 [org.apache.maven.plugins:maven-site-plugin:2.1]
 urls[0] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar
 urls[1] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/
 doxia-module-xhtml/1.1.2/doxia-module-xhtml-1.1.2.jar
 urls[2] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-utils/1.5.1/plexus-utils-1.5.1.jar
 urls[3] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/
 doxia-core/1.1.2/doxia-core-1.1.2.jar
 urls[4] = file:/Users/huxtable/.m2/repository/xerces/xercesImpl/
 2.8.1/xercesImpl-2.8.1.jar
 urls[5] = file:/Users/huxtable/.m2/repository/xml-apis/xml-apis/
 1.3.03/xml-apis-1.3.03.jar
 urls[6] = file:/Users/huxtable/.m2/repository/commons-lang/commons-
 lang/2.1/commons-lang-2.1.jar
 urls[7] = file:/Users/huxtable/.m2/repository/commons-httpclient/
 commons-httpclient/3.1/commons-httpclient-3.1.jar
 urls[8] = file:/Users/huxtable/.m2/repository/commons-logging/
 commons-logging/1.0.4/commons-logging-1.0.4.jar
 urls[9] = file:/Users/huxtable/.m2/repository/commons-codec/commons-
 codec/1.2/commons-codec-1.2.jar
 urls[10] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-apt/1.1.2/doxia-module-apt-1.1.2.jar
 urls[11] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-xdoc/1.1.2/doxia-module-xdoc-1.1.2.jar
 urls[12] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-fml/1.1.2/doxia-module-fml-1.1.2.jar
 urls[13] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-decoration-model/1.1.2/doxia-decoration-model-1.1.2.jar
 urls[14] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-site-renderer/1.1.2/doxia-site-renderer-1.1.2.jar
 urls[15] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
 urls[16] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
 urls[17] = 

Re: Maven release plugin problems

2010-03-24 Thread Justin Edelson
Your scm URL syntax is wrong. Prefix those urls with scm:svn:

On Mar 24, 2010, at 12:44 PM, Jonathan Ducharme ducharme.jonat...@gmail.com
  wrote:

 Well from more research it's seem to be an issue with parent poms I
 have in
 my project. If I remove those parent pom, it goes as expect but with
 the
 parent pom it doesn't.

 I use the normal code snippet for the release plugin

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-release-plugin/artifactId
version2.0/version
configuration
taghttps://my.repo/svn/repos/scm_demo/release/
 tag
/configuration
/plugin

 I am use the scm tag with the svn repo

scm
connectionhttps://my.repo/svn/repos/scm_demo/release/
 connection
developerConnectionhttps://my.repo/svn/repos/scm_demo/release
 /developerConnection
/scm

 Beside that nothing very exotic, java 1.6_u18, a fresh maven 2.2.1
 install.

 Sadly, with the nature of the work, I can't release anymore info,
 nor those
 parent poms...

 Thanks for the help though!




 On Wed, Mar 24, 2010 at 3:06 PM, Wendy Smoak wsm...@gmail.com wrote:

 On Wed, Mar 24, 2010 at 2:51 PM, Jonathan Ducharme
 ducharme.jonat...@gmail.com wrote:

 I'm trying to add the release plugin to an existing project, and I'm
 getting
 a fatal error.
 ...
 I'm using maven 2.2.1, and the version 2.0 of the release plugin.
 ...
 [INFO] Trace
 java.lang.NoSuchMethodError:

 org.apache.maven.scm.providers.svn.settings.Settings.isUseNonInteractive(
 )Z
   at

 org.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils.getBaseSvnCommandLine(
 SvnComma
 ndLineUtils.java:121)

 Can you come up with a simple example project that demonstrates the
 problem, and describe your environment?

 All I can tell from the error is that you're probably using
 Subversion.  Any interesting configuration we should know about?

 --
 Wendy

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



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



Re: Deploying site to svn repo (google code)

2010-03-24 Thread Kathryn Huxtable
Thanks! I'll stick with my personal site for now. -K

On Mar 24, 2010, at 2:52 PM, Justin Edelson wrote:

 My experience was that wagon-svn was faster than dav, but they both
 are sub-par compared with scp because there's no way to remotely
 execute a command (I.e. unzip).
 
 Justin
 
 On Mar 24, 2010, at 12:41 PM, Kathryn Huxtable kath...@kathrynhuxtable.org
 wrote:
 
 Yes, I did. It works fine for deploying artifacts, as there are
 usually only a few.
 
 When deploying a site, though, it doesn't scale well. It deploys
 each file separately, or at least the last version I tried did.
 
 It took hours. I don't consider that reasonable when the wagon-ssh
 deploys in less than one minute. It zips the site up, scp's it to
 the target, and then runs an ssh unzip command to unpack the files,
 then deletes the zip file.
 
 Since I can commit many files at once with subversion, it seems that
 it ought to be possible to do something similar with that, though it
 still may not scale well.
 
 For the record, my co-developer is fine with the site docs being on
 my personal website, but I would prefer that they be with the
 project domain. I just don't have ssh access there, and I'm not
 willing to pay for another hosting site on my personal provider.
 
 -K
 
 On Mar 24, 2010, at 2:35 PM, Justin Edelson wrote:
 
 Did you look at wagon-svn?
 
 On Mar 24, 2010, at 12:28 PM, Kathryn Huxtable kath...@kathrynhuxtable.org
 wrote:
 
 My project is hosted at Google Code, and I'm syncing to Central via
 Sonatype.
 
 I've been deploying my site documentation to my personal website
 because I have ssh access there and the ssh wagon is very efficient.
 
 I've tried using the webdav wagon to deploy my site docs, and while
 it's okay for individual files, for instance it would be fine to
 deploy artifacts, there are *hundreds* of files, mostly javadoc,
 associated with my site. It takes forever.
 
 Is there an efficient way to deploy a site to an svn repository?
 
 I tried the scm wagon, using the following in my build section:
 
 extensions
 extension
 groupIdorg.apache.maven.wagon/groupId
 artifactIdwagon-scm/artifactId
 version1.0-beta-6/version
 /extension
 extension
 groupIdorg.apache.maven.scm/groupId
 artifactIdmaven-scm-manager-plexus/artifactId
 version1.3/version
 /extension
 extension
 groupIdorg.apache.maven.scm/groupId
 artifactIdmaven-scm-provider-svnexe/artifactId
 version1.3/version
 /extension
 /extensions
 
 This generated an error on site:deploy as follows:
 
 [INFO] [site:deploy {execution: default-cli}]
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Opened
 Uploading: . to scm:svn:https://seaglass.googlecode.com/svn/site/
 seaglass
 
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Disconnecting
 scm:svn:https://seaglass.googlecode.com/svn/site/seaglass - Session:
 Disconnected
 [FATAL ERROR] org.apache.maven.plugins.site.SiteDeployMojo#execute()
 caused a linkage error (java.lang.NoSuchMethodError) and may be out-
 of-date. Check the realms:
 [FATAL ERROR] Plugin realm = app0.child-container
 [org.apache.maven.plugins:maven-site-plugin:2.1]
 urls[0] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar
 urls[1] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/
 doxia-module-xhtml/1.1.2/doxia-module-xhtml-1.1.2.jar
 urls[2] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-utils/1.5.1/plexus-utils-1.5.1.jar
 urls[3] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/
 doxia-core/1.1.2/doxia-core-1.1.2.jar
 urls[4] = file:/Users/huxtable/.m2/repository/xerces/xercesImpl/
 2.8.1/xercesImpl-2.8.1.jar
 urls[5] = file:/Users/huxtable/.m2/repository/xml-apis/xml-apis/
 1.3.03/xml-apis-1.3.03.jar
 urls[6] = file:/Users/huxtable/.m2/repository/commons-lang/commons-
 lang/2.1/commons-lang-2.1.jar
 urls[7] = file:/Users/huxtable/.m2/repository/commons-httpclient/
 commons-httpclient/3.1/commons-httpclient-3.1.jar
 urls[8] = file:/Users/huxtable/.m2/repository/commons-logging/
 commons-logging/1.0.4/commons-logging-1.0.4.jar
 urls[9] = file:/Users/huxtable/.m2/repository/commons-codec/commons-
 codec/1.2/commons-codec-1.2.jar
 urls[10] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-apt/1.1.2/doxia-module-apt-1.1.2.jar
 urls[11] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-xdoc/1.1.2/doxia-module-xdoc-1.1.2.jar
 urls[12] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-module-fml/1.1.2/doxia-module-fml-1.1.2.jar
 urls[13] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-decoration-model/1.1.2/doxia-decoration-model-1.1.2.jar
 urls[14] = file:/Users/huxtable/.m2/repository/org/apache/maven/
 doxia/doxia-site-renderer/1.1.2/doxia-site-renderer-1.1.2.jar
 urls[15] = file:/Users/huxtable/.m2/repository/org/codehaus/plexus/
 plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
 urls[16] 

Class not found refloated

2010-03-24 Thread hans
Hi,

Mi company is moving from ant to maven in an eclipse environment: eclipse 
Galileo and m2eclise 0.10 with Tomcat 6 and JRE 6.

We are completely refactoring and old Ant project, and the problem we are 
experiencing seems to be and old one, from time to time (ten minutes or so 
depending), the system starts with class not found exceptions, i've checked 
various postings without solving definitively the problem:

- Putting maven libraries abobe JRE.
- Project/clean and then Update maven dependencies (and reverse).
- Drop and recreate tomcat servers.

Two rounds of the above and the project starts to work again, but is very 
frustrating.

... i would like to know if there is something official in relation to this ?

Any help will be appreciated.
Hans

-- 
Hans Poo, WeLinux S.A. http://www.welinux.cl
Office: 56-2-697.25.42, Mobile: 09-319.93.05
Bombero Ossa # 1010, Santiago, Chile


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



Running multiple phases on multimodules.

2010-03-24 Thread Compere, Lydie
Hello,

I wonder if anyone ever had this 'request'.

I have a multimodule pom and would like to run, say, phases clean and install.  
Thing is, I would like the clean phase to be run on all my modules AND THEN 
have the install phase run on all my modules.  Is that possible?

Ex.:

Module-1
Child-A
Child-B
Child-C

If, at root (Module-1), I do mvn clean install, Maven will:

clean Child-A, install Child-A
clean Child-B, install Child-B
clean Child-C, install Child-C

WHAT I WOULD LIKE MAVEN TO DO IS:

clean Child-A
clean Child-B
clean Child-C

install Child-A
install Child-B
install Child-C

Is this possible??

Thanks in advance!





TD Assurance réfère collectivement à toutes les entités et
activités Canadiennes d'assurance des particuliers au sein de
TDBFG. 
TD Insurance refers collectively to all of the Canadian personal
lines insurance entities and activities within TDBFG. 
-
AVIS DE CONFIDENTIALITE. 

Ce courriel, ainsi que tout renseignement ci-inclus, destiné
uniquement au(x) destinataire(s) susmentionné(s), est confidentiel.
Si vous n'êtes pas le destinataire prévu ou un agent responsable de
la livraison de ce courriel, tout examen, divulgation, copie,
impression, reproduction, distribution ou autre utilisation de
toute partie de ce courriel est strictement interdit de même que
toute action ou manquement à l'égard de celui-ci. Si vous avez reçu
ce message par erreur ou sans autorisation, veuillez en aviser
immédiatement l'expéditeur par retour de courriel ou par un autre
moyen et supprimez immédiatement et entièrement cette communication
de tout système électronique. 

NOTICE OF CONFIDENTIALITY. 

This communication, including any information transmitted with it,
is intended only for the use of the addressee(s) and is
confidential. If you are not an intended recipient or responsible
for delivering the message to an intended recipient, any review,
disclosure, conversion to hard copy, dissemination, reproduction or
other use of any part of this communication is strictly prohibited,
as is the taking or omitting of any action in reliance upon this
communication. If you received this communication in error or
without authorization please notify us immediately by return e-mail
or otherwise and permanently delete the entire communication from
any computer, disk drive, or other storage medium.


Re: Class not found refloated

2010-03-24 Thread Wayne Fay
 or so depending), the system starts with class not found exceptions,
 i've checked various postings without solving definitively the problem:

Ask this question on the m2eclipse user list:
http://m2eclipse.sonatype.org/project-information.html

Wayne

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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Jesse Farinacci
Hi Lydie,

On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie
lydie.comp...@tdassurance.com wrote:

 WHAT I WOULD LIKE MAVEN TO DO IS:

        clean Child-A
        clean Child-B
        clean Child-C

        install Child-A
        install Child-B
        install Child-C

 Is this possible??


$ mvn clean ; mvn install ; echo profit!

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Kathryn Huxtable
Does it not work to simply do:

$ mvn clean install

?

-K

On Mar 24, 2010, at 4:22 PM, Jesse Farinacci wrote:

 Hi Lydie,
 
 On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie
 lydie.comp...@tdassurance.com wrote:
 
 WHAT I WOULD LIKE MAVEN TO DO IS:
 
clean Child-A
clean Child-B
clean Child-C
 
install Child-A
install Child-B
install Child-C
 
 Is this possible??
 
 
 $ mvn clean ; mvn install ; echo profit!
 
 -Jesse
 
 -- 
 There are 10 types of people in this world, those
 that can read binary and those that can not.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 


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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Justin Edelson
That runs clean and install on each project before proceeding to the
next project. It sounds like the OP wants to clean all projects before
installing the first one. Although why is beyond me.

Justin

On Mar 24, 2010, at 2:36 PM, Kathryn Huxtable kath...@kathrynhuxtable.org
  wrote:

 Does it not work to simply do:

 $ mvn clean install

 ?

 -K

 On Mar 24, 2010, at 4:22 PM, Jesse Farinacci wrote:

 Hi Lydie,

 On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie
 lydie.comp...@tdassurance.com wrote:

 WHAT I WOULD LIKE MAVEN TO DO IS:

   clean Child-A
   clean Child-B
   clean Child-C

   install Child-A
   install Child-B
   install Child-C

 Is this possible??


 $ mvn clean ; mvn install ; echo profit!

 -Jesse

 --
 There are 10 types of people in this world, those
 that can read binary and those that can not.

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



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


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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Kathryn Huxtable
Ah. Yes, I see that. Thanks!

I've never really had the need to use a parent project, so I wasn't sure.

-K

On Mar 24, 2010, at 4:41 PM, Justin Edelson wrote:

 That runs clean and install on each project before proceeding to the
 next project. It sounds like the OP wants to clean all projects before
 installing the first one. Although why is beyond me.
 
 Justin
 
 On Mar 24, 2010, at 2:36 PM, Kathryn Huxtable kath...@kathrynhuxtable.org
 wrote:
 
 Does it not work to simply do:
 
 $ mvn clean install
 
 ?
 
 -K
 
 On Mar 24, 2010, at 4:22 PM, Jesse Farinacci wrote:
 
 Hi Lydie,
 
 On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie
 lydie.comp...@tdassurance.com wrote:
 
 WHAT I WOULD LIKE MAVEN TO DO IS:
 
  clean Child-A
  clean Child-B
  clean Child-C
 
  install Child-A
  install Child-B
  install Child-C
 
 Is this possible??
 
 
 $ mvn clean ; mvn install ; echo profit!
 
 -Jesse
 
 --
 There are 10 types of people in this world, those
 that can read binary and those that can not.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


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



RE: Running multiple phases on multimodules.

2010-03-24 Thread Compere, Lydie
Hello and thank you for your quick reply Jesse.

Please pardon my ignorance but I'm not sure I understand.

Would it be possible for you to clarify??

Thanks again!
_


From Jesse Farinacci jie...@gmail.com Subject Re: Running multiple phases on 
multimodules. Date Wed, 24 Mar 2010 21:22:49 GMT
Hi Lydie,

On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie
lydie.comp...@tdassurance.com wrote:

 WHAT I WOULD LIKE MAVEN TO DO IS:

 ? ? ? ?clean Child-A
 ? ? ? ?clean Child-B
 ? ? ? ?clean Child-C

 ? ? ? ?install Child-A
 ? ? ? ?install Child-B
 ? ? ? ?install Child-C

 Is this possible??


$ mvn clean ; mvn install ; echo profit!

-Jesse

--
There are 10 types of people in this world, those
that can read binary and those that can not.

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

_

Hello,

I wonder if anyone ever had this 'request'.

I have a multimodule pom and would like to run, say, phases clean and install.  
Thing is, I would like the clean phase to be run on all my modules AND THEN 
have the install phase run on all my modules.  Is that possible?

Ex.:

Module-1
Child-A
Child-B
Child-C

If, at root (Module-1), I do mvn clean install, Maven will:

clean Child-A, install Child-A
clean Child-B, install Child-B
clean Child-C, install Child-C

WHAT I WOULD LIKE MAVEN TO DO IS:

clean Child-A
clean Child-B
clean Child-C

install Child-A
install Child-B
install Child-C

Is this possible??





TD Assurance réfère collectivement à toutes les entités et
activités Canadiennes d'assurance des particuliers au sein de
TDBFG. 
TD Insurance refers collectively to all of the Canadian personal
lines insurance entities and activities within TDBFG. 
-
AVIS DE CONFIDENTIALITE. 

Ce courriel, ainsi que tout renseignement ci-inclus, destiné
uniquement au(x) destinataire(s) susmentionné(s), est confidentiel.
Si vous n'êtes pas le destinataire prévu ou un agent responsable de
la livraison de ce courriel, tout examen, divulgation, copie,
impression, reproduction, distribution ou autre utilisation de
toute partie de ce courriel est strictement interdit de même que
toute action ou manquement à l'égard de celui-ci. Si vous avez reçu
ce message par erreur ou sans autorisation, veuillez en aviser
immédiatement l'expéditeur par retour de courriel ou par un autre
moyen et supprimez immédiatement et entièrement cette communication
de tout système électronique. 

NOTICE OF CONFIDENTIALITY. 

This communication, including any information transmitted with it,
is intended only for the use of the addressee(s) and is
confidential. If you are not an intended recipient or responsible
for delivering the message to an intended recipient, any review,
disclosure, conversion to hard copy, dissemination, reproduction or
other use of any part of this communication is strictly prohibited,
as is the taking or omitting of any action in reliance upon this
communication. If you received this communication in error or
without authorization please notify us immediately by return e-mail
or otherwise and permanently delete the entire communication from
any computer, disk drive, or other storage medium.


Re: Running multiple phases on multimodules.

2010-03-24 Thread Kathryn Huxtable
I believe he was using some current American television slang from South 
Park. (The profit reference.)

The basic idea is to run the clean goal as a maven command, and when it 
completes, run the install goal in a separate maven command.

-K

On Mar 24, 2010, at 4:48 PM, Compere, Lydie wrote:

 Hello and thank you for your quick reply Jesse.
 
 Please pardon my ignorance but I'm not sure I understand.
 
 Would it be possible for you to clarify??
 
 Thanks again!
 _
 
 
 From Jesse Farinacci jie...@gmail.com Subject Re: Running multiple phases 
 on multimodules. Date Wed, 24 Mar 2010 21:22:49 GMT
 Hi Lydie,
 
 On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie
 lydie.comp...@tdassurance.com wrote:
 
 WHAT I WOULD LIKE MAVEN TO DO IS:
 
 ? ? ? ?clean Child-A
 ? ? ? ?clean Child-B
 ? ? ? ?clean Child-C
 
 ? ? ? ?install Child-A
 ? ? ? ?install Child-B
 ? ? ? ?install Child-C
 
 Is this possible??
 
 
 $ mvn clean ; mvn install ; echo profit!
 
 -Jesse
 
 --
 There are 10 types of people in this world, those
 that can read binary and those that can not.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 _
 
 Hello,
 
 I wonder if anyone ever had this 'request'.
 
 I have a multimodule pom and would like to run, say, phases clean and 
 install.  Thing is, I would like the clean phase to be run on all my modules 
 AND THEN have the install phase run on all my modules.  Is that possible?
 
 Ex.:
 
 Module-1
Child-A
Child-B
Child-C
 
 If, at root (Module-1), I do mvn clean install, Maven will:
 
clean Child-A, install Child-A
clean Child-B, install Child-B
clean Child-C, install Child-C
 
 WHAT I WOULD LIKE MAVEN TO DO IS:
 
clean Child-A
clean Child-B
clean Child-C
 
install Child-A
install Child-B
install Child-C
 
 Is this possible??
 
 
 
 
 
 TD Assurance réfère collectivement à toutes les entités et
 activités Canadiennes d'assurance des particuliers au sein de
 TDBFG. 
 TD Insurance refers collectively to all of the Canadian personal
 lines insurance entities and activities within TDBFG. 
 -
 AVIS DE CONFIDENTIALITE. 
 
 Ce courriel, ainsi que tout renseignement ci-inclus, destiné
 uniquement au(x) destinataire(s) susmentionné(s), est confidentiel.
 Si vous n'êtes pas le destinataire prévu ou un agent responsable de
 la livraison de ce courriel, tout examen, divulgation, copie,
 impression, reproduction, distribution ou autre utilisation de
 toute partie de ce courriel est strictement interdit de même que
 toute action ou manquement à l'égard de celui-ci. Si vous avez reçu
 ce message par erreur ou sans autorisation, veuillez en aviser
 immédiatement l'expéditeur par retour de courriel ou par un autre
 moyen et supprimez immédiatement et entièrement cette communication
 de tout système électronique. 
 
 NOTICE OF CONFIDENTIALITY. 
 
 This communication, including any information transmitted with it,
 is intended only for the use of the addressee(s) and is
 confidential. If you are not an intended recipient or responsible
 for delivering the message to an intended recipient, any review,
 disclosure, conversion to hard copy, dissemination, reproduction or
 other use of any part of this communication is strictly prohibited,
 as is the taking or omitting of any action in reliance upon this
 communication. If you received this communication in error or
 without authorization please notify us immediately by return e-mail
 or otherwise and permanently delete the entire communication from
 any computer, disk drive, or other storage medium.


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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Wayne Fay
 Please pardon my ignorance but I'm not sure I understand.
 Would it be possible for you to clarify??

 $ mvn clean ; mvn install ; echo profit!

Did you try Jesse's suggestion on the command line? It does exactly
what you requested.

Alternatively maybe try the reactor plugin's make mojo, though I
honestly have no idea if it will do what you want since I don't use it
generally.
http://maven.apache.org/plugins/maven-reactor-plugin/

Can you please tell us WHY you want to do this? What is it about the
usual mvn clean install process that is unacceptable, or is this
merely a preference for you?

Wayne

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



Re: Deploying site to svn repo (google code)

2010-03-24 Thread lukewpatterson


justinedelson wrote:
 
 Did you look at wagon-svn?
 

wagon-svn would be great but it doesn't support mime-type auto-props, which
is crucial for site deployment

https://wagon-svn.dev.java.net/issues/show_bug.cgi?id=4
-- 
View this message in context: 
http://old.nabble.com/Deploying-site-to-svn-repo-%28google-code%29-tp28020109p28021955.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Deploying site to svn repo (google code)

2010-03-24 Thread Kathryn Huxtable
Yes, there's that, but I was willing to write something that set those after 
the fact. -K

On Mar 24, 2010, at 4:56 PM, lukewpatterson wrote:

 
 
 justinedelson wrote:
 
 Did you look at wagon-svn?
 
 
 wagon-svn would be great but it doesn't support mime-type auto-props, which
 is crucial for site deployment
 
 https://wagon-svn.dev.java.net/issues/show_bug.cgi?id=4
 -- 
 View this message in context: 
 http://old.nabble.com/Deploying-site-to-svn-repo-%28google-code%29-tp28020109p28021955.html
 Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Wendy Smoak
On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wayne...@gmail.com wrote:

 $ mvn clean ; mvn install ; echo profit!

 Did you try Jesse's suggestion on the command line? It does exactly
 what you requested.

... unless he's on Windows, where there's no way to do it on one line
afaik.  Happy to be proven wrong though!

-- 
Wendy

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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Kathryn Huxtable
That was my assumption, along with a French-sounding name making the profit 
reference potentially meaningless.

-K, who develops on a Mac. I do test on Windows...

On Mar 24, 2010, at 5:04 PM, Wendy Smoak wrote:

 On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wayne...@gmail.com wrote:
 
 $ mvn clean ; mvn install ; echo profit!
 
 Did you try Jesse's suggestion on the command line? It does exactly
 what you requested.
 
 ... unless he's on Windows, where there's no way to do it on one line
 afaik.  Happy to be proven wrong though!
 
 -- 
 Wendy
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Manfred Moser
You can always stick it into a .bat file and call that..

 That was my assumption, along with a French-sounding name making the
 profit reference potentially meaningless.

 -K, who develops on a Mac. I do test on Windows...

 On Mar 24, 2010, at 5:04 PM, Wendy Smoak wrote:

 On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wayne...@gmail.com wrote:

 $ mvn clean ; mvn install ; echo profit!

 Did you try Jesse's suggestion on the command line? It does exactly
 what you requested.

 ... unless he's on Windows, where there's no way to do it on one line
 afaik.  Happy to be proven wrong though!

 --
 Wendy

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


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



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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Brian Dilley
#!/bin/bash

for i in $@
do
mvn $i
if [ $? != 0 ];
then
exit $?
fi
done

put than in mvnn.sh and do:

mvn.sh clean install

:)

On Wed, Mar 24, 2010 at 3:14 PM, Manfred Moser manf...@mosabuam.com wrote:

 You can always stick it into a .bat file and call that..

  That was my assumption, along with a French-sounding name making the
  profit reference potentially meaningless.
 
  -K, who develops on a Mac. I do test on Windows...
 
  On Mar 24, 2010, at 5:04 PM, Wendy Smoak wrote:
 
  On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wayne...@gmail.com wrote:
 
  $ mvn clean ; mvn install ; echo profit!
 
  Did you try Jesse's suggestion on the command line? It does exactly
  what you requested.
 
  ... unless he's on Windows, where there's no way to do it on one line
  afaik.  Happy to be proven wrong though!
 
  --
  Wendy
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 


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




Re: Running multiple phases on multimodules.

2010-03-24 Thread Brian Dilley
oops, mvnn.sh clean install

On Wed, Mar 24, 2010 at 3:18 PM, Brian Dilley bdil...@estalea.com wrote:

 #!/bin/bash

 for i in $@
 do
 mvn $i
 if [ $? != 0 ];
 then
 exit $?
 fi
 done

 put than in mvnn.sh and do:

 mvn.sh clean install

 :)


 On Wed, Mar 24, 2010 at 3:14 PM, Manfred Moser manf...@mosabuam.comwrote:

 You can always stick it into a .bat file and call that..

  That was my assumption, along with a French-sounding name making the
  profit reference potentially meaningless.
 
  -K, who develops on a Mac. I do test on Windows...
 
  On Mar 24, 2010, at 5:04 PM, Wendy Smoak wrote:
 
  On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wayne...@gmail.com wrote:
 
  $ mvn clean ; mvn install ; echo profit!
 
  Did you try Jesse's suggestion on the command line? It does exactly
  what you requested.
 
  ... unless he's on Windows, where there's no way to do it on one line
  afaik.  Happy to be proven wrong though!
 
  --
  Wendy
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 


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





RE: Running multiple phases on multimodules.

2010-03-24 Thread Gorham-Engard, Frank
On Windoze:
 mvn clean  mvn install  echo profit! (sic)

!-- Frank Gorham-Engard →
It is a misnomer to label any practice 'a best practice'; 
  a practice is only best in the specific context in which it performs well.

-Original Message-
From: Wendy Smoak [mailto:wsm...@gmail.com] 
Sent: Wednesday, March 24, 2010 6:05 PM
To: Maven Users List
Subject: Re: Running multiple phases on multimodules.

On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wayne...@gmail.com wrote:

 $ mvn clean ; mvn install ; echo profit!

 Did you try Jesse's suggestion on the command line? It does exactly
 what you requested.

... unless he's on Windows, where there's no way to do it on one line
afaik.  Happy to be proven wrong though!

-- 
Wendy

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



RE: Running multiple phases on multimodules.

2010-03-24 Thread Compere, Lydie
Thank you for your replies.

I am on a Windows machine.

mvn clean install was an example but  I actually have a case where I need to 
have a list of phases run like

[maven-phase-1] child-A
[maven-phase-1] child-B
[maven-phase-1] child-C

[maven-phase-2] child-A
[maven-phase-2] child-B
[maven-phase-2] child-C

I take this is possible on unix/linux/.. Machines but not on Windows Is 
that correct?






TD Assurance réfère collectivement à toutes les entités et
activités Canadiennes d'assurance des particuliers au sein de
TDBFG. 
TD Insurance refers collectively to all of the Canadian personal
lines insurance entities and activities within TDBFG. 
-
AVIS DE CONFIDENTIALITE. 

Ce courriel, ainsi que tout renseignement ci-inclus, destiné
uniquement au(x) destinataire(s) susmentionné(s), est confidentiel.
Si vous n'êtes pas le destinataire prévu ou un agent responsable de
la livraison de ce courriel, tout examen, divulgation, copie,
impression, reproduction, distribution ou autre utilisation de
toute partie de ce courriel est strictement interdit de même que
toute action ou manquement à l'égard de celui-ci. Si vous avez reçu
ce message par erreur ou sans autorisation, veuillez en aviser
immédiatement l'expéditeur par retour de courriel ou par un autre
moyen et supprimez immédiatement et entièrement cette communication
de tout système électronique. 

NOTICE OF CONFIDENTIALITY. 

This communication, including any information transmitted with it,
is intended only for the use of the addressee(s) and is
confidential. If you are not an intended recipient or responsible
for delivering the message to an intended recipient, any review,
disclosure, conversion to hard copy, dissemination, reproduction or
other use of any part of this communication is strictly prohibited,
as is the taking or omitting of any action in reliance upon this
communication. If you received this communication in error or
without authorization please notify us immediately by return e-mail
or otherwise and permanently delete the entire communication from
any computer, disk drive, or other storage medium.


Re: Running multiple phases on multimodules.

2010-03-24 Thread Justin Edelson
It's still unclear why the traditional way of invoking Maven (i.e. allowing
each project to run through the requested lifecycle phases/goals) is not
working for you. Perhaps we can find a better solution to that problem
rather than working around it in this way.

The commands/scripts provided in this thread will only work on a *nix
environment. You can probably do something similar with PowerShell, but
again, I think it'd be better to figure out why mvn clean install doesn't
work.

Justin

On Wed, Mar 24, 2010 at 6:52 PM, Compere, Lydie 
lydie.comp...@tdassurance.com wrote:

 Thank you for your replies.

 I am on a Windows machine.

 mvn clean install was an example but  I actually have a case where I need
 to have a list of phases run like

[maven-phase-1] child-A
[maven-phase-1] child-B
[maven-phase-1] child-C

[maven-phase-2] child-A
[maven-phase-2] child-B
[maven-phase-2] child-C

 I take this is possible on unix/linux/.. Machines but not on Windows Is
 that correct?






 TD Assurance réfère collectivement à toutes les entités et
 activités Canadiennes d'assurance des particuliers au sein de
 TDBFG.
 TD Insurance refers collectively to all of the Canadian personal
 lines insurance entities and activities within TDBFG.
 -
 AVIS DE CONFIDENTIALITE.

 Ce courriel, ainsi que tout renseignement ci-inclus, destiné
 uniquement au(x) destinataire(s) susmentionné(s), est confidentiel.
 Si vous n'êtes pas le destinataire prévu ou un agent responsable de
 la livraison de ce courriel, tout examen, divulgation, copie,
 impression, reproduction, distribution ou autre utilisation de
 toute partie de ce courriel est strictement interdit de même que
 toute action ou manquement à l'égard de celui-ci. Si vous avez reçu
 ce message par erreur ou sans autorisation, veuillez en aviser
 immédiatement l'expéditeur par retour de courriel ou par un autre
 moyen et supprimez immédiatement et entièrement cette communication
 de tout système électronique.

 NOTICE OF CONFIDENTIALITY.

 This communication, including any information transmitted with it,
 is intended only for the use of the addressee(s) and is
 confidential. If you are not an intended recipient or responsible
 for delivering the message to an intended recipient, any review,
 disclosure, conversion to hard copy, dissemination, reproduction or
 other use of any part of this communication is strictly prohibited,
 as is the taking or omitting of any action in reliance upon this
 communication. If you received this communication in error or
 without authorization please notify us immediately by return e-mail
 or otherwise and permanently delete the entire communication from
 any computer, disk drive, or other storage medium.



Re: Running multiple phases on multimodules.

2010-03-24 Thread Wayne Fay
 mvn clean install was an example but  I actually have
 a case where I need to have a list of phases run like

Again... you haven't told us WHY you need to do this. Until you do
that, we'll just keep throwing out slightly ridiculous (albeit
working) solutions to your problem.

What is it about Maven's normal way of processing multimodules that is
not acceptable to you?

Wayne

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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Justin Edelson
It's not really current, but interested parties should see
http://en.wikipedia.org/wiki/Underpants_gnome

On Wed, Mar 24, 2010 at 5:52 PM, Kathryn Huxtable 
kath...@kathrynhuxtable.org wrote:

 I believe he was using some current American television slang from South
 Park. (The profit reference.)

 The basic idea is to run the clean goal as a maven command, and when it
 completes, run the install goal in a separate maven command.

 -K

 On Mar 24, 2010, at 4:48 PM, Compere, Lydie wrote:

  Hello and thank you for your quick reply Jesse.
 
  Please pardon my ignorance but I'm not sure I understand.
 
  Would it be possible for you to clarify??
 
  Thanks again!
  _
 
 
  From Jesse Farinacci jie...@gmail.com Subject Re: Running multiple
 phases on multimodules. Date Wed, 24 Mar 2010 21:22:49 GMT
  Hi Lydie,
 
  On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie
  lydie.comp...@tdassurance.com wrote:
 
  WHAT I WOULD LIKE MAVEN TO DO IS:
 
  ? ? ? ?clean Child-A
  ? ? ? ?clean Child-B
  ? ? ? ?clean Child-C
 
  ? ? ? ?install Child-A
  ? ? ? ?install Child-B
  ? ? ? ?install Child-C
 
  Is this possible??
 
 
  $ mvn clean ; mvn install ; echo profit!
 
  -Jesse
 
  --
  There are 10 types of people in this world, those
  that can read binary and those that can not.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
  _
 
  Hello,
 
  I wonder if anyone ever had this 'request'.
 
  I have a multimodule pom and would like to run, say, phases clean and
 install.  Thing is, I would like the clean phase to be run on all my modules
 AND THEN have the install phase run on all my modules.  Is that possible?
 
  Ex.:
 
  Module-1
 Child-A
 Child-B
 Child-C
 
  If, at root (Module-1), I do mvn clean install, Maven will:
 
 clean Child-A, install Child-A
 clean Child-B, install Child-B
 clean Child-C, install Child-C
 
  WHAT I WOULD LIKE MAVEN TO DO IS:
 
 clean Child-A
 clean Child-B
 clean Child-C
 
 install Child-A
 install Child-B
 install Child-C
 
  Is this possible??
 
 
 
 
 
  TD Assurance réfère collectivement à toutes les entités et
  activités Canadiennes d'assurance des particuliers au sein de
  TDBFG.
  TD Insurance refers collectively to all of the Canadian personal
  lines insurance entities and activities within TDBFG.
  -
  AVIS DE CONFIDENTIALITE.
 
  Ce courriel, ainsi que tout renseignement ci-inclus, destiné
  uniquement au(x) destinataire(s) susmentionné(s), est confidentiel.
  Si vous n'êtes pas le destinataire prévu ou un agent responsable de
  la livraison de ce courriel, tout examen, divulgation, copie,
  impression, reproduction, distribution ou autre utilisation de
  toute partie de ce courriel est strictement interdit de même que
  toute action ou manquement à l'égard de celui-ci. Si vous avez reçu
  ce message par erreur ou sans autorisation, veuillez en aviser
  immédiatement l'expéditeur par retour de courriel ou par un autre
  moyen et supprimez immédiatement et entièrement cette communication
  de tout système électronique.
 
  NOTICE OF CONFIDENTIALITY.
 
  This communication, including any information transmitted with it,
  is intended only for the use of the addressee(s) and is
  confidential. If you are not an intended recipient or responsible
  for delivering the message to an intended recipient, any review,
  disclosure, conversion to hard copy, dissemination, reproduction or
  other use of any part of this communication is strictly prohibited,
  as is the taking or omitting of any action in reliance upon this
  communication. If you received this communication in error or
  without authorization please notify us immediately by return e-mail
  or otherwise and permanently delete the entire communication from
  any computer, disk drive, or other storage medium.


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




RE: Class not found refloated

2010-03-24 Thread Martin Gainty

Guten Tag

 

you might want to consider implementing a custom classloader which is 
configurable via a properties file

 

  build
plugins
  plugin
groupIdorg.apache.maven.its.plugins/groupId
artifactIdmaven-it-plugin-class-loader/artifactId
executions
  execution
idtest/id
phasevalidate/phase
configuration
  resourcePathsmng-2174.properties/resourcePaths
  
pluginClassLoaderOutputtarget/pcl.properties/pluginClassLoaderOutput
/configuration
goals
  goalload/goal
/goals
  /execution
/executions
  /plugin
/plugins
  /build

Saludos Cordiales desde EEUU!
Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

 Date: Wed, 24 Mar 2010 16:08:29 -0400
 From: h...@welinux.cl
 To: users@maven.apache.org
 Subject: Class not found refloated
 
 Hi,
 
 Mi company is moving from ant to maven in an eclipse environment: eclipse 
 Galileo and m2eclise 0.10 with Tomcat 6 and JRE 6.
 
 We are completely refactoring and old Ant project, and the problem we are 
 experiencing seems to be and old one, from time to time (ten minutes or so 
 depending), the system starts with class not found exceptions, i've checked 
 various postings without solving definitively the problem:
 
 - Putting maven libraries abobe JRE.
 - Project/clean and then Update maven dependencies (and reverse).
 - Drop and recreate tomcat servers.
 
 Two rounds of the above and the project starts to work again, but is very 
 frustrating.
 
 ... i would like to know if there is something official in relation to this ?
 
 Any help will be appreciated.
 Hans
 
 -- 
 Hans Poo, WeLinux S.A. http://www.welinux.cl
 Office: 56-2-697.25.42, Mobile: 09-319.93.05
 Bombero Ossa # 1010, Santiago, Chile
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/

mvn install:help and mvn help:describe for install plugin are at odds ...

2010-03-24 Thread Kedar Mhaswade

Is this a bug?

mvn help:describe goal suggests that standard maven install plugin has three
goals: install:help, install:install and install:install-file. On doing mvn
install:help however, maven says there is no such goal!

Here is the entire interaction:
vp2c01a-dhcp147:example kedar$ mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.6.0_17
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: mac os x version: 10.6.3 arch: x86_64 Family: mac
vp2c01a-dhcp147:example kedar$ mvn help:describe
-Dplugin=org.apache.maven.plugins:maven-install-plugin
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO]

[INFO] Building example
[INFO]task-segment: [help:describe] (aggregator-style)
[INFO]

[INFO] [help:describe {execution: default-cli}]
[INFO] org.apache.maven.plugins:maven-install-plugin:2.3

Name: Maven Install Plugin
Description: Copies the project artifacts to the user's local repository.
Group Id: org.apache.maven.plugins
Artifact Id: maven-install-plugin
Version: 2.3
Goal Prefix: install

This plugin has 3 goals:

install:help
  Description: Display help information on maven-install-plugin.
Call
 mvn install:help -Ddetail=true -Dgoal=goal-name
to display parameter details.
  Deprecated. No reason given

install:install
  Description: Installs the project's main artifact in the local repository.
  Deprecated. No reason given

install:install-file
  Description: Installs a file in the local repository.
  Deprecated. No reason given

For more information, run 'mvn help:describe [...] -Ddetail'

[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Wed Mar 24 16:52:58 PDT 2010
[INFO] Final Memory: 10M/79M
[INFO]

vp2c01a-dhcp147:example kedar$ mvn install:help
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Required goal not found: install:help in
org.apache.maven.plugins:maven-install-plugin:2.2
[INFO]

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

[INFO] Total time:  1 second
[INFO] Finished at: Wed Mar 24 16:53:07 PDT 2010
[INFO] Final Memory: 3M/79M
[INFO]



Thank you!

-Kedar
-- 
View this message in context: 
http://n2.nabble.com/mvn-install-help-and-mvn-help-describe-for-install-plugin-are-at-odds-tp4794693p4794693.html
Sent from the maven users mailing list archive at Nabble.com.

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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Stephen Connolly

mvn clean  mvn install  echo profit

works on xp for me with regular cmd

Sent from my [rhymes with tryPod] ;-)

On 24 Mar 2010, at 22:04, Wendy Smoak wsm...@gmail.com wrote:


On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay wayne...@gmail.com wrote:


$ mvn clean ; mvn install ; echo profit!


Did you try Jesse's suggestion on the command line? It does exactly
what you requested.


... unless he's on Windows, where there's no way to do it on one line
afaik.  Happy to be proven wrong though!

--
Wendy

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



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



Re: mvn install:help and mvn help:describe for install plugin are at odds ...

2010-03-24 Thread Wayne Fay
 [INFO] org.apache.maven.plugins:maven-install-plugin:2.3
...
 org.apache.maven.plugins:maven-install-plugin:2.2

Perhaps it was added in 2.3? I don't know this for sure, but assume
you can check the source code or docs and figure it out.

Wayne

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



Re: Running multiple phases on multimodules.

2010-03-24 Thread Kathryn Huxtable
Well, no, but there have been recent allusions to it in the left-wing political 
blogs I read. -K

On Mar 24, 2010, at 6:00 PM, Justin Edelson wrote:

 It's not really current, but interested parties should see
 http://en.wikipedia.org/wiki/Underpants_gnome
 
 On Wed, Mar 24, 2010 at 5:52 PM, Kathryn Huxtable 
 kath...@kathrynhuxtable.org wrote:
 
 I believe he was using some current American television slang from South
 Park. (The profit reference.)
 
 The basic idea is to run the clean goal as a maven command, and when it
 completes, run the install goal in a separate maven command.
 
 -K
 
 On Mar 24, 2010, at 4:48 PM, Compere, Lydie wrote:
 
 Hello and thank you for your quick reply Jesse.
 
 Please pardon my ignorance but I'm not sure I understand.
 
 Would it be possible for you to clarify??
 
 Thanks again!
 _
 
 
 From Jesse Farinacci jie...@gmail.com Subject Re: Running multiple
 phases on multimodules. Date Wed, 24 Mar 2010 21:22:49 GMT
 Hi Lydie,
 
 On Wed, Mar 24, 2010 at 4:59 PM, Compere, Lydie
 lydie.comp...@tdassurance.com wrote:
 
 WHAT I WOULD LIKE MAVEN TO DO IS:
 
 ? ? ? ?clean Child-A
 ? ? ? ?clean Child-B
 ? ? ? ?clean Child-C
 
 ? ? ? ?install Child-A
 ? ? ? ?install Child-B
 ? ? ? ?install Child-C
 
 Is this possible??
 
 
 $ mvn clean ; mvn install ; echo profit!
 
 -Jesse
 
 --
 There are 10 types of people in this world, those
 that can read binary and those that can not.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 _
 
 Hello,
 
 I wonder if anyone ever had this 'request'.
 
 I have a multimodule pom and would like to run, say, phases clean and
 install.  Thing is, I would like the clean phase to be run on all my modules
 AND THEN have the install phase run on all my modules.  Is that possible?
 
 Ex.:
 
 Module-1
   Child-A
   Child-B
   Child-C
 
 If, at root (Module-1), I do mvn clean install, Maven will:
 
   clean Child-A, install Child-A
   clean Child-B, install Child-B
   clean Child-C, install Child-C
 
 WHAT I WOULD LIKE MAVEN TO DO IS:
 
   clean Child-A
   clean Child-B
   clean Child-C
 
   install Child-A
   install Child-B
   install Child-C
 
 Is this possible??
 
 
 
 
 
 TD Assurance réfère collectivement à toutes les entités et
 activités Canadiennes d'assurance des particuliers au sein de
 TDBFG.
 TD Insurance refers collectively to all of the Canadian personal
 lines insurance entities and activities within TDBFG.
 -
 AVIS DE CONFIDENTIALITE.
 
 Ce courriel, ainsi que tout renseignement ci-inclus, destiné
 uniquement au(x) destinataire(s) susmentionné(s), est confidentiel.
 Si vous n'êtes pas le destinataire prévu ou un agent responsable de
 la livraison de ce courriel, tout examen, divulgation, copie,
 impression, reproduction, distribution ou autre utilisation de
 toute partie de ce courriel est strictement interdit de même que
 toute action ou manquement à l'égard de celui-ci. Si vous avez reçu
 ce message par erreur ou sans autorisation, veuillez en aviser
 immédiatement l'expéditeur par retour de courriel ou par un autre
 moyen et supprimez immédiatement et entièrement cette communication
 de tout système électronique.
 
 NOTICE OF CONFIDENTIALITY.
 
 This communication, including any information transmitted with it,
 is intended only for the use of the addressee(s) and is
 confidential. If you are not an intended recipient or responsible
 for delivering the message to an intended recipient, any review,
 disclosure, conversion to hard copy, dissemination, reproduction or
 other use of any part of this communication is strictly prohibited,
 as is the taking or omitting of any action in reliance upon this
 communication. If you received this communication in error or
 without authorization please notify us immediately by return e-mail
 or otherwise and permanently delete the entire communication from
 any computer, disk drive, or other storage medium.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 


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



Running multiple phases on multimodules.

2010-03-24 Thread Compere, Lydie
Hello,

I wonder if anyone ever had this 'request'.

I have a multimodule pom and would like to run, say, phases clean and install.  
Thing is, I would like the clean phase to be run on all my modules AND THEN 
have the install phase run on all my modules.  Is that possible?

Ex.:

Module-1
Child-A
Child-B
Child-C

If, at root (Module-1), I do mvn clean install, Maven will:

clean Child-A, install Child-A
clean Child-B, install Child-B
clean Child-C, install Child-C

WHAT I WOULD LIKE MAVEN TO DO IS:

clean Child-A
clean Child-B
clean Child-C

install Child-A
install Child-B
install Child-C

Is this possible??





TD Assurance réfère collectivement à toutes les entités et
activités Canadiennes d'assurance des particuliers au sein de
TDBFG. 
TD Insurance refers collectively to all of the Canadian personal
lines insurance entities and activities within TDBFG. 
-
AVIS DE CONFIDENTIALITE. 

Ce courriel, ainsi que tout renseignement ci-inclus, destiné
uniquement au(x) destinataire(s) susmentionné(s), est confidentiel.
Si vous n'êtes pas le destinataire prévu ou un agent responsable de
la livraison de ce courriel, tout examen, divulgation, copie,
impression, reproduction, distribution ou autre utilisation de
toute partie de ce courriel est strictement interdit de même que
toute action ou manquement à l'égard de celui-ci. Si vous avez reçu
ce message par erreur ou sans autorisation, veuillez en aviser
immédiatement l'expéditeur par retour de courriel ou par un autre
moyen et supprimez immédiatement et entièrement cette communication
de tout système électronique. 

NOTICE OF CONFIDENTIALITY. 

This communication, including any information transmitted with it,
is intended only for the use of the addressee(s) and is
confidential. If you are not an intended recipient or responsible
for delivering the message to an intended recipient, any review,
disclosure, conversion to hard copy, dissemination, reproduction or
other use of any part of this communication is strictly prohibited,
as is the taking or omitting of any action in reliance upon this
communication. If you received this communication in error or
without authorization please notify us immediately by return e-mail
or otherwise and permanently delete the entire communication from
any computer, disk drive, or other storage medium.