RE: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread hermod.opstvedt
Hi Using IBM JRE so I'll wait to see if it gets fixed. Hermod -Original Message- From: Benjamin Bentmann [mailto:benjamin.bentm...@udo.edu] Sent: Thursday, September 23, 2010 2:57 PM To: Maven Developers List Subject: Re: [PLEASE TEST] Apache Maven 3.0-RC2 hermod.opstv...@dnbnor.no wro

RE: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread hermod.opstvedt
Hi Our build which consists of 57 projects fails with the following on 3.0-RC2 (Ok on 2.2.1) [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project site-resources: Execution default-install of goal org.apache.maven.plugins:maven-in

RE: Maven performance

2010-04-27 Thread hermod.opstvedt
Hi Do the same test with mvn org.twdata.maven:maven-cli-plugin:execute-phase - A regular compile with large projects cuts down the time drastically Hermod -Original Message- From: Jörg Schaible [mailto:joerg.schai...@gmx.de] Sent: Tuesday, April 27, 2010 2:11 PM To: dev@maven.apache.o

RE: Problem with ejb deployment

2007-09-04 Thread hermod.opstvedt
Hi Which version of WebSphere is this? Hermod -Original Message- From: Hemant Ved [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 11:07 AM To: dev@maven.apache.org Cc: [EMAIL PROTECTED] Subject: Problem with ejb deployment Hi all I am trying to deploy ejb using maven and

RE: [vote-result] debugging maven with eclipse

2007-02-15 Thread hermod.opstvedt
Hi There is actually a much easier way to do this: Use the M2 Eclipse plugin from codehaus. In the window/preferences panel of Eclipse check off debug output. In the Maven plugin you want to debug, set a beakpoint. Configure a new External M2 run. Start the run and it will break at your breakpoi

RE: maintain own metadata

2007-01-23 Thread hermod.opstvedt
Hi 1. How is this different from JaxB? 2. The documentation at http://xml.safris.org/bind/ leaves something to be desired Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of seva safris Sent: Tuesday, January 23, 2007 11:08 AM To: dev@maven.apache.org S

RE: SV: Mojo and it's own dependencies

2006-12-19 Thread hermod.opstvedt
Hi Great - I'll take a peek Hermod -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 2:02 AM To: Maven Developers List Subject: Re: SV: Mojo and it's own dependencies On 31 Oct 06, at 9:06 AM 31 Oct 06, <[EMAIL PROTECTED]> <[EMAIL PRO

maven-info-reports dependencies report problem

2006-11-23 Thread hermod.opstvedt
Hi After the cleanup in the maven-info-reports-plugin with respect to JarAnalyzer, the dependencis report is broken with an error referring to the JarAnalyzer. When running the report now I get the following: org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the pl ugin

RE: SV: Mojo and it's own dependencies

2006-10-31 Thread hermod.opstvedt
Hi I am now able to look at it. I suppose the what you refer to as "common project called maven-ant" is not the maven-ant plugin? What is the svn of this? Hermod -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 11:36 PM To: Maven Develope

RE: Plugin executions

2006-08-17 Thread hermod.opstvedt
Hi Take a look at profiles. Hermod -Original Message- From: SlinnHawkins, Jon (ELS) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 8:05 AM To: Maven Developers List Subject: Plugin executions Hi All, Is there any way of specifying which execution to use when inheriting plug

RE: Not using pom.xml

2006-07-13 Thread hermod.opstvedt
Hi My mistake with the "=" sign. Maybe you should file an RFE in Jira for this. This might come in to flavours: 1. @requiresProject should ignore existing pom, or 2. introduce a new parameter @ingnoreProject. Hermod -Original Message- From: Jagan Padmanabha Pillai -X (jpadmana - Insi

RE: Not using pom.xml

2006-07-13 Thread hermod.opstvedt
Hi Did you set @requiresProject=false? Hermod -Original Message- From: Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco) [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 11:08 PM To: Maven Developers List Subject: Not using pom.xml Hi, Is there any way

RE: Plugins can't be built!

2006-07-13 Thread hermod.opstvedt
Hi When I try to build the plugins, I get the following: [INFO] Scanning for projects... [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The projects in the

Error building plugins

2006-07-12 Thread hermod.opstvedt
Hi I am trying to build the plugins, but I am getting an error that indicates that there must be an error in one of the pom's: [INFO] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='org.apache.maven.plugins:maven-jxr-plugin'}' and 'Vertex{label='org.apache.m

RE: Embedder error when executing MOJO

2006-07-05 Thread hermod.opstvedt
Hi I wondering if this has something to do with me trying to run Maven 2.1-SNAPSHOT version plugins under Maven 2.0.4. Is this not possible, and if not : is there a way to build Maven 2.1-SNAPSHOT? Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednes

RE: Embedder error when executing MOJO

2006-07-05 Thread hermod.opstvedt
Hi I have been messing around with this and have discovered something odd: If I add a main method to my mojo, which again calls execute(), and run it as a regular java class with, it runs fine. It is only when I try to run it as a mojo through mvn that it fails. Hermod -Original Mess

Embedder error when executing MOJO

2006-07-05 Thread hermod.opstvedt
Hi I have a mojo that calls the MavenExecutionRequest, and asks it to run archetyp:create. When I try to run it, the Embedder complains with the errormessage and stacktrace below. In short, it complains that there is no field ErrorDiagnostics in DefaultMaven. Why is the Embedder trying to acces

RE: Executing mojo without a pom.

2006-06-29 Thread hermod.opstvedt
Hi Thnx, that did it (now why did I not think of trying that). What happens next must some how be related to some versioning problem I guess: In my mojo I call the embedder to have it execute a goal, but it bombs out with the following: Embedded error: Cannot lookup required component. Compone

RE: Executing mojo without a pom.

2006-06-28 Thread hermod.opstvedt
Hi That is what I thought too, but I have a very simple mojo (that does no have @requiresProject set) that when run complains that: [INFO] Cannot execute mojo: generate. It requires a project with an existing pom .xml, but the build is not using one. Hermod -Original Message- From: Jas

Executing mojo without a pom.

2006-06-28 Thread hermod.opstvedt
Hi As part of a an initial project setup, I want to execute a mojo that I have written (sort of like archetyep:create). At this stage the pom is not available, so I was wondering how to specify that the mojo does not require a pom. Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * *

Ant java task and command line length

2006-06-13 Thread hermod.opstvedt
Hi In one of my Mojos I am running an Ant skript which execute a java task that forks a new jvm. I have run into a situation where if the commandline exceeds 1010 characters it fails. I have seen that this was also a problem with the javadoc task, but was circumvented with the addition of the u

RE: creating a new project with the MavenEmbedder

2006-06-06 Thread hermod.opstvedt
Hi Your patch worked great :). Could you please file this in jira so that it becomes part of the 2.1 version if everyone agrees to this fix. Hermod -Original Message- From: Opstvedt, Hermod Sent: Tuesday, June 06, 2006 7:11 AM To: dev@maven.apache.org Subject: RE: creating a new projec

RE: creating a new project with the MavenEmbedder

2006-06-05 Thread hermod.opstvedt
Hi I might have a slight variation to you statement about goals operating on pom's or not. Let's say that you are creating an archetype that creates a specific multiproject layout where the pom beeing operated on is about to become a module in maybe "weird" module structure. In such a case ther

RE: creating a new project with the MavenEmbedder

2006-06-02 Thread hermod.opstvedt
Hi Yes, I actually had that line in, and it did printed the current directory, not the one given by the .setBaseDir call. That was why I wrote that something must be wrong in another bean, and queried about which bean is responsible for setting the parameters. The odd thing is as I wrote that t

RE: creating a new project with the MavenEmbedder

2006-06-02 Thread hermod.opstvedt
Hi Something must be wrong in another place. The eclipse:eclipse goal excutes ok with the supplied (i.e correct) basedir, but the MavenArchetypeMojo for some reason is supplied the working directory, which is not what is supplied in the call. Here is the patch : Index: MavenArchetypeMojo.java

RE: creating a new project with the MavenEmbedder

2006-06-01 Thread hermod.opstvedt
Hi Have not had the time before now. It still does not work. The basedir is still set to the current directory. Which class is responsible for setting it? Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 12:12 PM To: dev@maven.ap

RE: creating a new project with the MavenEmbedder

2006-05-31 Thread hermod.opstvedt
Hi I'll fix it, and give it a test run. thnx Hermod -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 9:22 AM To: Maven Developers List Subject: Re: creating a new project with the MavenEmbedder [EMAIL PROTECTED] wrote: > Hi > > I tried w

RE: creating a new project with the MavenEmbedder

2006-05-31 Thread hermod.opstvedt
Hi I have been giving this some thought, and I am wondering if this behaviour is by design (Committers: feel free to chip in here). If you execute a mojo from a commandline, it takes effect from the current directory. There is no parameter/command line switch to direct it to another working d

RE: creating a new project with the MavenEmbedder

2006-05-31 Thread hermod.opstvedt
Hi Yepp, you are right. The problem stems from the fact that the archetype:create goals creates it in the wrong directory. I just have'nt done anything with the code to work around this. I'm going to start debugging through the archetype:create mojo-code to see where things go wrong first. Her

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi No cigar - Doing it two steps yields the same result as if doing it in one step - Here is the output: [ maven embedder INFO] [ maven embedder INFO] Using following parameters for creating Archetype: maven-archetype

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi Ok, I'll give that a try and see what happens then. Anyways, the issue of archetype:create and baseDir still stands. Hermod -Original Message- From: Ovidio Mallo [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 8:30 AM To: Maven Developers List Subject: Re: creating a new proj

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi A little update. I added .setPomFile("E:/foo/pom.xml") to DefaultMavenExecutionRequest, and now it definitly gets weird : [ maven embedder INFO] [ maven embedder INFO] Using following parameters for creating Archet

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi I tried what you suggested, and it did create a project in a directory with the given artifactId, i.e: mvn -f foo/pom.xml archetype:create -DartifactId=whatever <<< creates a project under whatever and the output is : [INFO] Parameter: groupId, Value: a.b.c [INFO] Parameter: packageNam

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi I'll give it a try. If it does not work, I'll look into what goes on in DefaultMavenExecutionRequest. Hermod -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 1:55 PM To: Maven Developers List Subject: Re: creating a new project with the

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi Now that I got it running, I have discovered something that may be an error in the DefaultExecutionRequest: This is how I run it: MavenExecutionRequest request = new DefaultMavenExecutionRequest() .setBasedir(new File("E:/Test")).setGoals(goal

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi Bullseye - I had a 2.0.1 version in there. Now they are all 2.1-SNAPSHOT and it works OK. Thnx. Hermod -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 1:07 PM To: Maven Developers List Subject: Re: creating a new project with the MavenEm

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi I was running in a directory where a pom existed. Now running it in an empty directory gives me: Component composition failed. No field of type: 'interface org.apache.maven.artifact.transform.ArtifactTransformationManager' exists in class 'org.apache.maven.project.DefaultMavenProjectBuilder

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi I can't seem to get this to run correctly. I am getting the following error when running your code: org.apache.maven.archetype.ArchetypeTemplateProcessingException: Unable to add module to the current project as it is not of packaging type 'pom' Hermod -Original Message- From: Ovid

RE: creating a new project with the MavenEmbedder

2006-05-30 Thread hermod.opstvedt
Hi Thank you for the tip. However the ting is that the functionality that I am after actualy presumes that there does not exist any pom. Your sample does require a pom. I was hoping to create an archetype that creates a complete project setup for new developers coming into any of our projects.

RE: creating a new project with the MavenEmbedder

2006-05-29 Thread hermod.opstvedt
Hi Ok, I'll get it from SVN and compile it. Thnx Hermod -Original Message- From: Ovidio Mallo [mailto:[EMAIL PROTECTED] Sent: Monday, May 29, 2006 1:58 PM To: Maven Developers List Subject: Re: creating a new project with the MavenEmbedder Hi Hermod! The class compiles against the cur

RE: creating a new project with the MavenEmbedder

2006-05-29 Thread hermod.opstvedt
Hi Which version of the embedder is this? I get errors on the methods: getUserSettingsPath and getGlobalSettingsPath - No such methods in the Maven embedder (2.0.3). Hermod -Original Message- From: Ovidio Mallo [mailto:[EMAIL PROTECTED] Sent: Sunday, May 28, 2006 12:36 PM To: Maven Dev

FW: Maven Archetypes

2006-05-23 Thread hermod.opstvedt
Hi Reposting it here, since no takers on the user list: I am working on an archetype that is going to set up a special development environment, and I have the following question: Is it possible to specify an execution entry for archetypes. What I mean is that I want an Ant script or maybe a Mo

[M2] Maven2 WebSphere 5 plugin

2006-05-02 Thread hermod.opstvedt
Hi I want to contribute a WebSphere 5 plugin for Maven 2, and I am currently finalizing up the documentation. What are the necessary steps to follow for Maven 2 contributions? Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is s

maven-jira-plugin

2006-04-21 Thread hermod.opstvedt
Hi Is there any news on this plugin - Currently it does nothing but print the tableheader with no issues listed. Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addre

[M2] Distribution and SCP trouble

2006-04-11 Thread hermod.opstvedt
Hi I am having a serious issue with the distributionManagement and scp. If I try : dnbnoritu-repo scp:sdlut003://Apache2/htdocs/wasplugin/ dnbnoritu-repo Repository Name

RE: [m2] Maven Ant mojos and logging

2006-04-07 Thread hermod.opstvedt
Hi No dev takers on this ? Hermod -Original Message- From: Opstvedt, Hermod Sent: Thursday, April 06, 2006 10:43 AM To: dev@maven.apache.org Subject: [m2] Maven Ant mojos and logging Hi What parameter can I supply to mvn to make my ant base mojo tasks log - Meaning if I was running

[m2] Maven Ant mojos and logging

2006-04-06 Thread hermod.opstvedt
Hi What parameter can I supply to mvn to make my ant base mojo tasks log - Meaning if I was running ant I would specify -verbose or -debug Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or

Problem with compile/install goal

2006-04-04 Thread hermod.opstvedt
Hi I just started getting the following when I try build my project: Project ID: org.apache.maven.plugins:maven-resources-plugin Reason: Error getting POM for 'org.apache.maven.plugins:maven-resources-plugin' from the repository: Failed to resolve artifact, possibly due to a repository li st that

RE: Creating artifacts from Dependencies

2006-04-03 Thread hermod.opstvedt
Hi That worked great! Thanks a lot. Hermod -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 10:46 AM To: Maven Developers List Subject: Re: Creating artifacts from Dependencies test in the tag. It can be either test (which gets everything n

RE: Creating artifacts from Dependencies

2006-04-03 Thread hermod.opstvedt
Hi Great, I will try that. By the way without it ${project.artifacts} returns empty. Hermod -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 10:46 AM To: Maven Developers List Subject: Re: Creating artifacts from Dependencies test in the t

RE: Creating artifacts from Dependencies

2006-04-03 Thread hermod.opstvedt
Hi I take it that @requiresDependencyResolution is a 1.5 annotation for a java mojo. For this perticular case, I do not have a Java mojo, only ant based. If I want to add that (requiresDependencyResolution) to my mojo.xxx.xml file, how do I do that? Hermod -Original Message- From: Bre

Creating artifacts from Dependencies

2006-04-03 Thread hermod.opstvedt
Hi I am working on an ant task that takes creates a an ant classpath ref for the dependencies in a project. I have the project and dependencies, but need to create artifacts from the dependecies to get the filepath for the dependency. I could of course concatenate together this by using the ava