Re: Get Maven internal build statistics

2008-08-24 Thread Andreas Gies
Hi there, if you run your maven build through the Hudson ci server, Hudson will display that information for your in the module build statistc. HTH Andreas Brett Porter schrieb: Nothing like that right now, but it'd be an interesting feature request. Cheers, Brett 2008/8/15 Julien Graglia

Re: import project into Eclipse 3.4

2008-08-24 Thread Josh Long
If you're just trying to import it into Eclipse, then you should just create an Enterprise ear project and a Dynamic Web Project and add the source code to the Dynamic Web Project. Make sure you select your compiler and that you add the Dynamic Web Project. Or, maybe the configuration files for

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

2008-08-24 Thread Giovanni Azua
hi Dennis, I have been still struggling with issue MSITE-274 for quite a while. I just found out that it is not directly related to a possible fix in 2.0-beta-7 (at least not only) but instead to the doxia plugin i.e. doxia version 1.0-alpha-10 has the problem and it is fixed in 1.0-alpha-11 at

Re: Versions in a Multiproject

2008-08-24 Thread Stephen Connolly
ok, here is one solution the current behaviour is that if you have the parent in the reactor (possibly only if it is also the parent folder) then maven ignores the version. what I would do is separate the parent from aggregation so the project you use as parent does not have any child

Re: Versions in a Multiproject

2008-08-24 Thread Stephen Connolly
aha I remember now if you have the parent also the parent folder then the default value of project/parent/relativePath which is ../pom.XML will kick in if you move the parent and don't set relative path then it won't find the newer version of the patent that you have locally Sent from my

new bee

2008-08-24 Thread miro
I never used maven , I am wondering if I can download src jar files for my current porject using maven ? Its an old project and dont know what version it is using and debugging always is trouble with out src, so can maven help get all the available src for my third prty libs ? -- View this

JUnit Classpath problem

2008-08-24 Thread Michael McGrady
Below is my POM and the error log. How do I get maven to seem my junit jar? Mike Here is the POM project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

Re: JUnit Classpath problem

2008-08-24 Thread Geoffrey Wiseman
junit is scoped to test, and the file that references junit is in src/main, which wouldn't have access to test-scope deps. On Sun, Aug 24, 2008 at 1:47 PM, Michael McGrady [EMAIL PROTECTED] wrote: Below is my POM and the error log. How do I get maven to seem my junit jar? Mike --

dependency tree but for build/reporting plugins

2008-08-24 Thread Giovanni Azua
hi, The command mvn dependency:tree gives me an overview of all dependencies for my project. I would like to see the same but for the referenced maven plugins i.e. needed for build and reporting. My problem is that upon building I get zillion of doxia versions pulled out, and I would like to

Re: dependency tree but for build/reporting plugins

2008-08-24 Thread Dennis Lundberg
Run Maven with the -X command line switch to reveal all dependencies and how they are pulled in. Giovanni Azua wrote: hi, The command mvn dependency:tree gives me an overview of all dependencies for my project. I would like to see the same but for the referenced maven plugins i.e. needed

Re: new bee

2008-08-24 Thread Wayne Fay
If your third-party libs have published sources (for the versions you are using/specify in the pom) in the Maven repository, then yes, Maven can acquire them for you. How old is the project? Is it using Maven1 or Maven2 for building? Or is this an old project you are thinking of converting to

Re: new bee

2008-08-24 Thread miro
sorry its not old , it uses spring, hibernate, wicket its indeed pretty new, but no person who can say what version we are using i have to check the jar manifest,instead i want some automatic tool which will get src for all my jar files and the right version.Can maven read the manifest and

Re: new bee

2008-08-24 Thread Wayne Fay
If you convert your build to Maven (from whatever you are using now), you can specify the exact version of the various third-party tools you are using. Then there is no checking the manifest file. And assuming those third-party jars have published sources in the Maven repo, they can be

Re: How to package test jar?

2008-08-24 Thread youhaodeyi
I want to attach it to package phase and below is my pom file. But it doesn't produce the test jar file either. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId

Re: Problem when using transitive dependencies

2008-08-24 Thread Brett Porter
At present, Maven uses the declared project dependencies as the basis for sorting, not transitive dependencies. You use case sounds risky - G has obviously changed, L is using it via C and E, but C and E are not rebuilt to take advantage of the changes in G. You might know that this is the case -

Re: Problems with SCM:UPDATE on linux with Subversion.

2008-08-24 Thread Brett Porter
How did you log in to the account? IF it happened to be su USERNAME from root, you would still have root's environment. Other than that, the only reason I can think of is that root is specified in the SCM URL. - Brett 2008/8/23 Dave Rathnow [EMAIL PROTECTED]: I'm having a problem with SCM

Re: installing snapshots to an internal repository

2008-08-24 Thread Brett Porter
You may need to elaborate on your set up, as you can see here it is possible to deploy them together for build #2: http://snapshots.repository.codehaus.org/org/codehaus/redback/redback-users-api/1.1-SNAPSHOT/ That was built using the release profile in this pom:

Re: manipulating an existing archive during assembly

2008-08-24 Thread Brett Porter
Use the dependency plugin to unpack the tomcat distribution, then selectively include files in the assembly descriptor that you want to reuse. Cheers, Brett 2008/8/23 Beyer,Nathan [EMAIL PROTECTED]: I'm using the assembly plugin to generate a few archives for distribution. I'd like to be able

Re: Error message

2008-08-24 Thread Brett Porter
This might be an environmental limit for the user. Running maven as root would not generally be a good idea - does it work under a different user account? - Brett 2008/8/23 Rodrigo Villagran [EMAIL PROTECTED]: Dear Members After reviewing manuals and consult on various websites Even I can

Control repository access

2008-08-24 Thread Olivier Gies
Hi, I am switching our build processes to Maven, and investigating the possibilities to control repository access. More precisely, I would like to configure the settings.xml and/or pom.xml so that maven does NOT try to access the Maven central repository, but only our internal repository.

Re: install/deploy plugin renaming assemblies?

2008-08-24 Thread Brett Porter
This is standard practice with the Maven repository - final name is never used to represent the artifact in the repository, as the repository path formats are pre-defined. You can alter the classifier it is uploaded with through the assembly configuration, but not the other elements. If you want

Re: Control repository access

2008-08-24 Thread Brett Porter
see using a single repository here: http://maven.apache.org/guides/mini/guide-mirror-settings.html Cheers, Brett 2008/8/25 Olivier Gies [EMAIL PROTECTED]: Hi, I am switching our build processes to Maven, and investigating the possibilities to control repository access. More precisely, I