RE: Settings.xml not being recognized by Continuum

2007-02-28 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi. I am running Continuum as a service. I put in active profile into the settings.xml. I put this into ~/.m2/settings.xml, maven_home/conf, but no success. How else can I start Continuum and have this work? Please help. -Original Message- From: Jo Vandermeeren [mailto:[EMAIL

Re: Maven 1.x to run SQL scripts

2007-02-28 Thread Ulrich Metzger
i use the maven sql plugin with maven 1.0.2 : http://www.codeczar.com/products/maven-sql-plugin/ Uli 2007/2/27, Build Admin [EMAIL PROTECTED]: How to run SQL scripts using maven 1.x? Is there any plugin to use? Frenz, I am looking for your help in this. Thanks in Advance.

Re: 401 SVN Apache error returned when adding new project

2007-02-28 Thread Emmanuel Venisse
how do you add your project? what is the url? If you need a login/password, you can try an url like http://user:[EMAIL PROTECTED]:port/. Emmanuel Morgovsky, Alexander (US - Glen Mills) a écrit : I would like to add some more details. I am using Continuum 1.0.3. Should I include some

Re: how to get a non empty jar out of maven-antrun-plugin + build.xml?

2007-02-28 Thread Chris Miner
Hi Siegfried, By 'can always use the ...' do you mean running something from the command line like: mvn install:install-file -Dfile= . I'd rather not run anything other than 'mvn clean install' from the command line. However after working on this problem a while, I gave up and rewrote

Filtering resources

2007-02-28 Thread Thomas Colin de Verdière
Hello, i try to filter resources in my project to generate a build.properties file. I would like to have the path to the localRepository. So i use ${localRepository} as it is said in BetterBuilds with Maven but it doesn't work. I tried the following properties for testing :

Running SQL scripts with MAVEN 1.x

2007-02-28 Thread sarancse
Is there anyway to execute SQL scripts with MAVEN 1.x? Could anybody direct me to the right solution? -- View this message in context: http://www.nabble.com/Running-SQL-scripts-with-MAVEN-1.x-tf3308150s177.html#a9201888 Sent from the Maven - Users mailing list archive at Nabble.com.

[ANN] native2ascii-maven-plugin-1.0-alpha-1 released

2007-02-28 Thread Dan Tran
The Mojo team is pleased to announce the first alpha release of the Native2Ascii Maven Plugin The site is at: http://mojo.codehaus.org/native2ascii-maven-plugin -Dan

Missing dependencies in APING/lib when releasing on a master project

2007-02-28 Thread olivier . lambert
Hi all, I have a tricky issue with maven-release-plugin (but it's perhaps due to another plugin). Here is the project structure: Master (packaging is pom) * CORE (packaging is jar) * EJB (packaging is ejb, depend on the CORE and on commons-collection) * EAR (packaging is ear, depend on the EJB

Fw: Missing dependencies in APP-INF/lib when releasing on a master project

2007-02-28 Thread olivier . lambert
Hi all, I have a tricky issue with maven-release-plugin (but it's perhaps due to another plugin). Here is the project structure: Master (packaging is pom) * CORE (packaging is jar) * EJB (packaging is ejb, depend on the CORE and on commons-collection) * EAR (packaging is ear, depend on the EJB

Please help: xdoclet / ejbdoclet

2007-02-28 Thread Dipl.-Ing. Torsten Liermann
Hi, sorry, i can not speak english... I would like to have all interfaces and so on for a slsb. but nothing. I' using maven 2.0.4 and start maven with mvn generate-sources The output ist: [WARNING] While downloading servletapi:servletapi:2.3 This artifact has been relocated to

Re: Invalid scm url problem

2007-02-28 Thread Heeole
Ronald Pieterse rpieterse at tripolis.com writes: I'm trying to put a Maven 2 multi module project into Continuum but for some reason I can't seem to get the scm-url right (according to Continuum). My project is set up as follows: I have a parent module which holds no source code, only a

Please help: xdoclet / ejbdoclet

2007-02-28 Thread Dipl.-Ing. Torsten Liermann
Hi, sorry, i can not speak english... I would like to have all interfaces and so on for a slsb. but nothing. I' using maven 2.0.4 and start maven with mvn generate-sources The output ist: [WARNING] While downloading servletapi:servletapi:2.3 This artifact has been relocated to

Making resources defined in a superpom available to underlying poms.

2007-02-28 Thread Jan-Olav Eide
I have a pom with packaging jar that contains a number of modules (possibly nested). I have some resources that I want to be available to all underlying poms . In my case it is a reference to a checkstyle configuration file, but it could be anything (such as the stylesheet used for javadoc

RE: 401 SVN Apache error returned when adding new project

2007-02-28 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi. I add my project by issuing an http url. However, what I did not do was provide the username and password like you showed. Thank you, I will try this. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 3:38 AM To:

How to generate sources from templates

2007-02-28 Thread Rodrigo Ruiz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everybody, I need to generate text files from filtered resources, but I do not want them to be copied to the target/classes folder. The files are C header templates that I want to filter using some properties defined through maven profiles. Is

Re: Running SQL scripts with MAVEN 1.x

2007-02-28 Thread Arnaud HERITIER
http://www.codeczar.com/products/maven-sql-plugin/ Arnaud On 2/28/07, sarancse [EMAIL PROTECTED] wrote: Is there anyway to execute SQL scripts with MAVEN 1.x? Could anybody direct me to the right solution? -- View this message in context:

RE: Please help: xdoclet / ejbdoclet

2007-02-28 Thread Jörg Schaible
Hi Torsten, Dipl.-Ing. Torsten Liermann wrote on Wednesday, February 28, 2007 1:46 PM: Hi, sorry, i can not speak english... I would like to have all interfaces and so on for a slsb. but nothing. I' using maven 2.0.4 and start maven with mvn generate-sources The output ist:

Settings.xml is not being recognized by Continuum

2007-02-28 Thread Morgovsky, Alexander \(US - Glen Mills\)
In my settings.xml file, I define several properties which are part of the version fields of the built binaries. The property ${my.version} which is defined in settings.xml is not recognized by Continuum, and the resulting value in the Continuum servlet for version is ${my.version}, not 2.0,

Re: Filtering resources

2007-02-28 Thread Brad Szabo
The localRepository property is configured in settings.xml, therefore you can access it using ${settings.localRepository}. (The default is ~/.m2/repository). Hope this helps, -Brad References: http://maven.apache.org/guides/mini/guide-configuring-maven.html http://maven.apache.org/settings.html

Re: Making resources defined in a superpom available to underlying poms.

2007-02-28 Thread Rémy Sanlaville
Hi, For checkstyle, you can follow this [1] [1] http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html (cf. Use a custom developd Checkstyle Check modules) or plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId

Re: Sources for WERKZ

2007-02-28 Thread John Casey
If you have sources from 1.5 yrs ago, you probably found them. -john On 2/28/07, KiOrKY [EMAIL PROTECTED] wrote: Hello, i'm trying to build maven from sources (in order to package it for a linux distro) and i'm wondering where can i find sources for werkz (and not a binary jar from ibiblio).

Re: Version name to use for a release candidate?

2007-02-28 Thread Dan Adams
So right now when it's in snapshot the pom version should be 1.0-rc1-SNAPSHOT? And then when this is released it goes to 1.0-rc1 and the next version will be 1.0-rc2-SNAPSHOT? Correct? On Tue, 2007-02-27 at 16:34 -0600, Wayne Fay wrote: People generally use alpha or alpha-1, rc or rc1, etc to

Re: Filtering resources

2007-02-28 Thread Thomas Colin de Verdière
Thanks but i tried and it didn't work. You are right it is written in the document on the maven site. .. Brad Szabo a écrit : The localRepository property is configured in settings.xml, therefore you can access it using ${settings.localRepository}. (The default is ~/.m2/repository). Hope

RE: Version name to use for a release candidate?

2007-02-28 Thread Siegmann Daniel, NY
No, the snapshot would be called 1.0-SNAPSHOT. Exactly what you want your naming conventions for a release candidate to be are up to you, but it could be: 1.0-rc1, or 1.0-rc-1, or 1.0_rc1, or etc. You just release this version, and then go back to 1.0-SNAPSHOT as the version. ~Daniel

RE: Making resources defined in a superpom available to underlying poms.

2007-02-28 Thread Jan-Olav Eide
I was hoping I could define the resource only once. If I understand you correctly, the plugin configuration below needs to be present in all poms? -Original Message- From: Rémy Sanlaville [mailto:[EMAIL PROTECTED] Sent: 28. februar 2007 15:04 To: Maven Users List Subject: Re: Making

Re: Filtering resources

2007-02-28 Thread Brad Szabo
You are using Maven 2 right? On Wed, 2007-02-28 at 15:40 +0100, Thomas Colin de Verdière wrote: Thanks but i tried and it didn't work. You are right it is written in the document on the maven site. .. Brad Szabo a écrit : The localRepository property is configured in settings.xml,

Re: Creation of a tag for a stable 'just works' Archiva version

2007-02-28 Thread Joakim Erdfelt
(3) partially works. It does translate, but does not handle relocated artifacts. - Joakim Brett Porter wrote: I thought (3) already worked. I didn't think this was about identifying the client, but correctly serving a legacy layout request off either type of repo (whether its m1 or m2 with

reporting on super pom ?

2007-02-28 Thread Rodrigo
Hi all !!! I would like to add the information about distributionManagement and reporting in somewhere in order to be common to all projects. I know that is a super pom used by maven, but how can I customize that pom? (where is it?). Besides, distributionManagement does not get

Re: Filtering resources

2007-02-28 Thread Thomas Colin de Verdière
Yes i downloaded Maven 2.0.5 Brad Szabo a écrit : You are using Maven 2 right? On Wed, 2007-02-28 at 15:40 +0100, Thomas Colin de Verdière wrote: Thanks but i tried and it didn't work. You are right it is written in the document on the maven site. .. Brad Szabo a écrit : The

Re: [m2] POM Inheritance

2007-02-28 Thread Thierry Lach
Is it possible to declare a pom as a dependency, so that its dependencies would be inherited? If that doesn't work, them maybe it should be added as an enhancement. On 2/27/07, jp4 [EMAIL PROTECTED] wrote: I wonder if it would make sense to create a project of type jar that does nothing more

Re: Making resources defined in a superpom available to underlying poms.

2007-02-28 Thread Rémy Sanlaville
No, you just have to declare it in our parent pom. Just try to see if it works... Parent | --- module1 | --- module2 | --- ... | --- src | | --- main | || --- config | ||| --- checkstyle.xml | --- pom.xml Rémy

Re: Filtering resources

2007-02-28 Thread Brad Szabo
Can you elaborate a little on where you are trying to use ${settings.localRepository}. If you add the following AntRun plugin to your pom.xml to echo the expression value, does it not display the proper path to your local repository? plugin

Maven gives up looking for parent pom

2007-02-28 Thread David Jackman
I've created a settings.xml that lists all of our internal repositories (some Maven 1, some Maven 2). One of these repositories contains the parent POM for the project I'm trying to build. However, Maven reports that it can't locate resource in repository and lists all of the repositories in

Re: Filtering resources

2007-02-28 Thread Thomas Colin de Verdière
It works.. it echoes the string. Here is the part for resources : resources resource directorybuildproperties/directory filteringtrue/filtering /resource /resources And in the buildproperties directory here is the build.properties file to filter :

Re: [ANN] native2ascii-maven-plugin-1.0-alpha-1 released

2007-02-28 Thread Manos Batsis
Dan Tran wrote: The Mojo team is pleased to announce the first alpha release of the Native2Ascii Maven Plugin The site is at: http://mojo.codehaus.org/native2ascii-maven-plugin Awesome, i was getting ready to antrun this, but the plugin worked like a charm. If you could provide an example in

Re: jjtree-javacc

2007-02-28 Thread Wayne Fay
In all likelihood, there's a configuration setting in the javacc plugin that you can use to point javacc to look at target/ instead of or in addition to src/. Or perhaps a configuration setting in the jjtree plugin to output into src/ rather than target. And if there's not, that sounds like a

Problem downloading latest SNAPSHOT from central repository

2007-02-28 Thread dbaker
Hi I'm having trouble in downloading snapshots to my local repository from a central repository stored on my company's network. The snapshots are built nightly in the central repository. If I build my application locally, it does not pull down the latest version of the snapshot into my local

Re: jjtree-javacc

2007-02-28 Thread Eric Redmond
http://mojo.codehaus.org/javacc-maven-plugin/jjtree-mojo.html http://mojo.codehaus.org/javacc-maven-plugin/javacc-mojo.html Configure the javacc sourceDirectory to jjtree's outputDirectory. I suggest using a common property (like ${jjtree.output} or something). Eric On 2/28/07, Steffen Mazanek

RE: scp distribution from Windows XP client

2007-02-28 Thread Randall Fidler
Hi Brendon, Actually I'm trying to use Windows on both ends. I am using OpenSSH currently on the server and I don't have any problems sending files to the server via SCP using putty - the problems occur only when I try to use Maven to deploy using SCP via Putty - weird eh? I

Re: [m2] POM Inheritance

2007-02-28 Thread Eric Redmond
Yeah, I do this quite a lot - for example, to abstract jdbc implementations across and organization - all jars required go into a pom project called jdbc. If you need to make an orthogonal change, just change jdbc's dependency list. Eric On 2/28/07, Thierry Lach [EMAIL PROTECTED] wrote: Is it

The packaging for this project did not assign a file to the build artifact

2007-02-28 Thread Tilman.Rossmy
Where do I have to assign a file to a build artifact?

deploy problem

2007-02-28 Thread Nigel Magnay
I've a recent version of archiva in tomcat (windows), and maven 2.0.5 on the client; I'm having problems doing deploys. With wagon-1.0-beta-2 it complains of insufficient storage - some files do deploy however. On the server logs, I get an error reported: Unable to service DAV request due to

RE: Problem downloading latest SNAPSHOT from central repository

2007-02-28 Thread Jörg Schaible
dbaker wrote on Wednesday, February 28, 2007 5:22 PM: Hi I'm having trouble in downloading snapshots to my local repository from a central repository stored on my company's network. The snapshots are built nightly in the central repository. If I build my application locally, it does not

Re: [m2] Problem downloading latest SNAPSHOT from central repository

2007-02-28 Thread John J. Franey
dbaker wrote: My understanding was that if the timestamp of the version in the central repository is more recent than that of the local version, then the local version would be updated. Is this correct, or does Maven only download to the local repository if the required artifact is

Re: Filtering resources

2007-02-28 Thread Brad Szabo
Ah. The Maven Resources Plugin only supports filtering using system properties, project properties, and properties defined in filter resources. It does not appear that settings properties are available, which actually makes sense now that I think about it. I do not think that this is a bug.

Re: Filtering resources

2007-02-28 Thread Thierry Lach
Actually settings properties not being available in filtering might cause us some problems in converting to M2. Each of our developers has their own oracle schema that they can do unit testing against (dbunit). In M1 we put the connection strings into build.properties. We copy unit test

Packging the same resource file in multple projects

2007-02-28 Thread uma_rk
I have a resource file that is shared by multiple projects. That is, the resource file resource.xml needs to be packaged in multiple jar files (A.jar, B.jar) as shown below. How can I make sure that sub-projects A and B both package the resource.xml in their jarfiles? Also, is this the right

Re: Packging the same resource file in multple projects

2007-02-28 Thread Subhash Chandran
The immediate solution coming to my mind r using OS linking or SCM feature like subversion's svn:externals. But may be Maven supports this natively, which I do not know. Subhash. On 2/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a resource file that is shared by multiple

Re: Filtering resources

2007-02-28 Thread Thomas Colin de Verdière
I was using it because i then want to extract files using Ant (you think it's ugly) and then merge some jars together. Suppress the version number. And also merge some files that have the same name into the jars. We thought about assemblies but they can't do the last file merging stuff. And in

Fwd: [m2] POM Inheritance

2007-02-28 Thread Eric Redmond
woops, forgot to cc the group -- Forwarded message -- From: Eric Redmond [EMAIL PROTECTED] Date: Feb 28, 2007 11:53 AM Subject: Re: [m2] POM Inheritance To: [EMAIL PROTECTED] [EMAIL PROTECTED] There's not much more to say about it. Create a pom.xml of packaging pom Give it a

RE: Using 3rd party jar with surefire

2007-02-28 Thread Ryan, Scott D
I noticed this thread from a while back but there was never a resolution. We are trying to get our parasoft jtest generated test cases to run under Maven 2 and the surefire plugin with not much success. It looks like parasoft itself it spinning up its own classloader with the incorrect

Modules

2007-02-28 Thread Thomas Colin de Verdière
Hello, i have a problems on modules. I have a parent pom which reference modules. And the parent pom is not on the same disk (on windows) that the modules. And i can't reference the module from the parent POM. Thanks for helping, Thomas

Maven Question

2007-02-28 Thread Ryan Cuprak
Hello, I did a presentation on Maven last night at the Connecticut Java Users Group (www.cooug.org/java). There were a couple questions that I couldn't answer: 1) I've already got a large multi-module Idea project. How do I convert that to a POM (or multiple POMs)? Do I have to create the

Re: [m2] Maven-buildnumber plugin

2007-02-28 Thread Julian Wood
It's back up. J On 27-Feb-07, at 12:36 PM, shinsato wrote: The maven-buildnumber-plugin seems to have disappeared from the ucalgary site. http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/ index.html Any hints of where it might have gone? I don't see it on codehaus. --

RE: [m2] Maven-buildnumber plugin

2007-02-28 Thread Marcelo Colomer Cornejo
Page not found -Mensaje original- De: Julian Wood [mailto:[EMAIL PROTECTED] Enviado el: mié 28/02/2007 19:14 Para: Maven Users List Asunto: Re: [m2] Maven-buildnumber plugin It's back up. J On 27-Feb-07, at 12:36 PM, shinsato wrote: The maven-buildnumber-plugin seems to have

RE: compile tries to bundle up the ear - should it?

2007-02-28 Thread EJ Ciramella
I realize I'm bumping a VERY old thread at this point, but I'm completely unsuccessful in tracking down the error here (even with -x and -e on). I'm also seeing the ejbs rebuilding every time (recompiling the source with each pass). How are people making ear files with maven two? Is there some

Re: Filtering resources

2007-02-28 Thread Brad Szabo
You can still do all of the Ant work inside of an Ant build file, just call the ant task, and before you do, you can specify any properties that you want to be available to Ant, such as: configuration tasks property name=project.build.directory value=${project.build.directory}/

RE: [m2] Maven-buildnumber plugin

2007-02-28 Thread Marcelo Colomer Cornejo
Sorry, it's OK. -Mensaje original- De: Marcelo Colomer Cornejo [mailto:[EMAIL PROTECTED] Enviado el: mié 28/02/2007 19:18 Para: Maven Users List Asunto: RE: [m2] Maven-buildnumber plugin Page not found -Mensaje original- De: Julian Wood [mailto:[EMAIL PROTECTED] Enviado el:

Working numbers

2007-02-28 Thread PICOT Christophe
---BeginMessage--- I'd like continuum to work in directories with the artifact id instead of numbers (like .../working/52) Is it possible ? Thanks Christophe ---End Message--- Ce message et toutes les pièces jointes sont

Re: [M2]maven-buildnumber-plugin

2007-02-28 Thread Julian Wood
I don't know how you can do this. I've come across this before, and haven't been able to come up with a solution. In the end, you have to work with it. Either change the format so that it is something which will be the same even if they are executed a few seconds apart, or use revision

Re: Problem building war file

2007-02-28 Thread Julian Wood
The problem is with different versions of the war plugin. Version 2.0.1 and below used the syntax you tried, while newer versions need additional configuration. The additional config is not backwards compatible. Try this: archive manifest

Re: Install/Deploy an artifact with classifier

2007-02-28 Thread Jonathan Anstey
Tommy, If you are just worried about the installed/deployed name, use the classifier option of the install-file and deploy-file goals (see install/deploy plugins). If someone has a better solution, please respond - I'd like to know as well :) Cheers, Jon Tommy Knowlton wrote: I'm trying

Re: mail notifier

2007-02-28 Thread Jeff Mutonho
On 2/28/07, Rodrigo Gonçalves [EMAIL PROTECTED] wrote: HI !! When continuum sends a notification, at the beginning at the mail appears: Online report : http://localhost:8081/target/ProjectBuild.vm/view/ProjectBuild/id/11/buildId/121 I don´t want this link referring to localhost because the

Re: [m2] POM Inheritance

2007-02-28 Thread John J. Franey
Will this work? I do not know. Introduce a third pom (the data access pom) as a new module of the original parent. The original parent pom remains unchanged except for the addition of the new data access pom module. The new data access pom declares data access dependencies. The data access

Re: [m2] Filtering resources

2007-02-28 Thread John J. Franey
Thierry Lach-2 wrote: Actually settings properties not being available in filtering might cause us some problems in converting to M2. Properties in settings file are available in resource filtering using a profile. Each user should create a profile in their own settings.xml. Their

Install/Deploy an artifact with classifier

2007-02-28 Thread Tommy Knowlton
I'm trying to produce a POM for building several different artifacts from the same sources. In the profiles section, I have accomplished 1) configuring the build tools to do something different for each profile 2) activating the profiles 3) give the profile's artifact a unique name using

Re: [m2] Filtering resources

2007-02-28 Thread Thierry Lach
Thanks for the clarification. That will work well enough. On 2/28/07, John J. Franey [EMAIL PROTECTED] wrote: Thierry Lach-2 wrote: Actually settings properties not being available in filtering might cause us some problems in converting to M2. Properties in settings file are available

Re: [m2] Packging the same resource file in multple projects

2007-02-28 Thread John J. Franey
I think the answer is to: 1) create a new module for the resources. move the src/main/resources/resource.xml into the new module. 2) declare a dependency in each of A and B on the new resources module. 3) use assembly plugin in A and B to create a jar with dependencies. see

mail notifier

2007-02-28 Thread Rodrigo Gonçalves
HI !! When continuum sends a notification, at the beginning at the mail appears: Online report : http://localhost:8081/target/ProjectBuild.vm/view/ProjectBuild/id/11/buildId/121 I don´t want this link referring to localhost because the continuum is running on a server ! But I can't figure it

Help updating batch script during assembly

2007-02-28 Thread Todd Nine
Hi all, I have a large standalone distribution I'm zipping up with the assembler. It's using a self executing jar, and has both a batch script and a shell script that use java -jar artifactId-version.jar args. Is it possible to use something similar to sed in the assembler so I can find and

Re: jjtree-javacc

2007-02-28 Thread Steffen Mazanek
Thank you, Eric and Wayne, it does work now. However, I guess this is a more general problem. How would you explain, that generated sources go to the src-directory again? Isn't this a bit unattractive? Everybody would look into target/generated-sources first. Again, thank you for your help.

Re: scp distribution from Windows XP client

2007-02-28 Thread Dennis Lundberg
No, I've only used various *nix dialects on the server side. Randall Fidler skrev: Hi Dennis, Are you deploying to a Windows server? I tried using putty with Windows XP to do SCP deployments and the SCP server I used had issues with the commands putty was issuing to it. I assume since

Re: jjtree-javacc

2007-02-28 Thread Wayne Fay
I would send all generated-sources to target. And configure javacc to look in generated-sources for its own sources. Perhaps you need both generated-sources-jjtree and generated-sources-javacc directories? I do not (ever) put generated things into my src/. Wayne On 2/28/07, Steffen Mazanek

Re: Help updating batch script during assembly

2007-02-28 Thread Wayne Fay
Any reason your scripts can't live in resources and get filtered, so the proper values are replaced in the files during the normal Maven process-resources phase? Wayne On 2/28/07, Todd Nine [EMAIL PROTECTED] wrote: Hi all, I have a large standalone distribution I'm zipping up with the

Re: Install/Deploy an artifact with classifier

2007-02-28 Thread Tommy Knowlton
On 2/28/07, Jonathan Anstey [EMAIL PROTECTED] wrote: Tommy, If you are just worried about the installed/deployed name, use the classifier option of the install-file and deploy-file goals (see install/deploy plugins). so, you're saying, run the package goal to produce an artifact and then

Re: Install/Deploy an artifact with classifier

2007-02-28 Thread Jonathan Anstey
Yeah, this approach is a workaround at best. I searched for a way to configure the normal install and deploy goals a while back but had no luck :( Cheers, Jon Tommy Knowlton wrote: On 2/28/07, Jonathan Anstey [EMAIL PROTECTED] wrote: Tommy, If you are just worried about the

Re: [m2] POM Inheritance

2007-02-28 Thread John J. Franey
Will this work? I do not know. Introduce a third pom (the data access pom) as a new module of the original parent. The original parent pom remains unchanged except for the addition of the new data access pom module. The new data access pom declares data access dependencies. The data access

Re: jjtree-javacc

2007-02-28 Thread Eric Redmond
woah woah waoh... I never said to put generated sources in the src directory... never, never do that! Keep the jjtree outputdirectory to be target/generate-sources/jjtree... then set javacc source directory to be the same (target/generate-sources/jjtree). Eric On 2/28/07, Steffen Mazanek [EMAIL

Username and password for deploy plugin

2007-02-28 Thread Paul Gier
Is there a way to supply a username and password for a remote repository on the command line instead of in the settings.xml? It would be helpful if the deploy plugin could prompt the user as needed for this information. The password could be hidden from view this way, and developers would not

Re: [m2] POM Inheritance

2007-02-28 Thread Eric Redmond
Abstract it? I don't understand. The JDBC pom is just a seperate project. Like this: JDBC POM: project ... artifactIdmy-jdbc-project/artifactId packagingpom/packaging dependencies ... add jdbc dependencies here, like mysql jdbc, or sqlserver jdbc ... /dependencies /project Then, in your

Re: How to inject dependencies from a mojo

2007-02-28 Thread Eric Redmond
Dependencies are already resolved before the lifecycle even starts... why do you want to do this? Eric On 2/28/07, Guillaume Duchesneau [EMAIL PROTECTED] wrote: Hello, I would like to inject some dependencies from inside a mojo execution so that other plugins in the lifecycle can see those

need help with a multimodule build - binding an assembly to package it all up

2007-02-28 Thread Heck, Joe
I have several multi-module builds all rolling with Maven, and I'm having a little trouble figuring out how to bind an assembly directive to the master pom's build cycle so that it can pull all the results together into the master pom's target directory. The structure I have now: Master

Re: [m2] POM Inheritance

2007-02-28 Thread jp4
This is exactly what I was looking for. I didn't realize that you could include a typepom/type as a dependency. This makes things much cleaner. Thanks again, jp4 Eric Redmond wrote: Abstract it? I don't understand. The JDBC pom is just a seperate project. Like this: JDBC POM:

Commit during release

2007-02-28 Thread Roland Asmann
Hi, I was wondering what the release-plugin actually checks for commit to scm? I know that it updates the POMs to the new version-numbers and everything, but I am curious to know if for instance, it will commit files that I explicitly generate during a certain phase? I ask, because I am

Re: Problem building war file

2007-02-28 Thread Enrique Gaona
Julian, Yes, I realized that after I looked at the version of my plugin. Thanks. Enrique Julian Wood [EMAIL PROTECTED] wrote on 02/28/2007 12:37:02 PM: The problem is with different versions of the war plugin. Version 2.0.1 and below used the syntax you tried, while newer versions need

Re: [M2]maven-buildnumber-plugin

2007-02-28 Thread Enrique Gaona
Julian Wood [EMAIL PROTECTED] wrote on 02/28/2007 12:27:37 PM: I don't know how you can do this. I've come across this before, and haven't been able to come up with a solution. In the end, you have to work with it. Either change the format so that it is something which will be the same even

Re: Help updating batch script during assembly

2007-02-28 Thread Greg_Vaughn
It would by default, however, you can modify the maven-resources-plugin settings to put, for example, *.bat and *.sh files outside of target/classes and therefore not get put in the jar. More info at http://maven.apache.org/plugins/maven-resources-plugin/ -Greg Vaughn Todd Nine [EMAIL

Re: How to generate sources from templates

2007-02-28 Thread Jason van Zyl
You probably want to use something like Velocity which is real templating solution. The archetype mechanism uses it and so does the remote resources plugin. You could lift one of those to create your own velocity plugin which would be idea in my mind. jason. On 28 Feb 07, at 8:21 AM 28

Re: [m2] maven-buildnumber-plugin

2007-02-28 Thread fgarsombke
I got around this by making the build-number-plugin @aggregator style. I just changed the javadoc tag in the plugin and rebuilt it. /** * This mojo is designed to give you a build number. So when you might make 100 builds of version * 1.0-SNAPSHOT, you can differentiate between them all. The

Re: [m2] Packging the same resource file in multple projects

2007-02-28 Thread uma_rk
The problem is that the resouce may not be a classpath resource (e.g. a javascript file) and I need to install the resource(s) in a specified directory in multiple webapps. Consider for instance, a set of .js files; two webapps A and B need to install the same .js files in their webapps

Re: Help updating batch script during assembly

2007-02-28 Thread Todd Nine
Thanks guys, I believe I have also found another potential solution. According to the assembler plugin documentation here. http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_fileSet I should be able to use the following snippet in my fileSet. fileSet

Re: [m2] Packging the same resource file in multple projects

2007-02-28 Thread Wayne Fay
Create the artifact with the shared resources. Use maven-dependency-plugin to unzip the artifact into the projects where you want to use it. Wayne On 2/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The problem is that the resouce may not be a classpath resource (e.g. a javascript file)

Surefire forkMode Flag

2007-02-28 Thread Dees, Ian \(GE Healthcare\)
Hi List, I'm trying to run each test in a seperate class loader using the forkMode=pertest option in the pom.xml file. Here's a clip from the pom: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.3-SNAPSHOT/version configuration

Re: [m2] maven-buildnumber-plugin

2007-02-28 Thread Julian Wood
This is a nice solution. I wonder if there's any way to trigger this behaviour on demand. Or maybe I should just change the plugin to always be an aggregator. I wonder if anyone depends on it running once per module? J On 28-Feb-07, at 2:12 PM, fgarsombke wrote: I got around this by

Re: Surefire forkMode Flag

2007-02-28 Thread Wayne Fay
Per the docs, you need forkMode/. http://maven.apache.org/plugins/maven-surefire-plugin/examples/forking.html Wayne On 2/28/07, Dees, Ian (GE Healthcare) [EMAIL PROTECTED] wrote: Hi List, I'm trying to run each test in a seperate class loader using the forkMode=pertest option in the pom.xml

RE: [m2] Packging the same resource file in multple projects

2007-02-28 Thread Brian E. Fox
You could use the remote-resources possibly as well. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 4:35 PM To: Maven Users List Subject: Re: [m2] Packging the same resource file in multple projects Create the artifact with the shared

RE: 401 SVN Apache error returned when adding new project

2007-02-28 Thread Morgovsky, Alexander \(US - Glen Mills\)
Thanks, that worked. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 3:38 AM To: continuum-users@maven.apache.org Subject: Re: 401 SVN Apache error returned when adding new project how do you add your project? what is the url? If

Settings.xml not being recognized by Continuum

2007-02-28 Thread Morgovsky, Alexander \(US - Glen Mills\)
I have a profile called dev-mine which contains version specific information and scm specific information which needs to be loaded during adding the Maven 2 Project POM. How can I add the project and pass the name of the profile with -P dev-mine to be read from the settings.xml file? Also, where

Re: Settings.xml not being recognized by Continuum

2007-02-28 Thread Jo Vandermeeren
Hi Alexander, When continuum runs maven, maven will look for its settings.xml file in the maven directory of the user that has started the continuum process (~/.m2/settings.xml). Define your profile in settings.xml and specify activation: profile iddev-mine/id activation property

Reading a property that is initialized in profile in POM

2007-02-28 Thread Terala, Satish \(IS Consultant\)
Hello I am struggling with possibly that's a simple issue. I need to apply filters to my resources based on the environment that I build for. For example if building for local I want to use local.filter.properties as the filter property file . I am trying to do this by applying a profile for

  1   2   >