You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Potgieter, Derick D" <De...@standardbank.co.za> on 2009/06/11 15:07:30 UTC

Multi module project using maven-release-plugin

Hi All,

I'm a bit new to the whole maven thing so bare with me please.

I'm having issues with the release plugin. I can release my "core"
library's with out any problems but I'm struggling with the multi module
project.

1. When I do a prepare for my project, the web module fails saying it
cant get the EJB module from my remote repository.
	-> 	I understand it fails because the previous step of
building the EJB module doesn't actually install it in my local/remote
rep.
		But why doesn't it, or how do I get it resolved
internally. I would think the release plugin should do this.
		The work around is to manually release every module, but
that sort of seems like a waist.

2. I'm getting this error when building my project (on parent and web
module level)
	[WARNING] POM for
'cib.ibot:PLAUTO-EJB:pom:1.0-SNAPSHOT:provided' is invalid.
	Its dependencies (if any) will NOT be available to the current
build.

	->	This is my EJB module, everything still works fine, but
the ear plugin seems to ignore my dependencies.
		So my ear contains nothing in the lib folder, I have to
manually add a dependency on all my dependencies from the EJB pom.

	Any ideas?

My structure is :
CoreLib
	-src
		-...
	-pom.xml
Project1
	-pom.xml (Parent)
	-EJB
		-src
			-...
		-pom.xml
	-WAR
		-src
			-...
		-pom.xml
	-EAR
		-src
			-...
		-pom.xml

Thanks
Derick
_____________________________________________________________________________________________________________________________________

Standard Bank email Disclaimer and confidentiality note

This e-mail, its attachments and any rights attaching hereto are, unless the content clearly indicates otherwise, the property of 
Standard Bank Group Limited and its subsidiaries. It is confidential, private and intended for only the addressee. 

Should you not be the addressee and receive this e-mail by mistake, kindly notify the sender, and delete this e-mail immediately.
Do not disclose or use it in any way. Views and opinions expressed in this e-mail are those of the sender unless clearly stated as 
those of Standard Bank Group. 

Standard Bank Group accepts no liability for any loss or damages howsoever incurred, or suffered, resulting, or arising, 
from the use of this email or its attachments. 

Standard Bank Group does not warrant the integrity of this e-mail nor that it is free of errors, viruses, interception or interference. 

Licensed divisions of the Standard Bank Group are authorised financial services providers in terms of the Financial Advisory and 
Intermediary Services Act, No 37 of 2002 (FAIS).

For information about the Standard Bank Group visit our website http://www.standardbank.com
________________________________________________________________________________________________________________________________________

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