Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread David C. Hicks
No, that doesn't work. It just resets the source folders to what the Maven pom.xml thinks it should be. I had tried that before, but I just double-checked before I replied to make certain I wasn't misremembering. Thanks for the suggestion, though. stug23 wrote: To bring project up to date wh

Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread stug23
To bring project up to date when adding source directories, try selecting the following menu item from the contextual menu (right-click on your project in the Package Explorer): Maven => Update Project Configuration This will synch up the source folders with the Eclipse classpath. David C. Hi

Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread David C. Hicks
OK, I installed m2eclipse and it seems happy with my project. I was able to go through the POM editor and update a lot of information that previously wasn't there. Very cool. Problem: I still don't see it picking up new source folders. If I add a source folder in Eclipse, how does that end up

Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread Eugene Kuleshov
megathor wrote: > > You also could give it a try to q4E: http://code.google.com/p/q4e/ > It has a lot of very nice features... > M2Eclipse and q4E have both very nice features > Here is side by side comparison http://docs.codehaus.org/display/MAVENUSER/Eclipse+Integration megathor wrote: >

Re: improve Maven performance

2008-09-19 Thread vincent sellier
Hi, You can have a look to this plugin https://maven-incremental-build.dev.java.net/ I know it doesn't solve completely the problem but now after a modification or an update from scm, you can compile without a clean and be sure that all the children of a modified module will be recompiled. Now, o

Re: Separate Jar FIles

2008-09-19 Thread Wendy Smoak
On Fri, Sep 19, 2008 at 3:47 PM, Michael McGrady <[EMAIL PROTECTED]> wrote: > I have a project in which separate applications are included for ease of > development due to their dependencies. I want Maven to create separate > SNAPSHOTS for each. How do I do that? Or, better, where do I look? If

Separate Jar FIles

2008-09-19 Thread Michael McGrady
I have a project in which separate applications are included for ease of development due to their dependencies. I want Maven to create separate SNAPSHOTS for each. How do I do that? Or, better, where do I look? Mike Michael McGrady Senior Engineer Topia Technology, Inc. [EMAIL PROTECTE

Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread Thor
You also could give it a try to q4E: http://code.google.com/p/q4e/ It has a lot of very nice features... M2Eclipse and q4E have both very nice features... And both have their projects at Eclipse: http://www.eclipse.org/proposals/m2e/ http://www.eclipse.org/proposals/iam/ And they both have appr

Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread David C. Hicks
Thanks for the tips, guys. I had forgotten about the m2eclipse plugin. It's been too long since I was in a real project. :-) I guess m2eclipse has come a little further since I last looked at it - probably 2 years? Thanks again, Dave Stevo Slavic' wrote: Hello David, Just as Klaus said, use

Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread Rusty Wright
What about doing a right click in the Project Explorer, select New -> Other ... -> Maven -> Maven Project ? Then in the New Maven Project window only check Use default Workspace location, click Next, then you get that glorious list of Archetypes to choose from. Stevo Slavi? wrote: Hello Da

RE: Including Local Jar Files in Build Classpath

2008-09-19 Thread Martin Gainty
store at location used by maven.repo.local http://maven.apache.org/maven-1.x/plugins/jar/properties.html e.g. /path/to/local/repository ]]> The ArtifactRepository instance referencing the local artifact repository. -Dmaven.repo.local=/path/to/

Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread Stevo Slavić
Hello David, Just as Klaus said, use m2eclipse plugin. After installing it, I'd first manually create a folder in eclipse workspace, named as your root maven project artifactId, then copy root POM and rest of the project structure you've created into that new folder. Finally, with m2eclipse plugin

Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread Klaus
Have a look at http://m2eclipse.codehaus.org . It's a eclipse plugin that updates the project settings according to the setting in the pom.xml. No (re)generate of eclipse-project files, no problem with new source folders.. klaus On Fri, Sep 19, 2008 at 11:17 PM, David C. Hicks <[EMAIL PROTECTED]>

Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread David C. Hicks
I'm beginning a new, fairly large, project. Eclipse will be our development platform, but I've already set up the starting point in Maven. Simple enough. Now, my question is, how can I keep them in sync, easily? I realize that it's best to re-run "mvn eclipse:eclipse" after adding dependenc

Re: Including Local Jar Files in Build Classpath

2008-09-19 Thread Stevo Slavić
Hello Michael, Maybe you should consider a more "Maven way", of installing those libraries into your local repository by using Maven's install plugin and its install-file mojo, and then adding them as dependencies in your project's POM. Check this

Including Local Jar Files in Build Classpath

2008-09-19 Thread Michael McGrady
I want to include some local jar files (located in lib/) in my Maven build classpath. How do I do that? MG Michael McGrady Senior Engineer Topia Technology, Inc. [EMAIL PROTECTED] 1 (253) 720-3365 - To unsubscribe, e-

Re: m2eclipse and inter-module dependencies...

2008-09-19 Thread Eugene Kuleshov
Never saw that. Workspace projects won't be resolved either if you have workspace resolution disabled or if dependency versions won't match projects in workspace. Also note that dependent projects should have Maven support enabled. Anyway, it is better to ask questions specific to m2eclipse

m2eclipse and inter-module dependencies...

2008-09-19 Thread James Carman
We've got a multi-module maven-based project and we're trying to import it using m2eclipse. Everything seems to be working fine, but it's not setting up the classpath correctly for projects that depend on other projects, it seems. Is this a known issue? -- View this message in context: http:

Re: a slue of warnings

2008-09-19 Thread Wayne Fay
According to what JvZ and Brian said in the bug, it doesn't seem to be a trivial dependency change, or I'd expect it might have already been done. "Andy looked into this and we can't fix it easily without upgrading the container and that's just too much work... we can try to upgrade the container

Re: Archiva Build Problem

2008-09-19 Thread Wayne Fay
You should really be able to parse that stack trace and find the error... Hint: look for the word "initial cause". Wayne On Fri, Sep 19, 2008 at 9:40 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Fri, Sep 19, 2008 at 9:34 AM, waaraa1331 <[EMAIL PROTECTED]> wrote: >> >> Here is my error message.

maven-eclipse-plugin JRE classpath generation problem

2008-09-19 Thread Tomek Maciejewski
Hi, I have some problem. I am trying to create eclipse project using 'mvn eclipse:eclipse' command. My configuration of maven-eclipse-plugin is below: org.apache.maven.plugins maven-eclipse-plugin o

Re: Archiva Build Problem

2008-09-19 Thread Wendy Smoak
On Fri, Sep 19, 2008 at 9:34 AM, waaraa1331 <[EMAIL PROTECTED]> wrote: > > Here is my error message. > > Solaris 10 SPARC > apache-tomcat-6.0.18 > archiva 1.1.2 Archiva has separate mailing lists... you can find subscription info on this page: http://archiva.apache.org/mail-lists.html (I haven't

Archiva Build Problem

2008-09-19 Thread waaraa1331
Here is my error message. Solaris 10 SPARC apache-tomcat-6.0.18 archiva 1.1.2 Sep 19, 2008 10:45:01 AM org.springframework.web.context.ContextLoader initWebApplicationContext SEVERE: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with n

[Need Help] Re: jar artifact contains more classes than desired.

2008-09-19 Thread Sahoo
I have got closer to why it is happening. I wrote a small dtrace[1] script to monitor open system calls for those additional class files. I attached it to a build m/c and after around 150 builds, once it occurred. Every time open system call was made with that file handle, I print the java stac

Having trouble with setting a property in settings.xml and activating a profile in a pom based on that property

2008-09-19 Thread David
Hello All, I'm trying to set a property in the settings.xml file and then have a profile in the pom.xml file activate if that property is set. Right now I don't care about the value, I just need it to be set. Currently I have the following in my settings.xml file. A true

Re: Maven & Windows

2008-09-19 Thread Jon Strayer
I don't understand why it worked all day and then failed right before I left. There were always spaces and the path was always that long. Oh, I understand what happened. I formatted the pom. I hate spaces in paths. This is from the last build that succeeded: file://C:/Program Files (x86)/Apach

RE: Enunciate problem

2008-09-19 Thread Martin Gainty
this appears to be specific to the version of enunciate you're using please contact enunciate users group at [EMAIL PROTECTED] With Warm Regards, Martin __ Disclaimer and confidentiality note Everything in this e-mail and any atta

Re: How can we get this pom.xml?

2008-09-19 Thread Wendy Smoak
On Fri, Sep 19, 2008 at 2:48 AM, 陈思淼 <[EMAIL PROTECTED]> wrote: > I down load Maven 2.09 source code from >https://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.9 > but in the pom.xml of the top fold, I see the parent segment like this: > > >org.apache.maven >maven-parent

Enunciate problem

2008-09-19 Thread MEHDi CHAABOUNi
Hi, I get the following warnings when I run 'mvn install' on my project. I think it's related to enunciate. [WARNING] WARNING: Unknown artifact 'client.jdk14.library.binaries'. Artifact will not be exported. [WARNING] War artifact 'spring.war.file' not found in the project... The generated war

problem with release:prepare in resolving dependency

2008-09-19 Thread nodje
I'm a newbie with the release plugin and have a hard time already managing dependencies. After much thinking, I end up with this process: - branch first the current trunk version to a branch named 1.0-SNAPSHOT. The trunk version becomes 1.1-SNAPSHOT - release the branch version: the release is the

Trouble about siteDirectory

2008-09-19 Thread Simone Tripodi
Hi everybody, I'm using the stage-deploy of site plugin, everything works fine and no error message is shown; unfortunately, some resources such the rss checksyle and changes plugin's images are not present in the specified siteDirectory. Is there some config param I miss? My POM doesn't contain an

RE: a slue of warnings

2008-09-19 Thread EJ Ciramella
Is there a way I can update my maven pom that has a dependency on this such that I'm getting the latest version of plexus? We are trying to migrate to these new machines and having almost 38K lines of nonsense makes it impossible to build in CC. mvn -q makes things so quiet, it's useless. --

Re: How can we get this pom.xml?

2008-09-19 Thread 陈思淼
thanks for your help 2008/9/19 Nick Stolwijk <[EMAIL PROTECTED]> > It should be here: > > https://svn.apache.org/repos/asf/maven/pom/tags/maven-parent-9/ > > Hth, > > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > On Fri, Sep 19, 20

Re: How can we get this pom.xml?

2008-09-19 Thread Nick Stolwijk
It should be here: https://svn.apache.org/repos/asf/maven/pom/tags/maven-parent-9/ Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Fri, Sep 19, 2008 at 11:48 AM, 陈思淼 <[EMAIL PROTECTED]> wrote: > I down load Maven 2.09 source code from >

How can we get this pom.xml?

2008-09-19 Thread 陈思淼
I down load Maven 2.09 source code from https://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.9 but in the pom.xml of the top fold, I see the parent segment like this: org.apache.maven maven-parent 8 ../pom/maven/pom.xml where should i find the "./pom/maven/p

release-plugin: execute at generate-sources phase

2008-09-19 Thread Klaus H.
Hi all, i need to filter a resource file before the generate-sources phase (input file for source-generator). So i bound the maven-resources-plugin to the generate-sources phase. The point is that filtering does not work anymore. Even the filtering in the default lifecycle-phase of the generator p

Re: [ANN] Maven 2.1.0-M1 Released

2008-09-19 Thread Brett Porter
Well that isn't too surprising since it's not in the download area at all (!) I've copied it across form the deployed repository and it should be syncing shortly... - Brett 2008/9/19 Mark Derricutt <[EMAIL PROTECTED]>: > I just tried downloading it by non of the mirrors I tried seemed to have it

Re: [ANN] Maven 2.1.0-M1 Released

2008-09-19 Thread Mark Derricutt
I just tried downloading it by non of the mirrors I tried seemed to have it - I gave up after about 10 mirrors - will try downloading again in a few hours, probably just taking its time to propagate.. On Fri, Sep 19, 2008 at 8:13 PM, Brett Porter <[EMAIL PROTECTED]>wrote: > However I did notice a

Re: [ANN] Maven 2.1.0-M1 Released

2008-09-19 Thread Brett Porter
2008/9/19 Baptiste MATHUS <[EMAIL PROTECTED]>: > Hi John, > > I don't find the 2.1.0-M1 in the download page. > Is there a problem or maybe it's just some cron that hasn't updated the page > yet with the newly released version? It's below Maven 2.0.9. However I did notice a problem with the site

error about import maven 2.09 source to m2eclipse

2008-09-19 Thread 陈思淼
there is a mistake when I trying to import maven source code to my project user m2eclipse plugin, the error like the attachment pic. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

release plugin with submodules

2008-09-19 Thread Wolfgang.Winter
Hi, I am trying the release plugin on a project with sub-modules within Eclipse. The project is named 'core' and the sub-module is 'plugin-setproperties'. I want to release only one sub-module, not the whole project. I go into the sub-module project and execute release:prepare. This works, sub-

Re: [ANN] Maven 2.1.0-M1 Released

2008-09-19 Thread Baptiste MATHUS
Hi John, I don't find the 2.1.0-M1 in the download page. Is there a problem or maybe it's just some cron that hasn't updated the page yet with the newly released version? Cheers 2008/9/19 John Casey <[EMAIL PROTECTED]> > The Maven team is pleased to announce the release of the Maven 2.1.0-M1. >