Re: Is TestNG support in M2 2.0.4 already stable?

2006-09-27 Thread Wim Deblauwe
There was a promise on this mailing list a while ago that many of the plugins would see a new release shortly, so let's hope so, so that we can avoid having to rely on SNAPSHOT versions to get the builds working... regards, Wim 2006/9/27, franz see [EMAIL PROTECTED]: Davy Toch wrote:

RE: Clover fails during compile, but project compiles normally

2006-09-27 Thread Vincent Massol
-Original Message- From: Martin van den Bemt [mailto:[EMAIL PROTECTED] Sent: mardi 26 septembre 2006 20:43 To: Maven Users List Subject: Re: Clover fails during compile, but project compiles normally Vincent Massol wrote: Hi Martin, -Original Message- From: Martin

Retrieving all the modules for a prent project

2006-09-27 Thread VENTURI Rémy
Hi all, I have a parent project, composed of several modules. I would like to programatically get all the artifacts build from these modules, in order to package my parent's project delivery. I tried to do this trought the following ant file, but, this retrieves only the dependencies of my

Re: java version for all plugins

2006-09-27 Thread Geoffrey De Smet
See the top of http://svn.sourceforge.net/viewvc/spring-rich-c/trunk/spring-richclient/core/pom.xml?view=markup It inherits from http://svn.sourceforge.net/viewvc/spring-rich-c/trunk/spring-richclient/pom.xml?view=markup Trent Rosenbaum wrote, On 2006-09-26 5:30 PM: So you have a pom.xml file

RE: Surefires test order

2006-09-27 Thread christophe blin
Is no one interested by that question ? Or maybe I should not reply to a so old question ? chris christophe blin wrote: Hi, searching into the nabble archives, I found a thread which talks about my problem. I quote the relevant part at the end of my message. First, I'd like to know if

Re: java version for all plugins

2006-09-27 Thread Trent Rosenbaum
Yeah this makes complete sense and I think I will start to following this process as well. Cheers for the examples Trent On 27/09/06, Geoffrey De Smet [EMAIL PROTECTED] wrote: See the top of http://svn.sourceforge.net/viewvc/spring-rich-c/trunk/spring-richclient/core/pom.xml?view=markup It

missing Administration tasks in daily build

2006-09-27 Thread Mohni, Daniel
Hello after I have a nice looking WebApp, going thru the first steps (eg. registered the administrator, repository and index) now i can login, and get redirected to the browse window, but i miss the administrator menu on the left. Looking at the tomcat log, tells that the admin logged in

RE: [solved] missing Administration tasks in daily build

2006-09-27 Thread Mohni, Daniel
just for the records, this is a stupid error of my configuration behind a Apache webserver using a vhost working vhost-config: NameVirtualHost archiva.your-domain:* VirtualHost archiva.your-domain:* ServerName archiva.your-domain ServerAlias archiva RewriteEngine On RewriteRule

RE: Maven+Checkstyle - Configuration file location

2006-09-27 Thread Lakshman Srilakshmanan
Hi Stephen / Roy, I would like to include a LICENSE.txt file as part of the jar (checkstyle-1.0-SNAPSHOT.jar) as listed below. 0 Wed Sep 27 02:05:48 EST 2006 META-INF/ 127 Wed Sep 27 02:05:46 EST 2006 META-INF/MANIFEST.MF 26 Wed Sep 27 02:05:46 EST 2006 LICENSE.txt 433 Wed Sep 27

Error retrieving artifact from file

2006-09-27 Thread Javier . Sagrado . Collantes
Hi! I have Maven integrate into Eclipse, when i try to build my project it crashes. The console of Eclipse shows this messages: Error retrieving artifact from [file://C:\Archivos de programa\Hotsip\M2CE SCE/repository/m2ce-core/jars/serviceframework-3.2.0-87.jar This jar exists in the route.

M2 EJB plugin

2006-09-27 Thread alonso
Hi there, I'm trying to package an EJB 3.0 module using the maven-ejb-plugin for Maven 2.x. The problem is that when the plugin tries to package the jar archive, it fails because it can't find the META-INF/ejb-jar.xml file. The point is that I'm using EJB 3.0 and I don't need that file.

Wrong artifactHandler

2006-09-27 Thread Clement Escoffier
Hello, I am a strange problem with a plugin that I develop. This plugin do a bytecode manipulation of java classes during the packaging of the artifact. It works with simple project (non multi-module). Nevertheless, when I use my plugin inside a multi-module project, Maven does not use the

[m2] install4j plugin

2006-09-27 Thread ben short
Hi, Anyone know if there is such a beast as an install4j plugin for maven? Regards Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

maven-war-plugin error /

2006-09-27 Thread Marco Mistroni
hi all i m experiencing some errors with Maven2 war plugin situationis like this i am trying to use maven2 with an existing project (developed in RAD) heres' the project structure webProject | JavaSource |com ... |mw |___resources |

SV: Build errors

2006-09-27 Thread Naess, Ronny
Anyone got any tips for me about this issue? It is starting to become a showstopper. Continuum almost never have a successfully build anymore. The failure is always the same where the exception is: org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name

Maven2 JUnit4

2006-09-27 Thread Severin Ecker
Hi, i just wanted to ask if there are any news on the JUnit4 front. I've tried that unofficial plugin but it didn't work, so i was wondering if JUnit4 support is somewhere soon on the roadmap. thanks in advance! cheers, severin

Re: M2 EJB plugin

2006-09-27 Thread Marco Mistroni
hELLO, found same error when i tried.. i m deploying on jboss4.0.4 i made project as a jar project that won't create ejb client though... beside that, with EJB3 using POJO i m not exactly sure why would you need an ejb-client.. hth marco

Excluding the unit tests from Javadocs in Maven 2.x

2006-09-27 Thread Pavan
Hi All, I am currently using Maven 2.0. Can anyone please let me know how to exclude unit tests while generating Javadocs report? I have tried by adding the following in my pom.xml file but it didn?t work. plugin groupIdorg.apache.maven.plugins/groupId

JavaCC plug-in and multiple grammar files

2006-09-27 Thread Stefano Fornari
Hi All, I have multiple grammar files, each going into a different package. Therefore, I cannot specify either the output directory nor the package. I created the attached pom, but when maven generates the parser, all source codes go in the same generated-files directory. Looking at the code of

Re: [m2] install4j plugin

2006-09-27 Thread Siegfried Goeschl
Hi Ben, if not you can wrap the install4j thingie within an Maven build using +) maven-antrun-plugin +) build-helper-maven-plugin Cheers, Siegfried Goeschl ben short wrote: Hi, Anyone know if there is such a beast as an install4j plugin for maven? Regards Ben

Problems in command line arguments - internationalization?

2006-09-27 Thread Leo L
Hi guys, I have this problem in Maven 2.0.4: *mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app* [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO]

SV: Build errors

2006-09-27 Thread Naess, Ronny
I bypassed the problem, replaced the two database.properties with two datasource-context.xml (imported into commons-config.xml) and typed the properties in for both test and main. It works well now and continuum gave me a big smile :-) Sure, why PropertyPlaceholderConfigurator fails I still do

proxying multiple repositories

2006-09-27 Thread Mohni, Daniel
Hello Archiva is now running fine for the default repository. I have configured 2 different repositories one for the internal artefacts and one for thirdparty artefacts that are currently not available in a maven repository. I have configured a profile in my settings.xml like this profile

Re: Wrong artifactHandler

2006-09-27 Thread dan tran
add your vote to this jira http://jira.codehaus.org/browse/MNG-1682 in the mean while, have you tried setting your packaging extension as jar? -D On 9/27/06, Clement Escoffier [EMAIL PROTECTED] wrote: Hello, I am a strange problem with a plugin that I develop. This plugin do a bytecode

the default central repository for maven 2 is not ibiblio?

2006-09-27 Thread Cheng-Yang.Tang
Hi, I thought the major central repository for maven 2 is http://www.ibiblio.org/maven2 but in fact the hard-coded central repository is http://repo1.maven.org/maven2. And I have to specify the ibiblio one as a mirror if I want to use it. Is it meant to be like that? or is it a bug to fix?

Re: maven-native-plugin long command lines and individual files ...

2006-09-27 Thread dan tran
that portion of unused code has been removed -D On 9/26/06, Brad Harper [EMAIL PROTECTED] wrote: Anyone: Was this question (below) ever addressed? It didn't appear so. I looked at the source at

Re: Wrong artifactHandler

2006-09-27 Thread Clement Escoffier
dan tran a écrit : add your vote to this jira http://jira.codehaus.org/browse/MNG-1682 in the mean while, have you tried setting your packaging extension as jar? Yes I do, but it does not work. -D On 9/27/06, Clement Escoffier [EMAIL PROTECTED] wrote: Hello, I am a strange problem

Re: JavaCC plug-in and multiple grammar files

2006-09-27 Thread Mark Donszelmann
Hi did not find your attached pom. You can however run the javacc plugin multiple times with different configurations (output dir/package). Regards Mark Donszelmann On Sep 27, 2006, at 4:10 AM, Stefano Fornari wrote: Hi All, I have multiple grammar files, each going into a different

archetype plugin can't fetch archetype from my own repository

2006-09-27 Thread Cheng-Yang.Tang
Hi, I create my own artifacts and archetypes, and deploy them into my own repository. The repository is specified in settings.xml. Maven can get artifacts from the repository, but not the archetype: mvn archetype:create -DgroupId=helloworld -DartifactId=helloworld

Re: archetype plugin can't fetch archetype from my own repository

2006-09-27 Thread Wendy Smoak
On 9/27/06, Cheng-Yang.Tang [EMAIL PROTECTED] wrote: I create my own artifacts and archetypes, and deploy them into my own repository. The repository is specified in settings.xml. Maven can get artifacts from the repository, but not the archetype: ... However, when I specified

Dependency management

2006-09-27 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi, I have a few questions about modules and dependencies. Does the order of modules listed in the parent pom.xml matter? For example, if C depends on A and B depends on C, then the correct order would be:A, C B moduleA/module moduleC/module moduleB/module If I specify instead moduleA/module

release:perform using clearcase-scm

2006-09-27 Thread ulli . brennenstuhl
Hello, I'm experimenting with the release-plugin of maven using scm:clearcase at the moment. I finally got to a point, where the snapshot view is successfully created, and the originally started mvn release:perform calls mvn deploy site-deploy --no-plugin-updates -DperformRelease=true which

maven-native-plugin always re-runs native:link

2006-09-27 Thread Brad Harper
Have I mis-configured the native:link goal? The maven-native-plugin /always/ re-links even when all of the .o files are up to date. Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: passing along maven built classpath to ant plugin

2006-09-27 Thread EJ Ciramella
Can I get access to the localRepository variable in the same fashion? Is there something like project.localRepository or maven.localRepository? We're using a different location for the repository as configured in our settings.xml file. -Original Message- From: Zarar Siddiqi

Create an aggregate jar merging XML descriptor files?

2006-09-27 Thread Don Brown
In Maven 2, how do I create an aggregate jar of a given number of dependencies, but merge their XML configuration files? For the merge, I was thinking of using chained N-1 XSLT transformations. The single jar I understand through an assembly and unpack, but how do I run code to process the

RE: passing along maven built classpath to ant plugin

2006-09-27 Thread raghurajan . x . gurunathan
you can use ${settings.localRepository} Thanks, Raghurajan Gurunathan EJ Ciramella [EMAIL PROTECTED] 09/27/2006 11:36 AM Please respond to Maven Users List To: Maven Users List users@maven.apache.org cc: Subject:RE: passing along maven built classpath

Re: maven-native-plugin always re-runs native:link

2006-09-27 Thread dan tran
yes, the link state always relink, just like java( jar ) packaging. -D On 9/27/06, Brad Harper [EMAIL PROTECTED] wrote: Have I mis-configured the native:link goal? The maven-native-plugin /always/ re-links even when all of the .o files are up to date. Brad

RE: passing along maven built classpath to ant plugin

2006-09-27 Thread EJ Ciramella
I keep getting this: E:\work\up-svcs\lty\proj\LTY-P39\${settings.localRepository} not found. How come this isn't getting expanded? I'm trying to write a findbugs ant plugin and attempting to load some stuff out of there. I have the following in my mojo: parameter

Re: the default central repository for maven 2 is not ibiblio?

2006-09-27 Thread Yann Le Du
Hi Louis, http://repo1.maven.org/maven2/ is the official URL, but was once redirected to www.ibiblio.org/maven2/ . AFAIK, both repos are identical, so you don't need to specify any mirror. Though, if you want to use mirrors, you can check those :

RE: passing along maven built classpath to ant plugin

2006-09-27 Thread EJ Ciramella
Nvm - I realized only after I sent this that the property needs to be settings.localRepository, not localRepository. Ok, I'm moving along now... -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 12:55 PM To: Maven Users List Subject:

Re: Dependency management

2006-09-27 Thread Yann Le Du
Hi Alexander, 2006/9/27, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED]: Hi, I have a few questions about modules and dependencies. Does the order of modules listed in the parent pom.xml matter? For example, if C depends on A and B depends on C, then the correct order would be:A, C

Re: [M2] Mirror

2006-09-27 Thread Tamás Cservenák
Or as an alternative, you can look for Proximity: http://proximity.abstracthorizon.org/ ~t~ On 9/26/06, Rémy Sanlaville [EMAIL PROTECTED] wrote: Hi Johan, Try rsync -rlHtSv [EMAIL PROTECTED]::maven2 /var/www/maven2 where /var/www/maven2 is the location where you want to put the files. You

Re: maven-native-plugin always re-runs native:link

2006-09-27 Thread dan tran
Feel free to file jira, but i dont think you gain much performance on this feature. -D On 9/27/06, dan tran [EMAIL PROTECTED] wrote: yes, the link state always relink, just like java( jar ) packaging. -D On 9/27/06, Brad Harper [EMAIL PROTECTED] wrote: Have I mis-configured the

Repository configuration

2006-09-27 Thread Todd Nine
Hi all, I have a security question. I would like to set up a repository on the net for a side project some friends and I are working on. However I don't want the uploaded artifacts to be available to the public. Is it possible to secure the repository with a .htaccess file, and enter the user

Re: the default central repository for maven 2 is not ibiblio?

2006-09-27 Thread Cheng-Yang.Tang
Hi Yann, Thanks very much for your explanation. Louis On Wed, 2006-09-27 at 18:56 +0200, Yann Le Du wrote: Hi Louis, http://repo1.maven.org/maven2/ is the official URL, but was once redirected to www.ibiblio.org/maven2/ . AFAIK, both repos are identical, so you don't need to specify any

Re: archetype plugin can't fetch archetype from my own repository

2006-09-27 Thread Cheng-Yang.Tang
Hi Wendy, Thanks very much for your explanation. Louis On Wed, 2006-09-27 at 07:44 -0700, Wendy Smoak wrote: On 9/27/06, Cheng-Yang.Tang [EMAIL PROTECTED] wrote: I create my own artifacts and archetypes, and deploy them into my own repository. The repository is specified in

RE: M2 EJB plugin

2006-09-27 Thread Daryl.Dwyer
Which version of the plugin? I think you have to use 2.1 which I believe is still a SNAPSHOT. -Original Message- From: alonso [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 4:23 AM To: users@maven.apache.org Subject: M2 EJB plugin Hi there, I'm trying to package an

Multimodule builds with same-named sub-modules

2006-09-27 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi everyone. I have two projects which are modules of a parent project. These projects have modules that are named the same. When run separate, the builds for the projects work fine. However, when run from the parent, [INFO] Project 'a:a' is duplicated in the reactor is produced. Here is what I

Re: Multimodule builds with same-named sub-modules

2006-09-27 Thread Raphaël Piéroni
Hi Alexander Your problem does not belong to where are exactly located your projects on your filesystem. Your problem is that you have define two projects with the same groupId and artifactId. In maven there must be unicity between a project and it name which is composed on groupId, artifactId

RE: Repository configuration

2006-09-27 Thread Bravo, Kris
I think you cross reference by the id, although I've never done this before. If this isn't implemented, it's definitely a good idea and worthy of a JIRA ticket. mirror -- idextranet.repo/id mirrorOfsnapshots/mirrorOf nameProject Snapshots/name

RE: War: Exclude A Transitive Dependency

2006-09-27 Thread Douglas Ferguson
That only works for war overlay right? This is a war with jar deps. I am picking up the j2ee.jar through a jar dep. I want it at compile time but I don't want it in my war. I think the only solution is to duplicate the transitivbe dependency in the local project and mark it provided.

Re: Uploading multiproject to central repo: Packaging cannot be POM when creating an upload bundle.

2006-09-27 Thread Geoffrey De Smet
We 'll wait with pushing Spring-richclient to Ibiblio till http://jira.codehaus.org/browse/MREPOSITORY-3 is fixed. (Anyone else is free to push it up there though) With kind regards, Geoffrey De Smet Geoffrey De Smet wrote: We 'd like to get spring-richclient 0.2.1 (build with m2) on the

packaging for projects that do not produce artifacts

2006-09-27 Thread Janos Mucsi
Hi I am not sure whether this question is in agreement with the Maven paradigm. I want to have a Maven project that only deploys an application. Therefore, I can create a plugin that does the job. But packaging still has to be set to something even if the output (an empty jar) is thrown away.

Re: packaging for projects that do not produce artifacts

2006-09-27 Thread dan tran
configure the project's packaging as pom, then only pom is deployed. -D On 9/27/06, Janos Mucsi [EMAIL PROTECTED] wrote: Hi I am not sure whether this question is in agreement with the Maven paradigm. I want to have a Maven project that only deploys an application. Therefore, I can create a

Re: Creating a Java application

2006-09-27 Thread Kaare Nilsen
On 26/09/06, Xavier Toth [EMAIL PROTECTED] wrote: Great, do you have a url for appassembler? http://mojo.codehaus.org/appassembler-maven-plugin/ On 9/25/06, Kaare Nilsen [EMAIL PROTECTED] wrote: check out the appassembler plugin in the mojo project, works great /Kaare On 25/09/06,

All files not being copied when deploying

2006-09-27 Thread Tom Hurley
Hi, I have a web application and when I deploy, only some of my files are being copied from my webapp directory to the target directory. I get the following error which makes sense as the files are not being copied. [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp webResources to

Re: All files not being copied when deploying

2006-09-27 Thread Wendy Smoak
On 9/27/06, Tom Hurley [EMAIL PROTECTED] wrote: I have a web application and when I deploy, only some of my files are being copied from my webapp directory to the target directory. I get the following error which makes sense as the files are not being copied. ... [INFO] Error assembling WAR:

Re: Repository configuration

2006-09-27 Thread Todd Nine
Unfortunately I don't think this exists, I receive the following error Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://maven.nineconsulting.net/org/apache/maven/wagon/wagon-ftp/1.0-alpha-6/wagon-ftp-1.0-alpha-6.pom at

RE: [M2] Mirror

2006-09-27 Thread Lakshman Srilakshmanan
Hi Remy, I would seriously question the need to get a mirror of central. For one thing, it's 5GB. Secondly you would never use it all. You would probably use a small fraction (ie at most 10%). As suggested by Tamás Cservenák, you should consider using proximity. It works like central and

RE: Dependency management

2006-09-27 Thread Lakshman Srilakshmanan
Hi Alexander Yann I believe if you declare a dependency and don't have it specified as a module, maven will try and download it from the repository. Thanks Lakshman -Original Message- From: Yann Le Du [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 September 2006 3:05 AM To: Maven

RE: Dependency management

2006-09-27 Thread Adrian Shum
I think that's exactly what Yann said :) if it is only a dependency but not a module, maven will NOT build it. It will download from repository (either local or remote) instead. Adrian Shum -Original Message- From: Lakshman Srilakshmanan [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: Getting error in running maven

2006-09-27 Thread Chris Novak
I noticed that I had the same error when by mistake putting the intstr tag twice inside of emma, and trying to point to a path using the instrpathref attrib instead of instrpath : emma enabled=${emma.enabled} instr instrpathref=${build.exploded.dir}/WEB-INF/classes