weblogic-maven-plugin

2009-01-30 Thread David
Hello All,

Has anyone had any luck using the appc goal of the weblogic-maven-plugin.  I
keep getting a xml class not found error.  I've added all the jars that I'm
suppose to per the website.  I'm using 9.2.1 of the plugin and weblogic.

Thanks,

David


RE : RE : RE : maven / osgi / repositories

2009-01-30 Thread Deneux, Christophe
Sorry, but I haven't a such POM.
 
Moreover, I think that you should define different profiles: one for the 
standard jar (without maven-assembly-plugin), another for the OSGI jar (whith 
the maven-assembly-plugin). It seems to me that when using the 
maven-assembly-plugin with the goal attach only the jar generated by the 
maven-assembly-plugin can be deployed (through maven-deploy-plugin). So to be 
able to deploy the both JARs you need two profiles.
 
___
Christophe DENEUX / Capgemini Sud / Méditerranée
Integration Architect / OW2 PEtALS Comitter
Tel: + 33 4 93 95 55 92 / www.capgemini.com http://www.capgemini.com/ 
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
___
Please consider the environment and do not print this email unless absolutely 
necessary. Capgemini encourages environmental awareness.



De: Henri Gomez [mailto:henri.go...@gmail.com]
Date: jeu. 29/01/2009 10:39
À: Maven Users List
Objet : Re: RE : RE : maven / osgi / repositories



Good idea.

Did you have sample pom.xml for study ?

Thanks Christophe

2009/1/29 Deneux, Christophe christophe.den...@capgemini.com:
 In your OSGI bundle project, you will use the maven-assembly-plugin to 
 generate your OSGI bundle artifact (artifactId-version-classifier.jar) with:
   - configuration of the Manifest to specify specific OSGI information:
 plugin
artifactIdmaven-assembly-plugin/artifactId
configuration
  [...]
  archive
manifest
  [...]
/manifest
  /archive
/configuration
[...]
  /plugin
- a classifier set in the assembly id of the assembly descriptor.


 To reference a dependence on a OSGI bundle, you should use the dependencies 
 mechanism:
  dependencies
 [...]
dependency
groupIdorg.apache.ant/groupId
artifactIdant/artifactId
version1.7.1/version
classifierosgi/classifier
/dependency
 [...]
  /dependencies

 So you have in your repository: an artifact usable as simple library (the 
 default artifact) and another one usable as a OSGI bundle.
 I never try a such configuration, but I imagine that it should work fine.


 ___
 Christophe DENEUX / Capgemini Sud / Méditerranée
 Integration Architect / OW2 PEtALS Comitter
 www.capgemini.com http://www.capgemini.com/
 Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
 Join the Collaborative Business Experience
 ___
 Please consider the environment and do not print this email unless absolutely 
 necessary. Capgemini encourages environmental awareness.

 

 De: Henri Gomez [mailto:henri.go...@gmail.com]
 Date: mer. 28/01/2009 18:04
 À: Maven Users List
 Objet : Re: RE : maven / osgi / repositories



 2009/1/28 Deneux, Christophe christophe.den...@capgemini.com:
 Isn't the role of the classifier field ?

 instead of :

 groupIdorg.apache.ant/groupId
 artifactIdant/artifactId
 version1.7.1/version

 we could use :

 groupIdorg.apache.ant/groupId
 artifactIdant/artifactId
 version1.7.1/version
 classifierosgi/classifier

 Good but how do you specify such classifier in dependants projects ?

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









 This message contains information that may be privileged or confidential and 
 is the property of the Capgemini Group. It is
 intended only for the person to whom it is addressed. If you are not the 
 intended recipient, you are not authorized to
 read, print, retain, copy, disseminate, distribute, or use this message or 
 any part thereof. If you receive this message
 in error, please notify the sender immediately and delete all copies of this 
 message.


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









This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.


Including project's sources in the same war file. Best practise?

2009-01-30 Thread Yves Dessertine
Hi.

I've been asked to include a project's sources into the same war (it
is a war webapp). Where the best place to put the sources in the war
file?
What's the best way to do this ?

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



AW: RE : RE : RE : maven / osgi / repositories

2009-01-30 Thread Mark Struberg
Nope Christope, if you use the assembly plugin you'll usually get

[artifactId]-[version]-[assemblyId].[assemblytype]

e.g.
distribution-1.0.0-SNAPSHOT-dist-binary.zip

if I use

 iddist-binary/id

in src/assembly/dist-binary.xml in _addition_ to the normal build artifact.

But keep up the good discussion about OSGi.

What about the maven-osgi-plugin [1] or the even better the maven-bundle-plugin 
[2] the felix folks use?
Has anyone experience with one of those yet?

LieGrue,
strub

[1] http://mavenosgiplugin.berlios.de/
[2] http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html


--- Deneux, Christophe christophe.den...@capgemini.com schrieb am Fr, 
30.1.2009:

 Von: Deneux, Christophe christophe.den...@capgemini.com
 Betreff: RE : RE : RE : maven / osgi / repositories
 An: Maven Users List users@maven.apache.org, Maven Users List 
 users@maven.apache.org
 Datum: Freitag, 30. Januar 2009, 9:12
 Sorry, but I haven't a such POM.
  
 Moreover, I think that you should define different
 profiles: one for the standard jar (without
 maven-assembly-plugin), another for the OSGI jar (whith the
 maven-assembly-plugin). It seems to me that when using the
 maven-assembly-plugin with the goal attach only
 the jar generated by the maven-assembly-plugin can be
 deployed (through maven-deploy-plugin). So to be able to
 deploy the both JARs you need two profiles.
  
 ___
 Christophe DENEUX / Capgemini Sud / Méditerranée
 Integration Architect / OW2 PEtALS Comitter
 Tel: + 33 4 93 95 55 92 / www.capgemini.com
 http://www.capgemini.com/ 
 Porte de l'Arénas - Entrée B / 455 Promenade des
 Anglais / 06200 Nice / FRANCE
 Join the Collaborative Business Experience
 ___
 Please consider the environment and do not print this email
 unless absolutely necessary. Capgemini encourages
 environmental awareness.
 
 
 
 De: Henri Gomez [mailto:henri.go...@gmail.com]
 Date: jeu. 29/01/2009 10:39
 À: Maven Users List
 Objet : Re: RE : RE : maven / osgi / repositories
 
 
 
 Good idea.
 
 Did you have sample pom.xml for study ?
 
 Thanks Christophe
 
 2009/1/29 Deneux, Christophe
 christophe.den...@capgemini.com:
  In your OSGI bundle project, you will use the
 maven-assembly-plugin to generate your OSGI bundle artifact
 (artifactId-version-classifier.jar) with:
- configuration of the Manifest to specify specific
 OSGI information:
  plugin

 artifactIdmaven-assembly-plugin/artifactId
 configuration
   [...]
   archive
 manifest
   [...]
 /manifest
   /archive
 /configuration
 [...]
   /plugin
 - a classifier set in the assembly id of the
 assembly descriptor.
 
 
  To reference a dependence on a OSGI bundle, you should
 use the dependencies mechanism:
   dependencies
  [...]
 dependency

 groupIdorg.apache.ant/groupId

 artifactIdant/artifactId
 version1.7.1/version

 classifierosgi/classifier
 /dependency
  [...]
   /dependencies
 
  So you have in your repository: an artifact usable as
 simple library (the default artifact) and another one usable
 as a OSGI bundle.
  I never try a such configuration, but I imagine that
 it should work fine.
 
 
 
 ___
  Christophe DENEUX / Capgemini Sud / Méditerranée
  Integration Architect / OW2 PEtALS Comitter
  www.capgemini.com http://www.capgemini.com/
  Porte de l'Arénas - Entrée B / 455 Promenade des
 Anglais / 06200 Nice / FRANCE
  Join the Collaborative Business Experience
 
 ___
  Please consider the environment and do not print this
 email unless absolutely necessary. Capgemini encourages
 environmental awareness.
 
  
 
  De: Henri Gomez [mailto:henri.go...@gmail.com]
  Date: mer. 28/01/2009 18:04
  À: Maven Users List
  Objet : Re: RE : maven / osgi / repositories
 
 
 
  2009/1/28 Deneux, Christophe
 christophe.den...@capgemini.com:
  Isn't the role of the classifier
 field ?
 
  instead of :
 
  groupIdorg.apache.ant/groupId
  artifactIdant/artifactId
  version1.7.1/version
 
  we could use :
 
  groupIdorg.apache.ant/groupId
  artifactIdant/artifactId
  version1.7.1/version
  classifierosgi/classifier
 
  Good but how do you specify such classifier in
 dependants projects ?
 
 
 -
  To unsubscribe, e-mail:
 users-unsubscr...@maven.apache.org
  For additional commands, e-mail:
 users-h...@maven.apache.org
 
 
 
 
 
 
 
 
 
  This message contains information that may be
 privileged or confidential and is the property of the
 

Re: Including project's sources in the same war file. Best practise?

2009-01-30 Thread jieryn
Hello,

On Fri, Jan 30, 2009 at 4:34 AM, Yves Dessertine yvesd.pub...@gmail.com wrote:
 Hi.

 I've been asked to include a project's sources into the same war (it
 is a war webapp). Where the best place to put the sources in the war
 file?
 What's the best way to do this ?


Probably the easiest way would be to do this:

  build
resources
  resource
directorysrc/main/java/directory
  /resource
/resources
  /build

Which has the effect of copying the resources into your output
directory. Good luck,

-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



Styling doxia generated books

2009-01-30 Thread Rodrigo Ruiz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I would like to use Doxia to generate some documentation in printable
format, and I was wondering if I can control the some style aspects of
the output documents.

For example, for the PDF output I would like to:

- - Include a table of contents and/or indexes
- - Create a cover page
- - Specify fonts and margins
- - Specify headers and footers

Is it possible with Doxia as it is, or do I have to develop my own
render to achieve this?


Regards,
Rodrigo

- --
- ---
GRID SYSTEMS, S.A. Rodrigo Ruiz
Parc Bit - Edificio 17 Research Coordinator
07121 Palma de Mallorca
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (MingW32)

iD8DBQFJguuBp9m/F5UenDoRAvQ0AJ0QU6z9aOT1+IlptDa5ktJuLcUIZwCfVzPx
dD8RBai1wQywmgD34shwJgY=
=X6dT
-END PGP SIGNATURE-

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



Web library project archive conflicts with another archive also mapped to the WEB-INF/lib folder.

2009-01-30 Thread Yves Dessertine
Hi,

another error in the web project (in Eclipse) :
Web library project archive commons-lang-1.0.1.jar conflicts with
another archive also mapped to the WEB-INF/lib folder.

I join a screenshot of the java Build Path window. All the libs after
commons-lang are missing. What's going on ?

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

Re: Unable to exclude Selenium tests from my war

2009-01-30 Thread Rene A

Thanks, but moving my selenium tests to src/test improve my structure and by
doing so, clean's my .war

Regards

Rene


Jeff MAURY wrote:
 
 According to the Maven conventions, you selenium tests should be under the
 src/test subdirectory and not inside your webapp. So that; the Maven WAR
 plugin will not include them in the resulting WAR.
 
 Regards
 Jeff MAURY
 
 On Wed, Jan 28, 2009 at 2:13 PM, Rene A lifestyl...@hotmail.com wrote:
 

 Hi, I'm trying to exclude my Selenium tests from the production .war,
 here
 is
 my structure

 Projet
 |pom.xml
 |-src
 |  `--main
 |  `--webapp
 |   `--selenium
 |  `--resources
 |  `--java

 and so on.

 i'm using profiles to help me clean my war, so that when it goes into
 production, it doesn't have any of our tests.

 so here is my profile
 profile
idconfig-Prod/id
build
   plugins
plugin
   
 groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
version2.0/version
configuration

  packagingExcludessrc/main/webapp/selenium*.html/packagingExcludes
/configuration
/plugin
/plugins
/build
 /profile

 i also tried in the configuration the following :
 webResources
resource
   directorysrc/main/webapp/selenium/directory
excludes
exclude*.html/exclude
/excludes
/resource
 /webResources


 Does anybody know why the exclusion doesn't work ?

 Thanks


 --
 View this message in context:
 http://www.nabble.com/Unable-to-exclude-Selenium-tests-from-my-war-tp21705434p21705434.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


 
 
 -- 
 La mélancolie c'est communiste
 Tout le monde y a droit de temps en temps
 La mélancolie n'est pas capitaliste
 C'est même gratuit pour les perdants
 La mélancolie c'est pacifiste
 On ne lui rentre jamais dedans
 La mélancolie oh tu sais ça existe
 Elle se prend même avec des gants
 La mélancolie c'est pour les syndicalistes
 Il faut juste sa carte de permanent
 
 Miossec (2006)
 
 http://www.jeffmaury.com
 http://riadiscuss.jeffmaury.com
 http://www.lastfm.fr/listen/user/jeffmaury/personal
 Mes CDs à récupérer:
 http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTAhl=en
 
 
 -
 http://riadiscuss.blogspot.com 
 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-exclude-Selenium-tests-from-my-war-tp21705434p21746925.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



Changelog plugin can't show only differences?

2009-01-30 Thread Czollli

Hello,

does anybody meet this requirement showing only the
differences between two file versions in a report?
Or only mark the changes in the file?
Is there maybe a plugin to fulfill this, or I have to think about
writing a new one?

Thanks
Czollli
-- 
View this message in context: 
http://www.nabble.com/Changelog-plugin-can%27t-show-only-differences--tp21747016p21747016.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



[archiva] Changing the identifier ID for internal and snapshot?

2009-01-30 Thread Mick Knutson
How can I change the identifier ID for the internal and snapshot
repositories?

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring  Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---


Re: maven eclipse work space resolution doesnot work

2009-01-30 Thread Baptiste MATHUS
Hi,

First you should be aware there's a dedicated user list for M2E where more
users should be able to help.
Second, the workspace resolution works really fine for me, so at least it's
working for some use cases. So I guess we'll need more details about your
configuration to help you.

What Eclipse version are you using? What M2E version? What it the content of
you .classpath file? Are you using the embedded maven or an external
installation (see window/preferences/maven/installations)...

Cheers.

2009/1/30 Shehan Simen ssi...@itree.com.au

 Hi all,
 I'm using eclipse maven (m2) plugin. I have a maven project which has a
 parent maven project and another maven project. But when I  enable the work
 space resolution and run the project, I am getting a run time error that it
 cannot find the other dependent classes in other maven projects. So I have
 to disable the work space resolution to run the project (so it will copy the
 jars in to my lib). But when I need to debug, it is not possible as I cannot
 jump in to the code of other maven projects (or even to the parent project).
 How to solve this issue? Why the enable work space resolution does not
 work properly? Thanks in advance.





-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: nexus can't find maven-archetype-plugin?

2009-01-30 Thread David Weintraub
Have you tried logging in as the user running Hudson, then cd to the
~/.hudson/jobs/$PROJECT/workspace directory and building it manually?

Most of the time, this will help pin point out the type of errors
you're getting.

It sounds like Maven isn't setup to point to the Maven repositories.

BTW, why would Hudson be running the architype-plugin anyway? This is
used to setup an initial work area for a Maven project. It requires
command line input which I suspect may be the problem.

On Wed, Jan 28, 2009 at 4:16 AM, Jens Rapp tec_la...@gmx.de wrote:
 hi,
 i'm playing around with nexus as repository manager and now have a little 
 problem: the maven-archetype-plugin can't be found. most of the other plugins 
 work
 maven uses the standard public repository group in nexus.
 what do i have to do for being able to use em all???

 --
 Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
 http://www.gmx.net/de/go/multimessenger

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





-- 
--
David Weintraub
qazw...@gmail.com

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



Customize properties in an already packaged application

2009-01-30 Thread Cecchi Sandrone

Hi all,
In my build scenario I have this problem...

1) A packaged war is available to download (from a website) for the user. It
contains all properties specified in the pom (also database connection
properties) that substitute those specified in the hibernate.properties
during the filtering phase.
2) Obviously every user has his own database configuration and wants to
customize these parameters (username, password, etc).

How can I solve this problem without burdening too much the unqualified user
from configuration details? Ideally, He wants a war package + an easy
configuration file to enjoy the application...

Thanks in advance for every advice.


-- 
View this message in context: 
http://www.nabble.com/Customize-properties-in-an-already-packaged-application-tp21747726p21747726.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: [archiva] Changing the identifier ID for internal and snapshot?

2009-01-30 Thread Wendy Smoak
On Fri, Jan 30, 2009 at 6:41 AM, Mick Knutson mknut...@baselogic.com wrote:
 How can I change the identifier ID for the internal and snapshot
 repositories?

Add a new repository with the desired name and the same configuration,
then delete 'internal'.  (Repeat for 'snapshots').

-- 
Wendy

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



Re: [archiva] Changing the identifier ID for internal and snapshot?

2009-01-30 Thread Wendy Smoak
On Fri, Jan 30, 2009 at 7:50 AM, Wendy Smoak wsm...@gmail.com wrote:
 On Fri, Jan 30, 2009 at 6:41 AM, Mick Knutson mknut...@baselogic.com wrote:
 How can I change the identifier ID for the internal and snapshot
 repositories?

 Add a new repository with the desired name and the same configuration,
 then delete 'internal'.  (Repeat for 'snapshots').

Oops... I'm guessing this belongs on the Archiva mailing list, I
didn't notice the address until too late. :)

-- 
Wendy

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



Forward invocation to child module

2009-01-30 Thread monkeyden

Is there a way to invoke a goal on a parent pom and forward that on to a
child module?  I want to use jboss:deploy at the parent level, but I have a
child ear project which contains the *.ear file.  The jboss:deploy depends
on the ear file being in the the target directory, but it does not exist at
the parent level.

Thanks
-- 
View this message in context: 
http://www.nabble.com/Forward-invocation-to-child-module-tp21748845p21748845.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: [archiva] Changing the identifier ID for internal and snapshot?

2009-01-30 Thread Mick Knutson
That did not work. It keeps saying the database row does not exist.

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring  Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Fri, Jan 30, 2009 at 9:52 AM, Wendy Smoak wsm...@gmail.com wrote:

 On Fri, Jan 30, 2009 at 7:50 AM, Wendy Smoak wsm...@gmail.com wrote:
  On Fri, Jan 30, 2009 at 6:41 AM, Mick Knutson mknut...@baselogic.com
 wrote:
  How can I change the identifier ID for the internal and snapshot
  repositories?
 
  Add a new repository with the desired name and the same configuration,
  then delete 'internal'.  (Repeat for 'snapshots').

 Oops... I'm guessing this belongs on the Archiva mailing list, I
 didn't notice the address until too late. :)

 --
 Wendy

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




Re: [archiva] Changing the identifier ID for internal and snapshot?

2009-01-30 Thread Wendy Smoak
On Fri, Jan 30, 2009 at 8:17 AM, Mick Knutson mickknut...@gmail.com wrote:

 That did not work. It keeps saying the database row does not exist.

Okay, let's take this to the Archiva users list then. :)  If you're
not already subscribed, you can find info here:
http://archiva.apache.org/mail-lists.html

-- 
Wendy

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



Re: Plugin calling shell script

2009-01-30 Thread Pankaj Tandon

Thanks Gabriele,
That is a really good solution.. altho a bit of an overkill in my situation
but does separate plugin and the scripts, as they should be. 
I'll try it and post to the group.

Pankaj


Gabriele Columbro-2 wrote:
 
 What about packaging another jar which holds your script (s)  (e.g.
 mojo-scritps.jar) and add this in the specific plugin dependencies
 section,
 something like:
 
 plugin
 dependencies
dependency
  artifactIdmojo-scripts.jar/artifactId
   /dependency
 /dependencies
 /plugin
 
 
 Would this solve your problem? (not sure if I completely understood the
 problem)
 
 HTH,
 Gab
 
 
 2009/1/29 Pankaj Tandon pankajtan...@gmail.com
 

 Hello,
 I have written a plugin that uses Wagon to remotely execute a command on
 a
 remote machine. But now I find that instead of executing a simple unix
 command, I need to execute a whole shell script.
 So I created a shell script and placed it in src/main/resources, so that
 it
 correctly gets bundled in the root of my plugin jar.
 However, the problem is that how do users of my plugin get at that shell
 script.
 My users have configured my plugin in their poms. The corporate maven
 repo
 holds my plugin jar also. But when they run the mvn command, and my
 plugin
 is dutifully downloaded from the corporate maven repo to their local
 repo.
 From there, however, things don't work. The plugin cannot find the shell
 script because altho the shell script is in the plugin jar (in their
 local
 repo), it is not in the classpath of the maven execution.

 So how do I invoke a shell script that is bundled as a part of the
 plugin?

 I even tried
 URL url = MultiplexerMojo.class.getResource(sql.bash);

 but url evaluates to null because sql.bash is not found (because the
 plugin
 jar is not in the cp).

 Is there anyway I can use plexus to inject the sql.bash into my plugin?
 Or
 somehow add to the classpath that is examined by maven ?

 Any help will be much appreciated!

 Thanks,
 Pankaj



 --
 View this message in context:
 http://www.nabble.com/Plugin-calling-shell-script-tp21727380p21727380.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


 
 
 -- 
 Gabriele Columbro
 Alfresco ECM Product Strategy Consultant
 +31 627 565 103
 Sourcesense - Making sense of open Source (http://www.sourcesense.com)
 
 

-- 
View this message in context: 
http://www.nabble.com/Plugin-calling-shell-script-tp21727380p21750756.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



maven scp performance issue.

2009-01-30 Thread Tang, Ray
Hi:
 
I am finally able to cover maven ftp to maven scp for deployment, but
run into performance issue.  By using the ftp, the build takes 120 min,
whereas scp takes over 180 min for the same build.  I am wondering if
there are any way to speed things up.  From searching the web, it seems
that there are a few option that can be added to scp, such as -C for
compress large data to travel faster or -c blowfish to speed up
encryption.  My question is how I can add these to maven or is whether
it's not going to help much.
 
Many Thanks.
 
Ray
 


Custom plugin and custom extension issue

2009-01-30 Thread Jason Chaffee
I am having an issue on 2.0.9.  Basicallly, I have a custom plugin that has 
it's own packaging type and creates a file of it's own extension type.  For 
example,

packagingmy-bundle/packaging

will create artifactId-version.exe

However, with maven-2.0.9 it creates the the file correcting in the target 
directory but it installs it and deploys it as artifactId-version.my-bundle.

Here is my component.xml snippet?


component-set
  components
 ...
component
  roleorg.apache.maven.artifact.handler.ArtifactHandler/role
  role-hintmy-bundle/role-hint
  
implementationorg.apache.maven.artifact.handler.DefaultArtifactHandler/implementation
  configuration
extensionexe/extension
typemy-bundle/type
packagingmy-bundle/packaging
languagejava/language
addedToClasspathtrue/addedToClasspath
  /configuration
/component
  /components
/component-set

Does anyone have any ideas what could be happening here?



Web module: three .war files

2009-01-30 Thread Les Hazlewood
Hi all,

I would like to know the Maven Way to accomplish the following:

I have a web module that is currently being built with ant but want it to be
built by Maven.  Based on a build property, one of three wars can be built.
The _only_ difference between these three .wars (when they're finished being
built) is that the web.xml file has a single Servlet context-param that has
a different value between the 3.

That is, we have a template.web.xml file with the following:
...
context-param
param-namesomeParamName/param-name
param-value@valueToBeSubstitutedAtBuildTime@/param-value
/context-param
...

Then in Ant, for each war that is created, a different value is copied into
the template by substitution in Ant's copy task.

How can I cleanly achieve this the Maven Way?  I don't mind if I have to
define 3 different web modules, but I want to ensure that I only have a
single web.xml template file in the project source tree to ensure any other
changes in it are reflected across all three generated .wars.

Any information or pointer to an existing solution is much appreciated.

Thanks!

Les


scopeimport/scope

2009-01-30 Thread EJ Ciramella
Hello m2list - 
 
I'm struggling to get the scopeimport/scope bit to work and I can't
tell if it's something I'm doing wrong or how this actually works.
 
I've set up a bom file that lists a set of dependencies that multiple
projects use.
 
In a consumer project, I've set up a dependencyManagement stanza
listing this bom as a dependency/type = pom/scope = import.
 
Now, in this same comsumer project, maven doesn't see those
dependencies.  I've even tried listing the dependencies that exist in
the bom in the consumer project (minus version info) and it still
fails.
 
How is this supposed to go together?
 
The documentation of this feature is to the Nth degree and a bit
confusing.


Oddness with release:prepare

2009-01-30 Thread James CE Johnson
(Forgive me if this is a double-post. I had to re-subscribe to the list.)

This is with maven 2.0.9 on Solaris 10 with Java 1.6.0_11

I have a project laid out thusly:

myproject/pom.xml
myproject/myproject-pom/pom.xml
myproject/myproject-api/pom.xml
myproject/myproject-common/pom.xml
myproject/myproject-console/pom.xml

The top-level pom is a minimal parent pom whose only module is
myproject/myproject-pom.

myproject/myproject-pom/pom.xml exists because Eclipse doesn't like nested
projects. So this pom has things that would typically need to be changed.

All of the other myproject/myproject-*/pom.xml are modules of
myproject/myproject-pom/pom.xml.

When I execute 'mvn release:prepare' things go well until it begins
invoking subversion. Here is the relevant bit of output from the process:
(sorry for the long lines)


[INFO] Executing: /bin/sh -c cd /export/home/ci/tmp/myproject  svn
--non-interactive commit --file /var/tmp/maven-scm-1461319678.commit
--targets /var/tmp/maven-scm-7441525038114668907-targets
[INFO] Working directory: /export/home/ci/tmp/myproject
[INFO] Executing: /bin/sh -c cd
/export/home/ci/tmp/myproject/myproject-pom  svn --non-interactive
commit --file /var/tmp/maven-scm-1292675052.commit --targets
/var/tmp/maven-scm-6618196211309587095-targets
[INFO] Working directory: /export/home/ci/tmp/myproject/myproject-pom
[INFO] Executing: /bin/sh -c cd
/export/home/ci/tmp/myproject/myproject-pom/../myproject-api  svn
--non-interactive commit --file /var/tmp/maven-scm-1794995489.commit
--targets /var/tmp/maven-scm-2050429634740604341-targets
[INFO] Working directory:
/export/home/ci/tmp/myproject/myproject-pom/../myproject-api
[INFO] Executing: /bin/sh -c cd
/export/home/ci/tmp/myproject/myproject-pom/../myproject-common  svn
--non-interactive commit --file /var/tmp/maven-scm-786958246.commit
--targets /var/tmp/maven-scm-636982206221127-targets
[INFO] Working directory:
/export/home/ci/tmp/myproject/myproject-pom/../myproject-common
[INFO] Executing: /bin/sh -c cd
/export/home/ci/tmp/myproject/myproject-pom/../myproject-console  svn
--non-interactive commit --file /var/tmp/maven-scm-637551884.commit
--targets /var/tmp/maven-scm-3757207476498104603-targets
[INFO] Working directory:
/export/home/ci/tmp/myproject/myproject-pom/../myproject-console
[INFO] Tagging release with the label myproject-1.0...
[INFO] Executing: /bin/sh -c cd /export/home/ci/tmp/myproject  svn
--non-interactive copy --file /var/tmp/maven-scm-1862162340.commit .
http://my-svn-server:/svn/myrepo/myprojects/tags/myproject-1.0
[INFO] Working directory: /export/home/ci/tmp/myproject
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: File
'/svn/myrepo/myprojects/tags/myproject-1.0/myproject-common/pom.xml'
already exists


After investigating a while and trying to reproduce the process manually,
I discovered that the error message is somewhat misleading. If I do an
'svn update' prior to the 'svn copy' then the process completes
successfully.

I put a shell script named 'svn' in my path in front of /usr/local/bin and
had that script do an 'svn update' when it sees an 'svn copy' request.
Invoking 'mvn release:prepare' with that in place will succeed.

Has anybody else seen this kind of behavior? Is there a better solution
than my hack of a workaround:

$ cat ~/bin/svn
#!/bin/bash

echo $@  ~/svn.log

if [ $1 = --non-interactive -a $2 = copy -a $3 = --file ]
then
  /usr/local/bin/svn update
fi

exec /usr/local/bin/svn $@




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



Re: Oddness with release:prepare

2009-01-30 Thread Clint Gilbert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

What version of SVN are you using?  I'm betting it's 1.5.1+.  There's a bug 
where the
release plugin can't run with SVN 1.5.1+.  1.4.x works fine, as does 1.5.0 (but 
I hear
that has some other bad bugs).

This is a real bummer, since I would love to update to SVN 1.5, but I'm stuck 
on 1.4.

I've been following the bug here:

http://jira.codehaus.org/browse/SCM-406

Apparently it's an SVN thing, not an scm plugin one, but the scm bug has a 
thorough
discussion and links to more relevant places.

James CE Johnson wrote:
 (Forgive me if this is a double-post. I had to re-subscribe to the list.)
 
 This is with maven 2.0.9 on Solaris 10 with Java 1.6.0_11
 
 I have a project laid out thusly:
 
 myproject/pom.xml
 myproject/myproject-pom/pom.xml
 myproject/myproject-api/pom.xml
 myproject/myproject-common/pom.xml
 myproject/myproject-console/pom.xml
 
 The top-level pom is a minimal parent pom whose only module is
 myproject/myproject-pom.
 
 myproject/myproject-pom/pom.xml exists because Eclipse doesn't like nested
 projects. So this pom has things that would typically need to be changed.
 
 All of the other myproject/myproject-*/pom.xml are modules of
 myproject/myproject-pom/pom.xml.
 
 When I execute 'mvn release:prepare' things go well until it begins
 invoking subversion. Here is the relevant bit of output from the process:
 (sorry for the long lines)
 
 
 [INFO] Executing: /bin/sh -c cd /export/home/ci/tmp/myproject  svn
 --non-interactive commit --file /var/tmp/maven-scm-1461319678.commit
 --targets /var/tmp/maven-scm-7441525038114668907-targets
 [INFO] Working directory: /export/home/ci/tmp/myproject
 [INFO] Executing: /bin/sh -c cd
 /export/home/ci/tmp/myproject/myproject-pom  svn --non-interactive
 commit --file /var/tmp/maven-scm-1292675052.commit --targets
 /var/tmp/maven-scm-6618196211309587095-targets
 [INFO] Working directory: /export/home/ci/tmp/myproject/myproject-pom
 [INFO] Executing: /bin/sh -c cd
 /export/home/ci/tmp/myproject/myproject-pom/../myproject-api  svn
 --non-interactive commit --file /var/tmp/maven-scm-1794995489.commit
 --targets /var/tmp/maven-scm-2050429634740604341-targets
 [INFO] Working directory:
 /export/home/ci/tmp/myproject/myproject-pom/../myproject-api
 [INFO] Executing: /bin/sh -c cd
 /export/home/ci/tmp/myproject/myproject-pom/../myproject-common  svn
 --non-interactive commit --file /var/tmp/maven-scm-786958246.commit
 --targets /var/tmp/maven-scm-636982206221127-targets
 [INFO] Working directory:
 /export/home/ci/tmp/myproject/myproject-pom/../myproject-common
 [INFO] Executing: /bin/sh -c cd
 /export/home/ci/tmp/myproject/myproject-pom/../myproject-console  svn
 --non-interactive commit --file /var/tmp/maven-scm-637551884.commit
 --targets /var/tmp/maven-scm-3757207476498104603-targets
 [INFO] Working directory:
 /export/home/ci/tmp/myproject/myproject-pom/../myproject-console
 [INFO] Tagging release with the label myproject-1.0...
 [INFO] Executing: /bin/sh -c cd /export/home/ci/tmp/myproject  svn
 --non-interactive copy --file /var/tmp/maven-scm-1862162340.commit .
 http://my-svn-server:/svn/myrepo/myprojects/tags/myproject-1.0
 [INFO] Working directory: /export/home/ci/tmp/myproject
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Unable to tag SCM
 Provider message:
 The svn tag command failed.
 Command output:
 svn: Commit failed (details follow):
 svn: File
 '/svn/myrepo/myprojects/tags/myproject-1.0/myproject-common/pom.xml'
 already exists
 
 
 After investigating a while and trying to reproduce the process manually,
 I discovered that the error message is somewhat misleading. If I do an
 'svn update' prior to the 'svn copy' then the process completes
 successfully.
 
 I put a shell script named 'svn' in my path in front of /usr/local/bin and
 had that script do an 'svn update' when it sees an 'svn copy' request.
 Invoking 'mvn release:prepare' with that in place will succeed.
 
 Has anybody else seen this kind of behavior? Is there a better solution
 than my hack of a workaround:
 
 $ cat ~/bin/svn
 #!/bin/bash
 
 echo $@  ~/svn.log
 
 if [ $1 = --non-interactive -a $2 = copy -a $3 = --file ]
 then
   /usr/local/bin/svn update
 fi
 
 exec /usr/local/bin/svn $@
 
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJg3vFrZoE3ArapxERCNnzAKDcl4+y1edO5ZQO7iFC52lDdIksVgCgjt/G
yK64dtaAGC593PgOjhTdTlk=
=N0fw
-END PGP SIGNATURE-


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



release:prepare interpreting parent as a SNAPSHOT depencency

2009-01-30 Thread Todd Thiessen
I made a very simple mult-module project that has 3 levels of depth.
ie:

project
  +- project-sub1 (jar packaging)
  +- project-sub2 (pom packaging)
   +- proj-sub2-sub1 (jar packaging)

When do a release:prepare, I get this:

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Can't release project due to non released dependencies :
com.nortel.project:project-sub2:pom:0.0.8-SNAPSHOT
in project 'proj-sub2-sub1'
(com.nortel.project:proj-sub2-sub1:jar:0.0.8-SNAPSHOT)

None of the jar projects have any dependencies. All they do is print
hello world (as per the quick start archetype).

Here is my proj-sub2-sub1 pom in its entirety. The only reference to a
dependency is the parent pom.

?xml version=1.0 encoding=UTF-8?project
  parent
artifactIdproject-sub2/artifactId
groupIdcom.nortel.project/groupId
version0.0.8-SNAPSHOT/version
  /parent
  modelVersion4.0.0/modelVersion
  artifactIdproj-sub2-sub1/artifactId
  nameproj-sub2-sub1/name
  urlhttp://maven.apache.org/url
  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
/project

Anyone have any idea what the problem is?

---
Todd Thiessen

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



Re: Web module: three .war files

2009-01-30 Thread Wayne Fay
 Then in Ant, for each war that is created, a different value is copied into
 the template by substitution in Ant's copy task.

This kind of thing is exactly what Maven's profiles and filters are used for.

Wayne

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



Re: Oddness with release:prepare

2009-01-30 Thread James CE Johnson
You nailed it. That box has the 1.5.3 svn client. So I can leave my
workaround in place until SVN gets fixed or roll back to 1.4. The server
is still 1.4.x so rolling back the client wouldn't be any big thing.

Thanks for the quick info!

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 What version of SVN are you using?  I'm betting it's 1.5.1+.  There's a
 bug where the
 release plugin can't run with SVN 1.5.1+.  1.4.x works fine, as does 1.5.0
 (but I hear
 that has some other bad bugs).

 This is a real bummer, since I would love to update to SVN 1.5, but I'm
 stuck on 1.4.

 I've been following the bug here:

 http://jira.codehaus.org/browse/SCM-406

 Apparently it's an SVN thing, not an scm plugin one, but the scm bug has a
 thorough
 discussion and links to more relevant places.



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



Re: Oddness with release:prepare

2009-01-30 Thread Thiago Moreira (timba)
  I used the workaround svn up -r HEAD to fix it... and than mvn
release:prepare -Dresume=true to finish the preparation...

  Got the answer with some one on here...

  Cheers

On Fri, Jan 30, 2009 at 3:22 PM, James CE Johnson j...@tragus.org wrote:

 You nailed it. That box has the 1.5.3 svn client. So I can leave my
 workaround in place until SVN gets fixed or roll back to 1.4. The server
 is still 1.4.x so rolling back the client wouldn't be any big thing.

 Thanks for the quick info!

  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA256
 
  What version of SVN are you using?  I'm betting it's 1.5.1+.  There's a
  bug where the
  release plugin can't run with SVN 1.5.1+.  1.4.x works fine, as does
 1.5.0
  (but I hear
  that has some other bad bugs).
 
  This is a real bummer, since I would love to update to SVN 1.5, but I'm
  stuck on 1.4.
 
  I've been following the bug here:
 
  http://jira.codehaus.org/browse/SCM-406
 
  Apparently it's an SVN thing, not an scm plugin one, but the scm bug has
 a
  thorough
  discussion and links to more relevant places.



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




RE: Custom plugin and custom extension issue

2009-01-30 Thread Jason Chaffee
BTW, this only happens with recursive builds.  If only build that particular 
project, then everything installs/deploys properly.

-Original Message-
From: Jason Chaffee [mailto:jason.chaf...@zilliontv.tv]
Sent: Friday, January 30, 2009 1:19 PM
To: users@maven.apache.org
Subject: Custom plugin and custom extension issue

I am having an issue on 2.0.9.  Basicallly, I have a custom plugin that has 
it's own packaging type and creates a file of it's own extension type.  For 
example,

packagingmy-bundle/packaging

will create artifactId-version.exe

However, with maven-2.0.9 it creates the the file correcting in the target 
directory but it installs it and deploys it as artifactId-version.my-bundle.

Here is my component.xml snippet?


component-set
  components
 ...
component
  roleorg.apache.maven.artifact.handler.ArtifactHandler/role
  role-hintmy-bundle/role-hint
  
implementationorg.apache.maven.artifact.handler.DefaultArtifactHandler/implementation
  configuration
extensionexe/extension
typemy-bundle/type
packagingmy-bundle/packaging
languagejava/language
addedToClasspathtrue/addedToClasspath
  /configuration
/component
  /components
/component-set

Does anyone have any ideas what could be happening here?


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



RE: Maven for the internet afraid

2009-01-30 Thread Brian E. Fox
This use case was exactly what the Procurement in Nexus was designed to
support. It allows you to definitively control the artifacts used by
your builds. The only alternative is to manage it my hand, which is
labor intensive and error prone.

http://www.sonatype.com/products/nexus

-Original Message-
From: Merv Green [mailto:paradeofh...@gmail.com] 
Sent: Thursday, January 29, 2009 11:28 PM
To: users@maven.apache.org
Subject: Maven for the internet afraid

Asking this embarrasses me, but must be done.

I work for a company where the internet terrifies Them. They want to use

Maven, but they think it should never go online, so they want a locked 
down internal repository containing whatever artifacts some couple 
hundred developers might need.

Can we, as I believe, not effectively use Maven this way?

If so, what are the alternatives?

I see a few:

1. Only worry about the release bundle
  Compare dependency reports in continuous integration to some approved 
jar list, flagging anomalies along the way. Once ready for release, run 
some thorough check on the jar-with-dependencies.

2. wget all of Central
  A blunt instrument, but it would more or less work. How, though, do I 
go to the people who vet jars and say, Hey, someone might someday need 
some of these...

3. Build against some proxy repo for a while, then block it
  Obvious problems ensue.

-
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: Maven for the internet afraid

2009-01-30 Thread Martin Gainty

you're going to have to reconfig ALL your plugins to use a localRepository
this is a massive PITA and documentation is thin 
maven expects a clear path to ALL scp or sftp or https servers

Martin Gainty 

__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




 Subject: RE: Maven for the internet afraid
 Date: Fri, 30 Jan 2009 22:04:36 -0500
 From: bri...@reply.infinity.nu
 To: users@maven.apache.org
 
 This use case was exactly what the Procurement in Nexus was designed to
 support. It allows you to definitively control the artifacts used by
 your builds. The only alternative is to manage it my hand, which is
 labor intensive and error prone.
 
 http://www.sonatype.com/products/nexus
 
 -Original Message-
 From: Merv Green [mailto:paradeofh...@gmail.com] 
 Sent: Thursday, January 29, 2009 11:28 PM
 To: users@maven.apache.org
 Subject: Maven for the internet afraid
 
 Asking this embarrasses me, but must be done.
 
 I work for a company where the internet terrifies Them. They want to use
 
 Maven, but they think it should never go online, so they want a locked 
 down internal repository containing whatever artifacts some couple 
 hundred developers might need.
 
 Can we, as I believe, not effectively use Maven this way?
 
 If so, what are the alternatives?
 
 I see a few:
 
 1. Only worry about the release bundle
   Compare dependency reports in continuous integration to some approved 
 jar list, flagging anomalies along the way. Once ready for release, run 
 some thorough check on the jar-with-dependencies.
 
 2. wget all of Central
   A blunt instrument, but it would more or less work. How, though, do I 
 go to the people who vet jars and say, Hey, someone might someday need 
 some of these...
 
 3. Build against some proxy repo for a while, then block it
   Obvious problems ensue.
 
 -
 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
 

_
Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_012009

Re: release:prepare interpreting parent as a SNAPSHOT depencency

2009-01-30 Thread Barrie Treloar
On Sat, Jan 31, 2009 at 8:59 AM, Todd Thiessen thies...@nortel.com wrote:
 I made a very simple mult-module project that has 3 levels of depth.
 ie:

 project
  +- project-sub1 (jar packaging)
  +- project-sub2 (pom packaging)
   +- proj-sub2-sub1 (jar packaging)

 When do a release:prepare, I get this:

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Can't release project due to non released dependencies :
com.nortel.project:project-sub2:pom:0.0.8-SNAPSHOT
 in project 'proj-sub2-sub1'
 (com.nortel.project:proj-sub2-sub1:jar:0.0.8-SNAPSHOT)

 None of the jar projects have any dependencies. All they do is print
 hello world (as per the quick start archetype).

 Here is my proj-sub2-sub1 pom in its entirety. The only reference to a
 dependency is the parent pom.

 ?xml version=1.0 encoding=UTF-8?project
  parent
artifactIdproject-sub2/artifactId
groupIdcom.nortel.project/groupId
version0.0.8-SNAPSHOT/version
  /parent
  modelVersion4.0.0/modelVersion
  artifactIdproj-sub2-sub1/artifactId
  nameproj-sub2-sub1/name
  urlhttp://maven.apache.org/url
  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
 /project

 Anyone have any idea what the problem is?

its behaving exactly as expected.

You can't release something unless it and all dependenencies (parent
are dependencies too) are non-snapshot.

Either
a) release the parent independently
b) release from a higher level which contains all the module
declarations - thus automatically releasing them at the same time.

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