You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Mattox <mi...@verideon.com> on 2004/10/28 16:47:08 UTC

Problem with bootstrap - can't find my project.xml

I have a flat directory structure in CVS, with my maven files in a directory
called "maven".  Like this:

module
  - project1/project.xml
  - project2/project.xml
  - ...
  - maven/project.xml (master project which all others inherit)

The checkout is fine but then it seems the maven scm:bootstrap-project goal
can't find my maven/project.xml:

[maven@orgsld08 tmp]$
maven -Dmaven.scm.method=cvs -Dmaven.scm.cvs.module=sources-malibu -Dmaven.s
cm.bootstrap.pom.dir=maven -Dmaven.scm.bootstrap.goals=multiproject:deploy,m
ultiproject:site,site:deploy scm:bootstrap-project

    <snip>
    [cvs] U sources-malibu/maven/logo/cs_logo.jpg
    [cvs] U sources-malibu/maven/logo/logo_new_rvb.jpg

BUILD FAILED
File......
/export/home/cgey/maven/.maven/cache/maven-scm-plugin-1.4/plugin.jelly
Element... maven:maven
Line...... 158
Column.... 9
Error parsing project.xml
'/export/home/cgey/maven/tmp/target/checkouts/sources-malibu/project.xml'
Total time: 24 minutes 52 seconds
Finished at: Thu Oct 28 16:22:36 CEST 2004

I've used -Dmaven.scm.bootstrap.pom.dir=maven so I think it should look in
$module/maven which for me is sources-malibu/maven/project.xml but it
doesn't find it.  Am I doing something wrong?

Thanks,
Michael


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


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


Re: Problem with bootstrap - can't find my project.xml

Posted by Brett Porter <br...@gmail.com>.
perhaps that option also isn't working. I'll append a note to the JIRA issue.

Yes, the check.tagged is for releases, and that perhaps is also
another problem (bootstrapping != releasing).

- Brett


On Fri, 29 Oct 2004 10:23:58 +0200, Michael Mattox
<mi...@verideon.com> wrote:
> I will create the JIRA issue, but I don't understand the workaround.  The
> check.tagged is for releases is it not?  I tried it and I get the same
> error, it looks for my project.xml in the module directory.
> 
> Thanks,
> Michael
> 
> > -----Message d'origine-----
> > De : Brett Porter [mailto:brett.porter@gmail.com]
> > Envoye : jeudi 28 octobre 2004 22:32
> > A : Maven Users List
> > Objet : Re: Problem with bootstrap - can't find my project.xml
> 
> 
> >
> >
> > looking at the source it seems that the tag checking is not honouring
> > the POM dir.
> >
> > can you:
> > - file a bug in JIRA
> > - work around it by setting maven.scm.check.tagged=false
> >
> > Cheers,
> > Brett
> >
> >
> > On Thu, 28 Oct 2004 16:47:08 +0200, Michael Mattox
> > <mi...@verideon.com> wrote:
> > > I have a flat directory structure in CVS, with my maven files
> > in a directory
> > > called "maven".  Like this:
> > >
> > > module
> > >   - project1/project.xml
> > >   - project2/project.xml
> > >   - ...
> > >   - maven/project.xml (master project which all others inherit)
> > >
> > > The checkout is fine but then it seems the maven
> > scm:bootstrap-project goal
> > > can't find my maven/project.xml:
> > >
> > > [maven@orgsld08 tmp]$
> > > maven -Dmaven.scm.method=cvs
> > -Dmaven.scm.cvs.module=sources-malibu -Dmaven.s
> > > cm.bootstrap.pom.dir=maven
> > -Dmaven.scm.bootstrap.goals=multiproject:deploy,m
> > > ultiproject:site,site:deploy scm:bootstrap-project
> > >
> > >     <snip>
> > >     [cvs] U sources-malibu/maven/logo/cs_logo.jpg
> > >     [cvs] U sources-malibu/maven/logo/logo_new_rvb.jpg
> > >
> > > BUILD FAILED
> > > File......
> > > /export/home/cgey/maven/.maven/cache/maven-scm-plugin-1.4/plugin.jelly
> > > Element... maven:maven
> > > Line...... 158
> > > Column.... 9
> > > Error parsing project.xml
> > >
> > '/export/home/cgey/maven/tmp/target/checkouts/sources-malibu/project.xml'
> > > Total time: 24 minutes 52 seconds
> > > Finished at: Thu Oct 28 16:22:36 CEST 2004
> > >
> > > I've used -Dmaven.scm.bootstrap.pom.dir=maven so I think it
> > should look in
> > > $module/maven which for me is sources-malibu/maven/project.xml but it
> > > doesn't find it.  Am I doing something wrong?
> > >
> > > Thanks,
> > > Michael
> > >
> > > --
> > > This E-mail is confidential.  It may also be legally
> > privileged.  If you are
> > > not the addressee you may not copy, forward, disclose or use
> > any part of it.
> > > If you have received this message in error, please delete it
> > and all copies
> > > from your system and notify the sender immediately by return E-mail.
> > > Internet communications cannot be guaranteed to be timely,
> > secure, error or
> > > virus-free.  The sender does not accept liability for any
> > errors or omissions.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> --
> 
> 
> This E-mail is confidential.  It may also be legally privileged.  If you are
> not the addressee you may not copy, forward, disclose or use any part of it.
> If you have received this message in error, please delete it and all copies
> from your system and notify the sender immediately by return E-mail.
> Internet communications cannot be guaranteed to be timely, secure, error or
> virus-free.  The sender does not accept liability for any errors or omissions.
> 
>

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


RE: Problem with bootstrap - can't find my project.xml

Posted by Michael Mattox <mi...@verideon.com>.
I will create the JIRA issue, but I don't understand the workaround.  The
check.tagged is for releases is it not?  I tried it and I get the same
error, it looks for my project.xml in the module directory.

Thanks,
Michael

> -----Message d'origine-----
> De : Brett Porter [mailto:brett.porter@gmail.com]
> Envoye : jeudi 28 octobre 2004 22:32
> A : Maven Users List
> Objet : Re: Problem with bootstrap - can't find my project.xml
>
>
> looking at the source it seems that the tag checking is not honouring
> the POM dir.
>
> can you:
> - file a bug in JIRA
> - work around it by setting maven.scm.check.tagged=false
>
> Cheers,
> Brett
>
>
> On Thu, 28 Oct 2004 16:47:08 +0200, Michael Mattox
> <mi...@verideon.com> wrote:
> > I have a flat directory structure in CVS, with my maven files
> in a directory
> > called "maven".  Like this:
> >
> > module
> >   - project1/project.xml
> >   - project2/project.xml
> >   - ...
> >   - maven/project.xml (master project which all others inherit)
> >
> > The checkout is fine but then it seems the maven
> scm:bootstrap-project goal
> > can't find my maven/project.xml:
> >
> > [maven@orgsld08 tmp]$
> > maven -Dmaven.scm.method=cvs
> -Dmaven.scm.cvs.module=sources-malibu -Dmaven.s
> > cm.bootstrap.pom.dir=maven
> -Dmaven.scm.bootstrap.goals=multiproject:deploy,m
> > ultiproject:site,site:deploy scm:bootstrap-project
> >
> >     <snip>
> >     [cvs] U sources-malibu/maven/logo/cs_logo.jpg
> >     [cvs] U sources-malibu/maven/logo/logo_new_rvb.jpg
> >
> > BUILD FAILED
> > File......
> > /export/home/cgey/maven/.maven/cache/maven-scm-plugin-1.4/plugin.jelly
> > Element... maven:maven
> > Line...... 158
> > Column.... 9
> > Error parsing project.xml
> >
> '/export/home/cgey/maven/tmp/target/checkouts/sources-malibu/project.xml'
> > Total time: 24 minutes 52 seconds
> > Finished at: Thu Oct 28 16:22:36 CEST 2004
> >
> > I've used -Dmaven.scm.bootstrap.pom.dir=maven so I think it
> should look in
> > $module/maven which for me is sources-malibu/maven/project.xml but it
> > doesn't find it.  Am I doing something wrong?
> >
> > Thanks,
> > Michael
> >
> > --
> > This E-mail is confidential.  It may also be legally
> privileged.  If you are
> > not the addressee you may not copy, forward, disclose or use
> any part of it.
> > If you have received this message in error, please delete it
> and all copies
> > from your system and notify the sender immediately by return E-mail.
> > Internet communications cannot be guaranteed to be timely,
> secure, error or
> > virus-free.  The sender does not accept liability for any
> errors or omissions.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


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


Re: Problem with bootstrap - can't find my project.xml

Posted by Brett Porter <br...@gmail.com>.
looking at the source it seems that the tag checking is not honouring
the POM dir.

can you:
- file a bug in JIRA
- work around it by setting maven.scm.check.tagged=false

Cheers,
Brett


On Thu, 28 Oct 2004 16:47:08 +0200, Michael Mattox
<mi...@verideon.com> wrote:
> I have a flat directory structure in CVS, with my maven files in a directory
> called "maven".  Like this:
> 
> module
>   - project1/project.xml
>   - project2/project.xml
>   - ...
>   - maven/project.xml (master project which all others inherit)
> 
> The checkout is fine but then it seems the maven scm:bootstrap-project goal
> can't find my maven/project.xml:
> 
> [maven@orgsld08 tmp]$
> maven -Dmaven.scm.method=cvs -Dmaven.scm.cvs.module=sources-malibu -Dmaven.s
> cm.bootstrap.pom.dir=maven -Dmaven.scm.bootstrap.goals=multiproject:deploy,m
> ultiproject:site,site:deploy scm:bootstrap-project
> 
>     <snip>
>     [cvs] U sources-malibu/maven/logo/cs_logo.jpg
>     [cvs] U sources-malibu/maven/logo/logo_new_rvb.jpg
> 
> BUILD FAILED
> File......
> /export/home/cgey/maven/.maven/cache/maven-scm-plugin-1.4/plugin.jelly
> Element... maven:maven
> Line...... 158
> Column.... 9
> Error parsing project.xml
> '/export/home/cgey/maven/tmp/target/checkouts/sources-malibu/project.xml'
> Total time: 24 minutes 52 seconds
> Finished at: Thu Oct 28 16:22:36 CEST 2004
> 
> I've used -Dmaven.scm.bootstrap.pom.dir=maven so I think it should look in
> $module/maven which for me is sources-malibu/maven/project.xml but it
> doesn't find it.  Am I doing something wrong?
> 
> Thanks,
> Michael
> 
> --
> This E-mail is confidential.  It may also be legally privileged.  If you are
> not the addressee you may not copy, forward, disclose or use any part of it.
> If you have received this message in error, please delete it and all copies
> from your system and notify the sender immediately by return E-mail.
> Internet communications cannot be guaranteed to be timely, secure, error or
> virus-free.  The sender does not accept liability for any errors or omissions.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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