How to send all Maven-properties to the ant-run plugin

2006-03-31 Thread Roland Asmann
Hi, Is there an easy way to send all the properties that are available in a Maven-build (user-defined props included) to the ant-run plugin? I know I can explicitly send them by mapping them to ant-properties in the pom.xml, but I'd rather send the whole list along at once. Thanks, Roland --

Generated Resources are not packaged

2006-03-31 Thread Roland Asmann
Hi, I am using the ant-run plugin to generate some sources and have a seperate ant-run config to generate some property-files (in the generate-resource phase). When I tell maven to run everything and package it all up in a JAR, the generated resources are NOT inside the JAR. I only found the po

Deploying 3rd Party Libraries with sources

2006-04-11 Thread Roland Asmann
Hi, I was wondering if it is possible (and how) to deploy 3rd party Libraries with a source-jar into our company's central repository. We are using the maven-proxy tool to retrieve libraries from ibiblio and codehaus repositories, but as we all know there are some libs that can't be found on th

Re: Deploying 3rd Party Libraries with sources

2006-04-11 Thread Roland Asmann
Thanks! This seems to have done the trick... Although I think it's better to use the '-DgeneratePom=false' on this, otherwise it will rewrite the POM to packaging 'java-source'. Roland On Tuesday 11 April 2006 12:25, Kenney Westerhof wrote: > On Tue, 11 Apr 2006

Deploying 3rd party SNAPSHOT libraries

2006-04-14 Thread Roland Asmann
Hi, I'm trying to deploy 3rd party snapshots to our local maven-proxy, but have problems when my builds try to access the libraries. I've already found out that the POM and JAR do not have the same name, but have a buildnumber appended to their names, which differs between the two. Then, when I

maven-source-plugin 2.0.1

2006-05-11 Thread Roland Asmann
Hi, I've noticed that the new version of this plugin forks a new lifecycle... Can anybody clarify why this has been done? My builds are getting very slow because of this, since I have a pretty large source-code generator in the generate- sources phase... Are there any other changes compared to 2

Re: maven-source-plugin 2.0.1

2006-05-11 Thread Roland Asmann
te: > On Thu, 11 May 2006, Roland Asmann wrote: > > The source plugin needs to run the generate-sources phase, else it might > miss something in creating a jar. This was indeed fixed in 2.0.1. > > If you do 'mvn clean source:jar' on a source-generating project, the jar &g

Re: maven-source-plugin 2.0.1

2006-05-15 Thread Roland Asmann
default?? Roland On Thursday 11 May 2006 20:18, Kenney Westerhof wrote: > On Thu, 11 May 2006, Roland Asmann wrote: > > The way I see it, it runs through the generate-sources phase no matter > > what! The 2.0.1 is per default bound to the package phase, and I just run > > '

Profile activation

2006-05-16 Thread Roland Asmann
Hi, Can anybody tell me if it is possible to have profiles activate each other and how to do this? The thing is that I have a certain 'default' profile and several extra profiles that need one or two extra modules and/or dependencies and/or plugins. Now I know that I can use the command-line to

Priority in Profiles

2006-05-16 Thread Roland Asmann
Hi, How is the priority in the order of Profiles determined? I am running maven with 4 activated profiles, 2 of them over the '-P' and the other 2 over the '-D' and property-activation. 2 of these Profiles (1 from the '-P' and 1 from the '-D') set properties for the build. One of these propertie

Re: maven-source-plugin 2.0.1

2006-05-16 Thread Roland Asmann
isn't even the slowest one I have running... :'( Roland On Monday 15 May 2006 18:21, Roland Asmann wrote: > Sorry for the late reply, have been ill for a couple of days... > > ATM the source-plugin is not explicitly mapped to a phase, which implcitly > maps it to the &#x

Strange exception when building Project

2006-05-18 Thread Roland Asmann
Hi, I have a project, that is defined as a 'simple' JAR, but for some reason it doesn't build correct. It's part of a larger project, where all my other modules build without problems, all based on similar POM's... Maven's output looks like this: [INFO] ---

Re: Strange exception when building Project

2006-05-18 Thread Roland Asmann
On Thursday 18 May 2006 12:58, Alexandre Poitras wrote: > Please post the POM because it's hard to help without it :) > > On 5/18/06, Roland Asmann <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have a project, that is defined as a 'simple' JAR, but for

Re: M2 AspectJ plugin

2006-05-22 Thread Roland Asmann
Yes there is: org.codehaus.mojo aspectj-maven-plugin Roland On Monday 22 May 2006 15:06, Marco Mistroni wrote: > hello all, > is there a maven2 aspectj plugin available? > > if, so, where? when i googled it i got references to a mojo site whcih was > unavailable > > tha

Maven sometimes creates undeployable EAR's

2006-05-22 Thread Roland Asmann
Hi, I've noticed that maven sometimes ignores my list of exclusions on the dependencies and creates an EAR (or rather a WAR inside that EAR), that doesn't deploy on my JBoss. The problem occurs pretty often, but still at random, when running a build with '-Dperson=test' and only hardly ever occu

Re: M2 AspectJ plugin

2006-05-22 Thread Roland Asmann
you could > download the sourcecode here : > http://svn.codehaus.org/mojo/trunk/mojo/aspectj-maven-plugin/ > and run mvn site:site on the plugin and you will have the generated > doc on your local machine. > > Best regards > Kaare > > On 22/05/06, Roland Asmann <[EM

Maven2, AspectJ and Clover

2006-05-22 Thread Roland Asmann
Hi, Could anybody tell if it is possible (and how) to have maven clover the aspects that aspectj will use to make closures? I am working on an application that builds on aspectj in some of the key-moments and I would like to know the code coverage on those places. Thanks, Roladn -

Dependeny tree

2006-05-24 Thread Roland Asmann
Hi, Could someone tell me if it is possible to have Maven print the dependency tree for an artifact? I am getting a couple of libraries transitive, but I have no clue as to which direct dependency of mine does this... And while I'm on the subject, could somebody explain to me how Maven would r

Resolving dependencies

2006-05-26 Thread Roland Asmann
Hi, Could anybody tell me which plugin is responsible for resolving the dependencies in a POM? I would like it to write the output to a file, even without the -X, so I want to play around in the code a little... Thanks, Roland -

Re: Find a repository on the local drive

2006-05-26 Thread Roland Asmann
IMO, the location will be relative from the build-path.. Which means for sub-modules it should actually be '../../mvn-repo'... Try a hard-coded path, that way you can be sure it ALWAYS resolves to the right repository! Or add a repository-tag to all your POM's (although this would be overkill if

Re: inherited plugins for module use

2006-05-26 Thread Roland Asmann
Try adding the antrun-plugin in your modules in the -section. You can ommit the configuration, since you already have that (I presume) in your parent POM in the -section... Not sure about where this is written (if it is at all), but it should work like this... PluginManagement is sort of a defi

Re: Plugin dependencies can't leverage dependencyManagement in parent POM

2006-05-26 Thread Roland Asmann
You could use sort of the same system: declare in your parent POM, where you declare all your dependencies. Now, just declare this certain plugin in your module and the whole configuration and dependency stuff should be resolved from the parent. Or I understood something wrong... :-) Roland

Re: Plugin Configuration

2006-05-29 Thread Roland Asmann
I just happened to be checking that! Try: mvn help:describe -DgroupId= -DartifactId= -Dfull=true Roland On Monday 29 May 2006 13:39, rebels_mascot wrote: > Is there a website where you can get a list of configuration properties for > a plugin or the goals available? Or is there a command availa

Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
Hi, I am building a WAR, in which I would like to remove some JAR's that come up transitively. I've tried to configure my war-plugin like this: maven-war-plugin false true

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
:09, Kees de Kooter wrote: > Give it scope "provided". > > On 5/29/06, Roland Asmann <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am building a WAR, in which I would like to remove some JAR's that come > > up transitively. I've tried to config

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
swer, this is how we do it: > > > commons-logging > commons-logging > 1.0.4 > provided > > > It works for us, using maven 2.0.4 > > On 5/29/06, Roland A

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
Unfortunately yes. Per default I run it 'mvn clean install'. On Monday 29 May 2006 15:20, Kees de Kooter wrote: > Does it also happen after you do an mvn clean? > > On 5/29/06, Roland Asmann <[EMAIL PROTECTED]> wrote: > > Yes, I know how to do that. But like I s

Re: Excluding a JAR from WAR-generation

2006-05-29 Thread Roland Asmann
clude) was 1.0.3 and the included version was 1.0.4! So, I removed the and now the provided-scope does what it is supposed to do. Tried it several times, to make sure no random-behaviour remained. Roland On Monday 29 May 2006 15:24, Roland Asmann wrote: > Unfortunately yes. Per default I run

What does do??? (was: Excluding a JAR from WAR-generation)

2006-05-29 Thread Roland Asmann
Part of the problem was solved, but one question remains: What does in the war-plugin do??? Roland On Monday 29 May 2006 15:52, Roland Asmann wrote: > Okay, so I figured it out! The provided-scope DOES work, but I had an > defined somewhere else, which for some reason remo

Re: What does do???

2006-05-29 Thread Roland Asmann
in the exploded war. this is use in war:exploded and > war:inplace > > btw, only the artifacts with a runtime scope is included in the war. > when using war:war > > > pete marvin > > Roland Asmann wrote: > > Part of the problem was solved, but one question

RE : What does do???

2006-05-29 Thread Roland Asmann
OK, so it indeed only happens when one of the dependencies is a WAR. Thanks guys for the help! Roland On Monday 29 May 2006 16:40, Olivier Lamy wrote: > Look http://jira.codehaus.org/browse/MWAR-33 - To unsubscribe, e-mail:

Missing POM's in central-repository

2006-05-29 Thread Roland Asmann
Hi, I've just switched my application from xfire 1.0 to 1.1 and now my builds throw out some warnings for missing POM-files... The builds still complete normally, but I'm not sure if all dependencies are correct now... The missing POM's are: - stax:stax-api:pom:1.0.1 - woodstox:wstx-asl:pom:2.9

Re: Profile activation

2006-05-29 Thread Roland Asmann
et belongs) will be big enough without having a lot of double definitions. Maybe I should file this as a feature-request? Roland On Tuesday 16 May 2006 17:42, Roland Asmann wrote: > Hi, > > Can anybody tell me if it is possible to have profiles activate each other > and how to do this? T

Re: Understanding modules

2006-05-29 Thread Roland Asmann
Having a dependency on a module, does NOT mean that it will be built! If you have a dependency on JUnit, it is also only copied from your local repository. The only reason for a POM to build another module is when it is defined in the -list. So, if you go into your modA and run a 'mvn install',

Re: Unable to locate local repository in Mac-OSX

2006-05-29 Thread Roland Asmann
You shouldn't run 'antrun:run' directly, because it has no clue what to do! Even with a part specified inside your POM. Your POM looks okay, try running 'mvn compile' to see if Ant is being run. Roland On Monday 29 May 2006 18:12, Chandrika wrote: > hi steve, > Thanks for ur reply...it works!

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Roland Asmann
Is it a .jar-file? Then make it 'jar'! :-) On Tuesday 30 May 2006 16:23, Franz Fehringer wrote: > Thanks for advice. > What is meant by packaging i.e. what would be a sensible setting in > -Dpackaging= ? > > Greetings > > Franz > > ben short schrieb: > > You should add the jars to your local rep

RE: Maven2, AspectJ and Clover

2006-05-30 Thread Roland Asmann
hould work. > > For the other way around, I can't tell as I haven't checked how the AspectJ > plugin for m2 works. > > Thanks > -Vincent > > > -Original Message- > > From: Roland Asmann [mailto:[EMAIL PROTECTED] > > Sent: lundi 22 mai 2006 17

Re: Rar Plugin and dependencies - (MVN 2.0.4)

2006-05-30 Thread Roland Asmann
Set the scope to provided ONLY on the rar-projects, NOT on the EAR. On Tuesday 30 May 2006 18:02, Carsten Karkola wrote: > If I use "provided" the dependencies will never be included, my problem is > 1. projects: > rar1: dependency to my-jar > rar2: dependency to my-jar > ejb1: dependency

Re: How to get all the tests run even if an error occur in a maven multiproject

2006-05-30 Thread Roland Asmann
Use '-Dmaven.test.failure.ignore=true'. Roland On Tuesday 30 May 2006 19:09, emerson cargnin wrote: > How do i get a maven multiproject to run all tests, even in case of a > failure or error? > A multiproject stops in the project that failed, and I want all the > projects to runm to get all the

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-30 Thread Roland Asmann
You could try using the jboss-maven-plugin, like this: org.codehaus.mojo jboss-maven-plugin /path/to/jboss And then run one of its goals (deploy / harddeploy) Roland On Tuesday 30 May 2006 21:02, Wayne Fay wrote: > Unfortunately I don't use

Re: [M2] Problem deploying with maven 2 and Ant

2006-05-30 Thread Roland Asmann
Or just forget about the ant-part and use the jboss-maven-plugin! (See also this thread: Unable to locate local repo in Mac-OSX(how to call ant from maven)) org.codehaus.mojo jboss-maven-plugin /path/to/jboss And then run one of its goals (depl

Re: [M2] Problem deploying with maven 2 and Ant

2006-05-31 Thread Roland Asmann
that configuration like local > > /path/to/jboss > > ... and the protocol, user, server ??? > > Regards, > Leo > > 2006/5/30, Roland Asmann <[EMAIL PROTECTED]>: > > Or just forget about the ant-part and use the jboss-maven-plugin! (See > > also

Re: [M2] Problem deploying with maven 2 and Ant

2006-05-31 Thread Roland Asmann
and just write a build.xml > "solution" and a pom.xml "solution" and just keep them separate, > personally. But I prefer to be pragmatic as much as possible. > > Wayne > > On 5/30/06, Roland Asmann <[EMAIL PROTECTED]> wrote: > >

Re: Rar Plugin and dependencies - (MVN 2.0.4)

2006-05-31 Thread Roland Asmann
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > http://maven.apache.org/maven-v4_0_0.xsd";> > > > > 4.0.0 > > de.foo > > bar-connector > > 1.0 > > Foo::Bar Rar > > rar > > > > > > >

Re: [m2] deploy-file

2006-05-31 Thread Roland Asmann
Check: http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html Just make sure you check if you already have a POM or if Maven should create one for you! Also, there COULD be some problems when checking in SNAPSHOT-releases, don't know if they've been fixed already... Roland On

Re: Free book on maven 2.0

2006-05-31 Thread Roland Asmann
This has been posted several times already... On Wednesday 31 May 2006 16:58, Pauquette, Bryan wrote: > There is a free 294 page book on maven 2.0 at the following website > > I have no affiliation with this organization other than a friend who got > hired by this company. He told me about

Re: [m2] what plugin versions are used

2006-06-01 Thread Roland Asmann
I'm not sure if the 'help:effective-pom' shows you the versions of the plug-ins used, but you could give it a try... Roland On Wednesday 31 May 2006 22:09, Lee Meador wrote: > Is there a more concise way to see a list or does anyone have a trick or > something to search for to week out all the

Re: Configuration of maven-war-plugin

2006-06-01 Thread Roland Asmann
Or you could use the 'help:describe' goal on the plugin: mvn help:describe -DgroupId=org.apache.maven.plugins -DartifactId=maven-war-plugin -Dfull=true throw in the -Dversion if you need to know it for a specific version! Roland On Thursday 01 June 2006 10:16, Edwin Punzalan wrote: > The doc

Re: [m2] what plugin versions are used

2006-06-01 Thread Roland Asmann
I believe this does NOT show the plugins that were used, or does it? (Just making sure) Roland On Thursday 01 June 2006 10:50, Martin Vysny wrote: > On Wed, 2006-05-31 at 15:09 -0500, Lee Meador wrote: > > Is there a more concise way to see a list or does anyone have a trick or > > something t

Re: Creating string literals constants

2006-06-01 Thread Roland Asmann
Either use the commandline '-Dvariable=value' or define them in your POM: value There's also the resource-filtering... Check the Maven-book (which has been discussed a lot over the last 2 days ;-)) for that. Roland On Thursday 01 June 2006 13:47, [EMAIL PROTECTED] wrote: > HI, can

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Roland Asmann
Try giving the plugin some -elements for your jar. This should add it to the classpath. Roland On Thursday 01 June 2006 14:41, Leo L wrote: > Hi! > > I obtained success to deploy my App. It´s a remote deploy that i use maven > to packaging and > ant to copy my .ear file to a remote machine. Wo

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Roland Asmann
I also suggested that to him yesterday, but I guess he wants to use Ant for that... Roland On Thursday 01 June 2006 14:53, Geoffrey De Smet wrote: > Have you tried cargo.codehaus.org 's maven 2 plugin? > > Leo L wrote: > > Hi! > > > > I obtained success to deploy my App. It´s a remote deploy t

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Roland Asmann
ll of these causes have been explored, > as this is not an Ant bug. > [INFO] > > [INFO] For more information, run Maven with the -e switch > [INFO] > -

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Roland Asmann
Don't know what's wrong with me today... Copied the wrong part again! Use 'inheritRef=true' in your ant-call! Roland On Thursday 01 June 2006 15:27, Roland Asmann wrote: > Hi Leo, > > According to this page > (http://maven.apache.org/plugins/maven-antrun-plu

Re: [M2] Deploy success with ant, but it can improve!

2006-06-01 Thread Roland Asmann
> > > run > > > > > > ant > ant-antlr > 1.6.5 > > > antlr > antlrall >

ArcheType definition

2006-06-01 Thread Roland Asmann
Hi, I was wondering if it is possible to write my own Archetype-definition, so that when I run 'mvn achetype:create' Maven will generate me a POM that has some more stuff in it than the current default. The thing is, that my company will be writing lots of projects that are fairly similar, so I

Re: ArcheType definition

2006-06-01 Thread Roland Asmann
igure it out pretty quickly. > > Also the Guide to Creating Archetypes might be useful: > http://maven.apache.org/guides/mini/guide-creating-archetypes.html > > Wayne > > On 6/1/06, Roland Asmann <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I was wondering if

Re: [M2] Problem deploying with maven 2 and Ant

2006-06-02 Thread Roland Asmann
harddeploy Roland On Friday 02 June 2006 15:00, Stefan Arentz wrote: > On 5/30/06, Roland Asmann <[EMAIL PROTECTED]> wrote: > > Or just forget about the ant-part and use the jboss-mav

Re: Help explaining maven 2

2006-06-02 Thread Roland Asmann
First, I think you should grab a copy of the book discussed on the mailing-list a couple of times. Check the Maven homepage for it. Second, the pregoal-stuff is no longer available in Maven. I think you want to discuss the life-cycle. For that, there's also a nice bit of documentation on the Mave

Re: archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread Roland Asmann
I'm not sure on this, but I've seen that Maven 'rewrites' the POM (e.g. when asking him for the effective-pom) and doesn't like the XML Namespace-stuff... As for the dependencies, it might be that Maven just ignores empty xml-blocks... Try putting a real dependency in there, just for testing sake

Re: archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread Roland Asmann
g that i've done or something that's changed underneath me". > > So if it worked a few days ago, and he's done nothing, then I'd > suspect there might have been some Maven changes...? > > Wayne > > On 6/2/06, Roland Asmann <[EMAIL PROTECTED]> wrote

Testing a webapp with perl

2007-08-14 Thread Roland Asmann
phase (similar to Jetty)? Thanks, -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wien Tel.: +43/1/513 88 77 - 27 Fax.: +43/1/513 88 62 Email: [EMAIL PROTECTED] Web: www.c

Re: Testing a webapp with perl

2007-08-14 Thread Roland Asmann
Thanks, I'll look into that! On Tuesday 14 August 2007 13:07, Jochen Wiedmann wrote: > On 8/14/07, Roland Asmann <[EMAIL PROTECTED]> wrote: > > I am working an a plugin that access a webapp that is written in Perl. > > The plugin seems to work alright, but I can&

Re: cross platform pom

2007-09-10 Thread Roland Asmann
--- > java.lang.NullPointerException > at > org.apache.maven.DefaultMaven.logReactorSummary(DefaultMaven.java:611) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:130) > at > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)

Re: Setting the Timezone correctly

2007-09-10 Thread Roland Asmann
--- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] &g

Re: ${basedir} Windows and ${file.separator}

2007-09-10 Thread Roland Asmann
est > > >.log > > > > > > > > And how can I do this without destorying the portability to linux > > > > > by adding two ${file.seprator}'s? > > > > > > > > > > Thank you, > > > > > Andrew J. Leer > > > > > > > > >

Re: AW: Question how to prevent maven from update manually added dependencies (detailed descr)

2007-09-10 Thread Roland Asmann
- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > ----- > > To unsubscribe,

Re: AW:Re: AW: Question how to prevent maven from update manually add ed dependencies (detailed descr)

2007-09-10 Thread Roland Asmann
> > > Thx alot > > > > --- > > > > Martin Ritz > > > > > > > > > BTC AG - Geschäftseinheit Softwarelösungen > > > > > > > > mailto:[EMAIL PROTECTED] > > > > > >

Release-plugin 'add-on'

2007-09-10 Thread Roland Asmann
he release-plugin do this. Now, I want to know if (and how) I can write a small add-on in the release-plugin. Or should I create my own version of the plugin to make this work? -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien

Re: Release-plugin 'add-on'

2007-09-11 Thread Roland Asmann
terested in helping with this > functionality, please let us know. > > It may well be possible by redefining the components, but I haven't > looked at this alternative yet. > > Cheers, > Brett > > On 11/09/2007, Roland Asmann <[EMAIL PROTECTED]> wrote: > > Hi

Re: Is there a property for parent directory?

2007-09-11 Thread Roland Asmann
scribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL

Re: Is there a property for parent directory?

2007-09-11 Thread Roland Asmann
; Is this ${parent} property generally available, i.e. ${parent.artifactId}, > etc > > It would help me refactor a number of places where I use something similar > to this in a parent POM > > > ${artifactId} > > > Roland Asmann <[EMAIL PROTECTED]> wrote on 09/11/20

Re: Subversion SCM plugin and --non-interactive parameter

2007-09-13 Thread Roland Asmann
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wie

Question about the -tag

2007-11-05 Thread Roland Asmann
lt, namely the tag I configured. On all other projects i get 'HEAD' as a response (which indeed is the default). So, the real question is, how do I get the configured version into the sub-modules without defining the scm-configuration in all my modules? Thanks! -- Roland A

Re: Building a limited set of modules based on pom (or somehow)?

2007-11-08 Thread Roland Asmann
sts of modules and multiple base POMs for each project? > > Open to suggestions about restructuring the project layout as well. > Here is an example of one version of parent POM and a set of base POMs: > https://source.sakaiproject.org/svn/cafe/trunk/ > > -AZ -- Roland

Re: maven constantly rebuilding everything

2007-11-08 Thread Roland Asmann
uld be happening? Like say it is set to > build a "snapshot" version? I think it would notice that the source > directory doesn't contain any changes and not build. > > Any help/suggestions would be greatly appreciated. -- Roland Asmann CFC Informationssysteme Entwicklungs

Re: Dependency on another project

2007-11-08 Thread Roland Asmann
> Eclipse project so that running eclipse:eclipse points to the Eclipse > workspace version of another project? > > Thanks. -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wien Tel.: +43/1/513 88 77 - 27 Fax.:

Re: maven constantly rebuilding everything

2007-11-08 Thread Roland Asmann
; [INFO] > > [INFO] BUILD SUCCESSFUL > [INFO] > > [INFO] Total time: 4 seconds > [INFO] Finished at: Thu Nov 08 10:08:12 EST 2007 > [INFO] Final Memory: 8M/254M

Re: maven constantly rebuilding everything

2007-11-08 Thread Roland Asmann
Go here: http://jira.codehaus.org/browse/MSOURCES Open up an account (it's free ;-) ) and fill out a new issue. On Thursday 08 November 2007 16:52, EJ Ciramella wrote: > Um, how does one file a jira ticket for something like this? > > -Original Message- > From: Rola

Re: Plugins and Multiple projects

2007-11-08 Thread Roland Asmann
Seeing that you build the 'other-project' as well, wouldn't it be easier to just throw in a pom.xml in that directory and configure the ant-run there? That way your project 'is' a Maven-project from now on! ;-) I believe that's the easiest solution, because a pom-type-project (parent-project) does

Re: what version of the documentation am I looking at

2007-11-08 Thread Roland Asmann
http://maven.apache.org/plugins/maven-dependency-plugin/project-summary.html On that page (project-summary) you can always find the version. > Is it possible to easily find out what version of the documentation I'm > looking at when I look at the plugin docs? > > For example: > > http://maven.ap

Re: Building a limited set of modules based on pom (or somehow)?

2007-11-08 Thread Roland Asmann
I'm not really sure if I completely understand what you want. I'll check your project out tomorrow at work (have no SVN here) and try and see if I can figure out what you exactly want and how best to solve this. > On Nov 8, 2007 12:43 PM, Roland Asmann <[EMAIL PROTECTED]> wrot

RE: maven constantly rebuilding everything

2007-11-08 Thread Roland Asmann
maven-jar-plugin > > > false > > > > > > > -Original Message- > From: Roland Asmann [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 08, 2007 10:55 AM > To: Maven Users List > Subject: Re: maven constantly rebuilding

Re: Dependency on another project

2007-11-08 Thread Roland Asmann
gt;>> the >>> problem being that I must do this everytime I update any dependency of >>> project A must re-run eclipse:eclipse, which overwrites the .classpath >>> file >>> >>> Is there a way of adding, in the dependency element, a reference to >&g

Re: Dependency on another project

2007-11-09 Thread Roland Asmann
Also, do NOT change anything in the POMs of your projects! The new project with POM is only a sort of helper-project with a 'builder-POM'. On Thursday 08 November 2007 20:08, Roland Asmann wrote: > Sorry I didn't point that out a little better: Yes, it should be a new &g

Re: Building a limited set of modules based on pom (or somehow)?

2007-11-09 Thread Roland Asmann
ne of the many many projects (that all rely on a parent > POM) is here: > https://source.sakaiproject.org/svn/content/branches/SAK-12105/pom.xml > > -AZ > > On Nov 8, 2007 7:52 PM, Roland Asmann <[EMAIL PROTECTED]> wrote: > > I'm not really sure if I completely un

Re: Project dependencies use case

2007-11-09 Thread Roland Asmann
de and not it's installed artifact. > > Am i making any sense ? > > Thanks in advance. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Roland Asmann CFC Informationssysteme Entwicklungs

Re: Project dependencies use case

2007-11-09 Thread Roland Asmann
mpiling with the installed artifact of B from the night before. Which > again, isn't what i'd like. > > How do you solve this without having to install every project every hour ? > > Roland Asmann wrote: > > I presume you have this use-case in your IDE, since Maven w

Re: Project dependencies use case

2007-11-09 Thread Roland Asmann
ally if i do "install > cobertura:check" my tests are run twice. If i just do "cobertura:check" > the tests are only run once. I reported this here > (http://jira.codehaus.org/browse/MCOBERTURA-76). > That's why i was trying to avoid having to install. > > Thanks... >

Re: Project dependencies use case

2007-11-09 Thread Roland Asmann
e cobertura plugin > configuration then i get my tests run twice. > > Roland Asmann wrote: > > And just running 'clean install'? Since it triggers cobertura as well, > > shouldn't that be enough? > > > > On Friday 09 November 2007 13:37, H

Re: issue with plugin beeing reused

2007-11-09 Thread Roland Asmann
in another > module. > It seems the plugin has been reused by maven, with no consideration for != > dependencies. > > Known issue ? > Any workaround ? > > Nico. -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155

Re: What does Configuration Tag in CI Management ?

2007-11-09 Thread Roland Asmann
il Tag ? > Looking at the XSD for the pom i found this : > > Extended configuration specific to > this notifier goes here. > > thanks, > Jens > > > > > > - > To unsubscribe, e-mail: [EM

Re: issue with plugin beeing reused

2007-11-09 Thread Roland Asmann
> ${project.build.directory}/generated-sources/castor > > > > run > > > > > > ant-contrib > ant-contrib &g

Re: Plugins and Multiple projects

2007-11-09 Thread Roland Asmann
> Thanks for the help, > Grant > > From: "Roland Asmann" <[EMAIL PROTECTED]> > Date: November 8, 2007 6:39:51 PM EST > To: "Maven Users List" > Subject: Re: Plugins and Multiple projects > > > Seeing that you build the 'other-project

Re: issue with plugin beeing reused

2007-11-09 Thread Roland Asmann
And the ant-run is defined in the parent? Or in the separate modules? On Friday 09 November 2007 16:47, nicolas de loof wrote: > Not the case. > I only have a parent pom to group modules, and all modules are on the same > hierarchival level. > > 2007/11/9, Roland Asmann &l

Re: triggering profiles without using command line and without running the default profile?

2007-11-14 Thread Roland Asmann
o trigger it using some setting in a POM file but any > method where the user who is building the code can still type "mvn > clean build" is fine. > > Can anyone help? > Thanks > -AZ -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäcke

Re: triggering profiles without using command line and without running the default profile?

2007-11-15 Thread Roland Asmann
l -Pkernel" (which is to not run the default profile anymore and > only run the profile that I wanted)? > > -AZ > > On Nov 14, 2007 5:40 PM, Roland Asmann <[EMAIL PROTECTED]> wrote: > > Check the profile-documentation and use the property-activation. > > > &

Re: How to control versioning across multiple POMs?

2007-11-15 Thread Roland Asmann
gt; > You can view the source here if you like: > master: https://source.sakaiproject.org/svn/master/trunk/pom.xml > base: https://source.sakaiproject.org/contrib/caret/kernel/pom.xml > sample project: > https://source.sakaiproject.org/contrib/caret/kernel/alias/pom.xml > > -AZ

Re: 2 way parent-module POM dependency required?

2007-11-15 Thread Roland Asmann
e > we doing something dumb here? > > Sample parent here: > https://source.sakaiproject.org/contrib/caret/kernel/pom.xml Sample child > here: > https://source.sakaiproject.org/contrib/caret/kernel/alias/pom.xml > > Thanks for the help! > -AZ -- Roland Asmann CFC Informationss

Re: 2 way parent-module POM dependency required?

2007-11-15 Thread Roland Asmann
gt; > > ... > > > > > > As a result, we end up with this 2-way linkage bewteen these POMs > > > which ends up not being very flexible since all of the POMs have to > > > know about each other. > > > > > > This seems to be what the docs indicate but I m

  1   2   3   >