Archetype parameter-values

2012-07-23 Thread Asmann, Roland
Hi all, We have recently created an Archetype for all our developers to use, but we ran into an issue today... The project that is being created, should always use the latest version of our company's parent-POM. The thing here, is that I want to have the archetype-plugin insert this version

Re: Archetype parameter-values

2012-07-23 Thread Asmann, Roland
I was just looking into that plugin... Seems to do what I want, so I'll probably stick with that. Thanks for the info, both of you! On 23.07.2012 16:48, Wayne Fay wrote: I don't think that there's any mechanism in place except to release a new archetype for each new parent version. If you

Re: Activate two profiles at default

2012-07-23 Thread Asmann, Roland
If those tests should always run, why have them in a profile?? On 23.07.2012 17:26, Andreas Riedel wrote: Hello users, I have the following problem: - One system must be compiled with two different JDK. - I have two test suites, one for smoke test, one for all. Base scenario: -

Skinny WARs -- why only WARs?

2012-07-06 Thread Asmann, Roland
Hi, I just found this feature in the EAR-plugin and wanted to try it out. I like what it does, but I need it to do this on more than just WAR artifacts! In my case, I have an EAR artifact, containing a WAR and a SAR... Both contain several libraries that I would like to have pulled up into the

Re: Skinny WARs -- why only WARs?

2012-07-06 Thread Asmann, Roland
this added in the other modules as well. On 06.07.2012 11:44, Asmann, Roland wrote: Hi, I just found this feature in the EAR-plugin and wanted to try it out. I like what it does, but I need it to do this on more than just WAR artifacts! In my case, I have an EAR artifact, containing a WAR

Re: Generating resources based on classes

2012-02-24 Thread Asmann, Roland
Thanks Wayne, I'll give those a look. On 24-02-12 18:01, Wayne Fay wrote: I want to generate a couple of resources based on the classes I have in my project. Therefor, I have 2 questions: - How do I get the classpath for the plugin correct? I need access to my classes and it's dependencies.

Re: Added source directory still allows for compile errors

2012-02-21 Thread Asmann, Roland
Maybe a dumb question, but: are there already sources in that directory? It seems to me it is only added to your build, but I don't see a plugin writing something there... Roland On 21.02.2012 10:02, Stephane-3 wrote: Hello, I have a Maven build that correctly adds a source directory, or

Generating resources based on classes

2012-02-19 Thread Asmann, Roland
Hi all, I want to generate a couple of resources based on the classes I have in my project. Therefor, I have 2 questions: - How do I get the classpath for the plugin correct? I need access to my classes and it's dependencies. - In which phase should I put this plugin? The phase I would normally

Re: Deploying snapshots of same artifactId but different types

2012-01-26 Thread Asmann, Roland
Try uploading all at once using 'files', 'types' and 'classifiers'. Or if you are on Nexus, deploy them using the UI, you can attach multiple artifacts there. On 26.01.2012 15:08, jerem wrote: Hi, Using Maven 2.2.1, I deployed (with deploy:deploy-file through command-line) several

Settings-file and invoker-plugin

2012-01-16 Thread Asmann, Roland
Hi all, When running my projects on Jenkins, I need to set the settings-file (-s /path/to/settings.xml). I've hit my toes a couple of times now on the fact that I than also have to set the settings-file for the invoker-plugin (-Dinvoker.settingsFile=/path/to/settings.xml). Why doesn't the

Re: Settings-file and invoker-plugin

2012-01-16 Thread Asmann, Roland
? On 16 January 2012 08:43, Asmann, Roland roland.asm...@adesso.at wrote: Hi all, When running my projects on Jenkins, I need to set the settings-file (-s /path/to/settings.xml). I've hit my toes a couple of times now on the fact that I than also have to set the settings-file

Disabling Profiles during release

2012-01-13 Thread Asmann, Roland
Hi all, I have this company-wide POM that has several profiles that are activated when running on Jenkins. Now during the normal build of this POM, I tell Jenkins to deactivate several profiles, because they just can't run. Today I needed to make a release of this POM, and I tried to

Re: download only sources

2011-11-28 Thread Asmann, Roland
Maybe you can use the m-dependency-p or m-assembly-p to copy and/or assemble these JARs. You can add a dependency to these JARs in a small POM for that. Roland On 28.11.2011 11:03, Prashant Neginahal wrote: Hi, We need to hand over source code to client after development. Unfortunately

Re: Integration Test Dependency and WAR Packaging

2011-11-23 Thread Asmann, Roland
Hi Karl Heinz, Look at the configuration for the WAR-plugin, you can have it create a separate JAR for the classes, which you can then use as a dependency. Roland On 23.11.2011 13:10, Karl Heinz Marbaise wrote: Hi to all, i have a larger structure of modules which built a

Re: Integration Test Dependency and WAR Packaging

2011-11-23 Thread Asmann, Roland
Hello Karl Heinz, Where does it say that the sources must be in src/main/webapp? As with all plugins, sources should be in src/main/java (like you have now). I think you need the parameter 'attachClasses', I am not 100% sure if 'archiveClasses' is necessary as well. I've used it before

Re: Integration Test Dependency and WAR Packaging

2011-11-23 Thread Asmann, Roland
I just tried this on an old project, and with only the 'attacheClasses'-attribute, it works just fine for me... Might be a dumb question, but: are you using the right version of the plugin? Roland On 23.11.2011 13:55, Karl Heinz Marbaise wrote: hi, i have added both parameters to the

Re: Integration Test Dependency and WAR Packaging

2011-11-23 Thread Asmann, Roland
Strange, that's the same version I am using... Could you post a part of the POM and maybe some output you get? Maybe we can see something in there... On 23.11.2011 14:29, Karl Heinz Marbaise wrote: Hi, Asmann, Roland wrote I just tried this on an old project, and with only

Re: Integration Test Dependency and WAR Packaging

2011-11-23 Thread Asmann, Roland
If you use 'attachClasses', the JAR should NOT be created in the lib-folder, but in the target. When using 'archiveClasses' it is created in the lib-folder. A dependency on that JAR should be on a JAR (not the WAR) and add classifier 'classes'. On 23.11.2011 14:42, Karl Heinz Marbaise wrote:

Re: Integration Test Dependency and WAR Packaging

2011-11-23 Thread Asmann, Roland
Here's a small example... Check if it works for you, because it definitely does for me... Roland On 23.11.2011 16:52, Karl Heinz Marbaise wrote: Hi, Asmann, Roland wrote If you use 'attachClasses', the JAR should NOT be created in the lib-folder, but in the target. When using

Re: Integration Test Dependency and WAR Packaging

2011-11-23 Thread Asmann, Roland
No attachments allowed? I'll send it to you directly. On 23.11.2011 17:08, Asmann, Roland wrote: Here's a small example... Check if it works for you, because it definitely does for me... Roland On 23.11.2011 16:52, Karl Heinz Marbaise wrote: Hi, Asmann, Roland wrote

Re: Maven release plugin with jboss packaging maven plugin

2011-07-29 Thread Asmann, Roland
Try configuring release:prepare to do an 'install' instead of just a 'verify'... There's (still?) a problem with releasing a WAR or EAR package in Maven... Roland On 29.07.2011 15:23, Tiago António Neves wrote: Hi all, I’m using codehaus jboss-packaging-maven-plugin to get a sar. I’m then

Triggering generation of archetype from pom-file

2011-07-17 Thread Asmann, Roland
Hi, I am trying to setup a project by configuring the archetype-plugin in my POM. The problem I am running into is that I don't know how to tell the archetype about 'groupId', 'artifactId' and 'version' for the new project... Is there any way I can set these for the plugin? Thanks, --

Explaining to m-eclipse-p that my project is a java-project

2011-07-15 Thread Asmann, Roland
Hi, I am having some issues explaining to the m-eclipse-p that my project is actually a java-project and needs to be generated with a .classpath and java-nature. The problem I am facing is that the project is actually of type 'maven-archetype', but I would really like to see my resources and

Programmatically instantiating a pom.xml as a MavenProject

2011-06-26 Thread Asmann, Roland
Hi all, I am trying to read a pom.xml and instantiate it as a MavenProject for testing. I am able to read it using the Xpp3Reader and then I gave the Model to a MavenProject. The problem now, is that most of my attributes are not set. The most important one for me (at the moment) is the

Re: Programmatically instantiating a pom.xml as a MavenProject

2011-06-26 Thread Asmann, Roland
That won't work for me, I don't want to run the whole build. I just want to have an instantiated MavenProject and call methods on it, not run the build. On 26-06-11 16:45, Ansgar Konermann wrote: Am 26.06.2011 16:07, schrieb Asmann, Roland: I am trying to read a pom.xml and instantiate

Re: Invoker-Plugin not using correct settings-file

2011-06-23 Thread Asmann, Roland
Hmmm... On one side it sounds very logical, on the other it doesn't... At least it explains a couple of other issues I was having -- although they weren't influencing my build this much. Thanks! On 22-06-11 21:12, Stephen Connolly wrote: ahh. you have configured the plugin directly. to get

Re: Invoker-Plugin not using correct settings-file

2011-06-22 Thread Asmann, Roland
' is NOT overriding the configuration in the POM! So not a Jenkins issue, but one with Maven itself! I'm running Maven 2.2.1 and am using m-invoker-p 1.5. Any ideas/suggestions? Roland On 21.06.2011 19:57, Asmann, Roland wrote: I have to admit: no, not yet. I have to put a settings-file somewhere

Invoker-Plugin not using correct settings-file

2011-06-21 Thread Asmann, Roland
Hi all, I configured the invoker-plugin in my POM to use the settings-file in ${maven.home}/conf/settings.xml -- which works fine for local development. However, when running my Projects on Jenkins, I have configured the project with a different settings-file, since the Maven on the server

Re: Invoker-Plugin not using correct settings-file

2011-06-21 Thread Asmann, Roland
I have to admit: no, not yet. I have to put a settings-file somewhere that throws me an error, otherwise I'll never know if it works. I'll give that a try tomorrow, and update this thread according. Roland On 21-06-11 19:11, Anders Hammar wrote: Have you tried executing your Maven build

Why is this profile not being activated?

2011-06-10 Thread Asmann, Roland
Hi all, I have this profile defined in a parent-POM: profile iddefault-code-coverage/id activation file existssrc/main/java/exists /file /activation /profile Now, in several child-projects it will not be activated, because there are no sources (WAR, EAR or simple

Re: Why is this profile not being activated?

2011-06-10 Thread Asmann, Roland
OK, so why isn't this one activated? It should be imho... On 10.06.2011 15:53, Stephen Connolly wrote: profiles are not inherited... the results of activating them in the reactor are inherited On 10 June 2011 14:48, Asmann, Roland roland.asm...@adesso.at wrote: Hi all, I have

Re: Why is this profile not being activated?

2011-06-10 Thread Asmann, Roland
the statement profiles are not inherited is not strictly true. Activation with file does not work on an inherited basis. But direct activation at the command line with -P does work, even if the profile is defined in a parent pom. On Fri, Jun 10, 2011 at 9:03 AM, Asmann, Roland roland.asm...@adesso.at

Re: Why is this profile not being activated?

2011-06-10 Thread Asmann, Roland
. But direct activation at the command line with -P does work, even if the profile is defined in a parent pom. On Fri, Jun 10, 2011 at 9:03 AM, Asmann, Roland roland.asm...@adesso.at wrote: OK, so why isn't this one activated? It should be imho... On 10.06.2011 15:53, Stephen

Re: Why is this profile not being activated?

2011-06-10 Thread Asmann, Roland
/java does NOT exist and you are expecting it to work in child projects where src/main/java DOES exist ? If option 2, it will not work this way because the profile with cobertura configuration will not be inherited in the children On Fri, Jun 10, 2011 at 11:43 AM, Asmann, Roland roland.asm

Re: Why is this profile not being activated?

2011-06-10 Thread Asmann, Roland
think that profiles are inherited, when it is actually the effects of the profile that are inherited. I hope that makes sense for you -Stephen On 10 June 2011 15:58, Asmann, Roland roland.asm...@adesso.at wrote: I am indeed using option 2, and I understand that the profile

Re: Why is this profile not being activated?

2011-06-10 Thread Asmann, Roland
influence all child-projects and I don't want to force all developers to change much in their POMs. They are already chagrined that they have to extend my POM, although they are starting to see the use of a common parent... On 10-06-11 23:01, Wendy Smoak wrote: On Fri, Jun 10, 2011 at 10:40 AM, Asmann

Re: Why is this profile not being activated?

2011-06-10 Thread Asmann, Roland
You won't see that, because the profiles in a parent are *not* shown in this list! This threw me off on a couple of occasions as well! On 10-06-11 23:13, David Durham wrote: On Fri, Jun 10, 2011 at 3:37 PM, Joakim Olssonjoa...@unbound.se wrote: Hmmm...We have a profile for packaging up our

Re: Why is this profile not being activated?

2011-06-10 Thread Asmann, Roland
True. Simple explanation is that I don't want the plugin to run on our integration-tests, because they do a lot of stuff during the phase 'generate-test-resources' and 'process-test-resources'. And since these tests don't have sources, I figured using a profile would be the easiest way. That,

Re: order of the unpacking from unpack-dependencys

2011-05-12 Thread Asmann, Roland
Hi, You could perhaps try the unpack goal... You do have to add all the dependencies again, but that one should take the order in which the artifacts are listed. Roland On 12-05-11 15:52, David Bräutigam wrote: Hello,, i have the following strange problem with the unpack-dependencys in my

Re: Nested artifacts

2011-05-11 Thread Asmann, Roland
Not 100% sure about this one, but you could try it with the dependency-plugin [1]. I believe it does not allow system-dependencies in its configuration, but judging from the sentence The artifact version is optional. If not set, the plugin will attempt to resolve it from the project

Re: Nested artifacts

2011-05-11 Thread Asmann, Roland
be there. :-/ I think I just need to shell out to ant... -Original Message- From: Asmann, Roland [mailto:roland.asm...@adesso.at] Sent: Wednesday, May 11, 2011 12:04 PM To: Maven Users List Subject: Re: Nested artifacts Not 100% sure about this one, but you could try

Re: Modify build order?

2011-05-04 Thread Asmann, Roland
Take a look at the invoker-plugin, goal 'run' [1]. Roland [1] http://maven.apache.org/plugins/maven-invoker-plugin/run-mojo.html On 04.05.2011 14:56, motes motes wrote: I have the following projects (physically separated in svn) with the following structure: a |-- a.parent |-- pom.xml

Re: Modify build order?

2011-05-04 Thread Asmann, Roland
I have never used the 'setupInclude' and 'pomInclude' myself, I use something along these lines: plugin artifactIdmaven-invoker-plugin/artifactId configuration goals goalclean/goal goalinstall/goal /goals javaHome${java.home}/javaHome noLogtrue/noLog

Re: java file path in exec:java

2011-04-21 Thread Asmann, Roland
\... etc :) Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Wed, Apr 20, 2011 at 2:57 PM, Asmann, Roland roland.asm...@adesso.at wrote: What I meant was: don't use ${file.separator} and write '/' in your POM. Or do you have a reason you need the variable

Re: java file path in exec:java

2011-04-21 Thread Asmann, Roland
It seems gmaven might be able to help you out here: http://maven.40175.n5.nabble.com/Exporting-Ant-properties-to-Maven-td510023.html#a510117 http://pastebin.com/XsAdbbcY Roland On 21.04.2011 12:14, Asmann, Roland wrote: I see your problem now. Would it be a problem for you to use ant to run

Re: Only partial filtering of .bat with assembly

2011-04-21 Thread Asmann, Roland
How about you don't let the assembly-plugin copy your resources, but have the resources-plugin do it? Roland On 21.04.2011 13:31, David Delbecq wrote: Thanks for the hint, but not an option. The bat does not only call the jar file, it actually does some logic on parameters, call several

Re: Only partial filtering of .bat with assembly

2011-04-21 Thread Asmann, Roland
You might want to configure it to work around a bug though: artifactIdmaven-resources-plugin/artifactId configuration delimiters delimiter${*}/delimiter /delimiters useDefaultDelimitersfalse/useDefaultDelimiters /configuration Roland On 21.04.2011 13:38, Asmann, Roland wrote

Re: Only partial filtering of .bat with assembly

2011-04-21 Thread Asmann, Roland
The way I would do it, is create a directory called 'src/main/filter-resources' (or something similar, just NOT the default 'src/main/resources'!) and then configure the resource-plugin to run 'resources:copy-resources' to eg 'target/filtered-resources'. With filtering turned on of course. :-)

Re: mvn eclipse plugin for multimodule proyect

2011-04-20 Thread Asmann, Roland
Hello Fernando, You can call me 'Roland', that is my first name. ;-) If I understand correctly, you have a POM-file on your computer and run Maven on it. This will download/checkout/copy/... everything to your computer. Now, I presume that the POM you are using is *not* the one you call

Re: java file path in exec:java

2011-04-20 Thread Asmann, Roland
Just use the character '/', it works on Windows! On 20-04-11 21:45, Zilvinas Vilutis wrote: Hi maven users! I'm trying to execute a java command and pass a path to a file as an argument: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId configuration

Re: java file path in exec:java

2011-04-20 Thread Asmann, Roland
to contain / in the output, but it generates the path with \ slashes, e.g. C:\path to myproject\target\classes\orm.properties Regards Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Wed, Apr 20, 2011 at 12:57 PM, Asmann, Roland roland.asm...@adesso.at wrote

Re: mvn eclipse plugin for multimodule proyect

2011-04-19 Thread Asmann, Roland
Doesn't it create the files or are your projects not in Eclipse? You must import the projects yourself after the build, the plugin does *not* do this for you! On 19.04.2011 17:14, Fernando Wermus wrote: Hi all, I have a pom which is a multimodule proyect. I am using maven plugin eclipse for

Re: mvn eclipse plugin for multimodule proyect

2011-04-19 Thread Asmann, Roland
Can you post your configuration (if any) and the command you issue to run Maven? On 19.04.2011 17:44, Fernando Wermus wrote: What it does not create are the files for each eclipse project. Thus I cannot make the import. 2011/4/19 Asmann, Roland roland.asm...@adesso.at Doesn't it create

Re: Release plugin tagging parent of trunk

2011-04-19 Thread Asmann, Roland
Are you sure that your scm and maven-release-plugin/tagBase are correctly set? On 19.04.2011 18:01, Brent Smith wrote: Hello, I'm running into an issue when I do a release:prepare on a multi-module project where the tagging phase is tagging the parent of the trunk. I found a bug report

Re: Is it possible to run a mojo when using an archetype to start a project ?

2011-04-19 Thread Asmann, Roland
Would it be OK if it runs after the archetype has been created? Afaik you can't have it run automatically, but you could add the parameter 'goals' to the call 'archetype:generate' to run your mojo... http://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html#goals On

Re: Release plugin tagging parent of trunk

2011-04-19 Thread Asmann, Roland
That looks correct to me... And thinking about it, tagBase can't be the reason for this, since the tag is actually in the right place. I'm afraid I don't know what else it could be... Maybe you could run a release with debug-output and read something out of that? If not, you could post it so

Re: Assembling webapp only, but not make WAR file

2011-04-04 Thread Asmann, Roland
Check the life-cycle phases and choose one that is just *before* 'package'. On 04.04.2011 10:26, Nguyen Tien Luong wrote: Here is the backtrace of MVN INSTALL [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[webapp] in [C:\Documents and Settings\webapp\target\webapp]

Re: Assembling webapp only, but not make WAR file

2011-04-04 Thread Asmann, Roland
or it is the way maven doing? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 10:32:35 Subject: Re: Assembling webapp only, but not make WAR file Check the life-cycle phases and choose one

Re: Assembling webapp only, but not make WAR file

2011-04-04 Thread Asmann, Roland
to generate a new WAR file, it's painful T_T So there is no solution for my problem then ? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 11:06:07 Subject: Re: Assembling

Re: Assembling webapp only, but not make WAR file

2011-04-04 Thread Asmann, Roland
:x Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 11:26:39 Subject: Re: Assembling webapp only, but not make WAR file I believe you should try the war:exploded, this should do

Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
Hi all, I am running Maven 2.2.1 and am using the resources-plugin 2.4.3 and for some reason Maven only replaces 6 instances of my 7 variable definitions (or better said: 30 of my 35 variables). I tries setting the delimiter (since this was a bug in 2.4 if I remember correctly), but this

Re: Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
OK, found it... It seems the bug with '@' from the 2.4 release still isn't fixed (correctly). I found that I have 7 '@' in my file and the variables *after* the 7th '@' weren't replaced! In my tries with the delimiters, I forgot to tell Maven not to use the defaults -- this did the trick for

Re: Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
I found that I have 7 '@' in my file and the variables *after* the 7th '@' weren't replaced! To clarify: removing one or adding one worked like a charm! -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer

Re: Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
On 30.03.2011 18:11, Olivier Lamy wrote: Hello, I'm interested to have a sample project to reproduce :-). Can you attach it to a jira issue ? Thanks! Here you go: http://jira.codehaus.org/browse/MRESOURCES-141 -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26.

Re: Not all variables replaced when filtering

2011-03-30 Thread Asmann, Roland
On 30.03.2011 18:28, Asmann, Roland wrote: On 30.03.2011 18:11, Olivier Lamy wrote: Hello, I'm interested to have a sample project to reproduce :-). Can you attach it to a jira issue ? Thanks! Here you go: http://jira.codehaus.org/browse/MRESOURCES-141 Another addition: I re

fail-at-end not working

2011-03-25 Thread Asmann, Roland
Hi all, I am using Maven 2.2.1 and I need to have my build run until the very end because I am running integration tests that start and stop my JBoss. Currently, when a test has a failure/error, the build quits and my JBoss keeps on running. I tried adding the '-fae' parameter, but this does

Re: fail-at-end not working

2011-03-25 Thread Asmann, Roland
your app server before verifying. The plugin site describes this quite well. /Anders On Fri, Mar 25, 2011 at 15:21, Asmann, Roland roland.asm...@adesso.atwrote: Hi all, I am using Maven 2.2.1 and I need to have my build run until the very end because I am running integration

Re: What could cause such a fundamental file to be missing?

2011-03-23 Thread Asmann, Roland
I'd say that your Nexus is configured incorrectly/incomplete... It is OK to mirror everything to Nexus, but then you have to make sure that Nexus is able to retrieve *all* artifacts you need! On 23.03.2011 18:09, Hahn, Christopher (SAN DIEGO) wrote: Is this the problem (from the console):

Re: Hello World?

2011-03-23 Thread Asmann, Roland
IT says 'connection refused', are you sure you can currently reach your Nexus? On 23-03-11 19:39, Hahn, Christopher (SAN DIEGO) wrote: ??? What can make Hello World fail: == D:\tempmvn archetype:generate

Re: Hello World?

2011-03-23 Thread Asmann, Roland
Because that is Maven's default output, no matter if you are using nexus or not! If you run in debug, it should (when correctly configured) show that it is trying to download from 'central (url to your nexus here)'. On 23-03-11 19:43, Hessick, Michael wrote: If you are using Nexus, then why

JMeter in Maven

2011-03-18 Thread Asmann, Roland
Hi all, I've been looking through Google to find a plugin to run JMeter from Maven. It seems there are two main plugins, one of which seems to have several branches. Has anybody worked with any of them? If so, could you tell me which one is the best to use? And is any of them available in a

Re: JMeter in Maven

2011-03-18 Thread Asmann, Roland
On 18.03.2011 13:23, Jeff MAURY wrote: On Fri, Mar 18, 2011 at 12:03 PM, Asmann, Roland roland.asm...@adesso.at mailto:roland.asm...@adesso.at wrote: Hi all, I've been looking through Google to find a plugin to run JMeter from Maven. It seems there are two main plugins, one

Re: JMeter in Maven

2011-03-18 Thread Asmann, Roland
Hi Siegfried, True, but if you're already on Maven, why would you want to go back to Ant? Roland On 18.03.2011 13:56, Siegfried Goeschl wrote: Hi Roland, you can always fall back to use the JMeter Ant integration Cheers, Siegfried Goeschl On 18.03.11 13:38, Asmann, Roland wrote

help:effective-settings

2011-03-15 Thread Asmann, Roland
Hi all, I had this feeling that my Maven was using the wrong settings.xml file and when running help:effective-settings, it indeed shows me the wrong configuration. Now, I looked in all the normal places where settings.xml files are looked for, but I can't seem to find where Maven is seeing

Sharing data between archetypes

2011-03-14 Thread Asmann, Roland
Hi all, I am currently creating several archetypes and was wondering what the best way is to share data. Some of my archetypes are up to 90% the same and I don't want to copy around all the files they share. Wouldn't be a problem the first time, but of course all updates should then be copied

Retrieving all available versions of an artifact

2011-02-25 Thread Asmann, Roland
Hi all, I'm writing a plug-in and currently need a list of all available versions for a specific artifact. I've found this method: ArtifactMetadataSource.retrieveAvailableVersions which I thought would do this. However, this method does not give the list of available SNAPSHOTs. In my plug-in

Mirrors

2011-02-23 Thread Asmann, Roland
Hi all, I was wondering if it is possible in Maven 2.2.1 to setup 2 mirrors that will take all my requests. I have the first one configured to take all release-versions, the second to handle snapshots. Now, the problem is that when I tell the first one to mirror '*', the second mirror never

Re: Mirrors

2011-02-23 Thread Asmann, Roland
Advance Mirror Specification. /Anders On Wed, Feb 23, 2011 at 12:18, Asmann, Roland roland.asm...@adesso.atwrote: Hi all, I was wondering if it is possible in Maven 2.2.1 to setup 2 mirrors that will take all my requests. I have the first one configured to take all release-versions

Re: Mirrors

2011-02-23 Thread Asmann, Roland
I haven't tried that, but what I read from the Maven-pages, it doesn't understand wildcards like that... But I can try though... Then again, it would only work if the repositories are actually named like that, and I can't always influence that (3rd party!)... Ah well, for now I'll take the

Re: Mirrors

2011-02-23 Thread Asmann, Roland
On 23.02.2011 18:40, Marc Rohlfs wrote: I haven't tried that, but what I read from the Maven-pages, it doesn't understand wildcards like that... But I can try though... I thought it would work, but I am not sure - I have to admit ... Then again, it would only work if the repositories

Resource-Plugin

2011-01-03 Thread Asmann, Roland
Hi all, I was playing around with the resource-plugin to copy several resources around in my project, and found a problem with the plugin. It appears that the parameter 'includeEmptyDirs' is not always (!) being obeyed. From what I can see, it works when I configure several resources and do

Re: Problem with classpath for tests

2010-12-23 Thread Asmann, Roland
, Roland wrote: Sorry, I got the location of the directories wrong... They were last but are now first! On 20.12.2010 14:47, Asmann, Roland wrote: Hi all, I've been trying to get some projects running on my Hudson server, abd am running into problems. I've hunted down the problem to being

Problem with classpath for tests

2010-12-20 Thread Asmann, Roland
Hi all, I've been trying to get some projects running on my Hudson server, abd am running into problems. I've hunted down the problem to being the version of Maven that I use! On my Hudson I am running both 2.0.10 (for some older projects) and 2.2.1. On both these versions I have a project

Re: Problem with classpath for tests

2010-12-20 Thread Asmann, Roland
Sorry, I got the location of the directories wrong... They were last but are now first! On 20.12.2010 14:47, Asmann, Roland wrote: Hi all, I've been trying to get some projects running on my Hudson server, abd am running into problems. I've hunted down the problem to being the version

How to resolve 'LATEST'

2010-12-17 Thread Asmann, Roland
Hi all, I'm writing an enforcer-rule, that should check if my parent is the LATEST version. How can I get the actual version for 'LATEST'? Thanks! -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1

Re: How to resolve 'LATEST'

2010-12-17 Thread Asmann, Roland
Currently I am not using this, but I want the enforcer to check which version 'LATEST' is and tell the user he should update to that version! On 17-12-10 17:04, Brian Fox wrote: Don't use RELEASE or LATEST. On Fri, Dec 17, 2010 at 7:43 AM, Asmann, Roland roland.asm...@adesso.at wrote: Hi

Differences between Maven 2.0, 2.1, 2.2 and 3.0

2010-12-12 Thread Asmann, Roland
Hi all, Could someone tell me what the differences between 2.0, 2.1, 2.2 and 3.0 are? I am currently running on 2.0.9 and 2.0.10 (depending on the project) and I was wondering if I should start migrating. Currently I am not allowed to upgrade to 3.0 (a 2.x version is still mandatory), but

Re: How can I tell Hudson to build the modules instead of the jobs?

2010-12-10 Thread Asmann, Roland
How about configuring a single job to check-out and build just one module? Would mean that you have lots of jobs (probably one for every module), but that way the big job wouldn't need to be triggered (don't forget to turn of polling and the subversion-hook!). Then you could run the big job at

Re: Multiple JDKs

2010-12-09 Thread Asmann, Roland
On 07.12.2010 11:29, Stephen Connolly wrote: On 7 December 2010 10:14, Asmann, Roland roland.asm...@adesso.at wrote: Hi all, I was wondering if anybody ever had this problem... I have a customer who is running a machine with a SUN JDK and one with an IBM JDK. Now, we've noticed

Re: Multiple JDKs

2010-12-09 Thread Asmann, Roland
On 07.12.2010 14:33, Jörg Schaible wrote: Hi Stephen, Stephen Connolly wrote: On 7 December 2010 10:37, Asmann, Roland roland.asm...@adesso.at wrote: On 07.12.2010 11:29, Stephen Connolly wrote: On 7 December 2010 10:14, Asmann, Roland roland.asm...@adesso.at wrote: Hi

Re: Multiple JDKs

2010-12-09 Thread Asmann, Roland
On 09.12.2010 11:29, Stephen Connolly wrote: you need to add an exclusion on the dependency that is being brought in by profile activation. It was a mistake that profiles include the dependency section as there is all manor of issues. The profile gets activated based on the environment

Re: Multiple JDKs

2010-12-09 Thread Asmann, Roland
: On 09/12/2010 7:52 AM, Asmann, Roland wrote: On 09.12.2010 11:29, Stephen Connolly wrote: you need to add an exclusion on the dependency that is being brought in by profile activation. It was a mistake that profiles include thedependency section as there is all

Re: Invoking Maven Goals Prorammatically

2010-12-07 Thread Asmann, Roland
Hi, Try something like this: plugin artifactIdmaven-invoker-plugin/artifactId configuration goals goalclean/goal goaleclipse:clean/goal goaleclipse:eclipse/goal goalinstall/goal /goals noLogtrue/noLog streamLogstrue/streamLogs properties

Re: Invoking Maven Goals Prorammatically

2010-12-07 Thread Asmann, Roland
Oops, misread your mail... Please ignore this post! Roland On 07.12.2010 10:40, Asmann, Roland wrote: Hi, Try something like this: plugin artifactIdmaven-invoker-plugin/artifactId configuration goals goalclean/goal goaleclipse:clean/goal goaleclipse:eclipse/goal goalinstall/goal

Multiple JDKs

2010-12-07 Thread Asmann, Roland
Hi all, I was wondering if anybody ever had this problem... I have a customer who is running a machine with a SUN JDK and one with an IBM JDK. Now, we've noticed there are some differences between the two, so I thought it would be best to release their artefacts for both JDKs... Question is,

Re: Multiple JDKs

2010-12-07 Thread Asmann, Roland
On 07.12.2010 11:29, Stephen Connolly wrote: On 7 December 2010 10:14, Asmann, Roland roland.asm...@adesso.at wrote: Hi all, I was wondering if anybody ever had this problem... I have a customer who is running a machine with a SUN JDK and one with an IBM JDK. Now, we've noticed

maven-eclipse-plugin

2010-12-05 Thread Asmann, Roland
Hi all, Does anybody know in which version the support for wtp 2.x was added? And when will support for wtp 3.x be added? Thanks! -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1

Re: Properties in the archetype

2010-11-18 Thread Asmann, Roland
Doesn't anybody have an idea? On 06.11.2010 19:09, Asmann, Roland wrote: Hi all, I'm having some problems with properties in archetypes. I read that it is possible to have files and directories renamed with properties (http://jira.codehaus.org/browse/ARCHETYPE-191), but this seems

Forbid users to use a certain artifact and/or version

2010-11-17 Thread Asmann, Roland
Hi all, For one of my customers, I have to come up with a solution to have maven completely ignore certain artifacts and/or versions. Does anybody have any ideas on how to do this? I was thinking about using a preant-POM and the enforcer-plugin, but as soon as I make an update, all projects

Re: Forbid users to use a certain artifact and/or version

2010-11-17 Thread Asmann, Roland
I fully agree with you, but as the saying goes 'the customer is king'... Ah well, I'll give it another couple of days to tinker around and if nothing else works, I'll tell them to just enforce one of the changes. On 17.11.2010 11:43, Antonio Petrelli wrote: 2010/11/17 Asmann, Roland

  1   2   >