RE: Repo1 Mirrors not Updated

2008-12-03 Thread Reinhard Nägele
I just checked all mirrors listed here: http://docs.codehaus.org/display/MAVENUSER/Mirrors+Repositories I guess I had bad luck because I picked exactly the problematic ones: http://mirrors.dotsrc.org/maven2/org/apache/wicket/wicket-archetype-quickstart/

Why compile exceptions display as INFO messages?

2008-12-03 Thread Dang H. Nguyen
When I get a mvn build failure, I've noticed that the exceptions which show the cause of the build failure, for example, NullPointerException, are shown as INFO level messages. Only the final BUILD FAILURE message is displayed as ERROR. Since I only want ERRORS to show up in my build reports,

Re: How to make .java files in src/main/resources available at runtime?

2008-12-03 Thread martijnverburg
Hi Geoffrey, I'm curious, why does another application need to interact with your Java source code? Is that really what needs to occur? Cheers, Martijn On Dec 3, 2008 2:57am, Geoffrey Kwan [EMAIL PROTECTED] wrote: Hi, I'm trying to include some .java files in my src/main/resources but at

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: How to make .java files in src/main/resources available at runtime?

2008-12-03 Thread Nick Stolwijk
I know at least of one application, which uses jar files with some java and some class files. It is the Masters of Java software, which bundles each assignment as a jar. The java files are shown to the users (the clients) and committed and compiled at the server. Hth, Nick Stolwijk ~Java

Re: Repo1 Mirrors not Updated

2008-12-03 Thread Brett Porter
I've updated that page to indicate which mirrors are synced directly from central and should therefore be more up to date. - Brett On 03/12/2008, at 7:28 PM, Reinhard Nägele wrote: I just checked all mirrors listed here: http://docs.codehaus.org/display/MAVENUSER/Mirrors+Repositories I

Release plugin woes

2008-12-03 Thread david
Hi! I've in severe trouble with releasing a CVS based flat maven multiproject: Structure: modules module../JEEFrameworkRefAppJAVA/module module../JEEFrameworkRefAppEJB/module module../JEEFrameworkRefAppWAR/module

Re: LATEST and RELEASE

2008-12-03 Thread Baptiste MATHUS
I guess this could be related, but we almost never use install. Actually, for the LATEST use case, we just commit and have a continuous integration serverthat will just push the resulting artifact to the corporate maven repository (and it will usually be downloaded some minutes after thanks to m2e

Re: Why compile exceptions display as INFO messages?

2008-12-03 Thread Baptiste MATHUS
I don't think there's another solution than filing an issue in the maven compiler plugin. Maybe what you ask could be fixed or be put as an option (displaying or not the exception that made the build fail). See http://jira.codehaus.org/browse/MCOMPILER But are you sure the build failed in compile

Nexus Publish Indexes

2008-12-03 Thread Todd Thiessen
I asked this question on the nexus users list but didn't get a response. Since Nexus and Maven are closely related, I hope you guys don't mind if I ask it here. I was going through the definitive guide and noticed that under scheduling, there is a task called Publish Indexes. The description in

Antrun plugin error

2008-12-03 Thread pankaj_sahu
Hi, We want to execute ant pulgin , which should not execute with the default targets . it should execute when we require it. I am facing problem with ant plugin. The plugin definition is as follows an output with different scenarios are as follows: plugin

qdox-current.jar is missing from repo1.maven.org

2008-12-03 Thread Chris Helck
What happened to http://repo1.maven.org/maven/vdoclet/jars/qdoc-current.jar ? When I wget it I get a 403 Forbidden error. This used to work -- just a few weeks ago. I can no longer create site documentation for maven1 projects. Thanks, C. Helck

Re: [deploy-plugin] Abort deploy when a target is present

2008-12-03 Thread solo1970
Somehow I'm getting a little bit lost!!! I tried to read the feeds but I don't quite get it! I'm just starting out with Maven (ver. 2.0.9) and I would like to have this feature of NO re-reployement of the same version. Can someone summarize? How do I do this? Is it available Sonia

How can maven be used in a continuous integration situation?

2008-12-03 Thread Matthew Jaskula
This question has also been posted to stackoverflow.com: http://stackoverflow.com/questions/335781/how-can-maven-be-used-in-a-continu ous-integration-situation-to-install-versione -- We are in the process of converting our main build process from ant to maven. We use TeamCity for our Continuous

Searching for good j2ee example

2008-12-03 Thread Mario Alsini
Hello, i need to see an example of medium j2ee project well done with maven. -- View this message in context: http://www.nabble.com/Searching-for-good-j2ee-example-tp20814960p20814960.html Sent from the Maven - Users mailing list archive at Nabble.com.

RE: [deploy-plugin] Abort deploy when a target is present

2008-12-03 Thread Todd Thiessen
Well, I am pretty new as well but I have been putting some thought into this. If you are deploying snapshots, simply the unique version option. This ensures your snapshots never get clobbered. For releases, I would use the release plugin. This plugin calculates for you, or asks you for, a new

RE: [deploy-plugin] Abort deploy when a target is present

2008-12-03 Thread Nord, James
You need a repository manager. Nexus can do this - others may to. http://nexus.sonatype.org/about/faq.html#QHowdoIdisableartifactredeploym ent /James -Original Message- From: solo1970 [mailto:[EMAIL PROTECTED] Sent: 03 December 2008 15:02 To: users@maven.apache.org Subject: Re:

Re: Searching for good j2ee example

2008-12-03 Thread martijnverburg
What sort of things are you after? We build several EARs in our project (which contain SAR, RAR, WAR, HAR, SAR etc) On Dec 3, 2008 3:21pm, Mario Alsini [EMAIL PROTECTED] wrote: Hello, i need to see an example of medium j2ee project well done with maven. -- View this message in

RE: [deploy-plugin] Abort deploy when a target is present

2008-12-03 Thread solo1970
Our repository Manager is Archiva and it can't do it Sonia Nord, James-2 wrote: You need a repository manager. Nexus can do this - others may to. http://nexus.sonatype.org/about/faq.html#QHowdoIdisableartifactredeploym ent /James -Original Message- From: solo1970

Re: Searching for good j2ee example

2008-12-03 Thread Mario Alsini
Is not important the domani of the j2ee project. I need a project with several module. In my project, for example, for now in netbeans form, i use ejb, jsf war, plain text client ... Thank you! karianna wrote: What sort of things are you after? We build several EARs in our project

deploy archetype-catalog

2008-12-03 Thread Reto Bachmann-Gmür
Hello I'm creatingan archetype following the instructions at http://maven.apache.org/plugins/maven-archetype-plugin/advanced-usage.html mvn install puts an archetype-catalog.xml in ~/.m2 but deploy doesn't seem to deploy that file to the remote repository. How can I deploy the archetype catalog?

RE: deploy archetype-catalog

2008-12-03 Thread Todd Thiessen
mvn deploy your archetype project. --- Todd Thiessen -Original Message- From: Reto Bachmann-Gmür [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 11:37 AM To: Maven Users List Subject: deploy archetype-catalog Hello I'm creatingan archetype following the instructions at

Re: Problem with Maven, Continuum and Archiva

2008-12-03 Thread Alexander Vaysberg
Yes i have in apache: 127.0.0.2 - - [01/Dec/2008:22:04:05 +0100] GET /archiva/repository/snapshots/com/project/root-project/2.0.0-SNAPSHOT/maven-metadata.xml HTTP/1.1 500 2941 and in archiva log have i nothing. Alexander Vaysberg Brett Porter schrieb: 500 is an internal server error. Are

Maven Ant-Run plugin

2008-12-03 Thread Ricardo Mayerhofer
I've a ant task that runs fine on ant, but fails on maven ant run plugin. The ant task is not able to find a class defined on my system's classpath. I guess maven ant run has it's own classpath (maven.plugin.classpath?) Is it possible to set the plugin classpath and tells it to use my system

Re: Re: Searching for good j2ee example

2008-12-03 Thread martijnverburg
Hi Mario, What specific examples are you after/what information do you need? What have you tried so far? Happy to help, but I don't see much point in just sending over a whole bunch of poms and associated configuration files. Cheers, Martijn On Dec 3, 2008 4:02pm, Mario Alsini [EMAIL

Re: Maven Ant-Run plugin

2008-12-03 Thread Stephen Connolly
you need to add the custom task's jar as a dependency for the antrun plugin also note that in a multi-module build, the first module to load a plugin defines the classpath of the plugin for all subsequent modules in the same reactor execution. 2008/12/3 Ricardo Mayerhofer [EMAIL

End User License Agreements

2008-12-03 Thread Jason Voegele
We have a need to ask the user to accept a license agreement at the time that Maven downloads and installs some of the artifacts we host on our Maven repository. I have read som information here: http://maven.apache.org/pom.html#Licenses I see that the POM supports a license element that

Re: End User License Agreements

2008-12-03 Thread Tomasz Pik
On Wed, Dec 3, 2008 at 7:51 PM, Jason Voegele [EMAIL PROTECTED] wrote: We have a need to ask the user to accept a license agreement at the time that Maven downloads and installs some of the artifacts we host on our Maven repository. I have read som information here:

Re: deploy archetype-catalog

2008-12-03 Thread Reto Bachmann-Gmür
that's what I do (more exactly what continuum does), but while the archetype gets deployed to the snapshotRepository specified in the distributionManagement I find no archetype-catalog there. cheers, reto Todd Thiessen said the following on 12/03/2008 05:46 PM: mvn deploy your archetype

Re: deploy archetype-catalog

2008-12-03 Thread Jason Voegele
On Wednesday 03 December 2008 01:57:48 pm Reto Bachmann-Gmür wrote: that's what I do (more exactly what continuum does), but while the archetype gets deployed to the snapshotRepository specified in the distributionManagement I find no archetype-catalog there. I can confirm this behavior. mvn

Re: End User License Agreements

2008-12-03 Thread Jason Voegele
On Wednesday 03 December 2008 01:57:53 pm Tomasz Pik wrote: On Wed, Dec 3, 2008 at 7:51 PM, Jason Voegele [EMAIL PROTECTED] wrote: Is there any way to make Maven prompt the user to accept a license agreement? Not yet, see http://jira.codehaus.org/browse/MNG-671 Thanks Tomasz. The last

Limitation of the release plugin?

2008-12-03 Thread Todd Thiessen
I have been looking at the release plugin a fair bit lately and noticed something that concerned me. The first modification of the pom changes the version to remove the -SNAPSHOT and also changes the SCM values to point to the tag location instead of the trunk location. Once done, it then

Re: Limitation of the release plugin?

2008-12-03 Thread David C. Hicks
Never noticed or thought about it. On my team, we call a cease fire when a build is being done to avoid any such problems. We were doing that before using Maven, too, so it's a bit of a hold-over. I can see your point, though. Todd Thiessen wrote: I have been looking at the release

Re: Limitation of the release plugin?

2008-12-03 Thread Barrie Treloar
On Thu, Dec 4, 2008 at 8:31 AM, David C. Hicks [EMAIL PROTECTED] wrote: Never noticed or thought about it. On my team, we call a cease fire when a build is being done to avoid any such problems. We were doing that before using Maven, too, so it's a bit of a hold-over. I can see your point,

RE: Searching for good j2ee example

2008-12-03 Thread Martin Gainty
it would be helpful to know what the ear is supposed to accomplish web-service? connection-pooling? also which AppServer ar you deploying to? WebLogic? JBoss? Websphere? Resin? Martin __ Disclaimer and confidentiality note Everything in this e-mail

Re: How can maven be used in a continuous integration situation?

2008-12-03 Thread Wayne Fay
The problem with this method is that the maven install plugin only uses the version in the pom file, not the version passed in on the command line. This is noted in [this maven issue][1]. If you use mvn release rather than simply mvn install, this is handled for you via the release plugin.

Re: Parents version isn't check for new updates on the remote repository

2008-12-03 Thread nodje
A month later, I'm still confronting the same problem... Is there anything obvious I'm missing here? Am I the only one trying to figure this out? :-/ nodje wrote: Sorry for not being clear. What I mean is that the regular way Maven checks for updates on SNAPSHOT dependencies doesn't

Re: Problem with Maven, Continuum and Archiva

2008-12-03 Thread Brett Porter
Ok. If you are running the standalone Archiva, then you'll also have a request log from Jetty that would have the same line. If it doesn't occur, then the request is failing in Apache. Apache has an error_log that would tell you the problem. If the same problem is seen Archiva's request

A problem about Maven Hibernate plugin

2008-12-03 Thread youhaodeyi
I use maven to generate database schema. I use derby database and got this error: No suitable driver found for jdbc:derby:database/hgsic What can I do on this issue? thanks. -- View this message in context: http://www.nabble.com/A-problem-about-Maven-Hibernate-plugin-tp20827757p20827757.html