Re: prevent javadoc during release

2008-07-15 Thread Magne Nordtveit
On Mon, 2008-07-14 at 16:38 -0400, Kallin Nagelberg wrote: Is there a way to prevent javadoc from occuring during release? I would also like to prevent production of source JAR. Any ideas? When releasing, try setting the useReleaseProfile property to false, mvn release:perform

Re: [Nexus] Unable to upload something : error 401 [solved]

2008-07-15 Thread Laurent Trillaud
Brian E. Fox a écrit : Hi Laurent, We also have a nexus-users list where we your question will probably find a faster answer ;-) http://nexus.sonatype.org/mailing-lists.html Your problem below seems to be that you've set a password on the repository but it's not in your settings. This is

Maven Versioning Scheme

2008-07-15 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello, The current implementation for the versioning of poms is major.minor.revision([-qualifier]|[-build]) At least, that's what I found in the resources belong: http://docs.codehaus.org/display/MAVEN/Versioning http://docs.codehaus.org/display/MAVEN/Extending+Maven+2.0+Dependencies

mvn eclipse: remote repository artifacts

2008-07-15 Thread Laura Lozano
Hello, I'm developping an OSGI project in eclipse using maven. In this project I use some artifacts from a remote repository. In order to debug this project in eclipse I have to put the remote repository artifacts in the target platform directory and it is not very effective to work with the

how to resolve conflicts? (xerces)

2008-07-15 Thread Jan Torben Heuer
Hi, I have a conflict in my classpath, I think it caused by: [INFO] org.n52.swe.sas:sas-muse:war:3.0-SNAPSHOT [INFO] +- muse.osgi-bundles:muse-complete:jar:2.2.0:compile [INFO] | +- muse:muse-util-xml:jar:2.2.0:compile [INFO] | | \- xerces:xercesImpl:jar:2.8.1:compile

Re: how to resolve conflicts? (xerces)

2008-07-15 Thread Piotr Oktaba
Hi, You can make exclusions in dependencies, for example: dependencies dependency groupIdorg.apache.maven/groupId artifactIdmaven-embedder/artifactId version2.0/version exclusions exclusion groupIdorg.apache.maven/groupId

my-site.vm

2008-07-15 Thread sandraB
Hi, I'm trying to add a right column in the site of my maven2 project. To do that, I configure the maven-site-plugin to use my-site.vm as templateFile. In this file I want to create a new div for my new column ( div id=rightColumn#rightColumnContent/div for example). Could you explain me how to

Re: How to deploy a Flex library (swc)

2008-07-15 Thread Rémy Sanlaville
mvn validate [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - com.yahoo.maps.flash:yahoo-map:swc:3.5 [INFO]task-segment: [validate] [INFO]

Re: [ANN] Maven Site Plugin 2.0-beta-7 Released

2008-07-15 Thread Dennis Lundberg
The only thing else I can think of is that your local repo somehow got messed up. You could try removing the directories org/apache/maven/doxia and org/apache/maven/plugins/maven-site-plugin from your local repo. The needed artifacts will be downloaded again from the central repository. If

Re: How to deploy a Flex library (swc)

2008-07-15 Thread Emmanuel Venisse
As swc packaging isn't a standard maven packaging, you must add the flex mojo in your pom as an extension like this: build plugins plugin groupIdinfo.rvin.mojo/groupId artifactIdflex-compiler-mojo/artifactId

Re: How to deploy a Flex library (swc)

2008-07-15 Thread Rémy Sanlaville
Thanks Emmanuel, it works ! I didnt notice that it's possible to add packaging type by adding a mojo as an extension. Rémy

Hibernate maven2 Plugin

2008-07-15 Thread Renu Gupta
Hi, I m new to hibernate maven2 plugin. Since I haven't developed any thing in this. And unfortunately googling is not of much help... :( Can anyone tell me how to start from?// Any reference or tutorial would be appreciable... Regards, Renu Gupta Impetus Infotech Pvt Ltd 14-B,

Re: prevent javadoc during release

2008-07-15 Thread Kallin Nagelberg
OK thanks. I imagine to make this automatic I could put a release configuration in the relevant POM. On Tue, Jul 15, 2008 at 2:41 AM, Magne Nordtveit [EMAIL PROTECTED] wrote: On Mon, 2008-07-14 at 16:38 -0400, Kallin Nagelberg wrote: Is there a way to prevent javadoc from occuring during

Maven dependency plugin issue

2008-07-15 Thread Bergman, Moshe
Hello, I am have this problem running maven dependency plugin: C:\work\pluginmvn org.apache.maven.plugins:maven-dependency-plugin:2.0:list [INFO] Scanning for projects... WAGON_VERSION: 1.0-beta-2 [INFO] - --- [INFO]

how to use eclipse compiler ?

2008-07-15 Thread Patel, Sanjay
can I use eclipse compiler to compile my source code when I compile using maven? I mean how can I tell my pom to use eclipe compiler to compile the source code. Sanjay. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Problem using maven-exec-plugin exec:exec command

2008-07-15 Thread seanoc
I'm using maven 2.0.9 using the pom attached I run the command, mvn exec:exec -Dserver The following error occurs: [INFO] One or more required plugin parameters are invalid/missing for 'exec:exec ' [0] Inside the definition for plugin 'exec-maven-plugin' specify the following:

child project jar has wrong packaging exception from parent project: how-to-fix?

2008-07-15 Thread David Brown
Hello maven dev, gurus and users. I have a curious situation from attempting to create a jar of the generated /CLASSES directory as generated from the parent project pom.xml. The existing parent project directory and pom.xml executes correctly and generates the expected (dot).war. In the

Re: Problem using maven-exec-plugin exec:exec command

2008-07-15 Thread Haim Ashkenazi
On Tue, Jul 15, 2008 at 7:14 PM, seanoc [EMAIL PROTECTED] wrote: I'm using maven 2.0.9 using the pom attached I run the command, mvn exec:exec -Dserver I'm not sure this tells maven which execution to run. I think you have to either connect the executions to a phase or to a profile and then

Re: Problem using maven-exec-plugin exec:exec command

2008-07-15 Thread Haim Ashkenazi
On Tue, Jul 15, 2008 at 8:10 PM, Haim Ashkenazi [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2008 at 7:14 PM, seanoc [EMAIL PROTECTED] wrote: I'm using maven 2.0.9 using the pom attached I run the command, mvn exec:exec -Dserver I'm not sure this tells maven which execution to run. I think you

Re: Archetype, define file name

2008-07-15 Thread Wendy Smoak
On Mon, Jul 14, 2008 at 7:45 AM, Raphaël Piéroni [EMAIL PROTECTED] wrote: ths feature doen't currently exist. please consider opening a jira enhancement at http://jira.codehaus.org/browse/ARCHETYPE Done (because I need it too. :) ) http://jira.codehaus.org/browse/ARCHETYPE-191 Ability to

COMING SOON: Maven 2.0.10 Release Candidate

2008-07-15 Thread John Casey
Hi everyone, I just wanted to send a short message to say that we're going to start the release process for Maven 2.0.10 today. The list of issues we've corrected for this release are here: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500styleName=Htmlversion=14112 Once

Iterating through the build based on activated profiles

2008-07-15 Thread Balasubramanian, Ravi Shankar
Hi all, I sent this earlier and can someone please tell me if there is any way to do this ? Thanks, Ravi Hi all, I am facing a situation where i need to iterate through (or build ) the same maven projects depending upon the list of active profiles. To be precise, we run some tests (testNG

More than 1 resource directory possible?

2008-07-15 Thread Jeudy, Guillaume
Hi, I have a parent pom in a multi-module maven2.0.9 project with a generic resource directory: resources resource directorysrc/main/resources/directory filteringtrue/filtering /resource /resources This all works fine until I specify another resource directory in the child pom: resource

java.lang.InternalError: Stubbed method

2008-07-15 Thread Kallin Nagelberg
One my artifacts is using the gmaven plugin for both main and test sources. It was all working fine until recently the test phase began throwing the exception java.lang.InternalError: Stubbed method I have no idea what changed. It seems to be using the compiled stubs instead of the real groovy

Re: java.lang.InternalError: Stubbed method

2008-07-15 Thread wohlgemuth
did you execute a mvn clean to remove existing stubs? On Tue, Jul 15, 2008 at 11:49 AM, Kallin Nagelberg [EMAIL PROTECTED] wrote: One my artifacts is using the gmaven plugin for both main and test sources. It was all working fine until recently the test phase began throwing the exception

Re: java.lang.InternalError: Stubbed method

2008-07-15 Thread Kallin Nagelberg
Thanks Gert, but I just figured out the problem. I had the directory config as something like '${project.basedir}/src/test/java'. Just using 'src/test/java' fixed it! On Tue, Jul 15, 2008 at 2:53 PM, wohlgemuth [EMAIL PROTECTED] wrote: did you execute a mvn clean to remove existing stubs? On

Re: Error installing artifact's metadata

2008-07-15 Thread smitha s paramanandan
okie I had to delete my local repository and this error went away. Some xml metadata file must have got corrupted is what I am guessing. --- On Tue, 7/15/08, smitha s paramanandan [EMAIL PROTECTED] wrote: From: smitha s paramanandan [EMAIL PROTECTED] Subject: Error installing artifact's metadata

Re: Iterating through the build based on activated profiles

2008-07-15 Thread John Casey
You could always use multiple executions of the surefire plugin, one per test type, such that when more than one test profile is active the executions are additive, and cause the surefire plugin to execute more than once. Then, you could setup your database configuration using execution-level

MavenExectionException: Failed to validate POM for project

2008-07-15 Thread David Brown
Hello maven crowd, I had a POM that was working perfectly and w/o changing anything I unexpectedly got the exception stated in the Subject line. Google found nothing useful. I did not see this in the FAQ. The particulars follow. TIA and please advise, David. OS: Ubuntu Maven: 2.0.8 Java:

Partial build

2008-07-15 Thread Eric Hall
Hello, Is there a way to specify the set of files to be build when invoking maven compile? The use case I am thinking of is when I have just modified a single file in a large project and want to rebuild it. In that case I don't want maven to bother going through the entire source tree to

Re: MavenExectionException: Failed to validate POM for project

2008-07-15 Thread Geoffrey Wiseman
On Tue, Jul 15, 2008 at 6:22 PM, David Brown [EMAIL PROTECTED] wrote: Hello maven crowd, I had a POM that was working perfectly and w/o changing anything I unexpectedly got the exception stated in the Subject line. Google found nothing useful. I did not see this in the FAQ. The particulars