You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sp...@yahoo.fr on 2007/04/27 16:54:39 UTC

Re : Re : Re : Re :Re : Re : Re : Step by Step guide

I have already all my dependencies libs (.jar) added to my build path !

Thanks 
Nawfel BERAICH

----- Message d'origine ----
De : Phill Moran <pj...@rogers.com>
À : user@m2eclipse.codehaus.org
Envoyé le : Vendredi, 27 Avril 2007, 14h26mn 08s
Objet : RE: [m2eclipse-user] Re : [m2eclipse-user] Re : Re :Re : Re :  Re : Step by Step guide



 
DIV {
MARGIN:0px;}



go into build path for the project, select 
libraries->add library->maven2 managed dependencies. Once done try a 
recompile and see if things change. 

If this does not work we will next look at builders - Also 
read the docs about WTP (if you are using it)

 

Phill




From: spouynt@yahoo.fr [mailto:spouynt@yahoo.fr] 

Sent: April 27, 2007 10:10 AM
To: 
user@m2eclipse.codehaus.org; users@maven.apache.org
Subject: 
[m2eclipse-user] Re : [m2eclipse-user] Re : Re :Re : Re : Re : Step by Step 
guide






>Dos your 
project have a long list of dependencies in it or just the maven dependency 
container?
my project have a long list of 
dependencies

>What version of eclipse are you 
using?
I'm using MyEclipse 5.5 
M2

Thanks
Nawfel


----- 
Message d'origine ----
De : Phill Moran <pj...@rogers.com>
À : 
user@m2eclipse.codehaus.org; users@maven.apache.org
Envoyé le : Vendredi, 27 
Avril 2007, 13h21mn 36s
Objet : RE: [m2eclipse-user] Re : Re :Re : Re : 
Re : Step by Step guide


DIV {
MARGIN:0px;}


Dos your project have a long list of dependencies in it or 
just the maven dependency container?

What version of eclipse are you using?

 

Phill




From: spouynt@yahoo.fr [mailto:spouynt@yahoo.fr] 

Sent: April 27, 2007 6:55 AM
To: 
user@m2eclipse.codehaus.org; users@maven.apache.org
Subject: 
[m2eclipse-user] Re : Re :Re : Re : Re : Step by Step guide






Thanks 
for the trick,
But I think that there's a problem with that plugin ! once I 
lunch a compile goal I haave only this output for long time !! : 

[INFO] 
Scanning for projects...

and nothing else ! 

Thanks for 
helping
Nawfel BERAICH


----- 
Message d'origine ----
De : VUB Stefan Seidel <ss...@vub.de>
À : 
user@m2eclipse.codehaus.org
Envoyé le : Vendredi, 27 Avril 2007, 8h32mn 
51s
Objet : Re: [m2eclipse-user] Re :Re : Re : Re : Step by Step 
guide


Very heated discussion here... AFAICS you just have a very old 
version
of the plugin where the compile errors were not printed out in 
the
Eclipse console. Install the dev version from
http://m2eclipse.codehaus.org/update-dev/
and check whether 
is works better for you.

Stefan

Am Donnerstag, den 26.04.2007, 
18:46 +0000 schrieb spouynt@yahoo.fr:
> >>I have no idea what Nawfel 
BERAICH means - please tell???
> Nawfel = my first name , BERAICH = my 
last name
> (^_^)
> 
> >>Just run this from command 
prompt for now. You do not need to use
> the external -> tools thing 
you just can. Once working re-run
> eclipse:eclipse in the project dir, 
add maven dependencies and your
> off
> 
> but what I need is 
to compile through eclipse and have the same log as
> the one I have in 
the command prompt like :
> 
> 
C:\works\workspaceM2\myAppName-v1.3\src\main\java\com\some\bl\domain
> 
\AClassDaoImpl.java:[127,87] cannot find symbol
> symbol  : 
class AClassDTO
> location: package com.some.dto
> 
> because 
I have an existing project that uses Ant for builds and
> compiles and I 
have to "mavenize" it  
> 
> 
> 
> Thanks for 
helping
> Nawfel BERAICH
> 
> ----- Message d'origine 
----
> De : Phill Moran <pj...@rogers.com>
> À : 
user@m2eclipse.codehaus.org
> Envoyé le : Jeudi, 26 Avril 2007, 18h23mn 
01s
> Objet : RE: [m2eclipse-user] Re : [m2eclipse-user] Re :
> 
[m2eclipse-user] Re : Step by Step guide
> 
> I have no idea what 
Nawfel BERAICH means - please tell???
>  
> Just run this 
from command prompt for now. You do not need to use the
> external -> 
tools thing you just can. Once working re-run
> eclipse:eclipse in the 
project dir, add maven dependencies and your
> 
off
>  
> At least that is what I 
did
>  
>  
> Phill
> 
> 

> 
______________________________________________________________________
> 
From: spouynt@yahoo.fr [mailto:spouynt@yahoo.fr] 
> Sent: April 26, 2007 
1:50 PM
> To: user@m2eclipse.codehaus.org
> Subject: 
[m2eclipse-user] Re : [m2eclipse-user] Re : [m2eclipse-user]
> Re : Step 
by Step guide
> 
> 
> 
> do you mean that I have to add 
an external call to maven in external
> tools>>program>>new 
program and put the path to maven.bat then add
> 'compile -X' in Arguments 
??
> 
> Nawfel BERAICH
> 
> ----- Message d'origine 
----
> De : Phill Moran <pj...@rogers.com>
> À : 
user@m2eclipse.codehaus.org
> Envoyé le : Jeudi, 26 Avril 2007, 17h30mn 
22s
> Objet : RE: [m2eclipse-user] Re : [m2eclipse-user] Re : Step by 
Step
> guide
> 
> Forgot to mention that you should run this 
from the command line and
> get the POM right then move to Eclipse. Use 
the -X I mention below
>  
> Phill
> 
> 

> 
______________________________________________________________________
> 
From: Phill Moran [mailto:pjmoran@rogers.com] 
> Sent: April 26, 2007 
12:59 PM
> To: user@m2eclipse.codehaus.org
> Subject: RE: 
[m2eclipse-user] Re : [m2eclipse-user] Re : Step by Step
> guide
> 

> 
> 
> If you are using the straight up eclipse compile then 
it is somewhat
> filtered (not sure why). But you can do this from the 
command line or
> external->tools. What I would say is do it with the 
-X flag (turn on
> trace) or -e flag expanded stack trace. I don't think 
you need both
>  
> Phill
> 
> 
> 
______________________________________________________________________
> 
From: spouynt@yahoo.fr [mailto:spouynt@yahoo.fr] 
> Sent: April 26, 2007 
10:22 AM
> To: user@m2eclipse.codehaus.org
> Subject: 
[m2eclipse-user] Re : [m2eclipse-user] Re : Step by Step
> guide
> 

> 
> 
> I'm speaking about this :
> 
> 
[INFO]
> 
----------------------------------------------------------------------------
> 
[INFO] Building Unnamed - com:AstreeTutelec:jar:1.3
> 
[INFO]    task-segment: [package]
> [INFO]
> 
----------------------------------------------------------------------------
> 
[INFO] resources:resources
> [INFO] Using default encoding to copy 
filtered resources.
> [INFO] compiler:compile
> [INFO] Nothing to 
compile - all classes are up to date
> [INFO] 
resources:testResources
> [INFO] Using default encoding to copy filtered 
resources.
> [INFO] compiler:testCompile
> [INFO] No sources to 
compile
> [INFO] surefire:test
> [INFO] No tests to run.
> 
[INFO] jar:jar
> [INFO] Building jar: 
C:\works\workspaceM2\TutelecOJV-v1.3\target
> 
\AstreeTutelec-1.3.jar
> [INFO]
> 
----------------------------------------------------------------------------
> 
[INFO] BUILD SUCCESSFUL
> [INFO]
> 
----------------------------------------------------------------------------
> 
[INFO] Total time: 7 second
> [INFO] Finished at: Thu Apr 26 14:20:49 GMT 
2007
> [INFO] Memory 2M/9M
> [INFO]
> 
----------------------------------------------------------------------------
> 

> 
> especially  : [INFO] No sources to compile
> 

> why ? 
> 
> 
> ----- Message d'origine ----
> 
De : Phill Moran <pj...@rogers.com>
> À : 
user@m2eclipse.codehaus.org
> Envoyé le : Jeudi, 26 Avril 2007, 13h54mn 
01s
> Objet : RE: [m2eclipse-user] Re : Step by Step guide
> 

> Change this 
>     
<dependency>
>       
<groupId>jta</groupId>
>       
<artifactId>jta</artifactId>
>       
<version>1.0.1B</version>
>     
</dependency>
> To
>     
<dependency>
>       
<groupId>javax.</groupId>
>       
<artifactId>transaction</artifactId>
>       
<version>1.0.1B</version>
>     
</dependency>
>  
> This one is odd as it seems to 
be a downgrade
>  
> [WARN] While downloading 
xml-apis:xml-apis:2.0.2
>   This artifact has been relocated to 
xml-apis:xml-apis:1.0.b2.
> 
> So I would review the actual repos 
and see what is there, Otherwise
> for now 
ignore
>  
> Phill
> 
> 
> 
> 
______________________________________________________________________
> 
From: spouynt@yahoo.fr [mailto:spouynt@yahoo.fr] 
> Sent: April 26, 2007 
9:47 AM
> To: user@m2eclipse.codehaus.org
> Subject: 
[m2eclipse-user] Re : Step by Step guide
> 
> 
> 
> 
Thank's Phill for replying,
> here's my pom.xml file :
> 
> 
<?xml version="1.0"?><project>
>   
<modelVersion>4.0.0</modelVersion>
>   
<groupId>com</groupId>
>   
<artifactId>myApp</artifactId>
>   
<version>1.3</version>
>   
<description>myAppName-v1.3</description>
>   
<build>
>     
<extensions>
>       
<extension>
>         
<groupId>org.apache.maven.wagon</groupId>
>         
<artifactId>wagon-webdav</artifactId>
>         
<version>1.0-beta-2</version>
>       
</extension>
>     
</extensions>
>   </build>
>   
<repositories>
>     
<repository>
>       
<snapshots>
>         
<enabled>false</enabled>
>       
</snapshots>
>       
<id>central</id>
>       http://localhost:8081/artifactory/repo
>     
</repository>
>     
<repository>
>       
<releases>
>         
<enabled>false</enabled>
>       
</releases>
>       
<id>snapshots</id>
>       http://localhost:8081/artifactory/repo
>     
</repository>
>   
</repositories>
>   
<pluginRepositories>
>     
<pluginRepository>
>       
<snapshots>
>         
<enabled>false</enabled>
>       
</snapshots>
>       
<id>central</id>
>       http://localhost:8081/artifactory/plugins-releases
>     
</pluginRepository>
>     
<pluginRepository>
>       
<releases>
>         
<enabled>false</enabled>
>       
</releases>
>       
<id>snapshots</id>
>       http://localhost:8081/artifactory/plugins-snapshots
>     
</pluginRepository>
>   
</pluginRepositories>
>   
<dependencies>
>     
<dependency>
>       
<groupId>asm</groupId>
>       
<artifactId>asm</artifactId>
>       
<version>1.5.3</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>asm</groupId>
>       
<artifactId>asm-attrs</artifactId>
>       
<version>1.5.3</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>commons-collections</groupId>
>       
<artifactId>commons-collections</artifactId>
>       
<version>3.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>commons-configuration</groupId>
>       
<artifactId>commons-configuration</artifactId>
>       
<version>1.2</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>commons-io</groupId>
>       
<artifactId>commons-io</artifactId>
>       
<version>1.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>commons-lang</groupId>
>       
<artifactId>commons-lang</artifactId>
>       
<version>2.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>commons-logging</groupId>
>       
<artifactId>commons-logging</artifactId>
>       
<version>1.0.4</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>commons-transaction</groupId>
>       
<artifactId>commons-transaction</artifactId>
>       
<version>1.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>concurrent</groupId>
>       
<artifactId>concurrent</artifactId>
>       
<version>1.3.2</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>ehcache</groupId>
>       
<artifactId>ehcache</artifactId>
>       
<version>1.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>itext</groupId>
>       
<artifactId>itext</artifactId>
>       
<version>1.3</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>javax.security</groupId>
>       
<artifactId>jaas</artifactId>
>       
<version>1.0.01</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>javax.security</groupId>
>       
<artifactId>jacc</artifactId>
>       
<version>1.0</version>
>       
<classifier>fr</classifier>
>     
</dependency>
>     
<dependency>
>       
<groupId>c3p0</groupId>
>       
<artifactId>c3p0</artifactId>
>       
<version>0.8.5.2</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>jakarta-oro</groupId>
>       
<artifactId>jakarta-oro</artifactId>
>       
<version>2.0.8</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>jakarta-slide-webdavlib</groupId>
>       
<artifactId>jakarta-slide-webdavlib</artifactId>
>       
<version>2.2pre1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>javax.sql</groupId>
>       
<artifactId>jdbc-stdext</artifactId>
>       
<version>2.0</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>jdom</groupId>
>       
<artifactId>jdom</artifactId>
>       
<version>1.0</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>jgroups</groupId>
>       
<artifactId>jgroups</artifactId>
>       
<version>2.2.7</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>com.sun.jdmk</groupId>
>       
<artifactId>jmxtools</artifactId>
>       
<version>1.2.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>jta</groupId>
>       
<artifactId>jta</artifactId>
>       
<version>1.0.1B</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>junit</groupId>
>       
<artifactId>junit</artifactId>
>       
<version>3.8.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>log4j</groupId>
>       
<artifactId>log4j</artifactId>
>       
<version>1.2.13</version>
>       
<scope>compile</scope>
>     
</dependency>
>     
<dependency>
>       
<groupId>mlibwrapper_jai</groupId>
>       
<artifactId>mlibwrapper_jai</artifactId>
>       
<version>1.1.2</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>ojdbc</groupId>
>       
<artifactId>ojdbc</artifactId>
>       
<version>14</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>opensymphony</groupId>
>       
<artifactId>oscache</artifactId>
>       
<version>2.3.2</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>opensymphony</groupId>
>       
<artifactId>oscore</artifactId>
>       
<version>2.2.4</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>portlet-api</groupId>
>       
<artifactId>portlet-api</artifactId>
>       
<version>1.0</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>proxool</groupId>
>       
<artifactId>proxool</artifactId>
>       
<version>0.8.3</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>spring</groupId>
>       
<artifactId>spring</artifactId>
>       
<version>1.1.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>swarmcache</groupId>
>       
<artifactId>swarmcache</artifactId>
>       
<version>1.0RC2</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>webwork</groupId>
>       
<artifactId>webwork</artifactId>
>       
<version>2.1.5</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>xerces</groupId>
>       
<artifactId>xercesImpl</artifactId>
>       
<version>2.6.2</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>xerces</groupId>
>       
<artifactId>xerces</artifactId>
>       
<version>2.6.2</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>xml-apis</groupId>
>       
<artifactId>xml-apis</artifactId>
>       
<version>2.0.2</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>opensymphony</groupId>
>       
<artifactId>xwork</artifactId>
>       
<version>1.0.3</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>tomcat</groupId>
>       
<artifactId>servlet</artifactId>
>       
<version>1.2.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>hibernate</groupId>
>       
<artifactId>hibernate</artifactId>
>       
<version>3.2.1</version>
>     
</dependency>
>     
<dependency>
>       
<groupId>org.hibernate</groupId>
>       
<artifactId>hibernate</artifactId>
>       
<version>3.2.1</version>
>     
</dependency>
>   
</dependencies>
>   
<distributionManagement>
>     
<repository>
>       
<id>ilem.ma.proximity</id>
>       
<name>ilem.ma Internal Repository</name>
> 
> http://localhost:8080/px-webapp-default-1.0.0-RC8/repository/public
>     
</repository>
>   </distributionManagement>
> 
</project>
> 
> Regards
> 
> Nawfel
> 

> ----- Message d'origine ----
> De : Phill Moran 
<pj...@rogers.com>
> À : user@m2eclipse.codehaus.org
> 
Envoyé le : Jeudi, 26 Avril 2007, 13h04mn 06s
> Objet : RE: 
[m2eclipse-user] Step by Step guide
> 
> I think this is just a 
warning to change the POM entry for this
> dependency/plug-in. If you 
modify your PM to put it in the correct
> artefact/group it will go away. 
Also it should not effect your current
> compilation otherwise you would 
get a series of class not found. Other
> than that once the eclipse 
plug-in is installed, POM written simply
> compile normally through 
eclipse or externally from external->tools.
> Check the Maven Jira I 
added the step-by-step process to get the
> plug-in running 
properly
>  
> Phill
> 
> 
> 
______________________________________________________________________
> 
From: spouynt@yahoo.fr [mailto:spouynt@yahoo.fr] 
> Sent: April 26, 2007 
8:39 AM
> To: user@m2eclipse.codehaus.org
> Subject: 
[m2eclipse-user] Step by Step guide
> 
> 
> 
> 
Hello,
> can somebody have the kindness to give me a simple step by step 
guide
> to use maven through eclipse ?
> 
> (compile, process 
resources, test..) because I'd like to use the
> codehaus plugin but I 
have some strange logs without explanation of
> errors !
> 
> 
eg. : 
> 
> [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:myOldAppUsingAnt:jar:1.3
> 
[INFO]    task-segment: [compiler:compile]
> 
[INFO]
> 
----------------------------------------------------------------------------
> 
[INFO] Searching repository for plugin with prefix: 'compiler'.
> [INFO] 
compiler:compile
> [INFO] Nothing to compile - all classes are up to 
date
> [INFO]
> 
----------------------------------------------------------------------------
> 
[INFO] BUILD SUCCESSFUL
> [INFO]
> 
----------------------------------------------------------------------------
> 
[INFO] Total time: 1 second
> [INFO] Finished at: Thu Apr 26 10:57:32 GMT 
2007
> [INFO] Memory 1M/6M
> [INFO]
> 
----------------------------------------------------------------------------
> 

> 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.
> 
> 
> 

> 
> 
______________________________________________________________________
> 
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. 
> 
> 
> 

> 
> 
______________________________________________________________________
> 
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.
-- 
Mit freundlichen 
Grüßen,

Stefan 
Seidel
Software-Entwickler
________________________
VUB Printmedia 
GmbH
Chopinstraße 4, 04103 Leipzig
tel.    +49 (341) 9 
60 50 07
fax.    +49 (341) 9 60 50 
92
mail.   sseidel@vub.de 
web.    www.vub.de

HRB 
Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. 
Christian Preuss 
Neudorf


---------------------------------------------------------------------
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.





      
___________________________________________________________________________ 
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