plugin's descriptor contains the wrong g/a/v

2009-09-08 Thread Tom Huybrechts
I have a plugin containing a number of custom lifecycles, which has always worked well. After upgrade to 2.2.1 (from 2.0.x), I get the following error. What does it mean ? [ERROR] BUILD ERROR [INFO] [INFO] Internal error in

Re: plugin's descriptor contains the wrong g/a/v

2009-09-08 Thread Tom Huybrechts
descriptor. What's the groupId and artifactId in the descriptor? /Anders On Tue, Sep 8, 2009 at 10:35, Tom Huybrechts tom.huybrec...@gmail.comwrote: I have a plugin containing a number of custom lifecycles, which has always worked well. After upgrade to 2.2.1 (from 2.0.x), I get the following

Re: plugin's descriptor contains the wrong g/a/v

2009-09-08 Thread Tom Huybrechts
:0.0.14? I'm not really sure what you mean by 20 lifecycles. Are you talking about the phases? I guess you have a normal Maven plugin which is bound by default to a lifecycle phase? /Anders On Tue, Sep 8, 2009 at 11:03, Tom Huybrechts tom.huybrec...@gmail.comwrote: I'm not sure what you

Re: how to stop pom downloads

2009-03-04 Thread Tom Huybrechts
Did you deploy a pom too ? On Wed, Mar 4, 2009 at 11:48 PM, Davis Ford davisf...@zenoconsulting.biz wrote: Hi, we have an internal repo here (using Archiva), and I manually deployed some jars to it.  However, whenever I run a maven command it is constantly trying to check the pom against the

Re: What is current status of repositorytools-plugin ?

2008-09-03 Thread Tom Huybrechts
Dead. On Wed, Sep 3, 2008 at 11:40 AM, Insitu [EMAIL PROTECTED] wrote: Hello, The question is in the title... -- Arnaud Bailly, PhD OQube - Software Engineering http://www.oqube.com - To unsubscribe, e-mail: [EMAIL

Re: What is current status of repositorytools-plugin ?

2008-09-03 Thread Tom Huybrechts
I contributed it to the sandbox a long time ago, but have not looked at it since. The repository copying worked in some cases, but certainly not all. If you want to use it but find bugs, please be prepared to fix them yourself. I would also recommend to look at the stage plugin to see if this fits

Re: handling .jars not in public repositories?

2008-07-16 Thread Tom Huybrechts
I haven't tried it , but I think you could just use a POM packaging (which only does install/deploy) and attach the jar with build-helper. On Wed, Jul 16, 2008 at 11:14 AM, Stephen Connolly [EMAIL PROTECTED] wrote: Yeah, I wish I knew how to disable the jar plugin... that's why I posted the

Re: release plugin without SCM

2008-07-08 Thread Tom Huybrechts
The plugin at https://svn.dev.java.net/svn/hudson/branches/tom/plugins/staging/maven-stagingrelease-plugin/ has a set-version goal, which you could use to create your own release process. On Tue, Jul 8, 2008 at 5:57 PM, Kallin Nagelberg [EMAIL PROTECTED] wrote: Is there a way to use the release

Re: [SURVEY] How does your team retrieve artifacts?

2008-05-22 Thread Tom Huybrechts
I use HTTP for ordinary development. However file is also used often in tooling. For example I have a custom release plugin that deploys to a file based staging repository. Only when the release completely succeeds, is the staging repository uploaded (using the staging plugin) to the real

Re: Reply protocol for this list?

2008-05-02 Thread Tom Huybrechts
On Fri, May 2, 2008 at 7:48 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Fri, May 2, 2008 at 7:39 AM, Russell Bateman [EMAIL PROTECTED] wrote: I wondered, because based on the traffic I've watched the last couple of days since I joined I've not detected a specific pattern, if there's a best

Re: API to figure out the exact URL of a deployed artifact?

2008-04-28 Thread Tom Huybrechts
. LieGrü, strub --- Tom Huybrechts [EMAIL PROTECTED] schrieb: Unless I'm missing something, you could just use an ArtifactResolver. See section Creating and resolving an artifact in the mojo developer cookbook. http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer

Re: How to preserve the file name running deploy:deploy-file ?

2008-04-26 Thread Tom Huybrechts
No. You cannot change the repository layout. The file name of an artifact is part of that layout. On Sat, Apr 26, 2008 at 7:58 PM, Stefano Nichele [EMAIL PROTECTED] wrote: Hi all, running: mvn deploy:deploy-file -Durl=myurl -Dfile=my-file.tgz -Dpackaging=tgz -DgroupId=mygroup

Re: API to figure out the exact URL of a deployed artifact?

2008-04-25 Thread Tom Huybrechts
Unless I'm missing something, you could just use an ArtifactResolver. See section Creating and resolving an artifact in the mojo developer cookbook. http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Tom On Fri, Apr 25, 2008 at 5:20 AM, Dan Tran [EMAIL PROTECTED] wrote: Hello,

Re: API to figure out the exact URL of a deployed artifact?

2008-04-25 Thread Tom Huybrechts
mechanisms in the background perform all the necessary work to get the file to your local repo first. But this is exactly what Dan tries to avoid! The file must not be in the local repo, since this would blew it up. LieGrü, strub --- Tom Huybrechts [EMAIL PROTECTED] schrieb: Unless I'm

Re: API to figure out the exact URL of a deployed artifact?

2008-04-25 Thread Tom Huybrechts
, Apr 25, 2008 at 11:36 AM, Tom Huybrechts [EMAIL PROTECTED] wrote: No, ArtifactResolver.resolve() will actually download the artifact using Wagon. On Fri, Apr 25, 2008 at 7:52 PM, Mark Struberg [EMAIL PROTECTED] wrote: Problem is that (as far as i know) the ArtifactResolver

Re: Is it possible to configure the maven-jar-plugin to use a prefix for classes?

2008-04-25 Thread Tom Huybrechts
I don't think so. But you can control the classesDirectory. So you could configure project.build.outputDirectory to be target/classes/prefix and override this in the jar plugin back to target/classes... On Fri, Apr 25, 2008 at 9:42 PM, mraible [EMAIL PROTECTED] wrote: Is it possible to

Re: Multiple artifact handlers being use at a reactor level

2008-04-17 Thread Tom Huybrechts
I've had a similar issues when using different extensions that provide lifecycles in the same build. My solution was to write my own maven plugin that contained all the lifecycles I needed (copy/paste from the original), and only use that plugin as an extension. On Wed, Apr 16, 2008 at 8:47 PM,

Re: continuous integration server

2008-04-13 Thread Tom Huybrechts
Hudson, without a doubt. See https://hudson.dev.java.net/ or a live instance at http://hudson.jboss.org/hudson/ On Sun, Apr 13, 2008 at 1:36 PM, Peter Horlock [EMAIL PROTECTED] wrote: Hi, Which continuous integration server would you recommend me? Continuum? Or is there also a version by

Re: continuous integration server

2008-04-13 Thread Tom Huybrechts
Kohsuke keeps it simple, yet very powerful. You can have Hudson installed and your first build running within minutes. If you need customization, it is also incredibly easy to extend via plugins. Just try it, you'll never look back... On Sun, Apr 13, 2008 at 2:26 PM, Peter Horlock [EMAIL

Re: Repository search order

2008-04-12 Thread Tom Huybrechts
Be careful with the jboss repository. It contains artifacts that have the same groupId, artifactId and version as artifacts in central, but with different content. Mixing both is asking for trouble... Tom On Fri, Apr 11, 2008 at 3:58 PM, Glynbach [EMAIL PROTECTED] wrote: Hi I added the

Re: Question about download.meter and maven2

2008-04-03 Thread Tom Huybrechts
Use -B On Thu, Apr 3, 2008 at 10:30 PM, Lacoste, Dana (TSG Software San Diego) [EMAIL PROTECTED] wrote: OK, from the archives, I can run mvn with -Dmaven.download.meter=bootstrap (for example) and I won't get the Downloading 1/123k updating to 2/123k etc. But this doesn't appear to work

Re: I want to run install even if my tests fail

2008-04-02 Thread Tom Huybrechts
-Dmaven.test.failure.ignore=true On Wed, Apr 2, 2008 at 8:19 PM, Sommers, Elizabeth [EMAIL PROTECTED] wrote: Won't work because I want to run the tests (I am trying to attach cobertura data). I am looking for a property I can set at build time that allows me to ignore failed tests and just

Re: Exclude module from deploy phase

2008-04-01 Thread Tom Huybrechts
You could set an altDeploymentRepository for this specific project, and let it point to a dummy local location. On Mon, Mar 31, 2008 at 9:18 PM, Andrew Uhm [EMAIL PROTECTED] wrote: Hello, Is it possible to configure a module to be excluded from the mvn deploy phase? For instance, in a

Re: Is there a way to deploy project without configuring pom.xml

2008-03-20 Thread Tom Huybrechts
You can use -DaltDeploymentRepository=... http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html On Mon, Mar 17, 2008 at 9:40 PM, Néstor Boscán [EMAIL PROTECTED] wrote: I put it inside settings.xml and I get: distributionManagement repository idrepo/id

Re: question about maven-rar-plugin

2008-02-04 Thread Tom Huybrechts
And all these other packagings are defined in maven-core too. http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core/src/main/resources/META-INF/plexus/components.xml?revision=522316view=markup On Feb 4, 2008 10:13 PM, Olivier Lamy [EMAIL PROTECTED] wrote: Hi, Have try

Re: update/creation of maven-metadata.xml file

2008-01-29 Thread Tom Huybrechts
On Jan 29, 2008 5:32 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Jan 26, 2008 4:20 PM, nadias [EMAIL PROTECTED] wrote: Will this work deploy-file or just deploy? I am working with deploy-file but it is not updating the metadata even if I specify this parameter. The updateReleaseInfo

Re: update/creation of maven-metadata.xml file

2008-01-29 Thread Tom Huybrechts
On Jan 29, 2008 5:52 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Jan 29, 2008 9:44 AM, Tom Huybrechts [EMAIL PROTECTED] wrote: If you specify an explicit version in your POM, I would think that Maven always finds it ? Probably, (and that's definitely a best practice,) but not everything

Re: How to trace which repository files are used in a build?

2008-01-27 Thread Tom Huybrechts
The most reliable (and least readable) way is to run with the '-X' option and look at the classpath in the configuration of the compiler or surefire plugin. Tom On Jan 27, 2008 5:30 PM, EJ Ciramella [EMAIL PROTECTED] wrote: You can try mvn site which should give SOME of this, but other

Re: update/creation of maven-metadata.xml file

2008-01-26 Thread Tom Huybrechts
-DupdateReleaseInfo=true On Jan 26, 2008 1:40 AM, nadias [EMAIL PROTECTED] wrote: How can I force the maven-metadata.xml file to be updated (or created) when deploying plugins? I have an instance where the maven-metadata.xml is not being updated or created when deploying plugins - it

Re: maven-release-plugin / release:prepare goal in batch mode with customized values

2008-01-22 Thread Tom Huybrechts
http://www.nabble.com/batch-release-of-a-set-of-projects-without-using-the-default-versioning-scheme-to11067663.html#a11067663 maybe that helps On Jan 22, 2008 2:08 PM, Julien CARSIQUE [EMAIL PROTECTED] wrote: Hello, Is there no answer for this need ? I saw a similar question in mail titled

Re: section MANIFEST

2008-01-22 Thread Tom Huybrechts
http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html http://maven.apache.org/shared/maven-archiver/index.html#class_manifestSection On Jan 22, 2008 5:06 PM, Arthur Rodrigues Stilben [EMAIL PROTECTED] wrote: How can I insert a section in MANIFEST? Arthur Rodrigues Stilben

Re: release:prepare no javadoc generation

2008-01-20 Thread Tom Huybrechts
Turn of the release profile. If you still want sources, you'll have to add them yourself. http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#useReleaseProfile On Jan 20, 2008 10:56 AM, Vytautas Čivilis [EMAIL PROTECTED] wrote: Hi. When using release:prepare plugin, it

Re: Strange problems with mvn release:perform when running javadoc:jar on Windows

2008-01-18 Thread Tom Huybrechts
I've had my share of javadoc problems, but not this one. Did you try to run the javadoc command itself from the commandline ? Tom On Jan 18, 2008 10:48 AM, Stephen Connolly [EMAIL PROTECTED] wrote: Anyone??? or will i just file an issue On Jan 17, 2008 8:24 AM, Stephen Connolly [EMAIL

Re: Add source folder

2008-01-07 Thread Tom Huybrechts
http://mojo.codehaus.org/build-helper-maven-plugin/usage.html On Jan 7, 2008 1:48 PM, Jan Torben Heuer [EMAIL PROTECTED] wrote: How can I add another sourcefolder? (/src/extended/java/) The setting should be recognized by maven-eclipse-plugin and the built process. Jan

Re: Add source folder

2008-01-07 Thread Tom Huybrechts
On Jan 7, 2008 5:19 PM, Kallin Nagelberg [EMAIL PROTECTED] wrote: I would say, theoretically, it should. However, to accomplish it properly, it would have to execute the given pom and analyze the results to see what source folders are being looked at... Afer all, any plugin could be jumping in

Re: Where did the maven-embedder go?

2008-01-04 Thread Tom Huybrechts
[1] I am trying to use the maven-artifact API to download artifacts from my maven repository. Trouble is, I cannot find the formal way to create ArtifactRepository objects. http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook - create a DefaultArtifactRepository object - or

Re: Where did the maven-embedder go?

2008-01-04 Thread Tom Huybrechts
You can find snapshots here: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/maven-embedder/2.1-SNAPSHOT/ Use the ueber jar, that includes all the dependencies. I think you can still use new DefaultArtifactRepository() with the embedder, as mentioned in the mojo developer

Re: Support of ant 1.6+ conditions

2008-01-03 Thread Tom Huybrechts
Maybe specifying a upgraded dependency/ on ant for the antrun plugin in your POM would help too ? On Jan 3, 2008 2:57 PM, EJ Ciramella [EMAIL PROTECTED] wrote: Is there a newer version of the maven-antrun-plugin? We would like to pass long a true/false property. If I have: condition

Re: an mvn setup:diagnose would be nice at times like this :)

2007-12-29 Thread Tom Huybrechts
The UnknownHostException make this look like a network issue. Can you do a ping repo1.maven.org ? Tom On Dec 29, 2007 1:26 PM, Pete Carapetyan [EMAIL PROTECTED] wrote: Long time Maven user getting the dreaded plugin does not exist or no valid version could be found on every maven call after

Re: an mvn setup:diagnose would be nice at times like this :)

2007-12-29 Thread Tom Huybrechts
PROTECTED] wrote: On Dec 29, 2007 1:39 PM, Pete Carapetyan [EMAIL PROTECTED] wrote: answer is inline below question: On Dec 29, 2007 6:30 AM, Tom Huybrechts [EMAIL PROTECTED] wrote: The UnknownHostException make this look like a network issue. Can you do a ping repo1

Re: How to avoid CVS files being packaged?

2007-12-28 Thread Tom Huybrechts
This explains how to include/exclude resources: http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html I thought CVS files where by default excluded in all plugins. Do you already override the includes/excludes in configuration ? Tom On Dec 28, 2007 7:11

Re: How to turn off the downloading of http://repo1.maven.org/maven2...?

2007-12-27 Thread Tom Huybrechts
http://maven.apache.org/guides/mini/guide-mirror-settings.html On Dec 27, 2007 3:33 PM, Thomas Chang [EMAIL PROTECTED] wrote: Hi all, every time if I run mvn commands such as mvn eclipse:eclipse, it will download from the mirror site http://repo1.maven.org/maven2 How can I tuern off

Re: [m2] addition resources to an ear?

2007-12-27 Thread Tom Huybrechts
just put in src/main/application ? On Dec 27, 2007 5:39 PM, Mick Knutson [EMAIL PROTECTED] wrote: Is this not possible? I really have a Oc4j requirement that I need to add an orion-application.xml into my ear. Can someone please help me add this? On Dec 26, 2007 12:47 PM, Mick Knutson

Re: Project Version

2007-12-27 Thread Tom Huybrechts
Try ${plugin.version}. Not sure if it works, but it doesn't hurt to try. On Dec 27, 2007 10:06 PM, Kallin Nagelberg [EMAIL PROTECTED] wrote: I believe what is happening here has to do with my plugin haviing the '@requiresProject false' attribute set. On Dec 27, 2007 4:01 PM, Kallin Nagelberg

Re: M2 Repo for Apache Sandbox stuff?

2007-12-27 Thread Tom Huybrechts
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html On Dec 27, 2007 9:35 PM, Manos Batsis [EMAIL PROTECTED] wrote: Is there a repository for sandbox artifacts publicly available? I'm trying to play a bit with some sandbox stuff like the maven-linkcheck-plugin

Re: distributing files / set of files to remove server (maven wagon plugin ???)

2007-12-26 Thread Tom Huybrechts
If you need to deploy to application servers, take a look at Cargo. http://cargo.codehaus.org/ On Dec 26, 2007 9:56 PM, Jerome Lacoste [EMAIL PROTECTED] wrote: Hei, anyone knows if there's an easy and generic way to distribute a file or a set of files to a remote server ? Basically, I am

Re: How to mvn deploy artifacts with packagingatlassian-plugin/packaging

2007-12-25 Thread Tom Huybrechts
On Dec 25, 2007 1:06 AM, Dan Hardiker [EMAIL PROTECTED] wrote: Tom Huybrechts wrote: I'm assuming you have the source, and want to build and deploy it (opposed to having a binary and wanting do to a deploy-file). Correct, I am trying to deploy my atlassian-plugin (essentially just

Re: Deployment in M2

2007-12-23 Thread Tom Huybrechts
It's a bit of hack, but you could set altDeploymentRepositorydulmmy::default::file://c:/temp/repo/altDeploymentRepository in the POMs of those projects. See http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository Tom On Dec 23, 2007 9:08 AM, Morgovsky,

Re: How to mvn deploy artifacts with packagingatlassian-plugin/packaging

2007-12-23 Thread Tom Huybrechts
I'm assuming you have the source, and want to build and deploy it (opposed to having a binary and wanting do to a deploy-file). There should be a maven plugin that defines the atlassian-plugin packaging. This plugin would define a mapping from atlassian-plugin to a lifecycle (which defines which

Re: extends plugins

2007-12-23 Thread Tom Huybrechts
I usually just copy the source for the plugins I'm extending. They often are only wrappers around some reusable plexus component. Tom On Dec 21, 2007 11:03 AM, Benoit Decherf [EMAIL PROTECTED] wrote: Hi, I'm working on the migration of some projects from ant to maven. for some of the work

Re: 2.1 download possible?

2007-12-20 Thread Tom Huybrechts
Does this help you: http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html ? On Dec 20, 2007 7:50 PM, Andrew Robinson [EMAIL PROTECTED] wrote: I cannot use maven 2.0.8 due to blocker issue http://jira.codehaus.org/browse/MNG-2258. I am running on JDK

Re: Version moving up fast

2007-11-26 Thread Tom Huybrechts
that only works for plugins, not for compile dependencies... I have the same problem, but I do my versioning slightly different. When I release my 1.0.0-SNAPSHOT, I'll make the release version 1.0.0.v20071126, and keep the development version at 1.0.0-SNAPSHOT... Tom On Nov 26, 2007 5:32 PM, EJ

Re: Getting access to the versions in a POM

2007-11-15 Thread Tom Huybrechts
The mojo developer cookbook has part of this info. Feel free to add more... http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Tom On Nov 14, 2007 5:11 PM, Mark Russell [EMAIL PROTECTED] wrote: Wayne: Thanks That should get me started. I'll do some searching and then post

Re: Packaging type zip??

2007-10-09 Thread Tom Huybrechts
On 10/8/07, Yan Huang [EMAIL PROTECTED] wrote: Hello, I have these requirements to package a module: - it's group ID is different from what I have at the top level - no compilation or test is required - it just needs to be packaged in zip format - it needs to be deployed to a

alternative release plugin

2007-08-31 Thread Tom Huybrechts
Hi all, I have a lot of multi-module projects that I need to release in an automated way. To help me with that, I wrote an alternative release plugin based on the release-manager infrastructure; Features/Limitations: - svn only - no separate prepare/perform. POMs are modified locally, and if the

Re: Community review of the next commons-logging pom

2007-08-28 Thread Tom Huybrechts
can find out more about it? A quick look at Google suggests that it has something to do with entries in the manifest in the jar file, is that correct? What would they look like and what is the benefit for the community if we add them? Tom Huybrechts wrote: Is there any chance that OSGi

Re: Community review of the next commons-logging pom

2007-08-27 Thread Tom Huybrechts
Is there any chance that OSGi headers could be added ? On 8/27/07, Dennis Lundberg [EMAIL PROTECTED] wrote: Hi all The poms for commons logging has taken some beating on this list over the years. The reason for that has been the dependencies section. Previous poms of commons-logging was

Re: webdav

2007-08-20 Thread Tom Huybrechts
I guess that isn't possible for deploy:deploy-file ? On 8/20/07, Eric Redmond [EMAIL PROTECTED] wrote: You have to add an extension block in your POM to use webdav. http://maven.apache.org/guides/mini/guide-using-extensions.html -- Eric Redmond http://blog.propellors.net On 8/20/07,

Re: Can't compile

2007-08-16 Thread Tom Huybrechts
On 8/16/07, Wayne Fay [EMAIL PROTECTED] wrote: Try mvn compile. The name of the plugin is compiler. The method you're executing is named compile. So the long way would be mvn compiler:compile. Note the r in the first one. But mvn compile is a short-cut. It's not really a shortcut (they are

Re: [m2] release process - maven-release-plugin usage

2007-07-30 Thread Tom Huybrechts
You can use the release plugin on a multi-module project, and it will it walk the module graph for you. You can also run release:prepare with -B (batch mode) so that all defaults will be used automatically. On 7/30/07, James Abley [EMAIL PROTECTED] wrote: Hi, We currently have the following

Re: Re: google-testar with Maven

2007-07-22 Thread Tom Huybrechts
It would be even more interesting if they actually had source code. On 7/22/07, Martin Villalobos [EMAIL PROTECTED] wrote: Hi Dmitry, take you a look about http://code.google.com/p/google-testar/. It Sound very interesting, but if I could integrate it with Maven, it could be much better.

Re: Re: google-testar with Maven

2007-07-22 Thread Tom Huybrechts
There they are... I was looking at the google-code downloads and svn. On 7/22/07, Wayne Fay [EMAIL PROTECTED] wrote: Unless I'm confused, both the binaries and source code are available: http://sourceforge.net/project/showfiles.php?group_id=175837package_id=201991 Wayne On 7/22/07, Tom

Re: Inteference between multiple plugins with extensions

2007-06-12 Thread Tom Huybrechts
I've had a problem using different extension plugins that contribute a lifecycle in one multi-module project. My workaround has been to copy the contents of the components.xml for each lifecycle I need into a single separate maven-lifecycle-plugin. I only specify this plugin as an extension, and

Re: maven-eclipse-plugin and PDE: do dependencies work?

2007-06-11 Thread Tom Huybrechts
On 6/11/07, Graham Leggett [EMAIL PROTECTED] wrote: On Mon, June 11, 2007 5:45 pm, Adrian Herscu wrote: I have a similar problem... Added a dependency to my PDE project run mvn eclipse:clean eclipse:eclipse and only the .project file is generated (without those linkedResources!). The

batch release of a set of projects without using the default versioning scheme

2007-06-11 Thread Tom Huybrechts
I just spend some time examining the latest release plugin release. I'm trying to set up an automatic release from Cruisecontrol, and I want to specify the project versions myself, without relying on the automatic versioning. I found a way to do this, and I thought I'd share how... First, create

Re: maven release plugin question

2007-06-11 Thread Tom Huybrechts
just add the plugin with the version you want to the plugin management section of your pom On 6/11/07, srinivas ramgopal [EMAIL PROTECTED] wrote: Hi all, Current latest version of maven release plugin from ibiblio has errors. As a workaround, I want to force maven to use the older(the

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Tom Huybrechts
Or use the build-helper plugin http://mojo.codehaus.org/build-helper-maven-plugin/howto.html On 6/8/07, Wayne Fay [EMAIL PROTECTED] wrote: You should make a real plugin. Its really simple. Then you can use the add source root bit. Wayne On 6/8/07, Mick Knutson [EMAIL PROTECTED] wrote: But

Re: release and deploy plugins

2007-06-03 Thread Tom Huybrechts
release:prepare will update the old snapshot version to the release version, make a tag and then update the release version to the new snapshot version. release:perform checks out the tag under the target/checkout directory and does a deploy from there. On 6/3/07, Nathan Coast [EMAIL PROTECTED]

Re: JUnit4 test cases using @Before, @After fail test?

2007-05-23 Thread Tom Huybrechts
would you mind sharing some more information ? POMs, exceptions, test source, -X output ? As a general remark: make sure you have the latest surefire plugin... Tom On 5/23/07, Alexander Sack [EMAIL PROTECTED] wrote: Hey folks, is this a known issue that if I use @Before it will fail my test?

Re: Eclipse RCP/PDE building and Maven

2007-05-16 Thread Tom Huybrechts
On 5/14/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 5 May 07, at 6:28 PM 5 May 07, Carlos Sanchez wrote: I think we need an Eclipse section in the wiki and put all the pages under that Also another thing I wanted to do is cleanup the maven eclipse plugin, deprecate all OSGi stuff in

Re: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-04-11 Thread Tom Huybrechts
Don't forget you use a lot more plugins than you think. Who specifies versions for resources; compiler, surefire, install, deploy, clean, ... ? Maybe we need a plugin that can rewrite your POMs to specify versions for all the plugins that are used ? Tom On 4/11/07, Carlos Sanchez [EMAIL

Re: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-04-11 Thread Tom Huybrechts
. This is possible via parent POM and pluginManagement today, but it is sort of orthogonal to normal inheritance in some ways, too... -john On 4/11/07, Tom Huybrechts [EMAIL PROTECTED] wrote: Don't forget you use a lot more plugins than you think. Who specifies versions for resources; compiler

Re: Eclipse RCP/PDE building and Maven

2007-03-28 Thread Tom Huybrechts
it's almost undocumented, and there are bugs, but this works for me: https://svn.codehaus.org/m2eclipse/tycho/trunk/ Tom On 3/28/07, Barrie Treloar [EMAIL PROTECTED] wrote: I was trawling through the archives to see if there was a better way of building Eclipse RCP plugins via Maven and

Re: Passing args to release:prepare

2007-03-26 Thread Tom Huybrechts
for all artifacts in the release process ? How would this work in a multi-module release with different version numbers ? I'm big +1 though on the idea of being able to run through release:prepare without user intervention, either through POM configuration or system variables. Jorg On 3/25/07, Tom

Re: Passing args to release:prepare

2007-03-25 Thread Tom Huybrechts
I have a very simple patch for the release-manager from trunk. It let's you specify defaults for the release version and the new version. Combined with -B you can completely automate your release. These are the properties you need to set: -Dmaven.release.version=the release version

Re: Maven2 and JUnit4

2007-03-20 Thread Tom Huybrechts
Are you sure you are using the latest surefire ? Can you run with -X ? Tom On 3/20/07, Marcos Silva Pereira [EMAIL PROTECTED] wrote: Ok, I now that this is a so much frequent question, but I can't find a neat thread about this issue. I already have take a look at surefire plugin doc and JIRA

Re: What is the simplest way to populate a remote depot?

2007-03-03 Thread Tom Huybrechts
Read That Fine Manual : http://maven.apache.org/plugins/maven-deploy-plugin/file-deployment.html On 3/3/07, Christian Goetze [EMAIL PROTECTED] wrote: I have some third party jars and want to place them in our common remote repo. I've been placing them there, writing their pom file and doing the

Re: I just don't understand

2007-02-21 Thread Tom Huybrechts
http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html I don't see why this wouldn't work for absolute paths. On 2/21/07, EJ Ciramella [EMAIL PROTECTED] wrote: If no one has a fix for this, how does one delete a directory created outside of the working

Re: Getting JAR for current plugin

2007-02-18 Thread Tom Huybrechts
IIRC, getClass().getProtectionDomain().getCodeSource().getLocation() will return the URL off the jar containing the current class. Maybe that helps ? Tom On 2/18/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: I'm using javadoc to scrape a set of classes and annotations to form an XML file

Re: Best way to extend install plugin?

2007-02-18 Thread Tom Huybrechts
Extending existing mojo's doesn't work very well, because the parameters for the extended mojo are not injected. Do you really need to subclass ? Can't you just write an additional mojo and bind that to the install phase, next to the ordinary install ? And when you have the OBR plugin, would you

Re: Download Sources

2007-02-15 Thread Tom Huybrechts
http://maven.apache.org/plugins/maven-dependency-plugin/sources-mojo.html On 2/15/07, gc134728 [EMAIL PROTECTED] wrote: I know but it's not all project that are set to interproject dependencies which causes a problem. It's also the mapping of generated foldes as source folder in eclipse. I'm

Re: JUnit 4.1 Surefire - Does Not Execute @Before @After methods

2007-02-14 Thread Tom Huybrechts
Make sure you are using a recent surefire snapshot. Out of the box Maven currently has no support for junit4. On 2/14/07, Subhash Chandran [EMAIL PROTECTED] wrote: I am using mvn 2.0.4. I have JUnit 4.1 test cases in my project. The methods I have marked with @After and @Before annotations do

Re: build-helper-maven-plugin: collecting ant build result

2007-02-08 Thread Tom Huybrechts
what is the packaging for your project ? On 2/8/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Hi again.. Forgot to include the plugin snippet of the pom.. Maven version is 2.0.4.. Cheers Jo plugin groupIdorg.codehaus.mojo/groupId

Re: build-helper-maven-plugin: collecting ant build result

2007-02-08 Thread Tom Huybrechts
... Tom On 2/8/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: It has ear packaging.. On 2/8/07, Tom Huybrechts [EMAIL PROTECTED] wrote: what is the packaging for your project ? On 2/8/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Hi again.. Forgot to include the plugin snippet of the pom

Re: build-helper-maven-plugin: collecting ant build result

2007-02-08 Thread Tom Huybrechts
for maven's output directory that I can pass to the ant build? Thanks Jo On 2/8/07, Tom Huybrechts [EMAIL PROTECTED] wrote: I'm just guessing here: build-helper only works with attached artifacts (adding a classifier to the config will probably solve this but that's not what you want

Re: Dynamic dependencies

2007-01-31 Thread Tom Huybrechts
you can just add a dependency/ element to the plugin's configuration to override the original dependency On 1/31/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: Hi, I have a plugin (maven-jaxme-plugin), which currently has a static dependency on jaxme-0.5.2.jar. From time to time I add a bugfix

Re: Surefire, Cargo and Integration Tests

2007-01-25 Thread Tom Huybrechts
See http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing On 1/25/07, takai [EMAIL PROTECTED] wrote: Hi, i have problems integrating Cargo Deployment and Surefire Tests. I've bound cargo:start to pre-integration-test, surefire:test to integration-tests and finally

Re: rebuild all dependent modules of the same project

2007-01-22 Thread Tom Huybrechts
It isn't possible. The only thing you can do is build toplevel - Maven will skip certain steps (like compile) if your projects haven't changed. Tom On 1/22/07, Sebastian Breit [EMAIL PROTECTED] wrote: Hi, this directory structure: main project (pom) module jar module webapp The webapp

Re: Inheriting profiles

2007-01-19 Thread Tom Huybrechts
there was a thread about this last week (Jan 10 - Profile inheritance) On 1/18/07, Geoffrey De Smet [EMAIL PROTECTED] wrote: Is there any way to inherit profiles - more specifically their activation? In a multiproject I have a parent pom that has 2 profiles: development and production.

Re: Shared Repository Access Problem

2007-01-18 Thread Tom Huybrechts
specify your own repository as a mirror for central http://maven.apache.org/guides/mini/guide-mirror-settings.html On 1/18/07, Alauddin [EMAIL PROTECTED] wrote: Hi, I setup and deployed the repository folder to the apache server. It works fine. I got them from browser. I setup my

Re: Your First Plugin Tutorial error ???

2007-01-17 Thread Tom Huybrechts
On 1/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm want to write my own plugin to build my company's project. Now I'm following the Your First Plugin Totorial on http://maven.apache.org/guides/plugin/guide-java-plugin-development.html . I've installed the hello-maven-plugin in

Re: release:prepare

2007-01-16 Thread Tom Huybrechts
during release:prepare the release plugin will need to change the versions in the pom and make commits. You can't do that if you do not have the latest versions of your poms, right ? An alternative would be to create a branch based on a revision, and release from there. Tom On 1/16/07, alexsil

Re: release:prepare

2007-01-16 Thread Tom Huybrechts
release plugin commit the next version pom on the Branch and not on the Trunk that is the right place ??? Is it true Thanks Alex Tom Huybrechts wrote: during release:prepare the release plugin will need to change the versions in the pom and make commits. You can't do that if you do

Re: SCM URL for the maven-surefire-plugin

2007-01-16 Thread Tom Huybrechts
These patches in MSUREFIRE-31 have already been applied to trunk. http://svn.apache.org/viewvc/maven/surefire/trunk/ On 1/16/07, Lasse Koskela [EMAIL PROTECTED] wrote: Hi, I'm in the process of figuring out whether I can get one of the surefire-and-junit4 patches working and found out that a

Re: release:prepare

2007-01-16 Thread Tom Huybrechts
TEST several commits are done on Trunk from developers. Bye Alex. Tom Huybrechts wrote: you have to decide what you need: - if you really are releasing a historical version, you probably don't want the modified poms in trunk - if you do want them, you should merge branch to trunk On 1/16/07

Re: Inheriting plugin executing

2007-01-15 Thread Tom Huybrechts
Add inheritedfalse/inherited to the plugin/ element. On 1/15/07, Saminda Abeyruwan [EMAIL PROTECTED] wrote: Hi All, Say my parent pom.xml has a pluging to execute some goal on the initialization phase. If this pom is the parent of app1 pom.xml and app2 pom.xml ie pom.xml - app1

Re: Snapshot plugin repository - where is it now...

2007-01-15 Thread Tom Huybrechts
http://snapshots.repository.codehaus.org/ http://repository.codehaus.org/ See links at the top of http://mojo.codehaus.org On 1/15/07, Darren Hartford [EMAIL PROTECTED] wrote: Trying to maintain consistency with an evolving platform Trying to download the maven-ejb-plugin-2.1-SNAPSHOT

Re: Can you compile test cases without running them

2007-01-15 Thread Tom Huybrechts
-Dmaven.test.skip.exec in the surefire snapshot version On 1/15/07, jp4 [EMAIL PROTECTED] wrote: I would like to be able to compile my test cases without actually running them. I use maven.test.skip=true but that seems to prevent not only the test execution but the test compilation. Is there

Re: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Tom Huybrechts
I had the same problem today Let me quote somebody: you can still make it work if you explicitely set the resources directory configurationresourcesDir${project.build.outputDirectory}/resourcesDir /configuration tom On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote: Hello, when I

Re: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Tom Huybrechts
is convention over configuration, isn't it? or is it deprecated to use resources in this place? where should I place them instead? thanks for your help, Tobias. Tom Huybrechts schrieb: I had the same problem today Let me quote somebody: you can still make it work if you explicitely set

  1   2   3   >