[INFO] An invalid artifact was detected.

2007-10-02 Thread siegfried
I downloaded a maven, hibernate, spring demo six months ago from virtuas.com. I thought I remembered it working with "mvn test" but I might have since upgraded maven (I'm not sure). I do know I am running mvn 2.0.7. Can anyone tell me what is wrong. Below are the output and pom.xml. Thanks, S

Re: setting up rsync remote repo and release questions

2007-10-02 Thread Dan Tran
just curious, why repackage lucene? -D On 10/2/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > 1) yes > 2) yes > > On 10/3/07, Mark Diggory <[EMAIL PROTECTED]> wrote: > > I'm following the guidelines located here and trying to prepare our > > repository to be rsynced into the central repo. > > >

Re: Maven Performance

2007-10-02 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Angel Sotirov wrote: > Hi > > We are using Maven2 - Archiva and last two weeks we have serious > performance problems. Maven is taking more than 15min to build > relatively small project. Apparently the problem is getting updates > from one of the

Re: setting up rsync remote repo and release questions

2007-10-02 Thread Carlos Sanchez
1) yes 2) yes On 10/3/07, Mark Diggory <[EMAIL PROTECTED]> wrote: > I'm following the guidelines located here and trying to prepare our > repository to be rsynced into the central repo. > > http://maven.dspace.org/release > http://maven.dspace.org/snapshot > > I have a few questions. > > 1.) by "r

Re: Remote Debugging on Linux

2007-10-02 Thread Michael McCallum
check that the tests are not forked in a separate vm... in which case you will need the debug options for the forked vm not the maven one... On Wednesday 03 October 2007 06:07, EN wrote: > Hi, > > Using Maven 2.0.7 on Linux, JDK 1.5, I'm trying to remote debug my code. I > changed MAVEN_OPTS and

Re: Maven 2 and JDK 6

2007-10-02 Thread Michael McCallum
you mean you are building a project with jdk6 and maven or you are trying to build maven with jdk6? I am using jdk6 without any problems mvn --version Maven version: 2.0.7 Java version: 1.6.0_02 OS name: "linux" version: "2.6.21-gentoo-r4-mm4" arch: "i386" we have a mixture of windows and linu

Re: [Eclipse] How to exclude "provided" maven dependencies when publishing to server

2007-10-02 Thread Jim Sellers
That sounds very similar to last comment on the ticket that I linked to. 1) the eclipse plugin puts all dependencies onto the .classpath file (because it doesn't understand scope for normal jars). 2) The eclipse tool copied all jars into your web container (jboss, tomcat, ...) but maybe I'm just

Re: Including JavaScript in xdoc

2007-10-02 Thread Eric Redmond
Other than a custom .vm template, have you tried single quotes? -- Eric Redmond http://www.coderoshi.com/ On 9/28/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > Has anyone successfully included JavaScript in xdoc rendered by the > site plugin? Brian ran into this trying to add Google search to

RE: Enforce environment variable without transitive dependencies?

2007-10-02 Thread Brian E. Fox
Set false in the execution IIRC (I forget the exact location, but that should get you started) -Original Message- From: Matthew Flower [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 02, 2007 4:37 PM To: users@maven.apache.org Subject: Enforce environment variable without transitive depe

Re: NullPointerException when adding a new build definition

2007-10-02 Thread Anshula
Hi, Even I observed the same bug. After opening the build definition for each project and saving it again, the builds start working correctly. But today I observed another bug. I have an existing default build definition for each of my projects (that has been exported from Continuum-beta2) . I t

Enforce environment variable without transitive dependencies?

2007-10-02 Thread Matthew Flower
I am trying to ensure that a user always specifies a particular environment of either "dev", "qa", or "prod". I've been doing so by doing: org.apache.maven.plugins maven-enforcer-plugin enf

seam builds with maven ant tasks

2007-10-02 Thread John J. Franey
Can someone with experience using maven's ant task help out the seam team? Check out http://in.relation.to/Bloggers/Pete Pete Muir's blog . I'm trying to help but botching it up. Thanks, John -- View this message in context: http://www.nabble.com/seam-builds-with-maven-ant-tasks-tf4557864

setting up rsync remote repo and release questions

2007-10-02 Thread Mark Diggory
I'm following the guidelines located here and trying to prepare our repository to be rsynced into the central repo. http://maven.dspace.org/release http://maven.dspace.org/snapshot I have a few questions. 1.) by "release" do you mean that only true versioned releases (not snapshots) can be

Re: [Eclipse] How to exclude "provided" maven dependencies when publishing to server

2007-10-02 Thread Juan Ignacio Garzón
Not exactly. I'm not using sysdeo's tomcat, just Eclipse WST with a Server configured, and it deploys my app by copying all the files inside tomcat (it also configures a default context). The problem is that the provided-scope jars get copyied too by eclipse and they shouldn't (a good example is se

Re: [Eclipse] How to exclude "provided" maven dependencies when publishing to server

2007-10-02 Thread Jim Sellers
Is this your issue? http://jira.codehaus.org/browse/MECLIPSE-79 HTH Jim On 10/2/07, Juan Ignacio Garzón <[EMAIL PROTECTED]> wrote: > > Hi, I'm using m2eclipse 0.0.10, Eclipse 3.3.0, Maven 2.0.7. > > I have added some maven dependencies using a "provided" scope: > > > pae > libra

Re: Site generation contain Date and Time ?

2007-10-02 Thread Dennis Lundberg
Mac-Systems wrote: Hello, actually my Generated Site only have an Date at Top of Page. Is there a short solution that will contain the publishing Time also ? I haven't tried this but anyway, you have something like this in your site.xml now: Try to change that to thanks, Jens --

didnt get this phenomena with symlinks

2007-10-02 Thread Sonar, Nishant
Hello I have a dir structure as LoginModules |---LMCore |---LMHttp |---LMWebTest |---supportfiles what I want to do is 1 . In the parent pom (LoginModules), I am copying something from a 'suppportfiles' in To "target/generated-resources/deployable/server/default/". 2. For the

Re: How to always get latest version of the dependency?

2007-10-02 Thread Wendy Smoak
On 10/1/07, siegfried <[EMAIL PROTECTED]> wrote: > How do I always download the latest version of the dependency? So far, I've > always had to specify the version of the dependency I want. You have to specify a version. Maven does have the concept of dependency ranges... I wouldn't do it myself,

Remote Debugging on Linux

2007-10-02 Thread EN
Hi, Using Maven 2.0.7 on Linux, JDK 1.5, I'm trying to remote debug my code. I changed MAVEN_OPTS and running remote debug (both on IDEA and Eclipse). Running mvn test, maven start listening on the port and when I start my debug session, the build continue but it does not stop at my breakpoint.

Re: multi-module unit testing

2007-10-02 Thread Awaragi
Thanks guys for all the usefull insight. I guess there is no easy solution to this. I would have thought that test inheritance/composition was a common pattern that maven supported. I guess I need to carefullu think about how to split modules or perhaps some very restricted code duplication shou

Re: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Vincent Massol
On Oct 2, 2007, at 4:10 PM, Wim Deblauwe wrote: For launch4j I simply used its Ant task that I called using the AntRun plugin. Good idea, I current use the maven plugin ( http://9stmaryrd.com/tools/launch4j-maven-plugin), but it is not maintained anymore it seems. Right. I looked at i

Re: How to always get latest version of the dependency?

2007-10-02 Thread Heinrich Nirschl
On 10/2/07, siegfried <[EMAIL PROTECTED]> wrote: > How do I always download the latest version of the dependency? So far, I've > always had to specify the version of the dependency I want. You always have to specify the version. This helps to get repeatable builds. As long as your project is stil

Re: When builds are done in multi-module projects ?

2007-10-02 Thread Emmanuel Venisse
Damien Lecan a écrit : Can you look at logs the "enqueuing" lines to see if projects are in the right order? It seems. They are always in the same order for each build definition executions, but not exactly as the same as it is this displayed by Reactor when builing from parent pom. Subproje

Re: Setup gotchya

2007-10-02 Thread Jason Nerothin
Seems to be a problem with name resolution on the network level. Probably the (windows) DNS service. I've reset the global settings.xml file to point to ibiblio and it seems to work. Thanks for the help. I should have read the stacktrace more closely. On 10/2/07, Daniele De Francesco <[EMAIL PROT

Re: Setup gotchya

2007-10-02 Thread Daniele De Francesco
Hi, your stacktrace would suggest that you are experiencing some network trouble, if you are running a fedora-like linux distro make sure that SELinux is not interfering regards, On 10/2/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > You can delete the mirror -- that is the default for M2.0.7

Maven 2 and JDK 6

2007-10-02 Thread aminmc
Hi I am trying to do a build maven2 and JDK 6 and I getting test failures (nullpointer exceptions) from running some test cases. These test cases use mock objects and simulate xwork actions. The same tests run and pass in eclipse IDE using JDK 6. Has anyone had the same experience, if so wo

Re: Multi-module build failing to resolve classifier

2007-10-02 Thread Dave Feltenberger
Actually, I should clarify: ProjectConsumingWebService does NOT fail to resolve the dependency - at least, Maven doesn't complain that it can't find it - but it is not adding it to the build path, because I get compilation errors related to missing classes that are in the client classifier. On 10/

Multi-module build failing to resolve classifier

2007-10-02 Thread Dave Feltenberger
All - I have a multi-module build (maybe 15 modules in all), and one of the projects is failing to resolve a dependency on an artifact with a classifier. WebServiceProject - WAR artifact - client stubs (using a classifier) ProjectConsumingWebService - depends on WebServiceProject-client When

Re: multi-module unit testing

2007-10-02 Thread Éric Daigneault
Hi Pierre, It all depends on what you need to share. I discovered that a lot of the code I needed to share were things like data set loaders for specification tests for example. These are generic by nature and do not require any dependencies, thus making isolation in a separate module pretty str

Re: POM-project as parent

2007-10-02 Thread Wayne Fay
> IMO the relative path option was a terrible idea and never should have been > allowed it just encourages people to make weird fixed deps between projects > that never resolve for other developers Couldn't agree more! Wayne - T

Maven Performance

2007-10-02 Thread Angel Sotirov
Hi We are using Maven2 - Archiva and last two weeks we have serious performance problems. Maven is taking more than 15min to build relatively small project. Apparently the problem is getting updates from one of the 4 Archiva repositories. What could the cause of this? Could it be a Maven's

Re: Assemby-Plugin: modify the assembly before it is installed

2007-10-02 Thread John Casey
I'd try this last approach, using the "dir" format for the first pass to sort of stage out the assembly to a directory structure. From there, you can work on the assembly directory using a custom plugin, then take a second pass of the assembly plugin to simply archive the staged directory into a zi

Re: Weird behavior in user management

2007-10-02 Thread Emmanuel Venisse
Iker Almandoz a écrit : Hi Emmanuel, I have gone over the exported files and have noted the following: - uesrs.xml Guest user has no e-mail address assigned - keys.xml does not show all the users (I guess because some have never used the system so far) - In rbac.xml all users are shown and all

Re: Setup gotchya

2007-10-02 Thread Wayne Fay
You can delete the mirror -- that is the default for M2.0.7. (I think it switched in M2.0.6 but I could be wrong.) Are you sure you're not behind a proxy, or running some anti-virus software that captures outgoing packets, or something else similar either installed on your box or somewhere in your

Re: Optional Mojo Execution?

2007-10-02 Thread Manos Batsis
Manos Batsis wrote: The proper way of excluding certain reports from rendering is however, to specify a configuration in the plugin configuration. See the example in the project-info-reports [2]. I was looking at exactly this about an hour ago and, going over the xref pages, could not figure

Re: Weird behavior in user management

2007-10-02 Thread Iker Almandoz
Hi Emmanuel, I have gone over the exported files and have noted the following: - uesrs.xml Guest user has no e-mail address assigned - keys.xml does not show all the users (I guess because some have never used the system so far) - In rbac.xml all users are shown and all of them have a role assigne

Re: Make a Codehaus plugin works on a local configuration

2007-10-02 Thread dvicente
i think the problem is : when you add this in the pom.xml of a plugin: ... maven-plugin-plugin dashboard-report ... ...

Re: Multimodule code coverage report

2007-10-02 Thread dvicente
i think the problem is : when you add this in the pom.xml of a plugin: ... maven-plugin-plugin dashboard-report ... ...

Re: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Wim Deblauwe
> > For launch4j I > simply used its Ant task that I called using the AntRun plugin. > Good idea, I current use the maven plugin ( http://9stmaryrd.com/tools/launch4j-maven-plugin), but it is not maintained anymore it seems. -- Vigilog - an open source log file viewer: http://vigilog.sourceforg

Re: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Manos Batsis
Thanks for all the info, definitely useful for me as well. Cheers, Manos Vincent Massol wrote: Hi, I use 2 installers: * IzPack to generate a generic JAR installer * launch4j to wrap the generic JAR installer into an EXE for windows platforms I got the IzPack maven plugin from http://

Re: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Vincent Massol
Hi, I use 2 installers: * IzPack to generate a generic JAR installer * launch4j to wrap the generic JAR installer into an EXE for windows platforms I got the IzPack maven plugin from http://jira.codehaus.org/browse/ MOJO-277 which I installed in my custom remo repo. For launch4j I simply

Re: multi-module unit testing

2007-10-02 Thread Francois Fernandes
Hi Pierre Indeed you may have cyclic dependencies. The solution that I use for this problem is to provide the test-classes as a speperate artifact. The maven-jar-plugin provides a convinient way to do so: http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html The test jar mojo gene

Contract Position in Minneapolis, MN

2007-10-02 Thread Nox Rupawalla
Hi Folks, Don't know if I am allow to plug jobs on this mailing list or not but was told by a friend (who is on this mailing list I believe) that there are some quality people on this mailing list who could help me out. I have a contract position open here in Minneapolis, MN. Lo

Re: Setup gotchya

2007-10-02 Thread Jason Nerothin
No, I'm not behind a proxy. A bit more information: I made the two changes. The first is an attempt to force mvn to use maven.org's central site, akin to what John suggested: repo1.maven.org central force connect to maven.org http://repo1.maven.org/maven2/ Now,

[Eclipse] How to exclude "provided" maven dependencies when publishing to server

2007-10-02 Thread Juan Ignacio Garzón
Hi, I'm using m2eclipse 0.0.10, Eclipse 3.3.0, Maven 2.0.7. I have added some maven dependencies using a "provided" scope: pae library 1.0 provided <--- this line But,the problem is, that when I publish my site using eclipse, that dependency get's deploy

Re: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Manos Batsis
John Coleman wrote: Funny you should mention this as I was just pondering this yesterday, so many thanks for posting about IZPack. We send WARs to our clients, but it would be nice to be able to edit the config files embedded in the WARs, prior to dropping the WAR into the container. At present

RE: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread John Coleman
Hi, Funny you should mention this as I was just pondering this yesterday, so many thanks for posting about IZPack. We send WARs to our clients, but it would be nice to be able to edit the config files embedded in the WARs, prior to dropping the WAR into the container. At present they drop the WAR

Re: Maven JavaScript Plugin 1.2 released

2007-10-02 Thread Insitu
It works ! Thanks . -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: access to MavenProject help

2007-10-02 Thread Mark Russell
I got that code directly from the Mojo Developer Cookbook wiki page (http://docs/codehaus.org/MAVENUSER/Mojo+Developer+Cookbook). It was wrong on the page so I went in and fixed the page. It now contains the correct code. Hervé BOUTEMY wrote: I see 1 typo that would explain the problem: par

RE: convincing Workplace to use Maven

2007-10-02 Thread Marziou, Gael
Depending on which technology stack you are using you may have hard time to sell this migration, especially if you're building J2EE apps mixing EJBs and webapps deployed on a commercial platform. Make sure you don't propose only a tool (maven) but rather a full development environment with a r

Re: How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Manos Batsis
Wim Deblauwe wrote: I have a question for the people that use maven to create an application (as opposed to a library). How do you provide an easy start point for your application? Do you use webstart? Do you use the assembly plugin and add .bat and .sh files to it? Do you create an installer (w

Re: access to MavenProject help

2007-10-02 Thread Mark Russell
Thanks for the help. I must have been working on that too long to see the error. Many thanks for pointing that out to me that worked Hervé BOUTEMY wrote: I see 1 typo that would explain the problem: parameter instead of @parameter regards, Hervé Le mardi 2 octobre 2007, Mark Russell a écri

How do people handle installers/exe/bat/sh in maven?

2007-10-02 Thread Wim Deblauwe
Hi, I have a question for the people that use maven to create an application (as opposed to a library). How do you provide an easy start point for your application? Do you use webstart? Do you use the assembly plugin and add .bat and .sh files to it? Do you create an installer (with a maven plugi

Site generation contain Date and Time ?

2007-10-02 Thread Mac-Systems
Hello, actually my Generated Site only have an Date at Top of Page. Is there a short solution that will contain the publishing Time also ? thanks, Jens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: POM-project as parent

2007-10-02 Thread Michael McCallum
you should define your repositories in a profiles.xml or the settings.xml and provide that to the users... don't define the repositories in the parent pom, from my understanding this will be the recommended approach going forward with maven 2.1... it resolves many problems particularly in comme

Re: What value do I set M2_REPO to?

2007-10-02 Thread Daniele De Francesco
Hi, on Linux/*nix is: /home//.m2/repository FYI Bye On 10/1/07, Alexander Sack <[EMAIL PROTECTED]> wrote: > > Your Maven 2 repository which on windows would be: > > C:\Documents and Settings\\.m2\repository > > etc. > > -aps > > On 10/1/07, siegfried <[EMAIL PROTECTED]> wrote: > > > > > > > >

maven dependency management

2007-10-02 Thread Eguzki Astiz Lezaun
Hello, In our project, we have two different modules separated into two eclipse projects. We use ant for project compilation, packaging and deployment. Dependency management is achieved using maven inside ant build.xml script. One of the modules depends on the other, i.e. module B depends on

RE: POM-project as parent

2007-10-02 Thread Jörg Schaible
Erik Drolshammer wrote on Tuesday, October 02, 2007 11:11 AM: > Hi! > Context: > I have a set of projects and some of these should use > webstart (jnlp). I > have set up and configured the maven-webstart-plugin. This > configuration have I made generic and put in a separate project with > packagin

[maven2 antrun plugin] problem with classpath

2007-10-02 Thread Guillaume Boucherie
Hi all, I'm trying to use xdoclet for my project via the antrun plugin, but I'm encounter problem with classpath. I configure antrun like this: [...] maven-antrun-plugin process-resources

POM-project as parent

2007-10-02 Thread Erik Drolshammer
Hi! Context: I have a set of projects and some of these should use webstart (jnlp). I have set up and configured the maven-webstart-plugin. This configuration have I made generic and put in a separate project with packaging pom and let the projects that need jnlp inherit from this parent. The par

Re: Assemby-Plugin: modify the assembly before it is installed

2007-10-02 Thread Kalle Korhonen
Or, bind the assembly plugin to two different phases with different assembly descriptors. On 10/2/07, Kalle Korhonen <[EMAIL PROTECTED]> wrote: > > I doubt so. Use some other plugin (like the dependency plugin) to copy the > resources, modify as you like with other plugins, then use filesets to >

Re: Assemby-Plugin: modify the assembly before it is installed

2007-10-02 Thread Kalle Korhonen
I doubt so. Use some other plugin (like the dependency plugin) to copy the resources, modify as you like with other plugins, then use filesets to assembly the modified files together. Kalle On 10/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > is there a way to modify the assembly

Re: tutorial doxia and maven plugin

2007-10-02 Thread Lukas Theussl
You can use apt or docbook sources instead of xdocs. -Lukas Giovanni Pedone wrote: Hi, I filed the attach on the issue you opened. Thank you and let me know about your findings. Meanwhile, is there any other way to format the content files to allow them to be formatted as PDF ? Giovanni ---

[maven2 plugin development] classpath management

2007-10-02 Thread Guillaume Boucherie
Hi all, Is it possible to access and modify the classpath of a maven2 plugin at runtime ? In fact I'm trying to develop a plugin and I need to have the class files, generated in the compile phase, in the classpath for my plugin to work correctly. How can I do that ? Thanks in advance. -- CletteB

Re: Assemby-Plugin: modify the assembly before it is installed

2007-10-02 Thread Daniele De Francesco
Hi In theory, being maven2 plugin a program written in java or ant script you can do whatever you want with it. Here's a reference that I believe it might be useful to write and build plugins: http://www.devzuz.com/web/guest/products/resources#BBWM bye On 10/2/07, [EMAIL PROTECTED] <[EMAIL P

Using maven project as utility file

2007-10-02 Thread Ashley Williams
Hi, On a previous ant based project I was able to create a build.xml file that contained many utilities for the dev team, such as "open a dos prompt at the install directory" or "open all log files in a text editor" and so on. We then tied these ant targets to eclipse external tools so that we

Assemby-Plugin: modify the assembly before it is installed

2007-10-02 Thread Armin_Sproll
Hi, is there a way to modify the assembly (e.g. with a custom plugin) after it created the assembly directory structure and before it creates the tar/jar/zip file? My plugin would for example modify some files within the assembly folder before the archive is created. Thanks for any help, Armin

Re: Setup gotchya

2007-10-02 Thread Daniele De Francesco
Are you behind a proxy? On 10/1/07, Jason Nerothin <[EMAIL PROTECTED]> wrote: > > Hello, > > I've been trying to get maven 2 working for a while now, and have had next > to zero luck doing so. I suspect has something to do with codehaus servers > being down, which maven apparently wishes to conta