I've got this ! :
[WARN] While downloading xml-apis:xml-apis:2.0.2
  This artifact has been relocated to xml-apis:xml-apis:1.0.b2.


[WARN] While downloading jta:jta:1.0.1B
  This artifact has been relocated to javax.transaction:jta:1.0.1B.


[INFO] 
----------------------------------------------------------------------------
[INFO] Building Unnamed - com:AstreeTutelec:jar:1.3
[INFO]    task-segment: [package]
[INFO] 
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for 
updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for 
updates from central
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for 
updates from central
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates 
from central
[INFO] resources:resources
[INFO] Using default encoding to copy filtered resources.
[INFO] compiler:compile
[INFO] Compiling 523 source files to 
C:\works\workspaceM2\TutelecOJV-v1.3\target\classes
[ERROR] mojo-execute : compiler:compile
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : com:AstreeTutelec:jar:1.3 (  task-segment: [package] )
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
org.apache.maven.BuildFailureException: Compilation failure
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
    at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441)
    at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382)
    at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation 
failure
    at 
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
    at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
    at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
    ... 8 more


----- Message d'origine ----
De : Phill Moran <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mercredi, 25 Avril 2007, 22h40mn 36s
Objet : RE: [m2eclipse-user] Re : [m2eclipse-user] How  to compile ?



 
DIV {
MARGIN:0px;}



Try running the Eclipse:eclipse in the project directory 
(back it up first just in case). This is after to install maven and maven 
plug-in and create the POM

 

Phill




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 

Sent: April 25, 2007 3:03 PM
To: 
[email protected]
Subject: [m2eclipse-user] Re : 
[m2eclipse-user] How to compile ?






thanks 
for the response,
but,.. I have an existing project, using Ant, and I want to 
make it use maven, so eclipse is already running with the project inside so I 
want to just push the button (you know ;-) ) and get it compiled !

how 
can I be happy ? (get it running/compiling ?)


----- 
Message d'origine ----
De : tibi <[EMAIL PROTECTED]>
À : 
[email protected]
Envoyé le : Mercredi, 25 Avril 2007, 18h52mn 
30s
Objet : Re: [m2eclipse-user] How to compile ?


maybe this will help (my demo make sure you have maven2 installed and a 

database (mysql with user root and emtpy password ):

look at: http://appfuse.org/display/APF/AppFuse+QuickStart

mvn 
archetype:create -DarchetypeGroupId=org.appfuse 

-DarchetypeArtifactId=appfuse-basic-struts 
-DremoteRepositories=http://static.appfuse.org/repository 

-DarchetypeVersion=1.0-m3 -DgroupId=nl.tibi.demo12 
-DartifactId=demo12

cd demo12

mvn integration-test

mvn 
war:inplace

rm -r src/main/webapp/WEB-INF/lib
rm 
src/main/webapp/WEB-INF/classes/struts.xml

mvn install 
eclipse:eclipse
[eclipse:file/import]

mvn 
jetty:run



[EMAIL PROTECTED] wrote:
> Hello the list, I'm the 
new (^_^) ==> newbie (oh yes ! another novice)
>
> so let's start 
:
>
> Please I'm new to maven and eclipse :-) so if there's someone 
who can 
> point me to som doc about how to compile using m2 eclipse 
plugin I'll 
> be very grateful
>
> Thanks
>
> 
Nawfel
>
> 
------------------------------------------------------------------------
> 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos 
> 
questions ! Profitez des connaissances, des opinions et des 
> expériences 
des internautes sur Yahoo! Questions/Réponses 
> <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>.

---------------------------------------------------------------------
To 
unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email









Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! 
Questions/Réponses.





      
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

Reply via email to