Re: [m2] Specify s on command line?

2007-05-23 Thread Richard Allen
far as I know, Maven does not have direct support for what you want. But lots of people have been asking for just this functionality recently. See <http://www.nabble.com/Specify-a-dynamic-profile-t3754208s177.html> for a discussion of some workarounds. Steve Richard Allen wrote: We ha

[m2] Specify s on command line?

2007-05-22 Thread Richard Allen
We have a good size multi-module build. To reduce the development cycle time I would like to be able to say to Maven only include these modules in the build. That way we could reduce the amount of time it takes to build the project when testing only a single module. Is that possible? Thanks, R

[m2] maven-dependency-plugin:go-offline excludeGroupIds not working

2007-03-29 Thread Richard Allen
The excludeGroupIds parameter for the maven-dependency-plugin go-offline goal isn't filtering dependencies that I list. Is this functionality unfinished or is this a bug? Thanks, Richard - To unsubscribe, e-mail: [EMAIL PROTE

[m2] site: failed report: Downloaded plugin JAR but failed to download POM from internal repo

2007-03-07 Thread Richard Allen
onentFactory.newInstance(JavaComponentFactory.java:30) ... 26 more [INFO] [INFO] Total time: 5 seconds [INFO] Finished at: Wed Mar 07 09:50:29 EST 2007 [INFO] Fin

Re: Maven flaking out of the blue (ibiblio probs?)

2006-03-06 Thread Richard Allen
I simply have a mirror in my settings.xml, which is in my $HOME/.m2 directory. lsu.edu Mirror of http://repo1.maven.org/maven2/ http://ibiblio.lsu.edu/main/pub/packages/maven2 central I didn't have to put a repositories section in my pom.xml. Richard

Re: Maven flaking out of the blue (ibiblio probs?)

2006-03-06 Thread Richard Allen
I've put mirrors in my settings.xml as described here: http://maven.apache.org/guides/mini/guide-mirror-settings.html It works well for me, especially the LSU mirror. Richard Allen Wayne Fay wrote: Personally, I don't use settings.xml. So I didn't feel qualified to an

Re: [m2] Compiling JSPs

2006-02-21 Thread Richard Allen
I use the excludes tag for the maven-war-plugin. maven-war-plugin ${project.build.directory}/jspweb.xml WEB-INF/jsp/** Richard Allen Matt Raible wrote: You could do something with an Ant task that deletes target/warname/*.jsp before it packages things. Matt On 2/21/06

[m2] internal plugin repository

2006-02-01 Thread Richard Allen
plugins from my internal repository and not blacklist it for not having other plugins. Is this possible? If so, how do I set that up? Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Packaging dependent jars within a jar project

2006-02-01 Thread Richard Allen
${project.build.directory} Good luck, Richard Allen Dov Wasserman wrote: I have been trying to find a way to get Maven to produce a jar artifact that includes (some of) its dependent artifacts, without much luck. I have seen a few ways that

Re: Installing plug-ins manually

2006-02-01 Thread Richard Allen
e a maven build on that computer using maven's offline (-o) option. Richard Allen [EMAIL PROTECTED] wrote: I have a server that is NOT connected to the outside world. It is completely internal use only. I have a software package that I am trying to install (Cewolf). Cewolf uses maven

[m2] maven-deploy-plugin: Can give deploy goal repositoryId like deploy-file goal?

2006-02-01 Thread Richard Allen
Is there a way to feed the deploy:deploy goal the repository that you want the artifact deployed to like you can deploy:deploy-file? If not, then I think that would be a useful feature to have. Thanks, Richard Allen - To

Re: [m2] parent pom

2006-01-31 Thread Richard Allen
-f178.html Richard Allen Frank Russo wrote: Do you or anyone else know where (if it exists) the documention is for this? The pom descriptor only shows . If anyone knows how to use this, please pass along. Thanks... Frank Russo Senior Developer FX Alliance, LLC -Original Message

Re: [m2] parent pom

2006-01-31 Thread Richard Allen
If your parent project POM lists , then those projects will be built when the parent is built. Richard Allen Frank Russo wrote: I have a question in regards to this. Is there a way to build the projects as a whole, as you say? As of now, I have to run maven on each individual child, and

[M2.1-SNAPSHOT] Activating profiles causes NullPointerException

2006-01-31 Thread Richard Allen
auncher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Am I doing something wrong or is this a bug? Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m2] Copy with preservelastmodified, like Ant

2006-01-30 Thread Richard Allen
When Maven copies files (to generate a working directory for JARs, WARs, whatever) can it be configured to keep the lastmodified time the same as the original? If not, can that be add as a JIRA issue? Thanks, Richard Allen

Re: [m2] [webstart] Dealing with already signed jars

2006-01-26 Thread Richard Allen
Sure, I'll take the JIRA route, but it may take me a little while. Richard Allen jerome lacoste wrote: On 1/26/06, Richard Allen <[EMAIL PROTECTED]> wrote: Hi Jerome, Thanks for the webstart plugin. I have also ran into the problem where JARs that are signed twice don'

Re: [m2] [webstart] Dealing with already signed jars

2006-01-26 Thread Richard Allen
getName()); resources.appendChild(jar); } try { TransformerFactory transformerFactory = TransformerFactory.newInstance(); Transformer transformer = transformerFactory.newTransformer(); transformer.transform(new DOMSource(jnlpDoc), ne

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Richard Allen
own plugin(s) or use the maven-antrun-plugin. Richard Allen Nanamura, Roberto wrote: Hi, Is there any way to improve all the documentation for the Maven. I will not use Maven anymore since there are a bunch of thing missing from the documentation (and a lot of things do not work like the J2EE a

[m2] maven-assembly-plugin: does install result to respository?

2006-01-12 Thread Richard Allen
When using the assembly plugin, will the install goal put the result of the assembly into the repository? Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m2] webstart-maven-plugin

2006-01-12 Thread Richard Allen
Start project gets compiled if it's packaging must be pom. I thought that pom packaging only was attached to the install and deploy phases. Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: accessing environment variable in settings.xml or pom.xml

2006-01-06 Thread Richard Allen
robably either ${env.BLAH} or ${envars.BLAH}. Richard Allen Ralph Pöllath wrote: On 05.01.2006, at 22:31, Adam Altemus wrote: Greetings, my name is Adam Altemus. I am a computer science student @ Indiana University of PA. and am doing an internship. I read in a thread that you said tha

Re: [M2] adding source-dir within maven-antrun-plugin tasks

2006-01-06 Thread Richard Allen
1.0.5 javax.xml.bind jaxb-api 1.0.5 com.sun.xml.bind jaxb-impl 1.0.5 com.sun.xml.bind jaxb-libs 1.0.5 com.sun.xml xsdlib 20050614 org.relaxng.datatype relaxngDatatype 1.0 Good l

Re: ${project.build.directory} different in M2.0 & M2.0.1

2006-01-05 Thread Richard Allen
This difference is also evident in Maven 2.1-SNAPSHOT. Richard Allen dan tran wrote: JIRA please ;-) did you test it with a snapshot of 2.0.2? -D On 1/5/06, Chris Berry <[EMAIL PROTECTED]> wrote: We have seen the same issue, and it is a serious PITA. Now we will have to go t

Re: call for testers: scp wagon

2006-01-05 Thread Richard Allen
Yes Mike Perham wrote: Anyone else having problems contacting the snapshots machine below? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 1:34 AM To: Maven Users List Subject: call for testers: scp wagon Hi, In the lead up to the 2

[M2] Error building Maven plugins from source

2005-12-13 Thread Richard Allen
-plugin maven-jar-plugin maven-rar-plugin maven-war-plugin Maybe this will help anyone having the same problem. Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] Generated resources not included when specified with tag

2005-12-06 Thread Richard Allen
I was using ${project.build.directory} within the tag. When I changed this reference to "target" it worked. I guess this means that ${project.build.directory} cannot be referenced in the tag. Richard Allen Richard Allen wrote: I'm generating some resources using the mave

[m2] Generated resources not included when specified with tag

2005-12-06 Thread Richard Allen
es dir and included in the WAR. Am I using the tag incorrectly? Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multi-module wars

2005-11-30 Thread Richard Allen
ludes. Maybe you can raise this as a JIRA issue Kevin? Richard Allen Richard Allen wrote: A solution may be to put your common WAR code in a separate project, have your other WAR projects call out the common war project as a dependency, and then use the maven-war-plugin hack posted by

Re: Multi-module wars

2005-11-30 Thread Richard Allen
#a1352624) to merge the common WAR project with your other WAR projects. Richard Allen Michael McCrann wrote: Hi, I am trying to create an application that is made up of a number of war files that are almost identical. Each war differs only by resource descriptors (web.xml, etc) and a few

Re: RE : War phases, binding a custom plugin to the war creation

2005-11-29 Thread Richard Allen
the list (may have been you Kevin), but I would like to see something more standard in place, especially since this seems to be a common use case. Thanks, Richard Allen Kevin Galligan wrote: I've hacked up the maven-war-plugin to merge war dependencies into the final product. I

[m2] commons-io 1.1 POM invalid

2005-11-23 Thread Richard Allen
I'm not sure if this is where this problem should be noted, but the POM for commons-io 1.1 is invalid because the closing dependencies tag is mispelled as . Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: accessing environment variable in settings.xml or pom.xml

2005-11-23 Thread Richard Allen
There currently is no way to reference environment variables in Maven as far as I know. However, a JIRA issue has been created and work is being done to add this functionality (see http://jira.codehaus.org/browse/MNG-1525). Richard Allen Tom Joad wrote: Hello, I would like to know if it

Re: [m2] How to detach Maven plugin from the lifecycle and attach my own plugin

2005-11-18 Thread Richard Allen
Thanks, I've defined my own packaging and it does solve my problem. Richard Allen Brett Porter wrote: You need to define your own packaging instead of war - goals can't be atached but you can redefine the lifecycle calling the other goals. - Brett On 11/18/05, Richard All

[m2] How to detach Maven plugin from the lifecycle and attach my own plugin

2005-11-17 Thread Richard Allen
How do I detach the maven-war-plugin from the build lifecycle and attach my own plugin in it's place? Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] How to inject values into a bean within a collection definedas a plugin parameter?

2005-11-14 Thread Richard Allen
aven could process annotations on beans in collections that are defined as Mojo parameters. Thanks, Richard Allen Allison, Bob wrote: The configuration should look like (assuming that your definition of parameter directory is actually specified as "private String directory"):

[m2] How to inject values into a bean within a collection defined as a plugin parameter?

2005-11-14 Thread Richard Allen
gured like: ... ... ... ... ... Is there a way to make this happen? It seems like I should be able to do this since Maven is creating and populating the bean classes (Options class). Thanks, Ric

Re: [m2] How to reference environment variables?

2005-11-11 Thread Richard Allen
ties throughout my build process. Defining properties seems to be a bit more complicated in Maven 2. Thanks, Richard Allen John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, I'm starting to see what you mean. There is a subtle difference between POM interpolation

Re: [m2] How to reference environment variables?

2005-11-11 Thread Richard Allen
with properties, then why not make the environment variables use a different syntax than the ${property} syntax? I'll look to see if there is a JIRA issue related to this topic. Thanks, Richard Allen John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I don't think filt

[m2] How to reference timestamp of build as property

2005-11-11 Thread Richard Allen
P page. I also used the timestamp in the Manifests for the JARs that were generated by the build process. How can I accomplish this in Maven? Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[m2] How to reference environment variables?

2005-11-11 Thread Richard Allen
How do you reference environment variables in your build, for filtering, settings in pom.xml, etc.? It seems as though you can't, which is significantly limiting. Environment variables are widely used across platforms. Thanks, Richard

[m2] Add build date to manifest?

2005-11-09 Thread Richard Allen
hanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Guide to creating archetypes

2005-11-08 Thread Richard Allen
I second that one. My biggest stumbling block so far with adopting Maven has been lack of documentation. However, I do understand how difficult it can be to get the docs written. Richard Alexander Hars wrote: Hi, Two weeks ago I wrote a significantly expanded Guide to Creating Archetypes.

Re: Third party JAR version naming conventions

2005-11-02 Thread Richard Allen
h-sun-jars.html I'm preparing a naming conventions doc that will be available at http://maven.apache.org/guides/mini/guide-naming-conventions.html On 11/1/05, Richard Allen <[EMAIL PROTECTED]> wrote: I'm new to Maven and I'm trying to convert an existing build process tha

[m2] How to make jar project recompile dependent jar project

2005-11-02 Thread Richard Allen
I'm new to Maven. I have the following structure where JAR2 depends on JAR1. : |- JAR1 | |- pom.xml | : | |- JAR2 | |- pom.xml : : The JAR1 and JAR2 projects are developed concurrently. I currently have JAR1 installed in my local repository and the pom.xml for JAR2 lists JAR1 as a depe

Third party JAR version naming conventions

2005-11-01 Thread Richard Allen
I'm new to Maven and I'm trying to convert an existing build process that uses Ant to Maven 2. I've started creating a POM where I have to add third party SUN JARs as dependencies, one of them being JAI. JAI version 1.1.2_01 includes three JARs. Is there a way to install JAI into my reposito