svn co http://svn.apache.org/repos/asf/maven/archetype/trunk

"mvn install"

Cheers,
Brett

On 3/21/06, Stefan Fritz <[EMAIL PROTECTED]> wrote:
> What do I have to get from SVN to get this fix?
> The Maven 2.1-SNAPSHOT or just a few plugins?
>
> Regards
> Stefan
>
>
> Brett Porter wrote:
>
> >Fixed in SVN just today.
> >
> >- Brett
> >
> >On 3/21/06, Stefan Fritz <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Hi,
> >>
> >>I created a custom archetype.
> >>I have a hierarchical project structure:
> >>
> >>pom.xml
> >>|
> >>`-- services
> >>
> >>    `-- pom.xml
> >>            `-- service1
> >>                    `-- pom.xml
> >>            `-- service2
> >>                    `-- pom.xml
> >>            `-- service3
> >>                    `-- pom.xml
> >>
> >>What I want to do is to create a new "service" under the services folder.
> >>
> >>I opened a command prompt in the services directory to create service4 
> >>structure:
> >>mvn archetype:create -DarchetypeGroupId=other.maven.archetypes 
> >>-DarchetypeArtifactId=mybasicservice -DarchetypeVersion=1.0-SNAPSHOT 
> >>-DgroupId=services -DartifactId=service4
> >>
> >>Then I get the following problem:
> >>
> >>[INFO] Scanning for projects...
> >>[INFO] 
> >>----------------------------------------------------------------------------
> >>[ERROR] FATAL ERROR
> >>[INFO] 
> >>----------------------------------------------------------------------------
> >>[INFO] Error building POM (may not be this project's POM).
> >>
> >>
> >>Project ID: unknown
> >>
> >>Reason: Could not find the model file 'C:\dev\services\service4\pom.xml'.
> >>
> >>
> >>So it seems the archtype looks for the pom.xml which it should create.
> >>Any tips what I can do to be able to create new projects wiht my archtype 
> >>even if there is a parent pom available?
> >>
> >>regards
> >>Stefan
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to