Re: project for libraries

2011-01-10 Thread Thomas Sundberg
On Sun, Jan 9, 2011 at 16:27, Ron Wheeler wrote: > I am not sure what the big difference is but I imagine Intellij must have > some very good features that makes it worth paying for a product. Intellij IDEA is available as open source and therefore doesn't cost you anything. The major difference

release:prepare fails to tag a ClearCase view

2011-01-10 Thread Perez Ronen
Hi All, I am trying to setup a release to a Maven project with release:prepare and release:perform. My project layout is something like: /VIEW-NAME/VOB-NAME/parent-dir/workspace/my-proj/pom.xml When running the release prepare, one of the things needed to be done is put a label (tag) on

Re: release:prepare fails to tag a ClearCase view

2011-01-10 Thread Anders Hammar
I don't understand. Does release:prepare fail? Or isn't it just doing what you want? If it fails, please provide the error message. My experience with m-release-p and ClearCase is that I manually need to put the label on the folder above my project (all the way to the root) after I perform release

RE: release:prepare fails to tag a ClearCase view

2011-01-10 Thread Perez Ronen
release:prepare does not fail. release:perform fails due to wrong label. Your suggestion to manually set label worked - thanks. I guess this is the only way to achieve the release:perform. Thanks, Ronen. -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.co

build assemblies with overlapping resources

2011-01-10 Thread dermoritz
i stumbled across the problem, that assembly-plugin can't handle overlapping resources very well. in my case i tried to build an project depending on emf(wiki.eclipse.org/index.php/EMF-FAQ#How_d..._ordinary_main.29.3F) the problem is, each jar-File includes a "plugin.properties"-file which will be

Re: release:prepare fails to tag a ClearCase view

2011-01-10 Thread Anders Hammar
I haven't really investigated any alterantive, but that's what I do. It's pain though, and sooner or later I'll look into if it can be automated. However, as it currently isn't I'm guessing it might not be possible. /Anders 2011/1/10 Perez Ronen > release:prepare does not fail. release:perform f

RE: release:prepare fails to tag a ClearCase view

2011-01-10 Thread Perez Ronen
I browsed through the source code and it seems it takes the project "basedir" and use it as the folder to label -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: ב 10 ינואר 2011 14:57 To: Maven Users List Subject: Re:

New test folder are not recognized in eclipse

2011-01-10 Thread MartyMcFly
HI, we use Eclipse 3.6 with m2eclipse 0.10.2 and Maven 2. When in a project someone adds as new folder "src/test/java" it is automatically recognized as source folder and works. If someone else checks the the changed structure from SVN the folder is retrieved, but Eclipse/m2Eclipse does not reco

Re: project for libraries

2011-01-10 Thread Ron Wheeler
On 10/01/2011 4:46 AM, Thomas Sundberg wrote: On Sun, Jan 9, 2011 at 16:27, Ron Wheeler wrote: I am not sure what the big difference is but I imagine Intellij must have some very good features that makes it worth paying for a product. Intellij IDEA is available as open source and therefore do

Re: New test folder are not recognized in eclipse

2011-01-10 Thread Anders Hammar
I think you'll get a much much better answer on the m2eclipse mailing list. You say "on every change". Is that true, isn't it only when a new source folder is added. Which should happen too often. /Anders On Mon, Jan 10, 2011 at 14:58, MartyMcFly wrote: > > HI, > > we use Eclipse 3.6 with m2ec

project.getArtifacts() difference between maven 2 and maven 3 in plugin

2011-01-10 Thread fmeili
Hi, I've some problems while migrating my projects and plugins from maven 2.2.1 to maven 3.0.1. My self developed plugin does not longer work with maven 3. My plugin needs all dependend artifacts (includeing transitives) of the project. With maven 2.2.1 the call to project.getArtifacts() works c

Re: New test folder are not recognized in eclipse

2011-01-10 Thread MartyMcFly
ah sorry my fault... this should be sent to the m2eclipse list -- View this message in context: http://maven.40175.n5.nabble.com/New-test-folder-are-not-recognized-in-eclipse-tp3334855p3334866.html Sent from the Maven - Users mailing list archive at Nabble.com. -

Re: project.getArtifacts() difference between maven 2 and maven 3 in plugin

2011-01-10 Thread Benjamin Bentmann
fmeili wrote: My plugin needs all dependend artifacts (includeing transitives) of the project. With maven 2.2.1 the call to project.getArtifacts() works correct. When using it with maven 3.0.1 the returned set of artifacts for a project has a size of zero. Code snippets: /** * @goal myGoal

can i use aggregator as dependency holder?

2011-01-10 Thread Leon Rosenberg
Hi, so I have 4 projects with one aggregator pom and it works just fine for publishing and releasing. I have an aggregator pom, which includes a,b,c,d and it all got built and stuff. Now, if a user of mine wants to use this project, he has to know which of the a,b,c,d modules he actually need, or

Re: project.getArtifacts() difference between maven 2 and maven 3 in plugin

2011-01-10 Thread fmeili
thanks a lot Benjamin, after setting "@requiresDependencyResolution runitme" it works with maven 2 and maven 3. When using "compile" as an option it didn't work. Greetings, Frank -- View this message in context: http://maven.40175.n5.nabble.com/project-getArtifacts-difference-between-maven-2-

maven and esper-4.0.0

2011-01-10 Thread Tina Vießmann
Hi, I've got a problem installing esper-4.0.0 using maven. I've got absolutly no idea where it comes from. The output is: [ERROR] Error in manifest for myproject:myesper:jar:0.1-SNAPSHOT : Class in different directory than declared. Path from class name is com/espertech/esperio/AbstractCoord

Re: can i use aggregator as dependency holder?

2011-01-10 Thread Ron Wheeler
Your aggregator POM should include all the transitive dependencies unless you excluded them since you are providing them elsewhere (using another POM). The person needs to include a dependency on the aggregated POM and the "elsewhere" POM On 10/01/2011 12:16 PM, Leon Rosenberg wrote: Hi,

Re: maven and esper-4.0.0

2011-01-10 Thread Holger Hoffstaette
On Mon, 10 Jan 2011 21:01:53 +0100, Tina Vießmann wrote: > I've got a problem installing esper-4.0.0 using maven. I've got absolutly > no idea where it comes from. The output is: > > [ERROR] Error in manifest for myproject:myesper:jar:0.1-SNAPSHOT : Class > in different directory than declared. P

Re: maven and esper-4.0.0

2011-01-10 Thread Ron Wheeler
It looks like you have defined your source library location incorrectly in your IDE or somewhere in your build. production/esperio-csv/ should not be in the jar and it appears that it is. Ron On 10/01/2011 3:01 PM, Tina Vießmann wrote: Hi, I've got a problem installing esper-4.0.0 using mave

Tar pom.xml dependencies - Maven Assembly Plugin?

2011-01-10 Thread jaybytez
Is the Maven Assembly Plugin the right way for me to define a pom.xml and be able to tar up the jars that are labeled as a dependency? The only way I know how to do this with my limited knowledge is to make the pom.xml a war and allow the war to pull all the dependency jars into the target direct

Xref link generation regression with Maven 3

2011-01-10 Thread Marc Ro...
Hi, when the site reports are created using Maven 3, several of the report plugins don't generate the links to the Source Xref pages, when the JXR Plugin hasn't been executed for that project before. Looking at the code of the affected plugins, You'll see that those plugins first check if the '