Execution order of packaging and plugins?

2009-01-05 Thread Michael Meyer
Hi, is the execution order of packaging and plugins defined? I'm creating an ear file with the maven-ear-plugin (ear). Now I need to "patch" the ear file with the maven-antrun-plugin while still in the "packaging" phase. Can I be sure that the maven-ear-plugin runs before the maven-antrun-pl

Re: Select ear module from filesystem

2008-08-05 Thread Michael Meyer
Hi Petar, if you have an 'internal repository' you can add your libraries by using 'mvn deploy:deploy-file'. For adding the jar my-library.jar to the repository you could use the following: mvn org.apache.maven.plugins:maven-deploy-plugin:2.2:deploy-file -Durl=scp://localhost/data/maven/pr

Re: Verification of Files/Directories before starting the Compile-Phase

2008-07-30 Thread Michael Meyer
commands, e-mail: [EMAIL PROTECTED] -- Michael Meyer | [EMAIL PROTECTED] phone +41-44-247 79 12 | fax +41-44-247 70 75 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: maven-enforcer-plugin release?

2008-07-30 Thread Michael Meyer
Great news. Thanks! Brian E. Fox wrote: I'm working on getting some bugs fixed in the requirePluginVersions rule, a release will be out asap. -Original Message- From: Michael Meyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2008 6:36 AM To: Maven Users List Subject:

maven-enforcer-plugin release?

2008-07-29 Thread Michael Meyer
Hi, is there a reason why there hasn't been a maven-enforcer-plugin release for such a long time? I would really appreciate a new tagged version. A bug that prevented me from using the beanshell rule seems to be fixed on the head. If there is no new release I will have make an 'internal' rele

Re: Managing WebSphere with Maven

2008-01-29 Thread Michael Meyer
Hi, for our websphere 6 project we wrote a maven plugin that performs the following steps: a) creates a jacl scripts from a template[1] b) copies jacl script + ear file to a temporary folder on the websphere server c) executes the following command on the server: "./wsadmin.sh -f was.deploy.j

Re: Running Hibernate tests in integration-test phase

2008-01-22 Thread Michael Meyer
Paul Benedict schrieb: > Is it possible -- or even worthwhile -- to run Hibernate > testing in the Maven integration-test phase? I don't see the advantige of the integration-test phase. We always build our project with "mvn clean install". The install phase also includes the integration-test pha

Re: Avoid Dependency version

2008-01-20 Thread Michael Meyer
amit kumar schrieb: Hi, The reason for I thinking about not having version component in the tag might result in a better version control in terms of same version being used across the different modules of the project. Though not very sure if I am genuine enough when I think that. As Brian said y

Re: Multiple Artifacts, Same Source

2008-01-18 Thread Michael Meyer
> Since all JARs must contain this data transfer object, I'm trying to decide the best way (or at least a very good one) of keeping the three projects in sync. Maybe I misunderstand your question but this sounds like an ordinary maven multi module build. Are your sure that "all JARs must contain

Re: Sending email notification to Owners

2008-01-18 Thread Michael Meyer
Hi Amit, you say you are using continuum 1.1. Can you not just add a different notifier to each module? > But I was told by a colleague of mine that there is something > in maven as well which would let you add the information about > the owner and the email address in the pom.xml Your colleagu

Re: monitoring builds

2007-08-23 Thread Michael Meyer
1.0.3 version ... */Michael Meyer <[EMAIL PROTECTED]>/* wrote: Hi we use continuums xml-rpc api for this. Look in the archive for "[1.1-beta-1] How does the XML-RPC API work?" (Date: 10. August 2007). Emmanuel Venisse explains it nicely. Cheers, michael Ion

Re: monitoring builds

2007-08-23 Thread Michael Meyer
Join Yahoo!'s user panel and lay it on us. -- Michael Meyer | [EMAIL PROTECTED] phone +41-44-247 79 12 | fax +41-44-247 70 75 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch

Re: release:prepare must be runned twice?

2007-08-21 Thread Michael Meyer
--- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Meyer | [EMAIL PROTECTED] phone +41-44-247 79 12 | fax +41-44-247 70 75 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch

Re: javadoc error from 2.0.4 to 2.0.6/2.0.7

2007-08-20 Thread Michael Meyer
L. J. schrieb: However, even I put the maven-javadoc-plugin version number 2.2 in the pom.xml as below, maven 2.0.6 still uses 2.3. org.apache.maven.plugins maven-javadoc-plugin 2.2 What would be the best way/workaround, any suggestion? Using version 2.2 of the javadoc plugin is the workaround

Where is the source code of "maven-release"

2007-08-17 Thread Michael Meyer
Hi I've checked out the latest sources of the maven-release-plugin from http://svn.apache.org/repos/asf/maven/release/trunk/maven-release-plugin I tried loading the sources into eclipse by executing eclipse:eclipse on the project. The error message I get is: [INFO] Failed to resolve artifact

Re: maven-antrun-plugin

2007-08-15 Thread Michael Meyer
ion, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this email are those of the author personally. -- Michael Meyer | [EMAIL PROTECTED] phone +41-44-247 79 12 | fax +41-44-247 70 75 Netcetera AG | 8040 Zürich | Switzerland |

Re: dependency between tests in different projects

2007-08-13 Thread Michael Meyer
dependency to module 1, but I need to define a dependency between module 2's test classes and module 1's test classes. Is this possible? -- Michael Meyer | [EMAIL PROTECTED] phone +41-44-247 79 12 | fax +41-44-247 70 75 Netcetera AG | 8040 Zürich | Switzerland | http://ne

Re: [1.1-beta-1] How does the XML-RPC API work?

2007-08-10 Thread Michael Meyer
://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/SampleClient.java Emmanuel Michael Meyer a écrit : Hi I'm using continuum-1.1-beta-1. And I would like to use the XML-RPC API to check the build

Re: How to activate profile for certain packaging?

2007-08-10 Thread Michael Meyer
id execute() throws MojoExecutionException { if (packaging.equals("war") { ... } } Cheers, michael Gisbert Amm wrote: Michael Meyer schrieb: Hi, does this work? project.packaging war Unfortunately not. I'll describe my problem more generally instea

[1.1-beta-1] How does the XML-RPC API work?

2007-08-10 Thread Michael Meyer
Hi I'm using continuum-1.1-beta-1. And I would like to use the XML-RPC API to check the build state. When I run the following code I a get an exception stating that there were parsing errors: ProjectsReader pr = new ProjectsReader( new URL(http://server:8080/continuum) ); projects = pr.rea

Re: How to activate profile for certain packaging?

2007-08-09 Thread Michael Meyer
Hi, does this work? project.packaging war Cheers, michael Gisbert Amm wrote: I want to activate a profile for the packaging type war. This is what I've tried without success: pom.packaging war How can I achieve that? -Gisbert -- Michael Meyer | [

[103] Peform build even if there are no changes in cvs?

2007-08-06 Thread Michael Meyer
Hi is there a way to perform a scheduled build even if there are no changes in cvs? I think this feature is called "Build fresh" in continuum 1.1 Beta 1. Unfortunately I'm still using continuum 1.0.3. Cheers, michael

Re: Maven: cannot find symbol build error

2007-07-31 Thread Michael Meyer
e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Meyer | [EMAIL PROTECTED] phone +41-44-247 79

Re: share test files between modules

2007-07-25 Thread Michael Meyer
Hi, if you want to share the files under src/test/java the following link should be helpful: http://maven.apache.org/guides/mini/guide-attached-tests.html Cheers, michael Putrycz, Erik schrieb: Hi all, I have a maven project with a master pom file and 3 modules. I'm currently searching fo

Re: properties injection issue

2007-07-23 Thread Michael Meyer
Stupid question but is the profile activated? What is the result of: 'mvn help:active-profiles' and 'mvn help:effective-pom'? In the output of 'mvn help:effective-pom' your properties should be replaced with the version number. Cheers, michael Aaron Morand schrieb: Good day all, I am having

Re: [m2] release:prepare writes my password into the pom

2007-07-23 Thread Michael Meyer
Hi Antonio, works great. Thanks a lot. Like this I can even use my properties in the maven-release-plugin configuration section. Cheers, michael Antonio Petrelli wrote: 2007/7/23, Michael Meyer <[EMAIL PROTECTED]>: Hi In my pom.xml file I have the following scm url: scm:cvs:p

[m2] release:prepare writes my password into the pom

2007-07-23 Thread Michael Meyer
Hi In my pom.xml file I have the following scm url: scm:cvs:pserver:${cvs.username}:[EMAIL PROTECTED]:/cvs/:project The properties cvs.username and cvs.password are defined in my settings.xml file. After executing mvn release:prepare my scm url looks like this: scm:cvs:pserver:my-username:[E

Re: Loading property from specific file

2007-07-21 Thread Michael Meyer
Hi I never came around testing this plugin myself but maybe it solves your problem: http://arsenalist.com/2007/02/07/maven-properties-plugin-download/ Please let me know if it works :-) Cheers, michael Dmitry schrieb: I need loading my property build.number from my file data.txt to Maven. And

Re: How to use ${project.build.directory}?

2007-07-21 Thread Michael Meyer
Hi, yes you can use maven properties. This should do what you want: connector connector 1_0 system ${basedir}/../ma-jdm-tck/lib/connector_1_0.jar But please don't do it! If you use a continuus integration tool like continuum or hudson they will try to build your modules individually.

Re: List of all dependencies as text on console?

2007-07-20 Thread Michael Meyer
Hi if I remember rightly it should be something like this: /** * @requiresDependencyResolution test */ public class CopyDependenciesMojo extends AbstractMojo { /** * @parameter expression="${project.artifacts}" * @required */ private Set artifacts; } The @requiresDepend

Re: configuring separate filter for testResources

2007-07-20 Thread Michael Meyer
or Fidelity Life Insurance Company (FILI) - Systems & Technology Merrimack, NH 603-791-8612 [EMAIL PROTECTED] -- Michael Meyer | [EMAIL PROTECTED] phone +41-44-247 79 12 | fax +41-44-247 70 75 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch ---

Re: List of all dependencies as text on console?

2007-07-20 Thread Michael Meyer
tp://repo1.maven.org/maven2) -Gisbert Michael Meyer wrote: Hi you can try: mvn org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:tree Cheers, michael http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html Gisbert Amm wrote: Hi list, I found that I can

Re: List of all dependencies as text on console?

2007-07-20 Thread Michael Meyer
ncies with mvn project-info-reports:dependencies (http://maven.apache.org/plugins/maven-project-info-reports-plugin/plugin-info.html) Is there a possibility to have this dependency list wirtten to the console instead of generating a HTML file? -Gisbert -- Michael Meyer | [EMAIL PROTECTED]

Re: [m2] Plugin cfg issue between developers...

2007-07-18 Thread Michael Meyer
Hi, you could define a profile [1] in your pom.xml file. environment integration-tests groupId>com.thecompany the-plugin deploy the-goal

Re: [WARNING] Unable to load parent project from repository: Could not find the model file....

2007-07-18 Thread Michael Meyer
the local repository. And if that fails it will search the remote repository for the pom file. The warning is only a warning... it does work. Ivo On 7/17/07, Michael Meyer <[EMAIL PROTECTED]> wrote: Hi four our company I want to set up a parent pom that defines default versions for pl

[WARNING] Unable to load parent project from repository: Could not find the model file....

2007-07-16 Thread Michael Meyer
Hi four our company I want to set up a parent pom that defines default versions for plugins (pluginManagement), repository locations and so on. The idea is that I make new releases of this project ever so often. Other people should be able to use this pom in their project by including the fol

Re: How to tell Maven where to find jar (specify classpath)

2007-06-02 Thread Michael Meyer
Hi you could try adding the dependency with scope "system" [1]. oracle oracle x.x.x system ${basedir}/lib/oracle.jar Cheers, michael [1] http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html SiSi'mon schrieb: We have a product we wish to deliver th

Re: [M2] : maven-release-plugin - about what ?

2006-04-28 Thread Michael Meyer
Hi Jaikumar, the functionality of the release plugin is described here: http://maven.apache.org/plugins/maven-release-plugin/introduction.html The plugin assumes that you use a scm system like Subversion or cvs and have got an internal repository in your company for releases. Assume your projec

Re: Apparent bug, can't change group

2006-04-26 Thread michael-meyer
Hi I saw that this topic has allready been discussed on the list. Is there a solution for this issue? I have got the same problem. In the group colum all my projects have the same value: "Zuerich Tool". That was the value of the first project I added. This is how I can reproduce this bug on my com

Re: [M204] Can't replace propertise in settings.xml

2006-04-26 Thread michael-meyer
Hi Simon, yes the profile is active. I activate the profiles with the "activeProfiles" tag. Below the output of "help:active-profiles". Cheers, michael [INFO] [help:active-profiles] [INFO] Active Profiles for Project 'ch.hplus:patrec:jar:1.5-SNAPSHOT': The following profiles are active: - user

[M204] Can't replace propertise in settings.xml

2006-04-26 Thread michael-meyer
Hi, I was trying to replace properties in the settings.xml file as described in the (really nice) book of mergere, p 205. Unfortunately this doesn't seem to work for me. The properties don't get replaced. In the ssh log i see that the user ${website.username} tried to log in. Can anybody tell my w

Re: [m203] Get names of all transitive dependencies in a mojo

2006-04-19 Thread Michael Meyer
April 19, 2006 3:05 PM To: Maven Users List Subject: Re: [m203] Get names of all transitive dependencies in a mojo On 4/12/06, Michael Meyer <[EMAIL PROTECTED]> wrote: Thanks, I guess I'll have to build my own utility class with some of the code of the dependency-plugin. I agree wi

@execute goal="...."

2006-04-19 Thread Michael Meyer
Hi, I wrote a simple webstart plugin. There are three goals: webstart:sign webstart:jnlp webstart:webstart sign and jnlp can be executed independently. But the webstart goal should execute the sign and the jnlp goal. I tried the @execute annotation but I couldn't find out how to execute two goals

[M203] Writing tests for Plugins (Java Mojos)

2006-04-19 Thread Michael Meyer
Hi, is there any documentation around about writing tests for maven plugins? I saw that some plugins subclass org.codehaus.plexus.PlexusTestCase for theire tests but a simple example of a "typical" maven plugin test would be helpful. michael --

Re: [m203] Get names of all transitive dependencies in a mojo

2006-04-12 Thread Michael Meyer
2-7840 ext 2011 Yahoo: ruelloehr Skype: ruelloehr AOL: dokoruel -Original Message- From: Michael Meyer [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 12, 2006 2:57 AM To: Maven Users List Subject: [m203] Get names of all transitive dependencies in a mojo Hi, how can I retrive t

[m203] Get names of all transitive dependencies in a mojo

2006-04-12 Thread Michael Meyer
Hi, how can I retrive the names of all dependencies including the transitive dependencies in a Java Plugin (Mojo)? I took a look at the code of the eclipse plugin but the dependency part seemed a bit complicated for "just" getting all transitive dependencies. And I'm not familier with the term

Could not create task or type of type: antlib:org.apache.maven.artifact.ant:pom

2006-03-29 Thread michael-meyer
Hi, the attached project produces the following error message: Could not create task or type of type: antlib:org.apache.maven.artifact.ant:pom. It's a simple project. The project should only demonstrate my problem. It seems that maven-plugin-plugin can't find org.apache although maven-artifac

[M2: ant-plugin-development] Is there a description of the basename.mojos.xml file format?

2006-03-28 Thread Michael Meyer
Hi I tried to fork a new lifecycle in my basename.mojos.xml file as described on http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html But I couldn't find out where to put the tag. I always got a parse error. Does anybody know where to put the tag or if there is a documentat

[M2] Is there a variable for the source folder?

2006-03-26 Thread Michael Meyer
Hi is there a variable for the source folder? ${project.build.sourceDirectory} returns "my-app/src/main/java" I noticed that I can use ${user.dir}/src but this would break if somebody uses an other src folder. Or is the src folder immutable in M2. That would also solve my problem :-) Cheers, mi

Can't add maven-artifact-ant-2.0.2-dep.jar as a dependency to an ant plugin

2006-03-26 Thread Michael Meyer
Hi I would like to add maven-artifact-ant-2.0.2-dep.jar as a dependency to an ant plugin. I added the jar file to my local repository. But I only get a stack trace when I try to execute the plugin. I want to add maven-artifact-ant-2.0.2-dep as a dependency because I don't know how else I could

[M2] Create Ant plugin from a Antlib build.xml file

2006-03-22 Thread Michael Meyer
Hi I have created a build.xml file with antlib (http://maven.apache.org/ant-tasks.html). It looks something like this: The version is ${maven.project.version} Now I would like to create a maven 2 plugin from this build.xml file (http://maven.apache.org/guid