Re: [m2] Preventing transitive snapshot downloading

2007-03-13 Thread Mikis
You can do this by configuring your proxy to retrieve artifacts from all your repositories, both release, snapshot and others. You would still deploy to the individual repos, but the proxy would act as 'single point of retrieval'. The problem then remains of how to achieve the occasional need to

Re: Generate sources using program in same project

2007-03-13 Thread Armin Ehrenfels
Hi Steffen, one save and easy way is using maven-antrun-plugin. Here, you can think ant. Look at http://maven.apache.org/plugins/maven-antrun-plugin to find out more on how to access maven's classpaths and more. One particular problem I came across in this context with Java5: JDK-5.0 comes bu

RE: Faster release:perform

2007-03-13 Thread Jörg Schaible
Hi Neil, neil hart wrote on Monday, March 12, 2007 8:26 PM: > By default release:perform does a site:deploy-site. This builds all > of the reports, etc. I'd like to limit it to do just deploying the > jars that are created by: > > >- mvn jar:jar > > >- mvn jar:test-jar > > >-

Re: Execution of parent POM

2007-03-13 Thread Thorsten Heit
Hi Aidan, > I have a parent POM with modules. How do I get my parent POM to execute > its > install step after all of the modules have executed? Have you tried executing "mvn install" at the level of your parent POM? Cheers Thorsten ---

RE: Purging depending on a given profile

2007-03-13 Thread David Leangen
For the sake of those who read this thread in the archives... You need to set reResolve to "false". On Tue, 2007-03-13 at 10:08 +0900, David Leangen wrote: > Thanks, Brian, > > What I mean to do is clean out my local cache before my build, so I can > do a clean build. > > Is that not what

Releasing of Multimodule Projects and CVS

2007-03-13 Thread Christian Sauer
Hi, is there anybody out there who successfully put releasing of a multimodule project to work with CVS on a windows client?? I use Eclipse so I first tried to build a flat structure of projects but failed at the point that the maven-release-plugin can't cope with this flat structure. So I tr

[M2] cutting reporting inheritance.

2007-03-13 Thread Raphaël Piéroni
Hi. What is the proper way to cut the inheritance of reports ? Say i have a project A with modules B,C,D. The project A depends on it's parent say organisation-pom which defines the reporting section with a set of reports. Some of these reports are not revelant to the projects B,C,D. I would l

Re: Generate sources using program in same project

2007-03-13 Thread Manos Batsis
For an example of maven-antrun-plugin used to generate sources see the ear and web module POMs of md4j-quickstarter [1]. MD4J [2] does not yet provide a maven plugin so the Ant task is used instead. [1] http://md4j.cvs.sourceforge.net/md4j/md4j-quickstarter-mvn/ [2] geekologue.com/md4j/tutori

[M2-plugin:report] Using plugin:report

2007-03-13 Thread Raphaël Piéroni
Hi, In a plugin i have, one of the mojos don't define any property (it invokes an internal lifecycle). But the plugin:report fails on a NPE on the mojo which hasn't a property. How do i configure the report for that issue ? Regards, Raphaël

Problem Archiva standalone

2007-03-13 Thread Thomas Colin de Verdière
I have a problem launching archiva in standalone. I have the following error. I saw some messages on the list concerning this. but i don't know where to put the configuration file archiva.xml : jvm 1| INFO: ** FATAL ERROR STARTING UP PLEXUS-WEBWORK INTEGRATION ** jvm 1| Lo

Re: cron job

2007-03-13 Thread Andrew Williams
that's 12:30pm, though it may be what he meant ;) Andy On 13 Mar 2007, at 07:20, Emmanuel Venisse wrote: 0 0 0 * * ? 0 30 12 * * ? http://www.opensymphony.com/quartz/api/org/quartz/CronTrigger.html AyoContinuum a écrit : What are the cron syntax's for to run a build at midnight every day

Re: Problem Archiva standalone

2007-03-13 Thread Emmanuel Venisse
It seems you don't have latest code but you can resolve this pb by creating archiva.xml in ${user.home}/.m2 This file will contain Emmanuel Thomas Colin de Verdière a écrit : I have a problem launching archiva in standalone. I have the following error. I saw some messages on the list concerni

RE: Any Archiva download soon?

2007-03-13 Thread Marziou, Gael
Thanks a lot Wendy. With your updated instructions, I was able to start Archiva and login. However, I get an NPE due to a null registry (don't know what it means) when trying to add a managed repository. Thanks, Gael 2007-03-13 11:28:35,355 [Thread-1] INFO PlexusContainer - Loading on start [

Maven : Patch tools ?

2007-03-13 Thread Marouane Amraoui
Hello ; I have a war file. (web application). What I need is patch this war : for example , adding new classes file, modifying some properties files ... My question is there maven tools ou plugin that can be used to make patches for my war file ?? --

RE: Maven2 plugin for eclipse

2007-03-13 Thread Marouane Amraoui
I enabled the maven project , but still have error compilation due of the dependency I have this classpath : .classpath .project framework

Re: Releasing of Multimodule Projects and CVS

2007-03-13 Thread Thorsten Heit
Hi Christian, > Any Help is much appreciated :o) > > Environment: > - Win XP Prof > - CVSNT 2.0.51d (client/server) > - Eclipse 3.2 > - Maven 2.0.4 > - maven-release-plugin 2.0 beta 4 I haven't yet used Maven for a full release of one my projects, but had some issues with 2.0-beta-4 of the rele

RE: Maven2 plugin for eclipse : OK now

2007-03-13 Thread Marouane Amraoui
Is OK now :). So i noticed that in the pom file signal an error of a messing jar . for that the container doesn't work I think. Thx a lot for your help. -Message d'origine- De : Marouane Amraoui [mailto:[EMAIL PROTECTED] Envoyé : mardi 13 mars 2007 10:56 À : Maven Users List Objet :

Re: Maven2 plugin for eclipse

2007-03-13 Thread Jacek Laskowski
On 3/13/07, Marouane Amraoui <[EMAIL PROTECTED]> wrote: I enabled the maven project , but still have error compilation due of the dependency I have this classpath : ... .project I wonder why you care about these files? They're for Eclipse not M2. Take a look at pom.xml. That's where

Maven antlib: dependencies path reference

2007-03-13 Thread Matthias Wurm
Hello there, I'm trying to use Maven's antlib, which seems to work fine when defining dependencies inline, since I can define a path id for my dependencies like this: ... (as described on http://maven.apache.org/ant-tasks.html) But when using to use a dependency definition inside a pom-fi

RE: Maven2 plugin for eclipse : OK now

2007-03-13 Thread Marouane Amraoui
The missing file jar is com.sun.tools . is a dependency of commons- attributs-compiler. In the pom file of commons-attributs-compiler : com.sun tools 1.4.2 system ${java.home}/../lib/tools.jar I didn't undrestand what i need to do in th

Re: Maven2 plugin for eclipse

2007-03-13 Thread Leslie Bertels
Any idea what's the shedule for a first release (milestone or something similar) on the eclipse plugin (Tycho)? "Jacek Laskowski" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 13/03/2007 12:15 Please respond to "Maven Users List" To "Maven Users List" cc Subject Re: Maven2 plugin for ecli

RE: Maven2 plugin for eclipse : OK now

2007-03-13 Thread Rodrigo Ruiz
Hi, It is possible that dependencies with "system" scope are not correctly handled by the plugin. Check that tools.jar appears in the list of jars within the "Maven Dependencies" library container. If it is not there, just add it manually to the Eclipse project classpath. Hope this helps you, Rod

RE: Maven2 plugin for eclipse : OK now

2007-03-13 Thread Hayes, Peter
This actually should work in the 0.0.10 version of the m2eclipse plugin. Make sure that you are using a _JDK_ and not a JRE to run Eclipse / Maven. The tools.jar is not present in the JRE package. -Original Message- From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13

Re: [M2] cutting reporting inheritance.

2007-03-13 Thread Maria Odea Ching
Hi Rafael, Try setting the to blank in your submodules. Example, in your organisation-pom, you have the javadoc plugin in the section, like this: maven-javadoc-plugin Try, doing this in your submodules B,C and D: maven-javadoc-plugin

Re: [M2] cutting reporting inheritance.

2007-03-13 Thread Raphaël Piéroni
Hi Maria, First thanks for your answer. Do you know if it is possible to define the reportSet to empty in the A project and have it inherited in B,C,D ? As the organisation-pom defines a lot of unusefull reports :-( Raphaël 2007/3/13, Maria Odea Ching <[EMAIL PROTECTED]>: Hi Rafael, Try s

RE: Maven2 plugin for eclipse : OK now

2007-03-13 Thread Marouane Amraoui
At the begining in InstalledJRE it was : c:\eclipse. I modified it to C:\j2sdk1.4.2_13. but still the same error. So I must run eclipse with -Djava.home or what thx -Message d'origine- De : Hayes, Peter [mailto:[EMAIL PROTECTED] Envoyé : mardi 13 mars 2007 12:36 À : Maven Users Lis

Re: [M2] cutting reporting inheritance.

2007-03-13 Thread Maria Odea Ching
Yep, I think it works :) That's way easier instead of having to set it in all the submodules. Raphaël Piéroni wrote: Hi Maria, First thanks for your answer. Do you know if it is possible to define the reportSet to empty in the A project and have it inherited in B,C,D ? As the organisation-pom

RE: Maven2 plugin for eclipse : OK now

2007-03-13 Thread Hayes, Peter
In this case, it is not the JDK configured within Eclipse itself (this configures the JDK's available to compile with), but the JDK that Eclipse is run with externally. Check your environment variables for JAVA_HOME and your path for the version of Java that you use. In my case I have (for Win

dependency plugin

2007-03-13 Thread Sommers, Elizabeth
We woke up this morning to find that the dependency plugin was changed on 3/12/07. We wouldn't have noticed except that we got the error below. We solved our problem by versioning the plugin in our pom to 2.0-alpha-1 , but I figure others might be running into this today. Thanks Liz [EMAIL PRO

Re: Maven antlib: dependencies path reference

2007-03-13 Thread Matthias Wurm
2007/3/13, Matthias Wurm <[EMAIL PROTECTED]>: Hello there, I'm trying to use Maven's antlib, which seems to work fine when defining dependencies inline, since I can define a path id for my dependencies like this: ... (as described on http://maven.apache.org/ant-tasks.html) But when using

Re: Any Archiva download soon?

2007-03-13 Thread Wendy Smoak
On 3/13/07, Marziou, Gael <[EMAIL PROTECTED]> wrote: Thanks a lot Wendy. With your updated instructions, I was able to start Archiva and login. However, I get an NPE due to a null registry (don't know what it means) when trying to add a managed repository. I've seen that before... it can't fi

Problem with site generation

2007-03-13 Thread Gunnar.Bostrom
Hi, When I generate my multi module project site the link of the first module is always http://maven.apache.org/index.html The links to the 3 other modules are fine. I use mvn 2.0.5 and a standard site generation. Anything I can do about it? Regards Gunnar

RE: Maven2 plugin for eclipse : OK now

2007-03-13 Thread Marouane Amraoui
My env parameters are : M2_HOME = C:\Program Files\Apache Software Foundation\maven-2.0.4 JAVA_HOME = C:\j2sdk1.4.2_13 PATH = %JAVA_HOME%\bin; %MAVEN_HOME%\bin But the problem still occure. !!! Any suggestion please ? thx -Message d'origine- De : Hayes, Peter [mailto:[EMAIL PROTECTED]

Re: Maven2 plugin for eclipse

2007-03-13 Thread Jacek Laskowski
On 3/13/07, Leslie Bertels <[EMAIL PROTECTED]> wrote: Any idea what's the shedule for a first release (milestone or something similar) on the eclipse plugin (Tycho)? I don't, but does it really matter? If it meets your needs now, why should you care if it's 1.0 or 0.1? It's a common understandi

Re: release:prepare fails with subversion error

2007-03-13 Thread ossi petz
Hallooo! Thanks for your input. This did solve my issue! kind ragards op Nick Stolwijk schrieb: I guess that at one time during release:prepare the clean phase is executed, which causes the target directory to be deleted. (Including your working copy information i.e. .svn directory) In my

Re: Problem Archiva standalone

2007-03-13 Thread Thomas Colin de Verdière
Thanks it is working with the latest sources Emmanuel Venisse a écrit : It seems you don't have latest code but you can resolve this pb by creating archiva.xml in ${user.home}/.m2 This file will contain Emmanuel Thomas Colin de Verdière a écrit : I have a problem launching archiva in standa

JAX-WS plugin apt NoClassDefFound error

2007-03-13 Thread jsolderitsch
I am trying to use the latest snapshot of the JAX-WS plugin. I have it working on Mac OS X. I have a fresh install of maven and my project on a Windows XP box. When I kick off the install goal, it chugs along for awhile and then I see: [INFO] ---

docletPath issues with javadoc plugin

2007-03-13 Thread Mark Proctor
I'm trying to use the javadoc plugin with ydoc. If I specify the jars as artifiacts it cannot use the docletPath setting to find the resources directory, as its one or the other: *if* ( ( docletArtifact != *null* ) && ( StringUtils.isNotEmpty( docletArtifact.getGroupId() ) )

Re: [m2] JAX-WS plugin apt NoClassDefFound error

2007-03-13 Thread jsolderitsch
OK -- I have a workaround -- it has to do with an unfortunate tools.jar dependency that used to be in the POM for the JAX-WS plugin, that Dan, the plugin maintainer, recently removed to address a concern that us Mac OS X users had regarding the complete absence of this jar in the Mac JDK. I added

Re: Maven : Patch tools ?

2007-03-13 Thread Wayne Fay
I don't know of any such patch tools, plugins, etc which will help you construct the WAR patch you desire. Maven simply constructs an entirely new WAR file to replace your previous version. Wayne On 3/13/07, Marouane Amraoui <[EMAIL PROTECTED]> wrote: Hello ; I have a war file. (web applicat

Re: Maven : Patch tools ?

2007-03-13 Thread Manos Batsis
I remember something about a "WAR overlay" mechanism in this list that probably belongs to a plugin, you may want to search using that as keyword instead of "patch". hth, Manos Wayne Fay wrote: I don't know of any such patch tools, plugins, etc which will help you construct the WAR patch

[M2] How can I use a variable inside site.xml

2007-03-13 Thread Roberto UserList
Hi all ! How can I use a variable inside "site.xml" file? I mean, If I run Maven like this: "mvn compile -Dxpto=XYZ" How can I use ${xpto} inside site.xml file? Thanks in advance for help. Regards, Roberto

Re: Releasing of Multimodule Projects and CVS

2007-03-13 Thread Christian Sauer
Thorsten, the problem stays exactly the same: "cvs tag: pom.xml is locally modified" Thanx anyway :) cheers, Chris -Original Message- From: "Thorsten Heit" <[EMAIL PROTECTED]> To: "Maven Users List" Date: Tue, 13 Mar 2007 12:11:37 +0100 Subject: Re: Releasing of Multimodule Projects an

Re: [m2] Color logging?

2007-03-13 Thread mraible
Bump... has the status of this changed? When I google for "Maven color logging", it seems like it might exist, but I can't tell for sure. Thanks, Matt Matt Raible-3 wrote: > > Is it possible to configure Maven so it spits out color logging like Ant > does? > > FWIW: > > export ANT_ARGS='-l

Re: failures with wagon (one solution)

2007-03-13 Thread John Redden
I have found a workaround for the shortcomings of wagon. To deploy in an ssh environment on Linux: 1.) run: ssh-agent /bin/bash 2.) run: ssh-add 3.) test your connections to the remote secure host: ssh [EMAIL PROTECTED] and then logout 4.) run: mvn deploy To deploy in an ssh environment on M

Re: docletPath issues with javadoc plugin

2007-03-13 Thread Mark Proctor
I have discovered the bug, logged it and provided a fix. please fix and release asap :) http://jira.codehaus.org/browse/MJAVADOC-115 Mark Mark Proctor wrote: I'm trying to use the javadoc plugin with ydoc. If I specify the jars as artifiacts it cannot use the docletPath setting to find the res

Re: Maven : Patch tools ?

2007-03-13 Thread Wayne Fay
The WAR Overlay simply allows you to construct an uber-WAR by merging multiple WARs together in Maven. So you could merge WAR1 plus WAR2 and the files in module WAR3 to create a conglomerate WAR3 with files from all 3 WARs. When I hear "patch" I think "updating customer code", not "updating WARs

properties in settings.xml do not interpolate

2007-03-13 Thread Mark Proctor
Having now found this issue: http://jira.codehaus.org/browse/MJAVADOC-115 I'm back now trying to get variable interpolation done from properties in a settings file. This is my settings.xml file: default ${user.home}/dev/ydoc ${user.home}/dev/

Re: Profile activation via environment?

2007-03-13 Thread Christian Goetze
ossi petz wrote: hallo what is the command line and path you used to fire up maven? and where did you put these profiles? The profiles are in my pom.xml file, and the command line is just plain "mvn clean" (or any other target), after setting the MAVEN_PROXY_URL environment variable., I e

jpox build error in trunk

2007-03-13 Thread David Roussel
I've just done a checkout: > svn checkout https://svn.apache.org/repos/asf/maven/continuum/trunk/ trunk Checked out revision 517733. > cd trunk > mvn install [INFO] [modello:java {execution: modello-continuum}] [INFO] outputDirectory: C:\dev\os\continuum\trunk\continuum-model\target\genera

Re: [m2] JAX-WS plugin apt NoClassDefFound error

2007-03-13 Thread Dan Tran
use maven profile http://maven.apache.org/guides/introduction/introduction-to-profiles.html -D On 3/13/07, jsolderitsch <[EMAIL PROTECTED]> wrote: OK -- I have a workaround -- it has to do with an unfortunate tools.jar dependency that used to be in the POM for the JAX-WS plugin, that Dan, th

Re: jpox build error in trunk

2007-03-13 Thread Thierry Lach
I think this was caused by a change to modello. There was a recent email about it. http://www.nabble.com/-modello-dev--IMPORTANT%3A-Re%3A--modello-scm820--trunk-modello-plugins-modello-plugin-jpox%3A-*-Moving-from-internal-DBKeywords-to-new-modello-db-keywords-project.-tf3396200.html#a945534

Re: jpox build error in trunk

2007-03-13 Thread Emmanuel Venisse
It should be ok now. Emmanuel Thierry Lach a écrit : I think this was caused by a change to modello. There was a recent email about it. http://www.nabble.com/-modello-dev--IMPORTANT%3A-Re%3A--modello-scm820--trunk-modello-plugins-modello-plugin-jpox%3A-*-Moving-from-internal-DBKeywords-to

force a goal

2007-03-13 Thread Mocsányi Ákos
hi guys, im new to continuum. have two questions: 1. does anyone know how to tell continuum to run a goal from an ant project even if the source hasnt changed? 2. is there a way to tweak the layout of the mail notification sent by continuum? what i want to achieve is that id like to include the

RE: dependency plugin

2007-03-13 Thread Brian E. Fox
Hi Sorry about that. Alpha-2 was not supposed to be on central yet. I have updated the metadata files by hand to make it go away...it will take a few hours to rsync to the repo. The good news is that alpha-2 is staged and being voted on. Baring any sudden issues, it should be released in ~60hrs fro

Re: jpox build error in trunk

2007-03-13 Thread Thierry Lach
Looks good. Thanks. On 3/13/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: It should be ok now. Emmanuel Thierry Lach a écrit : > I think this was caused by a change to modello. There was a recent email > about it. > > http://www.nabble.com/-modello-dev--IMPORTANT%3A-Re%3A--modello-scm

Re: Faster release:perform

2007-03-13 Thread neil hart
Got it. I'm using: maven-release-plugin deploy Thanks

Maven2 Repository with the javax jars

2007-03-13 Thread David Wilkinson
Hi I'm new to using maven and I'm trying to set up a build for a j2ee project, where can I find a repository that holds the javax jars such as the ones for javax.ejb. I have seen in the main repo (http://repo1.maven.org/maven2/) that there is meta data for these jars but the jars themselves a

Re: Maven2 Repository with the javax jars

2007-03-13 Thread Thierry Lach
Read the following web pages. Not sure if the jars you want will be there, but... Maven 1 repository: https://maven-repository.dev.java.net/ Maven 2 repository: https://maven2-repository.dev.java.net/ On 3/13/07, David Wilkinson <[EMAIL PROTECTED]> wrote: Hi I'm new to using maven and I'

Re: Maven2 Repository with the javax jars

2007-03-13 Thread Carlos Sanchez
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html On 3/13/07, David Wilkinson <[EMAIL PROTECTED]> wrote: Hi I'm new to using maven and I'm trying to set up a build for a j2ee project, where can I find a repository that holds the javax jars such as the ones for javax.ejb. I h

Re: Maven2 Repository with the javax jars

2007-03-13 Thread Thierry Lach
I think that page should be updated to at least mention the two dev.java.netrepositories. On 3/13/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html On 3/13/07, David Wilkinson <[EMAIL PROTECTED]> wrote: > Hi > > > > I'm new to usi

Re: Maven2 Repository with the javax jars

2007-03-13 Thread Carlos Sanchez
contributions are welcome! On 3/13/07, Thierry Lach <[EMAIL PROTECTED]> wrote: I think that page should be updated to at least mention the two dev.java.netrepositories. On 3/13/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > > http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Re: Maven2 Repository with the javax jars

2007-03-13 Thread Ryan Cuprak
Checkout: https://maven-repository.dev.java.net/ Regards, -Ryan On Tuesday, March 13, 2007, at 10:14AM, "David Wilkinson" <[EMAIL PROTECTED]> wrote: >Hi > > > >I'm new to using maven and I'm trying to set up a build for a j2ee project, >where can I find a repository that holds the javax

Re: [m2] JAX-WS plugin apt NoClassDefFound error

2007-03-13 Thread jsolderitsch
Thanks. Turns out that in my project POM file, if I add a section right below the tag for the plugin and place the tools.jar dependency there, I don't need to modify the POM for the plugin. I had tried this before but placed the added dependencies section AFTER the section and this didn't wor

I received a great surprise from Continuum!

2007-03-13 Thread Eric Pugh
I just wanted to say thanks for an unexpected feature that Continuum has. At one client site we are building around 30 different projects from CVS. Over the weekend the DNS name of the CVS server was changed as part of a corporate renaming process. I expected to have to go and update ea

Re: force a goal

2007-03-13 Thread Eric Pugh
I force nightly builds by using Cron and curl to click the "force build" button! Icky, I know. I hear rumors that 1.1 has this built in though. On Mar 13, 2007, at 12:47 PM, Mocsányi Ákos wrote: hi guys, im new to continuum. have two questions: 1. does anyone know how to tell continuum

[m2] Maven ignoring Artifactory proxy settings?

2007-03-13 Thread Thorsten Heit
Hi all, I just discovered a strange phenomenon: Artifactory is running on port 4080 on my local machine in a Tomcat 5.5 environment, and is configured correctly in my settings.xml. Well, at least I think so: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins

RE: force a goal

2007-03-13 Thread Marcelo Takeshi Fukushima
yeah it does (im using 1.1 for that and for the grouping of projects) - and it looks like an alpha or so version will be released very soon -Original Message- From: Eric Pugh [mailto:[EMAIL PROTECTED] Sent: terça-feira, 13 de março de 2007 14:56 To: continuum-users@maven.apache.org Subject

RE: force a goal

2007-03-13 Thread David Neiman
I got this to work by the following hack: - Create and check-in to CVS (SCM we use) a meaningless file (e.g. DeleteMe.txt) at the root of the source tree. - At the end of the Ant build delete this file from your source in the Continuum space. - When the scheduled build runs the next time CVS will

Re: force a goal

2007-03-13 Thread Mocsányi Ákos
good ideas, thanks for all David Neiman wrote: I got this to work by the following hack: - Create and check-in to CVS (SCM we use) a meaningless file (e.g. DeleteMe.txt) at the root of the source tree. - At the end of the Ant build delete this file from your source in the Continuum space. - Whe

Maven @ ApacheCon Europe

2007-03-13 Thread Brett Porter
For those that are interested in attending ApacheCon, it's on in Amsterdam, 1-4 May. Details are available at http://www.eu.apachecon.com/ Jason will be presenting a talk introducing Maven: http://www.eu.apachecon.com/program/talk/86 I'll be presenting training on setting up a development enviro

Download JAR file from Repository

2007-03-13 Thread Geffrey Caruso
Here is the problem I'm trying to solve. I've got a project that creates a signed applet JAR file and installs it into the local repository. I now have another webapp project that isn't technically dependent on that jar to compile but I want to copy the applet jar into the my project in a specifi

RE: Any Archiva download soon?

2007-03-13 Thread Marziou, Gael
Well, the ~/.m2/archiva.xml trick did not fix the NPE. I did not know there was a user mailing list for Archiva, I'll post a follow up here. Gael > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 13, 2007 2:27 PM > To: Maven Users List > Subject

Null registry

2007-03-13 Thread Marziou, Gael
I am new at Archiva. I have built it from the latest from svn, deployed it on Tomcat 5.5.23 on windows 2000. Now I get an NPE (for a null registry, see attached log) when I try to add a repository, I originally posted on maven users mailing list where Wendy Smoak kindly told me it could be due to

Download JAR from Local Repository

2007-03-13 Thread Geffrey Caruso
Here is the problem I'm trying to solve. I've got a project that creates a signed applet JAR file and installs it into the local repository. I now have another webapp project that isn't technically dependent on that jar to compile but I want to copy the applet jar into the my project in a specifi

The projects in the reactor contain a cyclic reference:

2007-03-13 Thread nessinha
Hi! Well, i have a project and it has 2 modules. The problem is: I need second like dependency of first and need first like dependency od second. I know I can't to do it but is there something that simule what I am doing?? Sorry. My english is horrible. -- View this message in context: http://

Re: The projects in the reactor contain a cyclic reference:

2007-03-13 Thread Wayne Fay
Circular dependencies generally indicate a problem in your design. Why does A>B and B>A, what's the reason? Is there no way to move some code to another module C and have A>B>C or something to eliminate the circular dep issue? Wayne On 3/13/07, nessinha <[EMAIL PROTECTED]> wrote: Hi! Well, i h

Surefire 2.3 ignores suite()?

2007-03-13 Thread jason r tibbetts
I'm using Surefire 2.3 to test with JUnit 4, and it seems as though my tests' suite() methods aren't being used by the Surefire booter. Does it simply look for the "@Test"-annotated tests manually? I'm using suite() because I have a couple of Parameterized tests implemented as inner classes of

Re: [m2] PVCS SCM

2007-03-13 Thread JC Walmetz
I have added the plugin in JIRA. If you try it, just keep me inform. Gregory Kick-2 wrote: > > That would be very great. I think the bug you're talking about is at > http://jira.codehaus.org/browse/SCM-34 > > On 3/7/07, JC Walmetz <[EMAIL PROTECTED]> wrote: >> >> I'm afraid the donation of

Activating profile in child POM

2007-03-13 Thread Steinar Bang
I've been reading http://maven.apache.org/guides/introduction/introduction-to-profiles.html and trying to understand how profiles should be used What I'm trying to do, is: 1. download, and install the appropriate shared lib/DLL for different platforms, for use with JNI wrappers 2.

RE: Activating profile in child POM

2007-03-13 Thread Brian E. Fox
I don't think you can activate based on a property set in a parent. Normally this wouldn't make sense because it's always the same until you change it right? It should work using -D or even -P to specify the profile. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ste

RE: Download JAR from Local Repository

2007-03-13 Thread Brian E. Fox
There are a few ways to do it with the dependency plugin: http://maven.apache.org/plugins/maven-dependency-plugin/ -Original Message- From: Geffrey Caruso [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 3:00 PM To: users@maven.apache.org Subject: Download JAR from Local Repositor

Re: Activating profile in child POM

2007-03-13 Thread Steinar Bang
> "Brian E. Fox" <[EMAIL PROTECTED]>: > I don't think you can activate based on a property set in a parent. > Normally this wouldn't make sense because it's always the same until > ou change it right? Yup. That's what I figured. > It should work using -D or even -P to specify the profile.

RE: Re: Activating profile in child POM

2007-03-13 Thread Brian E. Fox
>>(btw you've probably guessed that this is a workaround for >>dependency:unpack not preserving symlinks...? However, I still would >>like to see that JIRA feature request... removes kludges and >>workarounds...;-) ) Yes. I looked into the plexus-archiver component and it doesn't appear to suppor

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-13 Thread mraible
I'm seeing some strange behavior with this. I've added a profiles.xml in the root of my project. Its contents are: xp true When I cd into "core" and run "mvn test", the correct "jdbc.url" property is put into my f

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-13 Thread Wayne Fay
I have no idea... I made a little test project to see what happens and it seems to work like I said, and not like you're experiencing, so I guess something else is up on your side (??). I will go ahead and send the zip directly to you Matt as I know attachments generally don't get passed through

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-13 Thread mraible
I'll make sure and keep the discussion on this list after trying your test project. Thanks, Matt Wayne Fay wrote: > > I have no idea... I made a little test project to see what happens and > it seems to work like I said, and not like you're experiencing, so I > guess something else is up on y

Re: [m2] Maven ignoring Artifactory proxy settings?

2007-03-13 Thread Wendy Smoak
On 3/13/07, Thorsten Heit <[EMAIL PROTECTED]> wrote: As long as I execute Maven commands in a directory which already contains a pom.xml, everything works as expected: Building, compiling, deploying etc. When I execute Maven commands in an empty directory, say, "mvn archetype:create -DgroupId=

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-13 Thread mraible
Thanks for sending me a sample project Wayne. You are correct - it works fine for your project. However, I've stared at your project and mine for the last 15 minutes and I still can't figure out what's different. One thing that's different is I'm filtering rather than , but I doubt that's it.

Re: [ANN] native2ascii-maven-plugin-1.0-alpha-1 released

2007-03-13 Thread Dan Tran
Can you supply one? ;-) -D On 2/28/07, Manos Batsis <[EMAIL PROTECTED]> wrote: Dan Tran wrote: > The Mojo team is pleased to announce the first alpha release of the > Native2Ascii Maven Plugin > > The site is at: http://mojo.codehaus.org/native2ascii-maven-plugin Awesome, i was getting ready

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-13 Thread Wayne Fay
Unfortunately, you're getting into some hairy stuff with all these profiles and properties. I don't honestly know which profile (or property) will be read first, nor which file, and when you throw multiple activeByDefault profiles into the mix, who knows what will come out?? Unless someone knows

Re: [m2] PVCS SCM

2007-03-13 Thread Gregory Kick
Yeah, I've been watching that bug and appreciate the effort. Thanks for all of your work. On 3/14/07, JC Walmetz <[EMAIL PROTECTED]> wrote: I have added the plugin in JIRA. If you try it, just keep me inform. Gregory Kick-2 wrote: > > That would be very great. I think the bug you're talking

Re: Maven2 plugin for eclipse

2007-03-13 Thread Leslie Bertels
>>Does is matter? Well euhm... Not really ;-) >>If it meets your needs now... It does, it does... however I do seem to be using a command line alot since some things seem to fail or are missing. (eg. building a war project) Thanks for the reply Rgds, Les. On 3/13/07, Leslie Bertels <[EMAIL PR

Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-13 Thread Christian Sauer
Hi, concerning profiles, settings.xml and pom inheritance I can recommend the maven help plugin: http://maven.apache.org/plugins/maven-help-plugin/usage.html With this plugin you can show an effective pom for each of your profiles. This helped me a lot struggeling with the profiles jungle ;)