maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "El Arbi ABOUSSOROR" <el-arbi.abousso...@sogeti.com>
Subject Build failure
Date Mon, 29 Nov 2010 16:11:19 GMT
Hi,

 

  I’m trying to create an archetype from existing project but fail to.

 

 

D:\apps\FlightsV2>mvn archetype:create-from-project -e

+ Error stacktraces are turned on.

[INFO] Scanning for projects...

[INFO] Searching repository for plugin with prefix: 'archetype'.

[INFO]
------------------------------------------------------------------------

[INFO] Building Unnamed - fr.sogeti.plpm:myCRUDProject:jar:0.0.1

[INFO]    task-segment: [archetype:create-from-project] (aggregator-style)

[INFO]
------------------------------------------------------------------------

[INFO] Preparing archetype:create-from-project

[INFO]
------------------------------------------------------------------------

[INFO] Building Unnamed - fr.sogeti.plpm:myCRUDProject:jar:0.0.1

[INFO]
------------------------------------------------------------------------

[INFO] No goals needed for project - skipping

[INFO] [archetype:create-from-project {execution: default-cli}]

[INFO] Setting default groupId: fr.sogeti.plpm

[INFO] Setting default artifactId: myCRUDProject

[INFO] Setting default version: 0.0.1

[INFO] Setting default package: fr.sogeti.plpm

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] : java.io.FileNotFoundException:
D:\apps\FlightsV2\target\generated-sourc

es\archetype\src\main\resources\archetype-resources\pom.xml (Le chemin
d'accÞs s

pÚcifiÚ est introuvable)

D:\apps\FlightsV2\target\generated-sources\archetype\src\main\resources\arch
etyp

e-resources\pom.xml (Le chemin d'accÞs spÚcifiÚ est introuvable)

[INFO]
------------------------------------------------------------------------

[INFO] Trace

org.apache.maven.BuildFailureException:
D:\apps\FlightsV2\target\generated-sourc

es\archetype\src\main\resources\archetype-resources\pom.xml (Le chemin
d'accÞs s

pÚcifiÚ est introuvable)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa

ultLifecycleExecutor.java:715)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone

Goal(DefaultLifecycleExecutor.java:569)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:539)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

dleFailures(DefaultLifecycleExecutor.java:387)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

ts(DefaultLifecycleExecutor.java:284)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:180)

        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)

        at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6

0)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

 

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.MojoFailureException:
D:\apps\FlightsV2\targe

t\generated-sources\archetype\src\main\resources\archetype-resources\pom.xml
(Le

 chemin d'accÞs spÚcifiÚ est introuvable)

        at
org.apache.maven.archetype.mojos.CreateArchetypeFromProjectMojo.execu

te(CreateArchetypeFromProjectMojo.java:212)

        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi

nManager.java:490)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa

ultLifecycleExecutor.java:694)

        ... 17 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 1 second

[INFO] Finished at: Mon Nov 29 16:27:43 CET 2010

[INFO] Final Memory: 11M/27M

[INFO]
------------------------------------------------------------------------

 

Maybe some properties are missing.

Thanks fo your help


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message