Unjarring Jars declared as Maven Dpendencies

2007-01-12 Thread raju
Hi, Currently i am using ant unjar task to unjar all jar files in a given folder.I am invoking this from maven using maven-antrun-plugin.Its working fine.But i need to unjar specific jars in a repository. Is there any way i can refer to maven dependencies and unjar files based on group-id and ar

Re: xdoc test results for Dennis

2007-01-12 Thread drekka
Hi Dennis, TO ensure you have everything I've uploaded a log file by executing 'mvn -X site > lot.txt' Click on http://www.nabble.com/file/5619/log.txt log.txt enjoy Derek ;-) -- View this message in context: http://www.nabble.com/xdoc-test-results-for-Dennis-tf2955728s177.html#a831203

[ANN] Eclipse PDE Maven Plugin 1.0-alpha-1 Released

2007-01-12 Thread Dan Tran
The Mojo team is pleased to announce the first alpha release of the Eclipse PDE Maven Plugin The site is at: http://mojo.codehaus.org/pde-maven-plugin -Dan

[ANN] DbUnit Maven Plugin 1.0-beta-1 released

2007-01-12 Thread Dan Tran
The Mojo team is pleased to announce the first beta release of the DbUnit Maven Plugin The site is at: http://mojo.codehaus.org/dbunit-maven-plugin -Dan

m1 -> m2 and the maven-one-plugin

2007-01-12 Thread veshi
Greetings -- I've begun the process of migrating from maven1 to maven2 and I ran across the maven-one-plugin. It seems that version 1.0 does not contain the functionality to convert a project.xml to a pom.xml. Is version 1.1 archived anywhere? ...or do I have to grab it from the source reposito

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Barrie Treloar
On 1/13/07, Christian Goetze <[EMAIL PROTECTED]> wrote: John Casey wrote: > you'll need the following: > > > >apache.snapshots >http://people.apache.org/repo/m2-snapshot-repository > > > > Note that this repository has NOT disabled releases...this is important > because of a bug in

Restricting maven's dependency search

2007-01-12 Thread Thomas Knowlton
I am in the process of migrating the build of a largish project from Ant to Maven 2. I'm trying to figure out whether it's possible and how to configure a Maven project to depend on artifacts from a given repository ONLY. That is, I want to restrict Maven's search path to a "blessed" repository,

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread John Casey
I think archiva may be a good option to replace maven-proxy, though I don't know much about using it. I haven't had a need for something like this yet. -j On 1/12/07, Christian Goetze <[EMAIL PROTECTED]> wrote: John Casey wrote: > you'll need the following: > > > >apache.snapshots >

eclipse:generate-classpath and .classpath

2007-01-12 Thread Sabiq, Reshat
I'd appreciate any feedback on this: i'm getting jars from WEB-INF/lib listed under java resources in RAD6 in addition to jars put in by eclipse plug-in, which reside in MAVEN_REPO. So most of them are duplicated in .classpath by the IDE, after running eclipse:generate-classpath. Making .classp

Re: howto get scm revision information into a assembly

2007-01-12 Thread berndq
http://jira.codehaus.org/browse/SCM-270 for the records here : looks to me like svn must be set to run in english, then this all works for me. File an issue on Maven-SCM project and we'll fix it. Emmanuel berndq a écrit : Hi, I can get it into a property but can't get it into e.g. the m

Re: Webapp Standard Directory Layout

2007-01-12 Thread Wayne Fay
I put my images and javascript files etc directly into webapp. And files which I use internally in my code go into src/main/resources. So my personal usage seems to reflect that in the Spec. Sounds like the documentation of m-war-p should probably be updated. Wayne On 1/12/07, Shelley L <[EMAIL

Webapp Standard Directory Layout

2007-01-12 Thread Shelley L
The sample usage example of the maven-war-plugin [1] demonstrates a war's project structure with images in the src/main/resources directory, and a resulting package structure with the images in web-inf/classes. According to the Servlet 2.4 specification [2]: "The WEB-INF node is not part of the

Maven2 Surefire Aspectj LTW Spring Integration Tests Don't Work???

2007-01-12 Thread Terry C Martin
I have an application in which I make use of AspectJ Load-time-weaving to inject pojos with services from Spring. I have some integration tests which test that the pojo is able to be injected and collaborate with the injected service successfully. These tests run successfully within Eclipse's en

RE: applying filters to a site

2007-01-12 Thread Riboe, Jens
This is indeed too many steps involved and if you try it for a multi-module project it breaks down. Unless you replicate a substantial set of the pom properties, which makes the idea of pom inheritance less appealing. Resource filtering happens during compilation, which means all sub-modules try t

Re: [m2] any estimate for the next maven-ejb-plugin release (2.1) ?

2007-01-12 Thread Wayne Fay
I know the Maven Dev team is working on M2.0.5 along with some new plugin releases right now, so perhaps they can look at m-ejb-p once those releases are all done. Unsure when the next release will be available; you'd need to check with the developer(s) responsible for m-ejb-p to be sure. I'm cur

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Christian Goetze
John Casey wrote: you'll need the following: apache.snapshots http://people.apache.org/repo/m2-snapshot-repository Note that this repository has NOT disabled releases...this is important because of a bug in Maven <= 2.0.4, where plugin-version resolution will only check repositorie

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread John Casey
you'll need the following: apache.snapshots http://people.apache.org/repo/m2-snapshot-repository Note that this repository has NOT disabled releases...this is important because of a bug in Maven <= 2.0.4, where plugin-version resolution will only check repositories with releases enab

eclipse:generate-classpath and .classpath

2007-01-12 Thread Sabiq, Reshat
I'd appreciate any feedback on this: i'm getting jars from WEB-INF/lib listed under java resources in RAD6 in addition to jars put in by eclipse plug-in, which reside in MAVEN_REPO. So most of them are duplicated in .classpath by the IDE, after running eclipse:generate-classpath. Even making .c

Re: [XML-RPC] using the api

2007-01-12 Thread Andrew Williams
Though I cannot remember just now I know that some of the getSomethings calls return less detailed info than the individual getSomething calls. for example getBuilds will not return all the dumped data but getBuild will. At least something along those lines iirc. A On 12 Jan 2007, at 16:19

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Christian Goetze
Christian Goetze wrote: John Casey wrote: If you use the 2.2-SNAPSHOT version of the assembly plugin, you can specify the in the dependencySet to be something like the following descriptor has: Stupid question: what is the groupId of the 2.2-SNAPSHOT version of the assembly plugin? It d

RE: Eclipse not picking up settings.xml

2007-01-12 Thread Ryan Slobojan
Hi Alex, If by 'Eclipse' you mean the M2Eclipse plugin, that's a known issue with the plugin - it never reads settings.xml. Thanks, Ryan Slobojan -Original Message- From: Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] Sent: Friday, January 12, 2007 10:25 AM To: users@

Eclipse not picking up settings.xml

2007-01-12 Thread Morgovsky, Alexander \(US - Glen Mills\)
What do I need to do to configure Eclipse 3.2 to pick up the settings.xml file defined in %M2_HOME%/conf? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended re

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Christian Goetze
John Casey wrote: If you use the 2.2-SNAPSHOT version of the assembly plugin, you can specify the in the dependencySet to be something like the following descriptor has: Stupid question: what is the groupId of the 2.2-SNAPSHOT version of the assembly plugin? It doesn't seem to be org.apache

Re: enabling logging

2007-01-12 Thread Mick Knutson
i normally always run: mvn -e Then to add debug tracing I use: mvn -X -e On 1/11/07, Nir Feldman <[EMAIL PROTECTED]> wrote: Just run mvn -X -Original Message- From: Dmitry Beransky [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 6:22 PM To: Maven Users List Subject: ena

[m2] any estimate for the next maven-ejb-plugin release (2.1) ?

2007-01-12 Thread Dário Luís Coneglian Oliveros
Does anyone know when maven-ejb-plugin 2.1 will be released ? Thanks, Dário - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: xdoc test results for Dennis

2007-01-12 Thread Dennis Lundberg
drekka wrote: Hi Dennis, I'm running this under WinXP. Will that make a difference ? It shouldn't, as I run that too :) This is really weird. I've deleted the whole org/apache/maven directory just to be sure. Then deleted the /target directory and ran mvn clean site. Downloaded versions are:

jsmooth anyone?

2007-01-12 Thread Christian Goetze
We're struggling with getting that to work... and I was wondering if anyone had some working code to contribute :) Ciurrently, we're trying to hook in an ant task to do this. -- cg - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: gwt maven 2

2007-01-12 Thread Iulian Costan
On 1/12/07, Iulian Costan <[EMAIL PROTECTED]> wrote: On 1/12/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: > > Thank you Julian, > I have one more quetsion: How do you orginize directory structure? as > maven 2 directory structure or you leave it as gwt directory structure > that gwt project crea

Re: gwt maven 2

2007-01-12 Thread Iulian Costan
On 1/12/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: Thank you Julian, I have one more quetsion: How do you orginize directory structure? as maven 2 directory structure or you leave it as gwt directory structure that gwt project creaton tool is creating? i have maven2 structure, src/{main,tes

Re: [XML-RPC] using the api

2007-01-12 Thread Emmanuel Venisse
Laurent Forêt a écrit : Hi, I am working on the Netbeans integration of continuum and I have a trouble in getting developer list on the "continuum.getProjects" call. Indeed, for each project the developers list is empty. I have to call the "continuum.getProject" to get the real developers list

Re: Howto deploy source jars to local repository maven2

2007-01-12 Thread Thomas Wabner
Hi Yann Le Du, many many thanks for this hint ;-) Works perfect *jippi* - Thomas Yann Le Du schrieb: Hi Thomas, You can use the performRelease option : mvn install -DperformRelease=true It installs, along the usual JAR, a "source JAR" and a "Javadoc JAR". - Yann 2007/1/12, Thomas Wabner <

Re: maven-jar-plugin(?): customized classpath

2007-01-12 Thread Wayne Fay
I had to do this a while back so it might have changed in a more recent build, but when I had something like this, I just had to specify my own complete MANIFEST.MF file and tell Maven to use it instead of generating one. You either took the Maven-generated Manifest or built your own entirely (at

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Max Bowsher
Christian Goetze wrote: > So I have my jar plugin include the classpath in the manifest. That > classpath specifies the version text as x.y-SNAPSHOT. The assembly > plugin, on the other hand, packs the resolved snapshot name > (x.y-date.sig-buildnr) of the jars into the assembly, causing the > appl

[XML-RPC] using the api

2007-01-12 Thread Laurent Forêt
Hi, I am working on the Netbeans integration of continuum and I have a trouble in getting developer list on the "continuum.getProjects" call. Indeed, for each project the developers list is empty. I have to call the "continuum.getProject" to get the real developers list. I am using the facade al

Re: jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread John Casey
If you use the 2.2-SNAPSHOT version of the assembly plugin, you can specify the in the dependencySet to be something like the following descriptor has: bin dir false false lib ${artifactId}-${baseVersion}.${extension} -john On 1/12/07, Christian Goetze <[EMAIL

Specify META-INF location for ejb project

2007-01-12 Thread Jeremy Anderson
How do I specify the lcoation of the META-INF directory for an ejb project that doesn't follow the standard maven project structure, similar to how I specify warSourceDirectory for the war plugin? Regards, Jeremy

Re: Howto deploy source jars to local repository maven2

2007-01-12 Thread Yann Le Du
Hi Thomas, You can use the performRelease option : mvn install -DperformRelease=true It installs, along the usual JAR, a "source JAR" and a "Javadoc JAR". - Yann 2007/1/12, Thomas Wabner <[EMAIL PROTECTED]>: Hi, we have the problem that we want to deploy source jar files with maven2 to our

jar plugin and assembly plugin disagree on SNAPSHOT versions

2007-01-12 Thread Christian Goetze
So I have my jar plugin include the classpath in the manifest. That classpath specifies the version text as x.y-SNAPSHOT. The assembly plugin, on the other hand, packs the resolved snapshot name (x.y-date.sig-buildnr) of the jars into the assembly, causing the application to fail. Is there a

Re: Correlation between tagging and versioning

2007-01-12 Thread Nick Stolwijk
Most of the time when this happens and it is an open source project I check out the source and "release" it to our company repository with our companyname in the version. ie. project-1.1.1-name-1. Hth, Nick S. Yann Le Du wrote: What is this dependency ? Can't you use a timestamped version li

Re: Correlation between tagging and versioning

2007-01-12 Thread Yann Le Du
What is this dependency ? Can't you use a timestamped version like 2.0-20050406.035304-1 or something ? - Yann 2007/1/11, moraleslos <[EMAIL PROTECTED]>: I'm reading the maven release:prepare and noticed that it will not build because of SNAPSHOT dependencies. In my multiproject, I'm using a

[m2] Scoping inconsistency with multi-module build

2007-01-12 Thread Chris Eldredge
I've noticed the following problem: module a depends on commons-lang (scope compile) module b depends on commons-lang (scope provided) module c depends on module a (scope test) module c depends on module b (scope provided) If I run mvn on the top level pom (with a module set) the compile of mod

Re: Can't access ibiblio with amven anymore, with browser it works

2007-01-12 Thread Roland Kofler
Yes, connecting directly to ibiblo works, so I have to figure out whats going on with maven-proxy (didn't change it for years) thanks roland Emmanuel Venisse wrote: It's probably your maven proxy that isn't well configured, but the central repo works fine Emmanuel Roland Kofler a écrit :

Re: Can't access ibiblio with amven anymore, with browser it works

2007-01-12 Thread Thierry Lach
Check out the announcement on the maven 1 page http://maven.apache.org/maven-1.x/ On 1/12/07, Roland Kofler <[EMAIL PROTECTED]> wrote: And even if I try wget, I get 403: Forbidden [EMAIL PROTECTED] :~/releasemanagement/systemone/core/systemone-core-configuration$ wget http://repo1.maven.org/m

Re: Can't access ibiblio with amven anymore, with browser it works

2007-01-12 Thread Emmanuel Venisse
It's probably your maven proxy that isn't well configured, but the central repo works fine Emmanuel Roland Kofler a écrit : Our corporate repository and maven proxy roland Emmanuel Venisse wrote: http://development1: ??? Is it a mirror? Emmanuel Roland Kofler a écrit : funny but Down

Re: Can't access ibiblio with amven anymore, with browser it works

2007-01-12 Thread Roland Kofler
Our corporate repository and maven proxy roland Emmanuel Venisse wrote: http://development1: ??? Is it a mirror? Emmanuel Roland Kofler a écrit : funny but Downloading: http://development1:/repository/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar [WARNING] Unab

Re: Can't access ibiblio with amven anymore, with browser it works

2007-01-12 Thread Emmanuel Venisse
http://development1: ??? Is it a mirror? Emmanuel Roland Kofler a écrit : funny but Downloading: http://development1:/repository/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar [WARNING] Unable to get resource from repository systemone-snapshots (http://developmen

Re: Can't access ibiblio with amven anymore, with browser it works

2007-01-12 Thread Roland Kofler
funny but Downloading: http://development1:/repository/commons-beanutils/commons-beanutils/1.6/commons-beanutils-1.6.jar [WARNING] Unable to get resource from repository systemone-snapshots (http://development1:/repository) Downloading: http://development1:/repository/commons-beanu

Re: Can't access ibiblio with amven anymore, with browser it works

2007-01-12 Thread Tomasz Pik
On 1/12/07, Roland Kofler <[EMAIL PROTECTED]> wrote: And even if I try wget, I get 403: Forbidden [EMAIL PROTECTED]:~/releasemanagement/systemone/core/systemone-core-configuration$ wget http://repo1.maven.org/maven2/commons-configuration/commons-configuration/1.3/commons-configuration-1.3.pom -

Can't access ibiblio with amven anymore, with browser it works

2007-01-12 Thread Roland Kofler
And even if I try wget, I get 403: Forbidden [EMAIL PROTECTED]:~/releasemanagement/systemone/core/systemone-core-configuration$ wget http://repo1.maven.org/maven2/commons-configuration/commons-configuration/1.3/commons-configuration-1.3.pom --13:53:58-- http://repo1.maven.org/maven2/commons-c

Re: JavaDoc to xdoc plugin?

2007-01-12 Thread Emmanuel Venisse
you don't need to convert javadoc to xdoc. The javadoc plugin generate the javadoc and it will be part of the generate site. Emmanuel Toby Weston a écrit : Hi Folks, I could use a JavaDoc to xdoc plugin, is there one around? either for m1 or m2? I'd like to splice my javadoc into a xdoc page

JavaDoc to xdoc plugin?

2007-01-12 Thread Toby Weston
Hi Folks, I could use a JavaDoc to xdoc plugin, is there one around? either for m1 or m2? I'd like to splice my javadoc into a xdoc page and then publish it as part of the site generated by maven. Thanks, -- Toby

Re: javadoc plugin not java5 compatible?

2007-01-12 Thread Martin Gilday
Have you got your compiler plugin set to 1.5 as well? - Original message - From: "David J. M. Karlsen" <[EMAIL PROTECTED]> To: users@maven.apache.org Date: Fri, 12 Jan 2007 12:14:18 +0100 Subject: javadoc plugin not java5 compatible? Hi! I've declared my parent pom as follows: artifact

RE: passing custom parameters to a custom compiler-plugin

2007-01-12 Thread Martin Moser
Hi all, @Jörg I tried your suggestion, but it didn't work. As I understood the documentation the expression-syntax is for properties and not for parameters. @Franz During compile phase, my compiler is definitely used. I can see the output and the execution of the goal in maven's output. The

Re: gwt maven 2

2007-01-12 Thread Maruf Aytekin
Thank you Julian, I have one more quetsion: How do you orginize directory structure? as maven 2 directory structure or you leave it as gwt directory structure that gwt project creaton tool is creating? Many Thanks, Maruf Iulian Costan wrote: hey buddy, the following works for me like a charm,

javadoc plugin not java5 compatible?

2007-01-12 Thread David J. M. Karlsen
Hi! I've declared my parent pom as follows: artifactId>maven-javadoc-plugin 2.2-SNAPSHOT ${e

Howto deploy source jars to local repository maven2

2007-01-12 Thread Thomas Wabner
Hi, we have the problem that we want to deploy source jar files with maven2 to our local repository. I cannot found any documentation about the deployment of source jar's to a repository (I have also not found a goal or plugin which helps). Any hints or tipps are very welcome. Many thanks i

RE: Multi project Feature

2007-01-12 Thread Marouane Amraoui
Okay, I will test and give you a feedback soon . Thx a lot. De : Petr Ferschmann [mailto:[EMAIL PROTECTED] Envoyé : vendredi 12 janvier 2007 10:16 À : Marouane Amraoui Cc : Maven Users List Objet : RE: Multi project Feature Hello, Actually you can do

Re: gwt maven 2

2007-01-12 Thread Iulian Costan
hey buddy, the following works for me like a charm, using gwt-maven-plugin ( http://codehaus.org/~shinobu/gwt-maven-plugin/index.html) ... org.codehaus.mojo gwt-maven-plugin ${className}

RE: Multi project Feature

2007-01-12 Thread Petr Ferschmann
Hello, Actually you can do that too. But you need just one more project: root pom.xml ….. ear pom.xml ….. ejb pom.xml web pom.xml workspace pom.xml in ear, ejb, web you mark workspace as your parent. in root pom.xml you just add all modules to section. Than you run mvn eclipse:eclip

Plugin dependencies are not redefined

2007-01-12 Thread Aleksei Valikov
Hi. In my project, I am using the maven-jaxb1-plugin to compile XML Schemas into schema-derived classes. I would like to use this plugin in two modules but with different sets of plugin dependencies. For instance, in module A the maven-jaxb1-plugin needs no additional artifacts, schemas may

Re: gwt maven 2

2007-01-12 Thread Neeraj Bisht
i think you have not included the .xml file the jar or war project use tag < include>*.xml in your pom By the way maven 1.0.2 plugin is quite god and powerfull (we are using gwt plugin in maven 1.0.2 Regards Neeraj On 1/12/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: I have a gwt proj

gwt maven 2

2007-01-12 Thread Maruf Aytekin
I have a gwt project and I am trying to buil dit with maven 2. I checked out maven-googlewebtoolkit2-plugin from |http://gw-maven.googlecode.com/svn/trunk/ |and built it and installed it and dependencies to .m2 local repository. I have added this plugin in the pom as follows: com.t

RE: Multi project Feature

2007-01-12 Thread Marouane Amraoui
Thx a lot for your reply. The example that you sent me suppose we have a global container projet for all modules : Lunar (eclipse project) ….. ear ….. ejb ….. web What i need is : Lunar-ear (eclipse project + pom.xml) Lunar-ejb (eclipse project + pom.xml) Lunar-web (eclipse Projec

Re: List of dependencies

2007-01-12 Thread Matthias Wessendorf
thx! On 1/12/07, Wayne Fay <[EMAIL PROTECTED]> wrote: mvn -X will show it in an ugly indented text format. Or you can generate the site with "mvn site" and then take a look at the generated Project Information -> Dependencies page. Wayne On 1/12/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrot

Parameterized versioning

2007-01-12 Thread CHHAJED, Amit, GBM
Hello, Had a query regarding parameterized pom.xml versioning: I would like to keep the version numbers out of the pom.xml file completely, Currently I'm using the following syntax: ${module_version} And running Maven with: mvn -Dmodule_version=1.0-beta-3 deploy This is working fine, except t

Re: [m 1.1] UMLGraph: Not generating files into target/docs/apidocs

2007-01-12 Thread Gisbert Amm
Thanks for the hint, but that would be a bit over the top, since we've got about 200 projects. We use one central installation of Maven instead and if anyone doesn't get the newest version of some plugin automatically, simply deleting $HOME/.maven/cache usually fixes that. -Gisbert Arnaud HERI

Re: List of dependencies

2007-01-12 Thread Wayne Fay
mvn -X will show it in an ugly indented text format. Or you can generate the site with "mvn site" and then take a look at the generated Project Information -> Dependencies page. Wayne On 1/12/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: hi, I know there is a param to enable that maven sh

maven-jar-plugin(?): customized classpath

2007-01-12 Thread Ján Ďurovec
Hi! I would like to create a project with the following structure of the final build +- conf/ | +- +- lib/ | +- dep1.jar, dep2.jar +- myAp.jar I would like myApp to be able to access the configuration files, which can be manually achieved by putting "Class-Path: conf/ lib/dep1.jar l

maven basedir

2007-01-12 Thread cl29
we are going to change our cvs, splitting our project into modules and for this reason project.xml, build.properties and project.properties are moved to a directory. We are still using Maven 1.Old structure:project |_ build.properties |_ project.properties |_ project.xml |_ src |_ tools |_ New

List of dependencies

2007-01-12 Thread Matthias Wessendorf
hi, I know there is a param to enable that maven shows you the list of your dependencies and their dependencies, I used it already. But... I forgot and the mvn -help doesn't tell to much on that. thx, matthias -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jro