| Author |
Message |
|
|
|
Post subject: Maven2 With eclipse
Posted: Nov 06, 2005 - 07:10 AM
|
|
|
|
hi
i want to know if there's a maven 2 plugins to use it with eclipse
Thanx  |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Maven2 With eclipse
Posted: Nov 10, 2005 - 07:24 PM
|
|
|
|
there is one in the works but I'm not sure if its been released yet.
query the maven list, at one point someone was offering a "sneak peek" at the work done so far. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Maven2 With eclipse
Posted: Dec 01, 2005 - 10:53 AM
|
|
|
|
| Can anybody probably point me to the sneak peek of a plugin that integrates maven 2 into eclipse? I searched for several hours now and am kind of unlucky... |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Maven2 With eclipse
Posted: Dec 08, 2005 - 12:05 PM
|
|
|
|
i have created on.. which
- enable you to use dependencies declared in pom.xml as java library
- or you can copy dependencies declared in pom.xml into java project
- Add M2_REPRO VARIABLE to eclipse Env for using with "mvn eclipse:eclipse"
if you need to try this, leave me your e-mail here... |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Maven2 With eclipse
Posted: Dec 10, 2005 - 03:30 PM
|
|
Joined: Dec 10, 2005
Posts: 1
|
|
| Anonymous wrote: | i have created on.. which
- enable you to use dependencies declared in pom.xml as java library
- or you can copy dependencies declared in pom.xml into java project
- Add M2_REPRO VARIABLE to eclipse Env for using with "mvn eclipse:eclipse"
if you need to try this, leave me your e-mail here... |
I'd be interested in this, too. Please send to my address:
chris_gardner76 at yahoo.com |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Maven2 With eclipse
Posted: Dec 12, 2005 - 10:06 AM
|
|
|
|
I'd be interested in this, too. Please send to my address:
giulio02 at romandie.com |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Maven2 With eclipse
Posted: Dec 12, 2005 - 01:34 PM
|
|
|
|
I'd be interested in this, too. Please send to my address:
milbot 010 gmx.net - replace 010 with at
Thanks!!! |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Maven2 With eclipse
Posted: Dec 14, 2005 - 08:21 PM
|
|
|
|
I had trouble with this plugin. I'm using only the antlib maven 2.0 tasks, not full-blown maven 2.0. The tasks work well. They download everything I need including hibernate. When I use the plugin for eclipse and point to my pom.xml, it seems to choke on loading up hibernate. As long as hibernate 3.0.5 is referenced in my pom.xml, the plugin breaks. If I remove the hibernate reference, it works fine (and gets the other 2 dependencies along with their dependencies). When I add hibernate back to my pom.xml, everything for my other 2 dependencies disappears, leaving an empty "dependencies" classpath variable. Has anyone else tried this yet? If not, try it with org.hibernate v. 3.0.5 and let me know.
chris_gardner76 at yahoo.com
Thanks |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Maven2 With eclipse
Posted: Dec 15, 2005 - 03:37 AM
|
|
|
|
It's seem you use difference local repo for antlib..
this plugin will check for C:\Documents and Settings\<user>\.m2settings.xml for local repo
if not found it will use default one which is <user home>/.m2/repository
you may need to create setting file for this plugins
here is my cuurent setting file
<settings>
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ~/.m2/repository
-->
<localRepository>D:/Workspaces/java-repository</localRepository>
</settings>
thank for trying my plugins
thawee |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Maven2 With eclipse
Posted: Dec 15, 2005 - 03:47 AM
|
|
|
|
[quote="Anonymous"]i have created on.. which
- enable you to use dependencies declared in pom.xml as java library
- or you can copy dependencies declared in pom.xml into java project
- Add M2_REPRO VARIABLE to eclipse Env for using with "mvn eclipse:eclipse"
I would like also
ahmadyounis_ay2@yahoo.com |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Maven2 With eclipse
Posted: Dec 15, 2005 - 06:01 PM
|
|
|
|
Today at JavaPolis Vincent Massol had a good talk about Maven 2 (<http://www.javapolis.com/confluence/display/JP05/Maven+2.0>). He also demonstrated a new plug-in that was freshly announced yesterday (something of a 0.0.3 release). He forgot to mention the name or the URL. Is this the same plugin?
Anyway, I would like to test it too: jos.potargent ad gmail dod com |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: Maven2 With eclipse
Posted: Dec 15, 2005 - 08:53 PM
|
|
|
|
I've added this m2settings.xml file:
C:\Documents and Settings\Chris\.m2\m2settings.xml
with these contents
<settings>
<localRepository>c:/Documents and Settings/Chris/maven-repository</localRepository>
</settings>
The maven antlib tasks 2.0.1 work fine and drop the dependencies in the repository. The plugin still deletes everything when I include hibernate 3.0.5 in my pom.xml.
When I remove hibernate from the pom, it adds the other dependencies. I noticed, however, that those dependencies are still coming out of the default repository in .m2 in my home directory. In any event all the possible m2 repositories on my machine have the hibernate 3.0.5 jars and poms.
| Anonymous wrote: | It's seem you use difference local repo for antlib..
this plugin will check for C:\Documents and Settings\<user>\.m2settings.xml for local repo
if not found it will use default one which is <user home>/.m2/repository
you may need to create setting file for this plugins
here is my cuurent setting file
<settings>
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ~/.m2/repository
-->
<localRepository>D:/Workspaces/java-repository</localRepository>
</settings>
thank for trying my plugins
thawee |
|
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Maven2 With eclipse
Posted: Dec 16, 2005 - 05:26 AM
|
|
|
|
oop! sorry my misstake the file sjhould be
C:\Documents and Settings\Chris\.m2\settings.xml |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: Maven2 With eclipse
Posted: Dec 16, 2005 - 05:34 AM
|
|
|
|
|
|
|
 |
|
|
Post subject: RE: Re: RE: Maven2 With eclipse
Posted: Dec 16, 2005 - 07:54 AM
|
|
|
|
| Anonymous wrote: | oop! sorry my misstake the file sjhould be
C:\Documents and Settings\Chris\.m2\settings.xml | Followed the instructions. Same problem. Maybe the problem is a combination of a strange hibernate 3.0.5 pom and my not having full-blown maven on my machine. Would someone setup a pom that uses org.hibernate, hibernate, 3.0.5 to see if you have the same problem? If so, please try it against a new repository. Also, if you have a machine that doesn't have maven 2.0 on it that would be good, too.
Thanks |
|
|
| |
|
|
|
 |
|
|