Re: using the CheckoutMojo in my own plugin

2010-10-28 Thread Andreas Gies
Hi there, you may want to read through this thread: http://www.mail-archive.com/users@maven.apache.org/msg113122.html I have done the same thing, but was using the Maven API to resolve the plugin rather than trying it via the container directly. HTH Andreas Am 10/28/10 1:41 AM, schrieb

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-26 Thread Andreas Gies
] [INFO] Total time: 21.298s [INFO] Finished at: Tue Oct 26 08:09:12 CEST 2010 [INFO] Final Memory: 9M/81M [INFO] Am 10/26/10 12:10 AM, schrieb Andreas Gies: Hi mike I believe that might be related to a wrong

Re: Maven server is down ?

2010-10-26 Thread Andreas Gies
Your CTO broke it :) Am Oct 26, 2010 um 15:41 schrieb Carpentier Xavier x.carpent...@greenivory.com: Hey all, What happening on maven server ? My CTO wants to download archive but it was not good because I think maven.apache.org is down ! ;-) Regards, Carpentier Xavier

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-25 Thread Andreas Gies
to move forward. Seems like PlexusConfiguration would have to be loaded into a parent classloader instead Caused by: java.lang.LinkageError: loader constraints violated when linking org/codehaus/plexus/configuration/PlexusConfiguration class On Sat, Oct 23, 2010 at 7:49 AM, Andreas Gies

Re: [Repetitive]: Maven does not live up to its promises

2010-10-24 Thread Andreas Gies
Hi there, in the first round of the rant I already tried to find an answer to why you where using maven in the first place. Personally, I had my fights with maven; especially wrinting my own plugins; but with the ecosystem of build and quality management tools surrounding it I still consider

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-23 Thread Andreas Gies
, schrieb Andreas Gies: Hello, a last update for today. I have compared a debug session of mvn dependency:resolve with what happens in my code. It seems, that when calling the plugin from the command line, at the end of the day a class named org.apache.maven.lifecycle.internal.MojoExecutor kind

Re: Maven in 5 minutes doesn't work

2010-10-22 Thread Andreas Gies
Hi, that looks like your maven cannot connect to the central repository to download the required plugins for executing the archetype. Are you behind a firewall or something ? - In that case you may have to configure a proxy in your settings. See also

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-21 Thread Andreas Gies
Hi all, just to finish up the thread, I have fixed this by adding a @RequiresDependencyResolution(test) to the mojo calling the dependency plugin. Thanks and best regards Andreas Am 10/21/10 3:10 AM, schrieb Andreas Gies: Hello, a last update for today. I have compared a debug session

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-20 Thread Andreas Gies
AM, schrieb Andreas Gies: Hello Maveners , mainly for self learning purposes I am trying to build some plugins for Maven 3 using the Scala language. One of the things I had going before (Maven 2 Java based) is to invoke another plugin programmatically. Now I am trying to invoke

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-20 Thread Andreas Gies
Hello, I forgot to mention that the output from the scala plugin is embedded in the build.log produced by the mavan invoker plugin. Best regards Andreas Am 10/20/10 8:22 PM, schrieb Andreas Gies: Hello, I am still banging my head on this problem, though I got a bit farther. I found

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-20 Thread Andreas Gies
, but somehow doesn't recognize the dependencies of the project. Best regards Andreas Am 10/20/10 8:28 PM, schrieb Andreas Gies: Hello, I forgot to mention that the output from the scala plugin is embedded in the build.log produced by the mavan invoker plugin. Best regards Andreas Am 10/20/10 8

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-20 Thread Andreas Gies
. Perhaps I have selected the wrong entrypoint into the API ? Thanks and best regards Andreas Am 10/21/10 2:12 AM, schrieb Andreas Gies: Hello, another update on this. From studying the source code I was under the impression that mojoDescriptor.getConfiguration would give me the default

Re: Maven 3.0 somertimes gives empty pom files in local repository

2010-10-15 Thread Andreas Gies
? - Is there someone else experiencing the problem ? Thanks and best regards Andreas On Oct 13, 2010, at 9:32 AM, Andreas Gies wrote: Hello Maveners I have recently used maven-3.0-beta-3 to get familar with Maven 3. Now, after the release of Maven 3 I have run a couple of builds that were

Re: Maven 3.0 somertimes gives empty pom files in local repository

2010-10-15 Thread Andreas Gies
Hi again, done some more experiments; this happens also in Maven 3.0-beta-3 on Mac OS. Best regards Andreas On Oct 15, 2010, at 2:22 PM, Andreas Gies wrote: Hello again, I have tested the same builds on MacOS X with a Java 6 implementation and am seeing the same results. This seems

Re: Maven 3.0 somertimes gives empty pom files in local repository

2010-10-15 Thread Andreas Gies
Further investigation seems to indicate that this was caused by using the wrong version of the maven invoker plugin (1.3 rather than 1.5). Best regards Andreas On Oct 15, 2010, at 4:23 PM, Andreas Gies wrote: Hi again, done some more experiments; this happens also in Maven 3.0-beta-3

Invoking a plugin programmatically with Maven 3.0-beta

2010-10-13 Thread Andreas Gies
Hello Maveners , mainly for self learning purposes I am trying to build some plugins for Maven 3 using the Scala language. One of the things I had going before (Maven 2 Java based) is to invoke another plugin programmatically. Now I am trying to invoke the dependency plugin, namely the

Invoking a plugin programmatically using maven 3 and scala

2010-10-13 Thread Andreas Gies
Hello Maveners , mainly for self learning purposes I am trying to build some plugins for Maven 3 using the Scala language. One of the things I had going before (Maven 2 Java based) is to invoke another plugin programmatically. Now I am trying to invoke the dependency plugin, namely the

Maven 3.0 somertimes gives empty pom files in local repository

2010-10-13 Thread Andreas Gies
Hello Maveners I have recently used maven-3.0-beta-3 to get familar with Maven 3. Now, after the release of Maven 3 I have run a couple of builds that were working with 3.0-beta-3 and now randomly see a strange behavior on Windows 7 64bit, Java 1.6-20 (64bit): It seems that something in the

Strange Class Not found Exception in selfmade plugin

2008-12-03 Thread Andreas Gies
Hello Maven Gurus, I have developed a number of plugins that build a deployment package for our ESB. Now I am currently developing a series of plugins that shall execute in the pre-integration-test, integration-test and post-integration-test lifecycle phases. The plan is to set up a server

Re: who know how the m2eclipse's depences graph design?

2008-09-26 Thread Andreas Gies
AFAIK that tool is developed by sonatype. http://www.sonatype.org Andreas ??? schrieb: That's a awesome tool for my to analyze the depence of my project, I want to know how you guy write this tool? is this a maven-plugin denpends on maven-core? can I get the source code to learn it?

Re: Get Maven internal build statistics

2008-08-24 Thread Andreas Gies
Hi there, if you run your maven build through the Hudson ci server, Hudson will display that information for your in the module build statistc. HTH Andreas Brett Porter schrieb: Nothing like that right now, but it'd be an interesting feature request. Cheers, Brett 2008/8/15 Julien Graglia

Re: Maven 'deploy' relationship to large-scale software deployment

2008-08-06 Thread Andreas Gies
Well, I had to face the same problem. I am currently responsible for a large scale project that delivers SOA applications based on an ESB implementation. At the end of the day I have written a series of Maven plugins that allow me to define a packaging on the top level - the application to be

Re: Using a Pleus component in a plugin

2008-07-28 Thread Andreas Gies
=org.codehaus.plexus.archiver.Archiver roleHint=zip * @required */ private ZipArchiver zipArchiver; HTH, -- Olivier 2008/7/27 Andreas Gies [EMAIL PROTECTED]: Hello, I am inteh process of writing a series of plugins. The last plugin is supposed to package some generated sourcefiles into an archive. I

Re: Using a Pleus component in a plugin

2008-07-28 Thread Andreas Gies
groupIdorg.codehaus.plexus/groupId artifactIdplexus-component-api/artifactId /exclusion /exclusions /dependency -- Olivier 2008/7/28 Andreas Gies [EMAIL PROTECTED]: Thank you for the hint, I have changed my code so that it directly references the Archiver

Using a Pleus component in a plugin

2008-07-27 Thread Andreas Gies
Hello, I am inteh process of writing a series of plugins. The last plugin is supposed to package some generated sourcefiles into an archive. I was thinking to reuse the Archiver Component from the plexus libraries for this. So my code looks like this: package com.sonicsw.maven.plugins;

Example for using plexus-utils

2008-07-22 Thread Andreas Gies
Hello, does someone have an example for using the plexus-utils in a mojo. I think I am missing proper configuration in my mojo. Thanks in advance Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: deployment of dependencies to company repository

2008-07-16 Thread Andreas Gies
Hi i think you are looking for something like archiva or the nexus repository proxy from http://www.sonatype.org HTH Andreas Fisher, Jonathan schrieb: Hey guys, I've searched the mailing list, and I don't believe this has been asked. We have a company wide maven repository. We deploy

Re: Cascade building if dependent

2008-07-14 Thread Andreas Gies
Hi, it might not be the answer you are looking for, but we have placed that functionality in our CI platform, which is Hudson in that case. In fact it's a core feature of Hudson if you are defining Maven based jobs. HTH Andreas Carlos Alonso schrieb: Hi all. Is there any way of making

Re: Antwort: Re: replace content (properties file) of deployed artifacts for custom purposes?

2008-07-14 Thread Andreas Gies
Hi there I had to solve a similar problem, but not with an ear. My build process produces a bunch of archives that at some point need to deployed in a target environment (a proprietary ESB in that case). I have done a prototype that does the following (quite elaborate, but seems to be

Re: Cascade building if dependent

2008-07-14 Thread Andreas Gies
) to do this. Although we do 'push' style and not 'pull' dependencies). We're CI so I know we have a latest good build already but I can trigger a 'dependent' to build if it's 'dependency' has built successfully. === -Curt W: 860.702.9059 M: 860.881.2050 -Original Message- From: Andreas

Re: module-directory variable

2008-07-14 Thread Andreas Gies
Hi there, you could do the following include the plugin configuration in a profile and make sure that profile is only activated when you execute a module build. That would allow you to keep the build spec in just one place - the master pom, but use it only for the modules (I assume that is

Starting a plugin

2008-07-12 Thread Andreas Gies
Hi, I have the task to start a new plugin, that kind iterates over it's dependencies, generate some code, produce some custom reports and finally assemble something like an ear file for deployment. Actually, I think the functionality will go in a group of plugins, but that's not the aim for

Re: Continuous integration build fails if tests fails

2008-07-12 Thread Andreas Gies
Hello, you could achieve something like this in Hudson as well, if you create a Free Style Hudson job that scans the build output und only triggers a mvn deploy when the log file contains BUILD SUCCESS. The initial job should not execute mvn deploy, but rather a mvn package. You can

URL's from master POM

2007-12-05 Thread Andreas Gies
Hello, i am managing multiple projects form y company using maven 2.0.7. For that purpose I have created a master pom, that contains the following section: (Pom A) ... modelVersion4.0.0/modelVersion groupIdcom.sonicsw.pso/groupId artifactIdsonic-maven-parent/artifactId

Re: URL's from master POM

2007-12-05 Thread Andreas Gies
. You may have to re-define it in all the sub-projects (which was your original question). It could be something like: url${serverUrl}${project.groupId}/${project.artifactId}/${project.version }/${project.artifactId}/url :-/ On 12/5/07, Andreas Gies [EMAIL PROTECTED] wrote: Hello, i am

Generating URL's from master POM

2007-11-30 Thread Andreas Gies
Hello, i am managing multiple projects form y company using maven 2.0.7. For that purpose I have created a master pom, that contains the following section: (Pom A) ... modelVersion4.0.0/modelVersion groupIdcom.sonicsw.pso/groupId artifactIdsonic-maven-parent/artifactId

Deploy into remote repository with Maven 2.0.5

2007-03-01 Thread Andreas Gies
Hello, I am trying to set up maven for a small group and would like to host a repository for the group's artefacts as well. I can build with maven and install into my local directory; but the deployment into the remote repository fails saying I have No permission to create the directory