Re: Eclipse support for Maven modules

2021-12-27 Thread Pavel Horal
Hi, you need to import all modules via "Import... > Maven > Existing Maven Projects". This is available either from File menu or from context menu (right mouse click) on existing project or repository inside Git Repositories view. M2e will also automatically link imported projects together (you ca

Re: Eclipse support for Maven modules

2021-12-27 Thread Ed Dowgiallo
Thank you Gary, I will check them out. On Mon, Dec 27, 2021 at 11:02 AM Gary Gregory wrote: > Once the Eclipse m2e plugin imports a Maven project, it will create for you > a .project file, a .classpath file and possibly a .settings folder. Those > are your Eclipse artifacts. > > Gary > > On Mon,

Re: Eclipse support for Maven modules

2021-12-27 Thread Gary Gregory
Once the Eclipse m2e plugin imports a Maven project, it will create for you a .project file, a .classpath file and possibly a .settings folder. Those are your Eclipse artifacts. Gary On Mon, Dec 27, 2021 at 10:30 AM Ed Dowgiallo wrote: > Slawomir, > > Yes, all works fine at command line. All 31

Re: Eclipse support for Maven modules

2021-12-27 Thread Ed Dowgiallo
Slawomir, Yes, all works fine at command line. All 31 modules work for mvn clean, and I currently get a package not found in module 25 which is my bug. It is not publicly accessible. Is this supposed to work strictly off the pom.xmls? Or are there eclipse configuration files involved? Ed On Mo

Re: Eclipse support for Maven modules

2021-12-27 Thread Slawomir Jaranowski
Hi, Does your fresh project after git checkout build correctly with all modules by standard Maven command, like mvn clean verify from command line? Is your project accessible publicly? pon., 27 gru 2021 o 15:56 Ed Dowgiallo napisał(a): > Hi, > > First time poster. > > I like the Maven approac

Re: Eclipse Luna and M2Extra

2014-10-10 Thread Ron Wheeler
You are way past my use of Eclipse. Ain't "bundles" wonderful - solves all those dependency problems. I had a bundle conflict trying to get e(fx)clipse into STS. Had to go to a vanilla Luna to get it to install so I did not have the rest of my tools and now have 2 Eclipse IDEs until the STS h

Re: Eclipse Luna and M2Extra

2014-10-10 Thread Dan Tran
Vanila Luna does not have problem. I will file issue at STS -D On Fri, Oct 10, 2014 at 9:31 AM, Dan Tran wrote: > looks like it is a STS issue. > > I am going to switch to LUNA > > !ENTRY org.eclipse.jface 4 2 2014-10-10 09:28:16.566 > !MESSAGE Problems occurred when invoking code from plug-in:

Re: Eclipse Luna and M2Extra

2014-10-10 Thread Dan Tran
looks like it is a STS issue. I am going to switch to LUNA !ENTRY org.eclipse.jface 4 2 2014-10-10 09:28:16.566 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". !STACK 0 java.lang.NullPointerException at org.eclipse.jface.viewers.ViewerCell.getStyleRanges(ViewerCel

Re: Eclipse Luna and M2Extra

2014-10-10 Thread Dan Tran
I am using both STS 3.6.1 and Luna R ( dont ask why :-). after install a new STS, I need to install http://ifedorenko.github.com/m2e-extras/ to get mavendev development with mojo annotation support[1], that update site, requires m2e 1.6 which is not officially released yet ( i pick it up from Ta

Re: Eclipse Luna and M2Extra

2014-10-10 Thread Ron Wheeler
You can save a lot of these types of issues that just add overhead by using the free Eclipse/STS from the Springsource guys. OOB, it is Eclipse Luna with everything that you need to develop with Java and Maven (and a lot of other technologies). I have found one problem with the JavaFX plug-in e

Re: Eclipse Luna and M2Extra

2014-10-10 Thread Karl Heinz Marbaise
Hi Dan, which version of m2e have you installed ? Kind regards Karl Heinz Marbaise On 10/10/14 3:41 AM, Dan Tran wrote: I am try to install m2extra with eclipse luna using http://ifedorenko.github.com/m2e-extras/ Is it still a valid updatesite, I am running into dependency issue error is I

Re: Eclipse Luna and M2Extra

2014-10-09 Thread Dan Tran
Thanks Anders -D On Thu, Oct 9, 2014 at 10:16 PM, Anders Hammar wrote: > You will probably have more luck on the m2e list than here on the Maven > list. > > /Anders (mobile) > Den 10 okt 2014 03:42 skrev "Dan Tran" : > > > I am try to install m2extra with eclipse luna using > > http://ifedorenk

Re: Eclipse Luna and M2Extra

2014-10-09 Thread Anders Hammar
You will probably have more luck on the m2e list than here on the Maven list. /Anders (mobile) Den 10 okt 2014 03:42 skrev "Dan Tran" : > I am try to install m2extra with eclipse luna using > http://ifedorenko.github.com/m2e-extras/ > > Is it still a valid updatesite, I am running into dependency

Re: eclipse plugin SUCCESS but no project?

2013-05-07 Thread Wayne Fay
> Thank you. I tried that using "Import -> Maven -> Existing Maven Project" > then choose the corresponding directory but the dependencies are not > resolved even though they are all in the local repo and all other projects > above this where generated using the eclipse plugin and work fine i.e. >

Re: eclipse plugin SUCCESS but no project?

2013-05-07 Thread Ron Wheeler
You might also try the Eclipse STS from Spring. It has everything that you need for developing Spring applications with Maven, all packaged up in a single download. Ron On 07/05/2013 10:38 AM, Giovanni Azua wrote: Hi Wayne, Thank you. I tried that using "Import -> Maven -> Existing Maven P

Re: eclipse plugin SUCCESS but no project?

2013-05-07 Thread Giovanni Azua
Hi Wayne, Thank you. I tried that using "Import -> Maven -> Existing Maven Project" then choose the corresponding directory but the dependencies are not resolved even though they are all in the local repo and all other projects above this where generated using the eclipse plugin and work fine i.e.

Re: eclipse plugin SUCCESS but no project?

2013-05-07 Thread Wayne Fay
> I am trying to build Spring RCP and I'm very interested in the > spring-richclient-jide-sample-google but when I run the following I see > SUCCESS but no project? How can I troubleshoot this? ... > [INFO] --- maven-eclipse-plugin:2.5.1:eclipse (default-cli) @ > spring-richclient-jide-sample-googl

Re: Eclipse plugin and project references

2013-02-25 Thread Baptiste MATHUS
+1. Even the maven-eclipse-plugin developers advice to use M2Eclipse instead. Cheers 2013/2/25 Lyons, Roy > From my experience to date, it has proven far better to use the m2eclipse > plugin and import the maven project directly. It will then perform the > build using maven... > > When people

Re: Eclipse plugin and project references

2013-02-25 Thread Lyons, Roy
>From my experience to date, it has proven far better to use the m2eclipse plugin and import the maven project directly. It will then perform the build using maven... When people come to me with issues such as yours, I generally tell them to delete the project and re-import using m2eclipse (and n

Re: Eclipse plugin and project references

2013-02-25 Thread Andreas Gudian
The plugin will always resolve the artifact as eclipse project, if it detects that project within your eclipse workspace, or if it is in the reactor (i.e. part of the maven build). Remove the other project from the workspace and you should be fine. Or make sure that "core" now has a new version (it

Re: Eclipse plugin and project references

2013-02-25 Thread Stiffler82
I have a problem and can not find any support for it, also not in google. I created my own lib called "core.jar" and when I try to refer it as a dependency in from my POM all works fine: com.innosquared core 1.1.10 But when I run mvn eclipse:ecl

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

2012-12-11 Thread boumbh
I’m always confuse when I see this answer and since it is the third time, I will try and answer myself for the next time I get this problem. For a new project, just take the latest stable version of the plugins. When you import an existing project, try and guess which plugin could have been used o

Re: Eclipse Plugin and Project Links to Independent Projects

2012-06-05 Thread Chris Redekop
On Mon, Jun 4, 2012 at 8:08 PM, Barrie Treloar wrote: > On Tue, Jun 5, 2012 at 3:19 AM, Chris Redekop wrote: >> (How) can I use the Eclipse plugin to create Eclipse project files >> that refer to an dependency A) with an Eclipse project link instead of >> B) as a JAR in the repo?  The dependency

Re: Eclipse Plugin and Project Links to Independent Projects

2012-06-04 Thread Barrie Treloar
On Tue, Jun 5, 2012 at 3:19 AM, Chris Redekop wrote: > (How) can I use the Eclipse plugin to create Eclipse project files > that refer to an dependency A) with an Eclipse project link instead of > B) as a JAR in the repo?  The dependency in this case is A) NOT a > module of the parent project (whe

Re: eclipse plugin for maven using jdk 1.3

2012-04-03 Thread sarmahdi
Thanks for the reply Thorsten Heit, the problem is that on my machine i commented out the compiler plugin part but it was still using 1.6 and i thought copying the pom.xml from my workspace to other workspace would work. but it did not, so i uncommented my compiler plugin entry and it worked fine

Re: eclipse plugin for maven using jdk 1.3

2012-04-02 Thread Thorsten Heit
Hi, > I checked if the JRE in the Run AS configuration was 1.3 but it was not. Why > is the maven plugin using 1.3 is beyond my understanding. http://maven.apache.org/general.html#Compiling-J2SE-5 HTH Thorsten

Re: Eclipse pde with maven

2012-03-29 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 9:18 PM, Barrie Treloar wrote: > On Thu, Mar 29, 2012 at 5:28 PM, Jeff MAURY wrote: >> Nexus OSS does support p2 since version 2.0 > > Sweet, I'll be filing the paperwork for an upgrade tomorrow then. Got 2.0.3 installed and it doesn't have Eclipse P2 Repository as a Prox

Re: Eclipse pde with maven

2012-03-29 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 5:28 PM, Jeff MAURY wrote: > Nexus OSS does support p2 since version 2.0 Sweet, I'll be filing the paperwork for an upgrade tomorrow then. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: Eclipse pde with maven

2012-03-28 Thread Jeff MAURY
Nexus OSS does support p2 since version 2.0 Jeff Le 29 mars 2012 06:28, "Barrie Treloar" a écrit : > On Thu, Mar 29, 2012 at 1:27 PM, Not Zippy wrote: > > I just wanted to verify that there wasnt a better plugin to do the job > for > > an eclipse pde, thats why I asked here first. > > Not that

Re: Eclipse pde with maven

2012-03-28 Thread Not Zippy
On Wed, Mar 28, 2012 at 9:27 PM, Barrie Treloar wrote: > > On Thu, Mar 29, 2012 at 1:27 PM, Not Zippy wrote: > > I just wanted to verify that there wasnt a better plugin to do the job for > > an eclipse pde, thats why I asked here first. > > Not that I am aware of. > > We still use pde-maven-plug

Re: Eclipse pde with maven

2012-03-28 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 1:27 PM, Not Zippy wrote: > I just wanted to verify that there wasnt a better plugin to do the job for > an eclipse pde, thats why I asked here first. Not that I am aware of. We still use pde-maven-plugin which has long been abandoned. Its just a shell to the Eclipse Ant

Re: Eclipse pde with maven

2012-03-28 Thread Not Zippy
I just wanted to verify that there wasnt a better plugin to do the job for an eclipse pde, thats why I asked here first. thx On Wed, Mar 28, 2012 at 3:32 PM, Barrie Treloar wrote: > On Thu, Mar 29, 2012 at 8:36 AM, Not Zippy wrote: > > Hi > > > > I am porting over an existing ant project build

Re: Eclipse pde with maven

2012-03-28 Thread Barrie Treloar
On Thu, Mar 29, 2012 at 8:36 AM, Not Zippy wrote: > Hi > > I am porting over an existing ant project build from ant to maven. I have > the core assets compiling with maven without issues. I also was able to get > plugin built for netbeans with very little difficulty at all. But with > eclipse it i

Re: eclipse plugin has a POM of its own

2012-03-05 Thread sarmahdi
Thanks Anders, Yes you are right the plugin that installed with eclipse was different than the one i installed with netbeans(thats what i was using outside the IDE as well) but here is the thing now, whihc is ticking me off with eclipse plugin for maven. I dont know why but now when I am running

Re: eclipse plugin has a POM of its own

2012-03-04 Thread Anders Hammar
It might be that you're using different Maven versions. What version of Maven are you using from command-line? m2e (Eclipse) is using Maven 3.0.2+some patches (or 3.0.3 if you've installed the upgraded embedder). If you're using different Maven versions, different Super-POMs are used with differen

Re: eclipse plugin has a POM of its own

2012-03-04 Thread sarmahdi
Thanks for the reply Ron, appreciate it The question is that why would i need to overriding your plug-in versions now that I am in eclipse, outside of my eclipse i was doing fine and running the POM as IS . now that I have ported it into eclipse why are the settings different. I know your answer w

Re: eclipse plugin has a POM of its own

2012-03-04 Thread Ron Wheeler
The effective POM is just your project POM merged with the Maven super POM, the project's parent POM, your settings.XML and the settings in Eclipse for Maven and Java. You need to check your Eclipse workspace and project properties to see how Maven and Java are set up in your Eclipse settings.

Re: Eclipse project under maven with JBoss-packaging plug-in

2011-12-01 Thread Barrie Treloar
On Fri, Dec 2, 2011 at 7:50 AM, Barney Sperlin wrote: > Hello, >      I'm trying to get a JBoss ESB project working under Maven in Eclipse.  I > downloaded the jboss-packaging-maven-plugin-2.2.jar and put it into > c:\program files\Apache Software Foundation\apache-maven-3.0.3\lib\ with > other

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

2011-11-17 Thread Barrie Treloar
On Mon, Dec 27, 2010 at 7:06 AM, fvo1961 wrote: > > I've installed m2 Sonatype plugin in eclipse. When I execute package, the > following warning messages appear: p.s. You need to find the m2e mailing lists - this is the Maven mailing list. ---

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

2011-11-17 Thread freddi3k
i am confused too... -- View this message in context: http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p5002788.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: eclipse plugin does not generate org.eclipse.jdt.core.prefs file

2011-10-21 Thread Gabriel Belingueres
Hi Barrie! Finally, I had some time to checkout the eclipse plugin and do some modifications to make it work. If the explicit configuration is not found for the compiler source/target, it searches for the maven.compiler.source/maven.compiler.target properties. Even if the properties are not found

Re: eclipse plugin does not generate org.eclipse.jdt.core.prefs file

2011-09-23 Thread Barrie Treloar
On Sat, Sep 24, 2011 at 12:43 AM, Gabriel Belingueres wrote: > Thanks Barrie! > That modification made the trick. > > I also don't actually know if configuring the plugin using the command > line properties is a best practice. > But seeing the source code of the eclipse plugin, I traced it to the

Re: eclipse plugin does not generate org.eclipse.jdt.core.prefs file

2011-09-23 Thread Gabriel Belingueres
Thanks Barrie! That modification made the trick. I also don't actually know if configuring the plugin using the command line properties is a best practice. But seeing the source code of the eclipse plugin, I traced it to the IdeUtils.java [1], and it seems that the properties are not tacked into a

Re: eclipse plugin does not generate org.eclipse.jdt.core.prefs file

2011-09-22 Thread Barrie Treloar
On Fri, Sep 23, 2011 at 3:51 AM, Gabriel Belingueres wrote: > Hi, > > I'm using Maven 3.0.3. > > My current project pom.xml file uses a parent pom where is defined the > maven-compiler-plugin configuration: > >   >        1.6 >        1.6 >        true >        true >         > lines,vars,source >

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

2011-05-20 Thread ganeshgk.ind
So what did you give as the plugin version ?? Maven version number..? I'm a little confused... -- View this message in context: http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p4412500.html Sent from t

Re: Eclipse plugin WTP and servlet version

2011-05-10 Thread xanadu72
The jst.web version can be configured defining a dependency on Servlet-API artifact : org.apache.tomcat servlet-api 6.0.32 If this example you will get More details available at http://java-tutorial.ch/maven/eclipse-web-app Maven Eclipse Webapp tutorial Anton

Re: eclipse-could-not-find-dependencies

2011-04-11 Thread Wayne Fay
> I was exploring on using Nexus. I installed and started Nexus repository and > ... > But, when working with m2eclipse, if i try to add lets say Springframework This list supports Maven the command line tool. You are asking questions about m2eclipse the Eclipse plugin which is supported elsewher

Re: [eclipse-plugin] Dependency to workspace projects

2011-04-11 Thread Ron Wheeler
On 10/04/2011 7:46 PM, Barrie Treloar wrote: On Sat, Apr 9, 2011 at 7:54 PM, Jörg Schaible wrote: Ludwig Magnusson wrote: Hello! I know that the maven-eclipse-plugin somehow can figure out that a dependency actually exists as a project in workspace and therefore add that project to the build

Re: [eclipse-plugin] Dependency to workspace projects

2011-04-10 Thread Barrie Treloar
On Sat, Apr 9, 2011 at 7:54 PM, Jörg Schaible wrote: > Ludwig Magnusson wrote: > >> Hello! >> >> I know that the maven-eclipse-plugin somehow can figure out that a >> dependency actually exists as a project in workspace and therefore add >> that project to the build path instead of trying to downl

Re: [eclipse-plugin] Dependency to workspace projects

2011-04-09 Thread adam . saltiel
I always thing 'resolve workspace dependencies' is a bad idea. Better install in local repo. But surely should work for single project. Then you would pick everything up from project/lib. Can see why may want to do this --Original Message-- From: Ludwig Magnusson To: users@maven.apache.o

Re: [eclipse-plugin] Dependency to workspace projects

2011-04-09 Thread Jörg Schaible
Ludwig Magnusson wrote: > Hello! > > I know that the maven-eclipse-plugin somehow can figure out that a > dependency actually exists as a project in workspace and therefore add > that project to the build path instead of trying to download a jar-file > from a remote repository. > > My question i

Re: eclipse intergration

2011-03-29 Thread Manuel Doninger
You can find the m2eclipse mailing lists here: http://m2eclipse.sonatype.org/project-information.html Manuel 2011/3/29 Zbynek Vavros : > > > Does this list also concerns eclipse integration? > > Zbynek > >  Kind Regards / Mit >  freundlichen Grüßen / >  Üdvözlettel / S >  pozdravem: > > >  Zbynek

Re: Eclipse Plugin - how to remove M2_REPO classpath variable (re-post)

2011-02-12 Thread Barrie Treloar
On Thu, Feb 10, 2011 at 5:55 AM, Wayne Fay wrote: > CL sent this to me privately, forwarding back to the list, I have > nothing to add... > > > -- Forwarded message -- > Date: Tue, Feb 8, 2011 at 4:33 PM > Subject: RE: Eclipse Plugin - how to remove M2_RE

Re: Eclipse Plugin - how to remove M2_REPO classpath variable (re-post)

2011-02-07 Thread Wayne Fay
> Re-post - Not seeing first post show up anywhere, sorry if this re-post > is spam. > > Does anyone know a way to remove the M2_REPO classpath variable that was > added using More than one person replied to your original post: http://maven.40175.n5.nabble.com/Maven-Eclipse-Plugin-how-to-remove-M2

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

2010-12-28 Thread fvo1961
thanks for advise...warning message are gone when I specify the pluging version in the POM. -- View this message in context: http://maven.40175.n5.nabble.com/eclipse-WARNING-build-plugins-plugin-version-for-org-apache-maven-plugins-maven-compiler-plugin-is-mg-tp3318900p3320316.html Sent from the

Request received: Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp... (ticket #21944)

2010-12-27 Thread Boxee Support
## In replies all text above this line is added to the ticket ## Request received: Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp... (ticket #21944) Your request (#21944) has been received, and is being reviewed by our support staff. To r

Re: eclipse : [WARNING] build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing

2010-12-27 Thread Anders Hammar
Do as the messages say, specify the version of those plugins (in the pom). /Anders (mobile) Den 27 dec 2010 10.07 skrev "fvo1961" : > > I've installed m2 Sonatype plugin in eclipse. When I execute package, the > following warning messages appear: > > [WARNING] Some problems were encountered while

Re: Eclipse multi-module project with maven

2010-11-15 Thread jeb001
Ok, Thanks for all.. I think that I should let the static configuration on the server, and don't care about it when I package... Thx, Jeremy -- View this message in context: http://maven.40175.n5.nabble.com/Eclipse-multi-module-project-with-maven-tp3256822p3265745.html Sent from the Maven - U

Re: Eclipse multi-module project with maven

2010-11-10 Thread Antonio Petrelli
2010/11/10 jeb001 : > I've seen that I should use profiles et filters.. but I don't know exactly > how, with my 4-part project? > > In which pom.xml have I to define thoses filters ? each one ? > I'm not sure this is the best way to do it.. Yes, each one you have such configurable resources. 1. Ju

Re: Eclipse multi-module project with maven

2010-11-10 Thread Antonio Petrelli
2010/11/10 jeb001 : > Now, I'm looking for the best way to use maven profiles with my new project > organisation.. > I just wanna create 2 profiles, developpement and production, for each > project. > The production profile will have to package using src/main/resources-prod > directory, and thes >

Re: Eclipse multi-module project with maven

2010-11-10 Thread jeb001
Ok, that works the way I want... with 4 eclipse projects and only 3 real ones. Now, I'm looking for the best way to use maven profiles with my new project organisation.. I just wanna create 2 profiles, developpement and production, for each project. The production profile will have to package usi

Re: Eclipse multi-module project with maven

2010-11-10 Thread jeb001
You're right, those 2 set of resources only differ in the addresses they point. (or something like that..) I've seen that I should use profiles et filters.. but I don't know exactly how, with my 4-part project? In which pom.xml have I to define thoses filters ? each one ? I'm not sure this is t

Re: Eclipse multi-module project with maven

2010-11-09 Thread jeb001
Ok, there's no hierarchy in a parent project.. I try to apply your recommendations, thanks for your help, Jeremy. -- View this message in context: http://maven.40175.n5.nabble.com/Eclipse-multi-module-project-with-maven-tp3256822p3256891.html Sent from the Maven - Users mailing list archive a

Re: Eclipse multi-module project with maven

2010-11-09 Thread Anders Hammar
Yes, a parent is a pom project. Your api project is a jar project - it creates a jar. So create an aggregating project which can also be the parent project. Then create three jar projects, which are listed as modules. There are create resources on the Internet explaining all this. Regarding Eclip

Re: Eclipse multi-module project with maven

2010-11-09 Thread jeb001
Ok, I guess there's a confusion speaking about "parent" project.. In my case, web and batch project needs Api jar file to work.. but, I should not consider the Api project as the parent ? By the way, if create one aggregating Maven project listing 3 modules.. should I declare the sourceFolder i

Re: Eclipse multi-module project with maven

2010-11-09 Thread jeb001
sure, here it is : http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 fr.gouv.finances.douane.dnsce.mavenProject Mave

Re: Eclipse multi-module project with maven

2010-11-09 Thread Anders Hammar
You should create one aggregating Maven project, which is a pom project which lists your three modules (api, batch, and web). Then, in the sub-folders stated by your module names, create the Maven projects that will be creating your jars. So, in total you will have four Maven projects. This is wha

Re: Eclipse multi-module project with maven

2010-11-09 Thread Antonio Petrelli
2010/11/9 jeb001 : > In my case, web and batch project needs Api jar file to work.. but, I should > not consider the Api project as the parent ? No, it's a dependency. > By the way, if create one aggregating Maven project listing 3 modules.. > should I declare the sourceFolder in the eclipse clas

Re: Eclipse multi-module project with maven

2010-11-09 Thread Anders Hammar
Keep your aggregating project clean. Move you build stuff to a separate module. /Anders On Tue, Nov 9, 2010 at 15:02, jeb001 wrote: > > sure, here it is : > > > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >xsi:schemaLocation="http://maven

Re: Eclipse multi-module project with maven

2010-11-09 Thread Greg Akins
Could you show us the contents of the parent pom.xml? On Tue, Nov 9, 2010 at 8:37 AM, jeb001 wrote: > > Hi, > > I'm a new user of maven.. I've seen part of response at my question, but > never exactly got > what I expect. > So, before introducing maven into my project, I had 3 differents projects

Re: Eclipse multi-module project with maven

2010-11-09 Thread Ron Wheeler
On 09/11/2010 9:09 AM, Anders Hammar wrote: Yes, a parent is a pom project. Your api project is a jar project - it creates a jar. So create an aggregating project which can also be the parent project. Then create three jar projects, which are listed as modules. There are create resources on the

Re: Eclipse Maven WAS

2010-07-22 Thread Refr Bruhl
Excellent! Thanks! - Original Message From: Timothy Mcginnis To: Maven Users List Cc: users@maven.apache.org Sent: Thu, July 22, 2010 9:41:30 AM Subject: Re: Eclipse Maven WAS Yes. We use M2Eclipse (9.8 I know its old) and just configure the poms normally. In RSA make a few

Re: Eclipse Maven WAS

2010-07-22 Thread Timothy Mcginnis
Yes. We use M2Eclipse (9.8 I know its old) and just configure the poms normally. In RSA make a few preference changes. Java EE - in the Classpath containers box uncheck Use Ear Libraries classpath container Java EE->Project --- uncheck Add project to an EAR

Re: eclipse: can't create new maven project under workspace

2009-11-15 Thread eyal edri
I am using eclipse 3.4, but since i moved using m2eclipse plugin i don't see this problem anymore. so i guess it's not relevant, thanks! On Mon, Nov 16, 2009 at 12:29 AM, Barrie Treloar wrote: > On Tue, Nov 10, 2009 at 8:11 PM, eyal edri wrote: > > Anyone know why eclipse can't resolve the M

Re: eclipse: can't create new maven project under workspace

2009-11-15 Thread Barrie Treloar
On Tue, Nov 10, 2009 at 8:11 PM, eyal edri wrote: > Anyone know why eclipse can't resolve the M2_REPO build path if the project > dir is created under the workspace? > > if i move the project dir to another dir, it works. What version of Eclipse? Are you certain you have configured the variable

Re: Eclipse as a dependency

2009-09-27 Thread Roland Asmann
I believe that openArchitectureWare also uses the eclipse-formatter. At least they have several eclipse-jars in their repo (although I honestly have no idea how old/new thea are). You might want to check those out? http://www.openarchitectureware.org/m2/ Roland > there are some jars already the

Re: Eclipse as a dependency

2009-09-25 Thread Carlos Sanchez
there are some jars already there from an attempt long time ago to have eclipse in the repository, under org.eclipse On Fri, Sep 25, 2009 at 2:00 AM, Emmanuel Hugonnet wrote: > Hi, > I have created a small Maven plugin which uses the Eclipse code formatter to > format my code. > I would like to r

Re: eclipse WTP using packaged jar, not exploded

2009-09-09 Thread Jim Sellers
So sorry, another idea occurred to me after I had sent this. I changed values in the common jar and they appear to be packaged up by WTP and deployed to the lib directory. This seems to work, just in a different way than I had assumed it would. Please disregard my question. Thanks for your time

Re: Eclipse code template convertor

2009-08-11 Thread Barrie Treloar
On Wed, Aug 12, 2009 at 8:49 AM, Alexander wrote: > Hi all, > > In our team we have some code conventions. There are defined some project > specific eclipse code templates. > Is there any plugin to convert them to IDEA code templates? Maybe not fully > identical. Perhaps asking on the IDEA forums

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-18 Thread Barrie Treloar
On Thu, Jun 18, 2009 at 7:42 PM, Daniele Dellafiore wrote: > this is exactly what I understood. > > I have, in the same folder, two projects, A and B. A uses B as dependancy. > I expect that when I mvn eclipse:eclipse A it uses B as a link, in eclipse, > rather than pointing to the jar in M2 repo.

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-18 Thread Daniele Dellafiore
this is exactly what I understood. I have, in the same folder, two projects, A and B. A uses B as dependancy. I expect that when I mvn eclipse:eclipse A it uses B as a link, in eclipse, rather than pointing to the jar in M2 repo. This is actually not happening For both projects, the name of the

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-17 Thread Barrie Treloar
On Thu, Jun 18, 2009 at 4:10 PM, Martijn Dashorst wrote: > This is not the functionality I described. What you describe already > works in 2.5, as it is the multimodule functionality. What I described > is that you can check out Wicket into your workspace, and start > hacking on your own Wicket app

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-17 Thread Martijn Dashorst
This is not the functionality I described. What you describe already works in 2.5, as it is the multimodule functionality. What I described is that you can check out Wicket into your workspace, and start hacking on your own Wicket application, where the maven-eclipse-plugin:2.7 will find the wicket

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-17 Thread Barrie Treloar
On Thu, Jun 18, 2009 at 6:05 AM, Jim Sellers wrote: > I've found that it only works if your other projects: > 1) have the same parent and you run the maven command from the parent They should be able to have different parents. > 2) the other project is at the top level of your workspace.  e.g. >

Re: eclipse plugin 2.7: link project instead of repository jar

2009-06-17 Thread Jim Sellers
I've found that it only works if your other projects: 1) have the same parent and you run the maven command from the parent 2) the other project is at the top level of your workspace. e.g. MyWonderfulProject \ pom.xml MyMasterLib \ pom \ MySubModuleLib \ pom.xml >From MyWonderfulProject, if y

Re: eclipse and maven discrepancies

2009-04-23 Thread Jeremy Whiting
Hi, I had the same problem running caveat emptor in eclipse. The explanation was touched on earlier in this thread but not identified as the reason. The compiled classes have been placed alongside the source file folders in Eclipse. And this means the class files cannot be loaded for the TestN

Re: Eclipse plugin 2.6 and package explorer order

2009-04-06 Thread Arnaud HERITIER
yes it was intentional. It is annoying but you'll be sure to have the same behavior in eclipse and in maven. cheers arnaud On Mon, Apr 6, 2009 at 1:02 PM, Paul Nyheim wrote: > I think this is intentional to be aligned with the classpath order > that maven sets up when running tests. > See http:

Re: Eclipse plugin 2.6 and package explorer order

2009-04-06 Thread Paul Nyheim
I think this is intentional to be aligned with the classpath order that maven sets up when running tests. See http://jira.codehaus.org/browse/MECLIPSE-318 On Mon, Apr 6, 2009 at 11:07 AM, Martin Gilday wrote: > I am running Maven 2.1.0 and 2.6 of the eclipse plugin.  For some reason > after runni

RE: Eclipse and maven

2009-03-09 Thread Edelson, Justin
that are developer-specific, like the path to some execuatble. Justin -Original Message- From: John Wooten [mailto:jwoo...@shoulderscorp.com] Sent: Monday, March 09, 2009 11:19 AM To: Maven Users List Subject: Re: Eclipse and maven Thanks! I went through removing all plugins in the reporting

Re: Eclipse and maven

2009-03-09 Thread John Wooten
p.com] Sent: Tuesday, March 03, 2009 1:59 PM To: Maven Users List Subject: Re: Eclipse and maven Here is the link to the info you requested. Thanks a lot for taking the time to help with this. http://pastebin.com/m57fb8d1e On Mar 2, 2009, at 4:25 PM, Edelson, Justin wrote: John- Sorry I di

RE: Eclipse and maven

2009-03-03 Thread Edelson, Justin
could cause this problem, but it may be related. Justin -Original Message- From: John Wooten [mailto:jwoo...@shoulderscorp.com] Sent: Tuesday, March 03, 2009 1:59 PM To: Maven Users List Subject: Re: Eclipse and maven Here is the link to the info you requested. Thanks a lot for takin

Re: Eclipse and maven

2009-03-03 Thread John Wooten
Nexus, etc.). Justin From: John Wooten [mailto:jwoo...@shoulderscorp.com] Sent: Mon 3/2/2009 4:13 PM To: Maven Users List Subject: Re: Eclipse and maven I haven't fixed the problem with java 1.5 yet, but am moving all my projects into the maven convention.

RE: Eclipse and maven

2009-03-02 Thread Edelson, Justin
ady in the central repository. If you need to share 3rd party JARs, use a repository manager (Archiva, Nexus, etc.). Justin From: John Wooten [mailto:jwoo...@shoulderscorp.com] Sent: Mon 3/2/2009 4:13 PM To: Maven Users List Subject: Re: Eclipse and maven I hav

Re: Eclipse and maven

2009-03-02 Thread John Wooten
eter for checkstyle or jdepend. Hope this helps... Justin From: John Wooten [mailto:jwoo...@shoulderscorp.com] Sent: Sat 2/28/2009 12:40 PM To: Maven Users List Subject: Re: Eclipse and maven I have the following in a terminal window: [woo] 543 > javac -ver

Re: Eclipse and maven

2009-03-01 Thread John Wooten
Made change suggested to targetJdk, and yes I am running 1.5 as the default. Got the following: [INFO] Generating "PMD Report" report. [WARNING] Unable to locate Source XRef to link to - DISABLED [WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platfo

Re: Eclipse and maven

2009-02-28 Thread John Wooten
.java.version} AFAIK, there is no JDK version parameter for checkstyle or jdepend. Hope this helps... Justin From: John Wooten [mailto:jwoo...@shoulderscorp.com] Sent: Sat 2/28/2009 12:40 PM To: Maven Users List Subject: Re: Eclipse and maven

RE: Eclipse and maven

2009-02-28 Thread Edelson, Justin
[mailto:jwoo...@shoulderscorp.com] Sent: Sat 2/28/2009 12:40 PM To: Maven Users List Subject: Re: Eclipse and maven I have the following in a terminal window: [woo] 543 > javac -version javac 1.5.0_16 Now, I have the java version in each of the plugins as 1.5 viz: jdepend plugin, surefire plu

Re: Eclipse and maven

2009-02-28 Thread John Wooten
_ From: John Wooten [mailto:jwoo...@shoulderscorp.com] Sent: Fri 2/27/2009 7:16 PM To: Maven Users List Subject: Re: Eclipse and maven That is 1 place I have it. Still get error. Pardon bad thumbsmanship. Sent from mobile phone. On Feb 27, 2009, at 7:05 PM, Rusty Wright wr

Re: Eclipse and maven

2009-02-27 Thread David C. Hicks
This might be a dumb question, but it's easy enough to overlook. You do, in fact, have a 1.5 JVM installed, right? (I'm not trying to be a wise ass. I just haven't seen mention of that particular fact or question in this thread, yet.) John Wooten wrote: I have added: 1.5

Re: Eclipse and maven

2009-02-27 Thread Eugene Kuleshov
Try "mvn help:effective-pom" and check what plugin configuration is used for that project. regards, Eugene John Wooten-2 wrote: > > I have added: > > > 1.5 > 1.5 > > > > to each plugin and I still get: > > [WARNING] Error while parsing /Users/w

  1   2   3   4   5   >