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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: April 26, 2007 1:50 PM
To: [email protected]
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 <[EMAIL PROTECTED]>
À : [email protected]
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:[EMAIL PROTECTED] 
Sent: April 26, 2007 12:59 PM
To: [email protected]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: April 26, 2007 10:22 AM
To: [email protected]
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 <[EMAIL PROTECTED]>
À : [email protected]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: April 26, 2007 9:47 AM
To: [email protected]
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 <[EMAIL PROTECTED]>
À : [email protected]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: April 26, 2007 8:39 AM
To: [email protected]
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!  <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
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!  <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
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.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com> . 


  _____  

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!  <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
Questions/Réponses.

Reply via email to