Re: Maven-Jboss-Packaging-Plugin error locating jboss-spring.xml

2008-06-11 Thread Tim Kettler
File a bug report in jira [1] to make the developers aware of it. -Tim [1] http://jira.codehaus.org/browse/MJBOSSPACK Andrew Madu schrieb: Problem solved! Even though the 'deploymentDescriptorFile' attribute is described as one which can be optionally set, this is not the case. It needs to be

AW: AW: Maven & WebSphere 6.1

2008-06-11 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello Chris, thanks for your feedback. I agree with you, local installation isn't a very good approach. As already mentioned, was6 maven plugin requires a local installation for the generation of the stubs and skeletons anyway. Therfore, I've decited to go this way, after I had tried your way.

antrun and ant's -debug or -verbose option

2008-06-11 Thread Barrie Treloar
Is it possible to get antrun to pass either -debug or -verbose to the Ant engine? I am running texen inside antrun and I don't get enough information and texen says to use -debug for more information. I guess one option would be to install ant... -

Re: [m2] issue with dependency scope

2008-06-11 Thread Wayne Fay
What does mvn help:effective-pom say about the scope of those artifacts? Wayne On Wed, Jun 11, 2008 at 6:55 PM, Mick Knutson <[EMAIL PROTECTED]> wrote: > I have these 3 dependencies that are still ending up in my war: > >* >org.aspectj >aspectjtools >1.

RE: Does explicitly activating a profile deactivate activeByDefault profiles in parent POMs?

2008-06-11 Thread Glen Mazza
Thanks...Actually, running mvn help:active-profiles [-PMetro or -PCXF] from the parent POM directory at least is showing that the profile cascades to the child POMs (although it is not clear whether the profile value cascades upwards towards the parent.) At any rate, I think I have more profoun

RE: How to make nexus work with thirdparty libraries??

2008-06-11 Thread Brian E. Fox
I assume the deploy goes ok if you can see it in the UI. Make sure the repo is part of the public group and also make sure you don't have a routing rule that is somehow causing the thirdparty to be excluded (maybe you have include org.jacorb = releases& snapshots for example) -Original Mess

Re: How to make nexus work with thirdparty libraries??

2008-06-11 Thread Stephen Duncan Jr
To match up to a server id in settings.xml if there is authentication required for the repository. On Wed, Jun 11, 2008 at 6:35 PM, Kent Närling <[EMAIL PROTECTED]> wrote: > Using a local repository? > > But then every developer has to add this to their local repository?? > And it gets even more

RE: Does explicitly activating a profile deactivate activeByDefault profiles in parent POMs?

2008-06-11 Thread Brian E. Fox
I am pretty sure it should only affect the current pom. However, perhaps there's a subtle difference between using -P to explicitly activate a profile and using a property to activate (combined with -D) -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11

Re: Maven-Jboss-Packaging-Plugin error locating jboss-spring.xml

2008-06-11 Thread Andrew Madu
Problem solved! Even though the 'deploymentDescriptorFile' attribute is described as one which can be optionally set, this is not the case. It needs to be explicitly set. Andrew On Thu, Jun 12, 2008 at 12:39 AM, Andrew Madu <[EMAIL PROTECTED]> wrote: > Hi, > could someone oblige me and test the

Does explicitly activating a profile deactivate activeByDefault profiles in parent POMs?

2008-06-11 Thread Glen Mazza
Hello, I created Mavenized web service build scripts[1] that work with either the GlassFish Metro or Apache CXF web service stacks. I was hoping that the user can just enter -PMetro or -PCXF and the scripts would give them a CXF-based or a Metro-based web service provider or SOAP client. But I t

Re: AW: Maven & WebSphere 6.1

2008-06-11 Thread Chris_Graham
Hi Kuno. I understand why you've done what you've done, but it is not a very CI friendly approach (as it does require a local install). Multiple versions, and even fix pack variations, and especially when you may wish to consider feature packs (ejb 3, web services etc), puttin

[m2] issue with dependency scope

2008-06-11 Thread Mick Knutson
I have these 3 dependencies that are still ending up in my war: * org.aspectj aspectjtools 1.6.0 provided org.aspectj aspectjweaver 1.5.4 provided

Re: Maven-Jboss-Packaging-Plugin error locating jboss-spring.xml

2008-06-11 Thread Andrew Madu
Hi, could someone oblige me and test the following plugin, in a bog standard maven app project, with the build command 'mvn jboss-packages:spring' and tell me whether the plugin breaks or not? (a jboss-spring.xml file needs to be placed in src/main/resources/META-INF): [code]

Re: How to make nexus work with thirdparty libraries??

2008-06-11 Thread Kent Närling
Using a local repository? But then every developer has to add this to their local repository?? And it gets even more messy to get this working with automatic builds? Or do you mean that I should add another hosted repository in nexus? (usually "local" repository refers to the repository on your o

Re: How to make nexus work with thirdparty libraries??

2008-06-11 Thread Ed Hillmann
On Wed, Jun 11, 2008 at 4:59 PM, Kent Närling <[EMAIL PROTECTED]> wrote: > Actually, I tried to upload this plugin manually to our nexus repository, > but cannot get it to install properly... > > Trying the command: > b-plugin\1.1>mvn deploy:deploy-file -DgroupId=com.sun.tools.xjc.maven2 > -Dartifa

Java property in local repository path

2008-06-11 Thread Doron Solomon
Hi, I'd like to use a java property to define the local repository in the global settings.xml file: /tmp/${user.home}/.m2 Unfortunately, the property is not interpolated and a directory with name "${user.home}" is created. Any ideas how to set the local repo using a java property? Is this a bu

Re: Generated Dependencies != list

2008-06-11 Thread simon
On Wed, 2008-06-11 at 11:52 -0700, budcurtis wrote: > This is the first time I have noticed this issue. I have a POM with 20 > dependencies. However, in eclipse (Q4E Maven) the Maven Classpath Container > contains 63 files. Also, if I use the batch version of maven and perform an > assembly the

Generated Dependencies != list

2008-06-11 Thread budcurtis
This is the first time I have noticed this issue. I have a POM with 20 dependencies. However, in eclipse (Q4E Maven) the Maven Classpath Container contains 63 files. Also, if I use the batch version of maven and perform an assembly the results of the section:

Re: [m2] Issue with site beta-6 and a mojo not found

2008-06-11 Thread simon
On Wed, 2008-06-11 at 11:03 -0700, Mick Knutson wrote: > I deleted my dependancyManagement, and most of my report plugins, and it > seems to have gone away. > > I assume that somewhere is the plugins that I have defined, there is some > reference to either/both site beta-6 plugin, and velocity >1

Re: [m2] Issue with site beta-6 and a mojo not found

2008-06-11 Thread Mick Knutson
I deleted my dependancyManagement, and most of my report plugins, and it seems to have gone away. I assume that somewhere is the plugins that I have defined, there is some reference to either/both site beta-6 plugin, and velocity >1.4 as 1.4 seems to work. I guess my biggest frustration is how to

[m2] how to change the defaults of a lifecycle-bound plugin

2008-06-11 Thread Adrian Herscu
Hi all, In my build lifecycle (components.xml) I am using the maven-dependency-plugin. Here is a snippet: org.apache.maven.lifecycle.mapping.LifecycleMapping blah org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping default

RE: Release plugin questions

2008-06-11 Thread Michael Delaney
I wish I was using the latest version of Perforce, but sadly that is not the case. I am currently using version 2005.2/104598 (which is very old). I will build the Perforce scm provider to see what unit tests, if any, fail on my machine. > Mike D. -Original Message- From: Mark Strube

Re: [m2] Issue with site beta-6 and a mojo not found

2008-06-11 Thread simon
Have you tried to specify an earlier version of the maven-site-plugin in your pom.xml file? My guess would be that site plugin 2.0-beta-6 is expecting a different version of Velocity than is available in the classpath for some reason. I don't know why that would happen, but backing up to an earlie

Re: is there a way of adding metadata to a dependency

2008-06-11 Thread GreggMc
Could you post your solution to this? I have the exact same problem. thanks Ittay Dror-2 wrote: > > And also I now discovered that if I use , then it has to be > specified for the artifact both in and > . If I could use metadata, I would have expected > to be able to define it

Re: [m2] Issue with site beta-6 and a mojo not found

2008-06-11 Thread Mick Knutson
I commented out ALL my reporting plugins, then ran site, and I still get the same error! This is too much! I deleted my entire repository to get all new plugins, and again, NO change in this completely obscure error and I have a DEMO after lunch with the docs I can't generate. Anyone? On Wed,

Re: Compile project that uses JAXB

2008-06-11 Thread Johan Eltes
Java 6 includes jaxb. The problem you have may stem from the attempt to pverride endorsed libraries. Your setup should work if you downgrade to java 5. What if you try to get rid of your dependency to the impl class? Does that help? /johan 11 jun 2008 kl. 18.15 Orlando Otero <[EMAIL PROT

[m2] Issue with site beta-6 and a mojo not found

2008-06-11 Thread Mick Knutson
[INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-site-plugin:2.0-beta-6:site': Unable to find the mojo 'org.apache.maven.plugins:maven-site-plugin:2.0-beta-6:site' in the plugin 'org.apache.maven.plugins:maven-site-plugin' The specified class for ResourceMa

Compile project that uses JAXB

2008-06-11 Thread Orlando Otero
Hello, It would be very helpful if some guidance is pointed to figure out this situation: Working on a maven2 project, some domain entities classes/interfaces uses the following JAXB annotations: ... import com.sun.xml.internal.bind.v2.runtime.RuntimeUtil.ToStringAdapter; /** * The Interfa

Re: Compile project that uses JAXB

2008-06-11 Thread Wayne Fay
Jaxb comes up periodically on this list. Please search the archives on Nabble for more information you may find helpful. Wayne On 6/11/08, m2 <[EMAIL PROTECTED]> wrote: > > Hello, > It would be very helpful if some guidance is pointed to figure out this > situation: > > Working on a maven2 projec

RE: Release plugin questions

2008-06-11 Thread Mark Struberg
It seems that the perforce consumer for the add command cannot parse the result it gets from perforce //depot/sandboxes/mdelaney/utils/release-pom.xml#4 ? > Unknown input: //depot/sandboxes/mdelaney/utils/release-pom.xml#4 - > opened for add > at org.apache.maven.scm.provider.perforce.command.a

RE: Release plugin questions

2008-06-11 Thread Michael Delaney
I executed the commands in the order below and still getting the error. I have pasted the extended output below for your review. [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-7:prepare' --> [DEBUG] (f) addSchema = true [DEBUG] (f) allowTimestampedSnapshots

Re: inheriting properties to site-plugin

2008-06-11 Thread Dennis Lundberg
Can you give us an example? Include the contents of the POMs. Lustig, Marc (Allianz Deutschland AG) wrote: The site-plugin (2.0-beta-6) is unable to resolve properties defined in the parent-POM using . The child-pom has explicitly configured the parent-project (including relativePath). Also, t

RE: Are classifiers the answer, are they mature, what are the pitfalls?

2008-06-11 Thread EJ Ciramella
We've been using classifiers for quite some time now (some like in your case, we made up). We haven't had any problems (we're using 2.0.5), but I think you could either determine the jdk involved and pull said version from the repo. There was a link shared a while back showing all the different v

Maven-Jboss-Packaging-Plugin error locating jboss-spring.xml

2008-06-11 Thread Andrew Madu
Hi, I ma receiving the following error message when I call 'mvn jboss-packaging:spring': [code] Embedded error: Could not find descriptor files: jboss-spring.xml [/code] The file, jboss-spring.xml, exists in src/main/resources/META-INF/. What am I missing here? My development platform: Eclipse

Compile project that uses JAXB

2008-06-11 Thread m2
Hello, It would be very helpful if some guidance is pointed to figure out this situation: Working on a maven2 project, some domain entities classes/interfaces uses the following JAXB annotations: ... import com.sun.xml.internal.bind.v2.runtime.RuntimeUtil.ToStringAdapter; /** * The Interface Se

Are classifiers the answer, are they mature, what are the pitfalls?

2008-06-11 Thread Paul Spencer
The Shale project has a need to produce a few artifacts for a project that differ only in dependencies [1]. Specifically one jar for JDK 1.4 and one jar for JDK 1.5. It appear that classifiers can be used in the generation artifacts for different variation of a project[2]. 1) Is their a bett

javadoc and doclet : escaping the basedir variable ?

2008-06-11 Thread Christophe Couronne
Hi the list, I'm trying to use the Maven Javadoc Plugin to generate a documentation using a custom Java doclet. A trouble persists. My pom uses an section to configure the doclet as below : -index "${basedir}/src/site/docbook/reference/index.xml" When running on Windows, the basedir vari

centering a figure with APT

2008-06-11 Thread Stefano Fornari
Ciao, I am sure it is a stupid question, which will deserve a stupid answer, but I could not find any reference to it in the documentation and all tries I have done have failed How can I center a figure in a APT site document? Thanks in advance. -- Ste -

Re: I need a Maven book review

2008-06-11 Thread Niranjan Deshpande
Yes this is a great book :) On 6/11/08, Doron Solomon <[EMAIL PROTECTED]> wrote: > > Hi David, > > You might find this book useful: http://www.sonatype.com/book/ > > Good luck! > > Doron > > -Original Message- > From: David Brown [mailto:[EMAIL PROTECTED] > Sent: June 11, 2008 08:19 > To:

RE: I need a Maven book review

2008-06-11 Thread Doron Solomon
Hi David, You might find this book useful: http://www.sonatype.com/book/ Good luck! Doron -Original Message- From: David Brown [mailto:[EMAIL PROTECTED] Sent: June 11, 2008 08:19 To: users@maven.apache.org Subject: I need a Maven book review Hello Maven: dev, gurus, users and other

download sources.zip instead of sources.jar?

2008-06-11 Thread torsten . reinhard
Hi, the source of some of our libraries or even some 3rdParty libs are deployed as "xyz-version-sources.zip". How can I tell maven to download any sources.zip? mvn dependency:sources is looking for "java-source", as far as I know that means "sources.jar" Is the Eclipse Plugin able to generate

Re: I need a Maven book review

2008-06-11 Thread Brett Porter
Books are all listed here: http://maven.apache.org/articles.html 2008/6/11 David Brown <[EMAIL PROTECTED]>: > Hello Maven: dev, gurus, users and other haunts. I have a new gig that has > thrust me into a Maven-centric dev. env. I am a long time Ant user and the > original Hatcher/Ant book did wo

Re: I need a Maven book review

2008-06-11 Thread matthew sporleder
On 6/11/08, David Brown <[EMAIL PROTECTED]> wrote: > Hello Maven: dev, gurus, users and other haunts. I have a new gig that has > thrust me into a Maven-centric dev. env. I am a long time Ant user and the > original Hatcher/Ant book did wonders. Is there something similar for Maven? > Please adv

I need a Maven book review

2008-06-11 Thread David Brown
Hello Maven: dev, gurus, users and other haunts. I have a new gig that has thrust me into a Maven-centric dev. env. I am a long time Ant user and the original Hatcher/Ant book did wonders. Is there something similar for Maven? Please advise, evangelize, rant or rave, Dave. Yet some, not wise,

RE: Release:branch from a tag

2008-06-11 Thread nicklist
Can someone comment on this mail? Is the release:branch goal fitted to create a branch from a tag and update the version numbers? With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl -Original Message- From: [EMAIL PROTECTED] [mail

RE: Release plugin questions

2008-06-11 Thread Bracewell, Robert
Try the following command sequence to ensure your environment is clean: mvn -e -X release:clean clean mvn -e -X release:prepare -DdryRun=true mvn -e -X release:clean clean mvn -e -X release:prepare The -e and -X should hopefully give some more output re error conditions -Original Message-

Re: Excluding packages and classes from jar

2008-06-11 Thread Peter Horlock
>Where did you get that configuration parameters from? The install-plugin's documentation [1] doesn't mention these. Well, to be honest, most maven plugin documentations are --h, rather short, to say the least. So often I just have a look into the source by using the report source html pages -

inheriting properties to site-plugin

2008-06-11 Thread Lustig, Marc (Allianz Deutschland AG)
The site-plugin (2.0-beta-6) is unable to resolve properties defined in the parent-POM using . The child-pom has explicitly configured the parent-project (including relativePath). Also, the site-plugin in the parent-pom is explicitly instructed to inherit its configutation (true). What is the p

Re: Maven & WebSphere 6.1

2008-06-11 Thread Jo Support
Thanks to all for the suggestions! However I didn't be so specific in my first message: I need to force generation of stubs and skeletons for two EJBs because they are clients for a profiler app and a transport bus app and they have to be distributed in each product that uses these apps: I can't d

RE: Good (documented) JAXB compiler plugin?

2008-06-11 Thread Jörg Schaible
Kent Närling wrote: > Related to my previous problem with nexu, I have a problem getting the > maven-jaxb-plugin (com.sun.tools.xjc.maven2), I beleive that > it could be > that nexus doesn't support proxy:ing repositories with legacy > layout? (can > anyone confirm this?) > > ie I get it working i