well first off, you shouldn't need the SCM sections in the child poms,
maven uses the name of the module in the parent pom to determine how
to check out the children
The child poms need to use the tag to link back up to the top
lvl parent pom. with that in place maven should sequentially build
through the modules.
have you grabbed the better build with maven book? its free at
http://www.mergere.com/m2book_download.jsp
good luck, and you can also ping folks on irc.codehaus.org #continuum
(and #maven)
jesse
On 8/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
i have three maven2 projects A, B and C where A depends on B and C, and
where B depends on C (for compilation and packaging).
I have included the scm section in each projects pom.xml and I have tested
that continuum can build them if I supply the poms and have continuum
build them in the correct order. but I don't know how to specify to
continuum which order they should be built, so my idea is to create a top
pom.xml using the module maven2 construct. and i included an scm section
in that pom as well. but continuum can't use that to build my projects,
that is if I only provide continuum with the top pom.xml and not the three
sub pom.xmls.
further below follows the error message from continuum. but first are the
4 pom.xmls. any thoughts?
is there some document place, on the internet e g where this kind of
information is disclosed. i e how I can use the maven2 module construct in
continuum? I would much rather read about myself than asking you continuum
experts spend time helping me. have I missed some great continuum
document?
proj A:
4.0.0
se.jsolutions.crm
CRM
ear
1.0
se.jsolutions.crm
EJB
1.0
se.jsolutions.crm
WEB
1.0
war
src/main/resources
true
scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/CRM
scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/CRM
proj B:
4.0.0
se.jsolutions.crm
WEB
war
1.0
se.jsolutions.crm
EJB
1.0
provided
struts
struts
1.2.9
commons-lang
commons-lang
2.1
displaytag
displaytag
1.1
javax.jee
jee
5.0
provided
javax.servlet
jstl
1.1.2
taglibs
standard
1.1.2
xml-apis
xml-apis
1.0.b2
provided
org.apache.maven.plugins
maven-compiler-plugin
1.5
1.5
scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/WEB
scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/WEB
proj C:
4.0.0
se.jsolutions.crm
EJB
1.0
javax.jee
jee
5.0
provided
org.apache.maven.plugins
maven-compiler-plugin
1.5
1.5
scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/EJB
scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/EJB
top pom.xml:
4.0.0
se.jsolutions.crm
1.0
app
pom
EJB
WEB
CRM
scm:svn:https://jsolutions.se/repository/trunk/framework/CRM
scm:svn:https://jsolutions.se/repository/trunk/framework/CRM
jvm 1| 2006-08-17 09:55:07,650 [SocketListener0-0] INFO
ContinuumProjectBuilder:maven-two-builder - Downloading
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-61487.tmp
jvm 1| 2006-08-17 09:55:07,681 [SocketListener0-0] INFO
ContinuumProjectBuilder:maven-two-builder - Downloading
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-6/EJB/pom.xml
jvm 1| 2006-08-17 09:55:07,681 [SocketListener0-0] INFO
ContinuumProjectBuilder:maven-two-builder - Downloading
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-6/WEB/pom.xml
jvm 1| 2006-08-17 09:55:07,681 [SocketListener0-0] INFO
ContinuumProjectBuilder:maven-two-builder - Downloading
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-6/CRM/pom.xml
jvm 1| 2006-08-17 09:55:07,681 [SocketListener0-0] INFO Continuum
- Created 1 projects.
jvm 1| 2006-08-17 09:55:07,681 [SocketListener0-0] INFO Continuum
- Created 1 project groups.
jvm 1| 2006-08-17 09:55:07,681 [SocketListener0-0] INFO Continuum
- 3 warnings.
jvm 1| 2006-08-17 09:55:07,681 [SocketListener0-0] INFO Continuum
- Could not download file:/C:/DOC
UME~1/SEMARWAH/LOCALS~1/Temp/summit-6/EJB/pom.xml:
C:\DOCUME~1\SEMARWAH\LOCALS~1\Temp\summit-6\EJB\pom.xml (The system cannot
find the path specified)
jvm 1| 2006-08-17 09:55:07,681 [SocketListener0-0] INFO Continuum
- Could not download
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-6/WEB/pom.xml:
C:\DOCUME~1\SEMARWAH\LOCALS~1\Temp\summit-6\WEB\pom.xml (The system cannot
find the path specified)
jvm 1| 2006-08-17 09: