jar file not included in application.xml in maven ear plugin

2006-08-24 Thread manoj kaushik
hello everyone when i sets the poperty to autogenerate application.xml it does not include a jar file however there is no such problem with war file and if i provide it the jar file manually it makes an extra folder during deployment on to server. plz reply soon if have the slution to this

Re: How to change dependencies at run time?

2006-08-24 Thread Olli Aalto
Valerio Schiavoni wrote: i'm not sure if using profiles it is also possiible to define dependencies..maybe that could be a way to go. Profiles? Hmm... I've never heard of those. I'll check them out. Thanks. Olli - To

Re: Better to use variables or hard-coded paths?

2006-08-24 Thread Matt Raible
On 8/23/06, Scott Ryan [EMAIL PROTECTED] wrote: We actually use the same application context but use the test resources construct to pull it out of the main build path for use during testing. You just need to include the xml files from the main tree in your resources during testing and it

RE: Compilation errors on web site

2006-08-24 Thread HUGOT Franck
Hello, Does anybody have a response to my question? Thanks in advance. Franck HUGOT -Message d'origine- De : HUGOT Franck [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 août 2006 11:56 À : Maven Users List Objet : Compilation errors on web site Hello, Is there a way to

RE: Building MyEclipse project with Maven2

2006-08-24 Thread Denis Cabasson
A lot of WTP specific configuration files. For example : .wtpmodules and lots of file in .settings folder, such as org.eclipse.wst.common.component or other (depending on WTP version too). What is this update sources you're talking about? Denis. Douglas Ferguson wrote: Just curious what

Re: authorization error deploying to tomcat

2006-08-24 Thread Mark Hobson
Hi Satish, On 23/08/06, Satish [EMAIL PROTECTED] wrote: Scenario: trying to deploy app to tomcat using org.codehaus.mojo plugin Error: getting authorization error, how do pass/specify the tomcat manger username/pwd See http://mojo.codehaus.org/tomcat-maven-plugin/configuration.html The mojo

Re: using archiva as a maven1 repo proxy...

2006-08-24 Thread Nicolas De Loof
I've created http://jira.codehaus.org/browse/MRM-153 for this and attached a patch. This patch works to download : /servletapi/jars/servletapi-2.4.jar -- /servletapi/servletapi/2.4/servletapi-2.4.jar -- /servletapi/servletapi/2.4/servletapi-2.4.pom [relocation] --

Re: Is it possible to build Eclipse 3.1 plugins using M2 ?

2006-08-24 Thread Stéphane Bouchet
It's on apache SNAPSHOT repo . http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-eclipse-plugin/2.3-SNAPSHOT/ add the following in your $HOME/.m2/settings.xml : pluginRepositories .. pluginRepository idapache-snapshot/id

[m2] Same output dir for maven and eclipse?

2006-08-24 Thread Amshoff Christoph, Köln
I'm setting up a project where team members could use either Maven2 or Eclipse to build the project. Normally, Maven will be used during CI/nightly builds and Eclipse by developers. The question is: where is the particular output of these builds going? Do you recommend to use the same output

[m2] does mvn install ignore finalName?

2006-08-24 Thread Thomas Will
I configured the finalname in the pom to something like this: finelNameabcfinalName After mvn install there is a file with the name abc.jar in the target folder, as expected. But in the maven repository the filename still has the form artifactid-version.jar, the finalName seems to be ignored. Is

hibernate3-maven-plugin: hbm2hbmxml does not generate any hbm.xml files

2006-08-24 Thread Kaj Hejer
Hi! I'm trying to generate hbm.xml files running mvn hibernate3:hbm2hbmxml, but no hbm.xml files are generated. Do I need in some way to tell the plugin which tables to generate mappingsfiles for, other than specifying the jdbc url, username and password for the database in

Re: [m2] does mvn install ignore finalName?

2006-08-24 Thread Denis Cabasson
Such files (abc.jar) should be uploaded using assembly plugin, which can attach another artifact to the instlal phase. I guess the standard jar is always deployed, to be available for dependency... Denis. Tom Will wrote: I configured the finalname in the pom to something like this:

RE: Is it possible to build Eclipse 3.1 plugins using M2 ?

2006-08-24 Thread Sharma, Jaikumar
Thanks Stephance. I was able to install the 2.3 SNAPSHOT plugin from the repository, now I can play around to build the plugins. Thanks for your help! Regards. -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 1:27 PM To: Maven Users List

AW: installing sources to local repository by means of install plugin

2006-08-24 Thread Gunzenreiner Simon
Hi allan I tried to use install:install-file like this: mvn install:install-file -DgeneratePom=true -Dpackaging=jar -DgroupId=myGroupId -Dversion=myVersion -DartifactId=myArtifactId -Dclassifier=sources -Dfile=myArtifactId-myVersion-sources.jar but it didn't install my sources.jar correctly -

[M2] Define System Property with maven-antrun-plugin

2006-08-24 Thread Peter . Pilgrim
Hi All With the maven-antrun-plugin in Maven 2.0.4 is it possibly to define a system property. Instead of me doing this all the time. mvn install -Duser.install.root=C:\Program Files\IBM\WebSphere\AppServer For more info on the context see my blog

Re: AW: installing sources to local repository by means of install plugin

2006-08-24 Thread Jochen Wiedmann
Gunzenreiner Simon wrote: I tried to use install:install-file like this: mvn install:install-file -DgeneratePom=true -Dpackaging=jar -DgroupId=myGroupId -Dversion=myVersion -DartifactId=myArtifactId -Dclassifier=sources -Dfile=myArtifactId-myVersion-sources.jar but it didn't install my

Re: Cargo Tomcat

2006-08-24 Thread Ralph Pöllath
On 24.08.2006, at 00:03, Vincent Massol wrote: Hi Doug, -Original Message- From: Douglas Ferguson [mailto:[EMAIL PROTECTED] Sent: mercredi 23 août 2006 22:44 To: users Subject: Cargo Tomcat Anybody using cargo with tomcat? I’m curious about how you deal with quick dev cycle changes

Re: [m2] Same output dir for maven and eclipse?

2006-08-24 Thread Ralph Pöllath
On 24.08.2006, at 10:45, Amshoff Christoph, Köln wrote: I'm setting up a project where team members could use either Maven2 or Eclipse to build the project. Normally, Maven will be used during CI/nightly builds and Eclipse by developers. Same here. The question is: where is the particular

RE: Cargo Tomcat

2006-08-24 Thread Vincent Massol
-Original Message- From: Ralph Pöllath [mailto:[EMAIL PROTECTED] Sent: jeudi 24 août 2006 11:36 To: Maven Users List Subject: Re: Cargo Tomcat On 24.08.2006, at 00:03, Vincent Massol wrote: Hi Doug, -Original Message- From: Douglas Ferguson [mailto:[EMAIL

Disable POM generation for deploye artifacts

2006-08-24 Thread Sharma, Jaikumar
Is it possible to disable pom generation for deployed artifacts ? Regards

filtering not working for file in META-INF directory

2006-08-24 Thread sharath reddy
Hello, I'm trying to pull in the database parameters (user name, password, etc) from a properties file. Filtering works correctly for my hibernate.cfg file in src/test/resources. However, I have a context.xml file in my META-INF folder. Following the instructions for the 'war' plugin, I tried

AW: [m2] Same output dir for maven and eclipse?

2006-08-24 Thread Amshoff Christoph, Köln
Well... I thought there could be problems when merging class files generated by Maven with those generated by Eclipse. Not sure how Eclipse handels this situation. But when Maven's Eclipse plugin (don't know that yet) is setting it up this way, it's probably safe. Thanx, Christoph.

How to write groovy plugins/mojos?

2006-08-24 Thread bdoumas
Hi all, I've seeing on the mailing list that it should be possible to write groovy mojos, like to write Ant mojos. But the project : groovy-maven-tools doesn't seem to work ... (http://mojo.codehaus.org/groovy-maven-tools = not found) So if somebody can give me some indication it would help me

Disable POM generation for deploye artifacts

2006-08-24 Thread Sharma, Jaikumar
I have configured the maven-deploy-plugin in my parent pom as below, which is supposed to disable the pom generation for deployed artifact : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-deploy-plugin/artifactId

RE: XDoclet2 plugin + Maven2 + Hibernate problem

2006-08-24 Thread Adrian Shum
Can anyone give me some idea on this? -Original Message- From: Adrian Shum Sent: Wednesday, August 16, 2006 2:58 PM To: 'users@maven.apache.org' Subject: XDoclet2 plugin + Maven2 + Hibernate problem Hi all, I tried to use XDoclet2 plugin for Maven2 in order to

Re: exec plugin - how to define more than one?

2006-08-24 Thread Jon SlinnHawkins
Hi, This is taken from one of my poms : plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution idStop Container/id phasepackage/phase configuration executablestopService.bat/executable

Re: Disable POM generation for deploye artifacts

2006-08-24 Thread Jon SlinnHawkins
if you are not generating a pom, you need to supply a pom to be deployed. pomFileblah/blah/pom.xml/pomFile Cheers Jon Sharma, Jaikumar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have configured the maven-deploy-plugin in my parent pom as below, which is supposed to

AW: AW: installing sources to local repository by means of install plugin

2006-08-24 Thread Gunzenreiner Simon
Hi Jochen sorry for bugging you but I also tried it out without the generatePom=true option, and it always turns my myArtifactId-myVersion-sources.jar into myArtifactId-myVersion.jar once I import it into the repository as described below (without generatePom) ... Simon -Ursprüngliche

Re: How to write groovy plugins/mojos?

2006-08-24 Thread Tomasz Pik
On 8/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I've seeing on the mailing list that it should be possible to write groovy mojos, like to write Ant mojos. But the project : groovy-maven-tools doesn't seem to work ... (http://mojo.codehaus.org/groovy-maven-tools = not found)

RE: Disable POM generation for deploye artifacts

2006-08-24 Thread Sharma, Jaikumar
Thanks Jon, but there is no way around to disable it completely ? Regards. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jon SlinnHawkins Sent: Thursday, August 24, 2006 4:08 PM To: users@maven.apache.org Subject: Re: Disable POM generation for deploye artifacts

site:site menu inheritance ?!?!?

2006-08-24 Thread Jon SlinnHawkins
Hi, How can i get the inherit feature working for menus in site.xml I have a organisation pom and site.xml from which i would like to inherit one of the menus. I have specified the menu in the parent site.xml as menu name=Applications inherit=top or menu name=Applications item

multimodule maven site : how to put links to other modules pages ?

2006-08-24 Thread Valerio Schiavoni
hello, i have a multi-module project, and its nice web-site, with the parent project and references to submodules. Now, say that in the about page of the submodule A i would like to put a hyperlink to another page (say: how-to.html) of the submodule B: is this possible using APT ? i cannot find

RE: hibernate3-maven-plugin: hbm2hbmxml does not generate any hbm.xml files

2006-08-24 Thread Johann Reyes
Kaj Question, do you have annotated classes? Regards Johann Reyes -Original Message- From: Kaj Hejer [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 4:58 AM To: users@maven.apache.org Subject: hibernate3-maven-plugin: hbm2hbmxml does not generate any hbm.xml files Hi! I'm

Re: XDoclet2 plugin + Maven2 + Hibernate problem

2006-08-24 Thread J. Matthew Pryor
I think the issue is that a published POM has bad data in it for qtags, so I exclude the qtags stuff and it seems to work plugin groupIdxdoclet/groupId artifactIdmaven2-xdoclet2-plugin/artifactId version2.0.5-SNAPSHOT/version configuration configs config plugin

RE: Override dependency own dependency

2006-08-24 Thread Sébastien Boutté
Hi Yann, I try and it's working now. Thank you Sébastien -Message d'origine- De : Yann Le Du [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 août 2006 20:44 À : Maven Users List Objet : Re: Override dependency own dependency Hi Sébastien, If you add directly dependency2 into your

RE: Disable POM generation for deploye artifacts

2006-08-24 Thread Jörg Schaible
Hi Sharma, Sharma, Jaikumar wrote on Thursday, August 24, 2006 12:55 PM: Thanks Jon, but there is no way around to disable it completely ? I think that this parameter is only taken into account for the deploy:deploy-file goal. For a normal deploy it has no meaning. Regards.

RE: [m2] Updates of transitive dependencies not working?

2006-08-24 Thread Jörg Schaible
ArneD wrote on Thursday, August 24, 2006 2:43 PM: Hello all, I defined two repositories in the settings.xml, both with updatePolicy set to always. My project A has a dependency to version 5.0-SNAPSHOT of a JAR B. That JAR B has a dependency to version 1.6 of another JAR C. In my local

RE: [m2] Updates of transitive dependencies not working?

2006-08-24 Thread ArneD
Jörg Schaible wrote: ArneD wrote on Thursday, August 24, 2006 2:43 PM: I defined two repositories in the settings.xml, both with updatePolicy set to always. My project A has a dependency to version 5.0-SNAPSHOT of a JAR B. That JAR B has a dependency to version 1.6 of another JAR C.

how to specify repository for a dependency?

2006-08-24 Thread Valerio Schiavoni
hello, is it possible to force the repository to be checked for updates of a specific dependency? thanks, valerio -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni

Re: [Cruisecontrol-user] jar file not included in application.xml in maven ear plugin

2006-08-24 Thread Stephane Nicoll
Plus you can maybe RTFM? http://maven.apache.org/plugins/maven-ear-plugin/howto.html See Including a third party library in the generated application.xml s/ On 8/24/06, Jeffrey Fredrick [EMAIL PROTECTED] wrote: does this have anything to do with cruisecontrol or are you just hoping that by

Scm problem

2006-08-24 Thread Shute, James
I've been on 1.0.2 for a while and so thought I'd move on up to one of the 1.1 rcs. I'm having trouble with rc3 though - when I do certain scm operations it fails. e.g. scm:update scm:update: [echo] Updating from SCM BUILD FAILED File..

RE: Disable POM generation for deploye artifacts

2006-08-24 Thread Sharma, Jaikumar
Yes, Jorg, This is true, I have tried it (: Thanks. -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 6:46 PM To: Maven Users List Subject: RE: Disable POM generation for deploye artifacts Hi Sharma, Sharma, Jaikumar wrote on Thursday,

RE: [m2] Updates of transitive dependencies not working?

2006-08-24 Thread Jörg Schaible
ArneD wrote on Thursday, August 24, 2006 3:27 PM: Jörg Schaible wrote: ArneD wrote on Thursday, August 24, 2006 2:43 PM: I defined two repositories in the settings.xml, both with updatePolicy set to always. My project A has a dependency to version 5.0-SNAPSHOT of a JAR B. That JAR B

Re: [m2] eclipse:eclipse and eclipse 3.2 projects within a project suppo

2006-08-24 Thread Valerio Schiavoni
baerrach wrote: Because there is no .project file eclipse will show all the subprojects as being available. i don't get this step working...it doesn't show submodule projects as being availble, even if each of them have their respective .project and .classpath any one with my same issue

[ANN] Muse parser in Java

2006-08-24 Thread Arnaud Bailly
Hi to all, Some of you might be interested to know that I have just released the first public version of muse-parser package numbered somewhat poetically 1.0-rc1. This package is a parser for muse markup in Java. Its main purpose is to allow easy integration of muse-formatted documentation in

Re: Maven 2.0.4 : wrong changelog reports generated links (svn)

2006-08-24 Thread Rob MavenUser
Can anyone give a feedback to me please ? I'm blocked ! Thanks in advance Rob -- View this message in context: http://www.nabble.com/Maven-2.0.4-%3A-wrong-changelog-reports-generated-links-%28svn%29-tf2140898.html#a5964502 Sent from the Maven - Users forum at Nabble.com.

Re: How to write groovy plugins/mojos?

2006-08-24 Thread bdoumas
Thanks, I've tried to compile all the sources but it seems quite old and doesn't work well. I 've contacted the plugin developper but no answer (maybe holidays:), does anyone know if he still working on it ?? Maybe i can help ... Ben *** Benoit doumas J2EE consultant www.octo.com

RE: How to write groovy plugins/mojos?

2006-08-24 Thread Vincent Massol
Benoit, You could also try posting on the mojo list as it's a mojo project, although I believe most mojo developers will also be on the maven list. -Vincent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: jeudi 24 août 2006 16:04 To: Maven Users List;

Re: How to stop a build in continuum

2006-08-24 Thread Badre AKARIDAN
thanks for your advice but it doesn't work for me Badre 2006/8/23, Emmanuel Venisse [EMAIL PROTECTED]: It's a little bug in 1.0.3. After a continuum restart, click on build all button. Emmanuel Badre AKARIDAN a écrit : Him I'm new user of continuum and I have a problem with one task. A

RE: [m2] Updates of transitive dependencies not working?

2006-08-24 Thread ArneD
Thank you, Jörg. I filed issue MNG-2528. Arne -- View this message in context: http://www.nabble.com/-m2--Updates-of-transitive-dependencies-not-working--tf2158398.html#a5964861 Sent from the Maven - Users forum at Nabble.com.

RE: ant based plugin

2006-08-24 Thread Brian E. Fox
I haven't written an ant plugin so I can't help you with the first part. On the second question, the plugin tag can also take a dependencies tag and these dependencies will be added to the classpath when your plugin executes.

Re: ant based plugin

2006-08-24 Thread Dave Sowerby
Thanks for the response, Unfortunately this wasn't the case, I tried using the plugin's dependencies in the hope that they would be accessible - they weren't. I gave up in the end and decided a java based plugin would be easier to developer rather than fighting against the ant based plugin -

[VARCHAR]

2006-08-24 Thread Francois Le Fevre
Dear all, I am trying to use Continuum with maven 2 projects. I am a new user of both technology. But I get the following error in my wrapper.log INFO | jvm 1| 2006/08/24 17:09:31 | ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'cvs update: move away

Query around continuous integration

2006-08-24 Thread shinjan sen
Hi, I am evaluating Continuum as a Continuous Integration tool. I had a query around a specific scenario. If I am connected to the software repository through the network I can very well checkout the files on my local box and do the build using Continuum. Now, if I assume that my network is

multi-module project report enhancement

2006-08-24 Thread Denis McCarthy
Hi, I understand from reading the archives that it is not yet possible to roll up reports for many modules into a single project-wide report. However, is there some way to at least get correct links to the various reports generated for the individual modules? The default URL for modules index

RE: Use System Properties in Settings.xml?

2006-08-24 Thread Peter . Pilgrim
I forgot to mentioned I tried this XML fragment profile iduser-install-root/id activation property name!user.install.root/name /property /activation properties user.install.rootC:\\Program

Antrun Classpath Issues [m2]

2006-08-24 Thread Allan Lewis
Hi all, I have an ant script that I need to call from a Maven build (a script provided by WebLogic for some WL-specific actions). The ant script defines some typedefs without issue, but when trying to use those types, ant complains that it can't find any regular expression matchers:

Re: using javadoc overview and maven plugin

2006-08-24 Thread Robbie Minshall
This was a known problem on the 2.0 beta 3 and was fixed in the 2.0version. thanks for all the help. Robbie On 8/17/06, franz see [EMAIL PROTECTED] wrote: On 8/17/06, Robbie Minshall [EMAIL PROTECTED] wrote: My current conclusion: Definately want to use a relative path or else this

The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist

2006-08-24 Thread Matt Raible
I've added the maven-antrun-plugin to my pom.xml as shown below. However, it can't seem to find the plugin. INFO] [ERROR] BUILD ERROR [INFO] [INFO]

Re: The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist

2006-08-24 Thread Matt Raible
Adding a version element fixed the problem. plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version Is this really necessary? If so, how do I say get the latest version of the plugin? Thanks, Matt On 8/24/06, Matt Raible [EMAIL PROTECTED]

Can CVS be used as a local repository in Maven 2.0

2006-08-24 Thread yamini . korrapati
Hello, I am new to Maven and just downloaded Maven2.0. I have a CVS location which holds my jar files and instead of trying to download the jars to a local repository and then building i was wondering if there was a way to just specify my CVS location as the local repository for maven to use

RE : The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist

2006-08-24 Thread Olivier Lamy
Hi, Try again with -U. If not again : rm -rf $HOME/.m2/repository -- Olivier -Message d'origine- De : Matt Raible [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 août 2006 19:20 À : Maven Users List Objet : The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist I've

Re: Does anyone know how to use the maven DBUnit plugin?

2006-08-24 Thread mraible
Ray Tsang wrote: i'm using dbunit ant task to load initial data.. i have something like the following in profiles section of the pom.xml. it will execute when `mvn -DloadData=true` profile iddbunit-load-data/id activation property nameloadData/name

Re: Use System Properties in Settings.xml?

2006-08-24 Thread Eric Redmond
Hm. That is a pickle. Since settings.xml profiles override pom and profiles.xml profiles, then if you make it active by default it will always win. But you only want to set the property iff it is not already set. I'd say file an issue under the Profiles component.

Running maven from ant

2006-08-24 Thread EJ Ciramella
Currently, our pre-staging/production deployment methods are strictly ant based. With development migrating to m2 for building, we no longer have various stack.property files lying around, everything exists in profiles.xml. So what I'd like to do is use the maven ant tasks as defined here:

Re: [m2] DBUnit plugin form m2?

2006-08-24 Thread mraible
Srepfler Srgjan wrote: Hi, Does anyone know if there is a m2 plugin for DBUnit and if not, can someone post an example pom that uses it via ant? Is anyone working on such a plugin? Using Ant is pretty verbose and seems to require putting the data XML file in each module in my

basic http auth credentials not beign sent to the server

2006-08-24 Thread jesus . x . hinojosa
I have setup a repository in my pom: repositories repository idalm2/id urlhttp://1234.1234.1234.124:8080/repository/url /repository repositories and in my settings.xml: servers server idalm2/id

SNAPSHOT Deploy

2006-08-24 Thread Andreas Guther
Question: How can I get Maven to deploy version-less SNAPSHOT files to our SNAPSHOT repository? Background: It appears to me as if the mvn deploy command on a SNAPSHOT version does only deploy numbered snapshot files, but not unnumbered ones. The mvn install command in contrary puts an unnumbered

Re: [m2] DBUnit plugin form m2?

2006-08-24 Thread Matt Raible
I found the following on the web, and it appears there's files in Mojo's subversion for this plugin. Do I have to build/publish the mojo sandbox locally to use this? plugin groupIdorg.codehaus.mojo/groupId artifactIddbunit-maven-plugin/artifactId

Re: [m2] DBUnit plugin form m2?

2006-08-24 Thread Matt Raible
On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: I found the following on the web, and it appears there's files in Mojo's subversion for this plugin. Do I have to build/publish the mojo sandbox locally to use this? To answer my own question - yes. I checked out this plugin from Subversion,

Distribution Management

2006-08-24 Thread Douglas Ferguson
I am looking into setting up an internal repository which would be used for retrieving artifacts built by other members of the team and also other 3rd party libs that aren’t available at ibiblio. If I am reading correctly, I have to define this in 4 places. 1) server defined in

RE: SNAPSHOT Deploy

2006-08-24 Thread Andreas Guther
Nathan, Thank you for your help. Indeed that forces Maven to generate a non unique SNAPSHOT version. But now I have no unique versions anymore. What I am looking for is not black or white; I would like to have both on the SNAPSHOT repository server. Does not look like this is possible.

Plugin issue

2006-08-24 Thread Snir Kodesh
I've recently developed a plugin that allows for a workaround fix specific to the team I'm working for. I've bound it to the process-classes build phase. My issue is that regardless as to whether the plugin succeeds or fails (for whatever reason) or an exception is thrown, the rest of the build

Plugin issue

2006-08-24 Thread Snir Kodesh
I've recently developed a plugin that allows for a workaround fix specific to the team I'm working for. I've bound it to the process-classes build phase. My issue is that regardless as to whether the plugin succeeds or fails (for whatever reason) or an exception is thrown, the rest of the build

RE: SNAPSHOT Deploy

2006-08-24 Thread Andreas Guther
I think so too. I believe in Maven 1 you had both worlds. Andreas -Original Message- From: Beyer,Nathan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 2:20 PM To: Maven Users List Subject: RE: SNAPSHOT Deploy Sounds like an enhancement request. :) -Original

Using Java System Properties in pom.xml

2006-08-24 Thread Jimisola Laursen
Hi! Been reading through the documentation on maven.apache.org and the book, but I can't find any information on if it is possible to use Java System Properties such as file.separator, user.name and more (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperties()) in pom.xml?

RE: SNAPSHOT Deploy

2006-08-24 Thread Beyer,Nathan
I believe you need to add uniqueVersionfalse/uniqueVersion to the 'distributionManagement' repository/snapshotRepository configuration in the POM. -Nathan -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 2:35 PM To: Maven Users List

Maven 2 maven-antrun-plugin javascript -- how/where do I set Ant's classpath?

2006-08-24 Thread Jim Bethancourt
Hi, I'm trying to call ant tasks using the maven-antrun-plugin. I'm able to get to the build file using ant inheritRefs=true antfile=./build.xml successfully, but the build.xml uses Javascript and Ant is falling apart when I run 'mvn compile' -- I get an embedded error. I've tried adding

RE: [m2] DBUnit plugin form m2?

2006-08-24 Thread Andreas Guther
I am not quite sure why you would need a dbUnit plug-in. dbUnit is a JUnit extension and if used together with JUnit will be executed by Surefire with your unit tests. Andreas Srepfler Srgjan wrote: Hi, Does anyone know if there is a m2 plugin for DBUnit and if not, can someone post

[m2][javadoc] How does one get 'doc-files' support to work?

2006-08-24 Thread Beyer,Nathan
I have the javadoc plugin configured in my reports as follows and I have 'doc-files' folder in one of my 'resources' folders, but the doc-files aren't showing up with the javadoc. The javadoc folders do contain 'doc-files' folders, but they are empty. Am I doing something wrong? Do the 'doc-files'

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-08-24 Thread mraible
Paul Kuykendall wrote: Jose, I found this in a blog somewhere (I didn't bookmark it, just copied it into a tips and tricks email I sent myself at work). I still ran into problems with the hibernate3-maven-plugin complaining it couldn't resolve a dependency somewhere down the line to

RE: SNAPSHOT Deploy

2006-08-24 Thread Beyer,Nathan
Sounds like an enhancement request. :) -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 4:07 PM To: Maven Users List Subject: RE: SNAPSHOT Deploy Nathan, Thank you for your help. Indeed that forces Maven to generate a non unique

Re: SNAPSHOT Deploy

2006-08-24 Thread Barrie Treloar
On 8/25/06, Andreas Guther [EMAIL PROTECTED] wrote: Question: How can I get Maven to deploy version-less SNAPSHOT files to our SNAPSHOT repository? Background: It appears to me as if the mvn deploy command on a SNAPSHOT version does only deploy numbered snapshot files, but not unnumbered ones.

probs with profiles

2006-08-24 Thread EJ Ciramella
I have a question about profiles and their usage. Our build machines have one path to things like jboss and other third party directories, in the various qa stacks, these paths may be different. Additionally, a property may change from project to project. How come the sub projects don't get

Re: Maven cannot find dependencies classes from WEB-INF/classes

2006-08-24 Thread Matt Raible
On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: So based on this feedback, where I have a webapp like AppFuse (that implements the same thing with 4 webapps, but also wants to be a library for users), would you suggest doing something like the following? web (JARs) - common (common

Re: Using Java System Properties in pom.xml

2006-08-24 Thread Eric Redmond
You can use System properties. However, you don't need to use file.seperator... you can just use forward slash for paths. Eric On 8/24/06, Jimisola Laursen [EMAIL PROTECTED] wrote: Hi! Been reading through the documentation on maven.apache.org and the book, but I can't find any information

Re: Maven cannot find dependencies classes from WEB-INF/classes

2006-08-24 Thread Eric Redmond
I'm not sure what you're getting at. Is that one single project? Why do projects like common or struts need their own wars? Perhaps its my unfamiliarity with AppFuse. Eric On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: So based on this

Re: Distribution Management

2006-08-24 Thread Eric Redmond
Nope, but you can create a property, and re-use it! On 8/24/06, Douglas Ferguson [EMAIL PROTECTED] wrote: I am looking into setting up an internal repository which would be used for retrieving artifacts built by other members of the team and also other 3rd party libs that aren't available at

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-08-24 Thread Eric Redmond
Sure you can: plugin ... dependencies dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.2.0.cr3/version exclusions exclusion groupIdjavax.transaction/groupId

Re: [m2] eclipse:eclipse and eclipse 3.2 projects within a project suppo

2006-08-24 Thread Max Cooper
If you have a structure like this: root |--module1 |--module2 |--submodule2-1 ... you would have to make sure that you hide/delete/rename the .project file in both the root and module2 directories for the submodule2-1 project to show up on the import. When Eclipse finds a .project file at

Re: Maven cannot find dependencies classes from WEB-INF/classes

2006-08-24 Thread Matt Raible
AppFuse is basically a kickstart web application. When I used Ant, it basically just created a project, and put all the files in it to implement various features. With Maven 2, I'd like to change things to create a shell/archetype. For the end user, their pom will something like the following:

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-08-24 Thread Matt Raible
Thanks, that worked. On 8/24/06, Eric Redmond [EMAIL PROTECTED] wrote: Sure you can: plugin ... dependencies dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.2.0.cr3/version exclusions

[M2-WAR] different build output on different machines?

2006-08-24 Thread Tamás Cservenák
Hi all, i stumbled recently in an interesting problem: the setup: i have a WAR project (call it base) that simply holds shared resources (non-Java mainly) for a webapp, and another (call it flavour) which is the final WAR artifact, just as described here:

Re: [M2-WAR] different build output on different machines?

2006-08-24 Thread Tamás Cservenák
More tries: I DELETED my local repo on Fedora machine, so clean maven 2.0.4 and made $ mvn clean install The result is SAME, even the web.xml is from base and not from flavour (!) -- it may slipped to me, it was maybe already happening during previous letter. ~t~ On 8/25/06, Tamás

Berlios StatCVS M2 Plugin

2006-08-24 Thread Nick Veys
Anyone have any experience with this? I seems hardly complete and abandoned as far as commits go... I can get it to run but it doesn't copy the images generated to the target/site after generation. Starting my quest to learn the maven report api to start fixing it, any shortcuts would be

RE: Distribution Management

2006-08-24 Thread Douglas Ferguson
Distribution Management has to be in the pom right? - Original Message - From: Eric Redmond Sent: Thu, 8/24/2006 6:06pm To: Maven Users List Subject: Re: Distribution Management Nope, but you can create a property, and re-use it! On 8/24/06, Douglas Ferguson [EMAIL PROTECTED]

Re: [M2-WAR] different build output on different machines?

2006-08-24 Thread Tamás Cservenák
Got it: Maven WAR Plugin -- since I used wrong switch (-U instead of -cpu), SuSE machine had version 2.0 which works WELL (well is undefined in war docs, is well this-way or that way). Fedora, which is a newer installation got only 2.0.1 -- which works just opposite as 2.0 did. Why? When I fix

commons-lang 2.0 is newer than 2.1?

2006-08-24 Thread Matt Raible
I need to have commons-lang-2.1.jar included in my WAR for displaytag-1.1. However, Acegi Security 1.0.1 depends on commons-lang-2.0.jar. From mvn -X: org.acegisecurity:acegi-security:jar:1.0.1:compile ... commons-lang:commons-lang:jar:2.0:compile (selected for compile)

Re: commons-lang 2.0 is newer than 2.1?

2006-08-24 Thread Wendy Smoak
On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: displaytag:displaytag:jar:1.1:compile (selected for compile) commons-lang:commons-lang:jar:2.1:compile (removed - nearer found: 2.0) Why is 2.0 considered newer? It's not newer, it's nearer in the dependency graph that Maven constructs.

Re: commons-lang 2.0 is newer than 2.1?

2006-08-24 Thread Stephen Duncan
I'm not sure why adding it to your POM explicitly didn't work. What was the output of -X in that case? -Stephen On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: I need to have commons-lang-2.1.jar included in my WAR for displaytag-1.1. However, Acegi Security 1.0.1 depends on

  1   2   >