Re: Does continuum tag a maven project after a successful build?

2006-02-02 Thread dan tran
No, you need to tell continuum to run maven-release-plugin http://maven.apache.org/plugins/maven-release-plugin/index.html google maven-release-plugin to get more info. -D On 2/2/06, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote: > > > Does continuum tag a maven project after a successful build? >

Re: How would i do a build from a subversion tag ?

2006-02-02 Thread dan tran
mvn scm:bootstrap -DconnectionUrl=xyx -Dtag=theTag -Dgoals=xyx http://maven.apache.org/scm/plugins/bootstrap-mojo.html -Dan On 2/2/06, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote: > > > An example scenario is that i'm currently working on version 2.0-SNAPSHOPand > then someone deletes the repo

Using cobertura with Maven 2

2006-02-02 Thread javed mandary
Hi Guys, i'd like to know some information about the cobertura plugin in general: 1. On which repo is the cobertura-maven-plugin hosted ? 2. How to configure it in your POM ? I tried the following 2 configurations in my POM: ---EXTRACT OF MY POM --

Re: [m202] Cobertura plugin

2006-02-02 Thread Konstantin Polyzois
I checked it out ant built it myself did not find a working release of it. /Konstantin 2006/2/1, Arnaud Bailly <[EMAIL PROTECTED]>: > Hello, > What is the status of the cobertura plugin for m2 ? I had problems > trying to include it in the pom through central and there > was some discussion on th

Re: Launch an application from the commandline

2006-02-02 Thread jerome lacoste
On 2/2/06, Darryl L. Pierce <[EMAIL PROTECTED]> wrote: > I would like to be able to run an application from the commandline using > Maven. The ideal thing would be for Maven to create the command line, > especially the classpath, given that it knows my dependencies. Is such a > thing possible and,

Re: Unexpected repository downloading behavior (maven 2)

2006-02-02 Thread dan tran
Brad, you need to use deploy:deploy-file to deploy thirdparty artifact to your internal remote repo not the install:install-file + some manual step. http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment -Dan On 2/2/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > > We

Re: Unexpected repository downloading behavior (maven 2)

2006-02-02 Thread Brad O'Hearne
Wendy, I used the command listed here to install the jar into my local repository: http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html After it was installed into my local repository, I copied it up to the internal repository that was set up. This jar is a third party li

[m2eclipse] Eclipse WebTools and Maven2 "Publishing Failed"

2006-02-02 Thread John Fallows
I'm trying to use Eclipse 3.2M4, Eclipse WebTools 1.5M4, Maven2 Eclipse Plugin 0.0.4 and Tomcat 4.1. I have a WebTools Dynamic Web Project that uses Maven2 to resolve library dependencies. When trying to "Debug As -> Debug on Server", the following error occurs: Publishing failed Resource /M2_

Re: Unexpected repository downloading behavior (maven 2)

2006-02-02 Thread Wendy Smoak
On 2/2/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > Thanks for the reply. I don't quite understand -- what pom is it looking > for? And regardless, why isn't it looking for this in my local repository? The message you posted says it's looking for (among other things): jboss-common-jdbc-wrapp

Re: Unexpected repository downloading behavior (maven 2)

2006-02-02 Thread Brad O'Hearne
Wendy, Thanks for the reply. I don't quite understand -- what pom is it looking for? And regardless, why isn't it looking for this in my local repository? Brad Wendy Smoak wrote: On 2/2/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: Downloading: http://10.21.3.66/maven2_repositories/exte

How would i do a build from a subversion tag ?

2006-02-02 Thread Malcolm Wong Ho
An example scenario is that i'm currently working on version 2.0-SNAPSHOP and then someone deletes the repository and the application server crashes. What i have is a maven release and tagged the source in svn, how would i go about doing a build from a certain subversion tag ? DISCLAIMER: Thi

Re: Unexpected repository downloading behavior (maven 2)

2006-02-02 Thread Wendy Smoak
On 2/2/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > Downloading: > http://10.21.3.66/maven2_repositories/external/jboss/jboss-common-j > dbc-wrapper/3.2.5/jboss-common-jdbc-wrapper-3.2.5.pom ... > 1) First off, this jar is presently in my local repository. Why is maven > trying to download this

Unexpected repository downloading behavior (maven 2)

2006-02-02 Thread Brad O'Hearne
Hello! I have an internal repository server set up, that is hosting 3 internal repositories (internal_released, internal_snapshot, and external), and each of these three repositories is configured in my project's pom.xml. And of course, I have my local repository. I am seeing messages in the o

Re: Deploying Pom w/ Dependencies to Remote Repository

2006-02-02 Thread Allan Ramirez
Hi there, Try this, Change the packaging to "pom" mvn deploy:deploy-file -DgroupId= -DartifactId= -Dversion= -Dfile= -Dpackaging=pom -DrepositoryId= -Durl= -allan [EMAIL PROTECTED] wrote: Here's my situation... I've setup an internal proxy where everyone internal to our organization can dow

Re: deploy snapshot error

2006-02-02 Thread dan tran
i think this problem is fixed in maven-2.0.2 + maven-deploy-plugin 2.0 google Did receive proper ACK: '1' for details -D On 2/2/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > > I have already deployed a 1.0-SNAPSHOT into my repository. I am trying > to deploy again over this snapshot and am hav

deploy snapshot error

2006-02-02 Thread Brad O'Hearne
I have already deployed a 1.0-SNAPSHOT into my repository. I am trying to deploy again over this snapshot and am having trouble. The stack trace is below, but I think there's a general understanding I need about deploying snapshots. Can I repeatedly deploy a snapshot without changing the versio

Incorporating Doxia from svn into m2

2006-02-02 Thread Julian Wood
Hi, There's a bug in doxia which is purportedly fixed, and I want to use the fix. http://jira.codehaus.org/browse/DOXIA-29 It's not fixed in m2.0.2, AFAICT, but I'm not sure which version of doxia I am running (seems to be 1.0-alpha-7), so that in itself doesn't make sense, since it is s

Re: Build numbering w/ Maven

2006-02-02 Thread Richard C. L. Li
Such a nice feature, will it happens in Continuum 1.1? Or I have to wait longer? Regards, Richard Li Alex Boisvert wrote: http://jira.codehaus.org/browse/CONTINUUM-581 Emmanuel Venisse wrote: It isn't possible but can be a good idea. Please file an issue. Emmanuel Alex Boisvert a écri

Re: [M2] Distributing archive of source via repository

2006-02-02 Thread Stephen Duncan
Run mvn -DperformRelease=true deploy -DperformRelease will run javadoc:jar and source:jar along with your normal build (attached to package phase, I believe) -Stephen On 2/2/06, Siegmann Daniel, NY <[EMAIL PROTECTED]> wrote: > I know the source plugin can generate an archive of a project's sourc

Deploying Pom w/ Dependencies to Remote Repository

2006-02-02 Thread coder
Here's my situation... I've setup an internal proxy where everyone internal to our organization can download from. Some of our projects depend on the JWSDP packages, and for example, if you're using the JAX-RPC Sun libraries, there's about 10 other libraries it depends on. I want to be able to ju

RE: [m2] war plugin and warSourceExcludes not working for dependencies

2006-02-02 Thread Brian E. Fox
It's a bug that is fixed in svn. I've been running a custom built version for several months that has this fix. Anyone care to comment on when a war plugin release is going to happen? -Original Message- From: Piotr Bzdyl [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 7:16

Re: How to make multi module work in continuum

2006-02-02 Thread Emmanuel Venisse
John Tolentino a écrit : What are you trying to build? Maven 1, Maven 2 or Ant? If you're using Maven 2, by default it should build all of the sub projects if you build the parent. Just make sure all of the sub projects are declared in the parent POM's modules section. Not exactly. Continu

Directory stucture and archetypes

2006-02-02 Thread Michael Masters
Hello everyone, I was wondering if someone could something up for me. Is there a way to run two archetypes for the same project? For example, could you run the maven-archetype-quickstart and maven-archetype-webapp for the same directory? I've tried to do this but it forces me to use a different ar

Re: How to make multi module work in continuum

2006-02-02 Thread John Tolentino
What are you trying to build? Maven 1, Maven 2 or Ant? If you're using Maven 2, by default it should build all of the sub projects if you build the parent. Just make sure all of the sub projects are declared in the parent POM's modules section. With Maven 1, make the default goal of your pare

RE: Continuum & Maven 2 not using settings.xml

2006-02-02 Thread Brian E. Fox
Copy your settings.xml to \bin\linux\conf -Original Message- From: Christian Mouttet [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 11:47 AM To: users@maven.apache.org Subject: Fwd: Continuum & Maven 2 not using settings.xml no ideas? -- Weitergeleitete Nachricht

RE: Installing plug-ins manually

2006-02-02 Thread Brian E. Fox
Alex, I'm still unsure why you need to build cewolf. Maybe you are confusing the maven install with the install of cewolf? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 11:22 AM To: users@maven.apache.org Subject: Installing plug

Re: [m2] Bug in Dependency Resolution?

2006-02-02 Thread Carlos Sanchez
nearest in the graph of dependencies --a |--b | `-- c 1.1 `--c 1.0 The nearest c from a is 1.0 (depth = 1) while 1.1 has depth = 2 nearest != latest version On 2/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks for the comment, but very unhelpful. I know > about that docum

Re: [m2] Bug in Dependency Resolution?

2006-02-02 Thread haginow2001-nabble
Thanks for the comment, but very unhelpful. I know about that document for a long time ... I would expect that the nearest dependency is 1.2.13 and not 1.2.6 ... if not, then please explain. Chris --- Carlos Sanchez <[EMAIL PROTECTED]> wrote: > It doesn't work like that > Check Dependency medi

Re: How to install sources

2006-02-02 Thread Paolo Perrucci
Hi Erick. you can use the maven-source-plugin http://maven.apache.org/plugins/maven-source-plugin/ or use the performRelease property that activate the release-profile profile defined in the super POM http://maven.apache.org/guides/introduction/introduction-to-the-pom.html "mvn -DperformRel

How to install sources

2006-02-02 Thread Erick Dovale
Hi there, can any one tell how can I install the sources jar of the artifacts in the local repository?? thanks.. edovale - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: clearcase, scm, Could not find Maven project descriptor

2006-02-02 Thread raghurajan . x . gurunathan
Thanks for your reply I found the prblem and fixed it, its because my pom.xml is not there in my working directory, once i copied my pom its worked fine. Those who are having problem still, this is how its working for me its like my working directory is /Raghu/Work So when continuum checkout

Re: [m2] Bug in Dependency Resolution?

2006-02-02 Thread Carlos Sanchez
It doesn't work like that Check Dependency mediation in http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html On 2/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm encountering an error with log4j. I have a > transitive dependency on log4j-1.2.13 in my Maven

Re: Launch an application from the commandline

2006-02-02 Thread Julian Wood
I did this using antrun, and putting it in a profile. Note that it always packages your app first, before running, when attached in this way. >mvn -Dimagemap=true package run-imagemap-profile imagemap

Re: [M2] Distributing archive of source via repository

2006-02-02 Thread Tomislav Stojcevich
Add this to the section of your pom: org.apache.maven.plugins maven-source-plugin package jar

[m2] Bug in Dependency Resolution?

2006-02-02 Thread haginow2001-nabble
I'm encountering an error with log4j. I have a transitive dependency on log4j-1.2.13 in my Maven 2 plugin. However, it seems that when I run Maven 2 that Maven 2 resolves into log4j 1.2.6 (possibly because of another transitive dependency). This results in a runtime error with my plugin as it can't

Launch an application from the commandline

2006-02-02 Thread Darryl L. Pierce
I would like to be able to run an application from the commandline using Maven. The ideal thing would be for Maven to create the command line, especially the classpath, given that it knows my dependencies. Is such a thing possible and, if so, how? Thanks. -- Darryl L. Pierce <[EMAIL PROTECTED]> Ho

Filtering resources during assembly

2006-02-02 Thread brian . a . yoffe
I have a POM that creates an assembly (by using the mvn assembly:assembly command). Before assembling my directories, I want filtering to occur on some set of resources. I can achieve this if I execute: mvn resources:resources assembly:assembly Is there a way to get the resource fil

Re: [M2] Distributing archive of source via repository

2006-02-02 Thread Michael Böckling
When source:jar is part of the build-lifecycle, the source jar is automatically "attached" to the project and deployed. The maven-eclipse-plugin has an option true, so you have sources in Eclipse if you like, don't know if that is what you wanted. Regards, Michael I know the source plugi

Re: Build numbering w/ Maven

2006-02-02 Thread Srepfler Srgjan
Emmanuel Venisse wrote: It isn't possible but can be a good idea. Please file an issue. Emmanuel I like this idea too. Srgjan

[M2] Distributing archive of source via repository

2006-02-02 Thread Siegmann Daniel, NY
I know the source plugin can generate an archive of a project's source code. What must I do to get the deploy plugin to deploy this along with the class file jar? What, if any, configuration must be done in the dependant projects to get this automatically downloaded? Any help would be much appreci

[m2] APT Table Headers

2006-02-02 Thread Subhash Chandran
How to I add a table column headers in APT? The tutorial specifies to add contents to table cells only. -- Regards, Subhash Chandran S Cross platform OpenSource Java based file encryption software: http://www.WizTools.org/project/WizCrypt/

Re: [m2] Possible bug?

2006-02-02 Thread Rubén Barroso
I forgot to mention that @ char is in a comment. 2006/2/2, Rubén Barroso <[EMAIL PROTECTED]>: > > Hi all! > > I've got a resource (a Spring XML contexty file) that needs to be filtered > before being deployed. I use profiles to filter plenty of properties present > on it. I've an at character (@)

[m2] Possible bug?

2006-02-02 Thread Rubén Barroso
Hi all! I've got a resource (a Spring XML contexty file) that needs to be filtered before being deployed. I use profiles to filter plenty of properties present on it. I've an at character (@) in the middle of the file, and I've found out that properties after that comment aren't filtered (properti

Fwd: Continuum & Maven 2 not using settings.xml

2006-02-02 Thread Christian Mouttet
no ideas? -- Weitergeleitete Nachricht -- Subject: Continuum & Maven 2 not using settings.xml Date: Montag, 30. Januar 2006 10:46 From: Christian Mouttet To: users@maven.apache.org Hello everybody, on my Linux machine I have jdk-1.5, maven-2.0.1 and continuum-1.0.2 installed.

Re: clearcase, scm, Could not find Maven project descriptor

2006-02-02 Thread Wim Deblauwe
Normally, that should work. If you changed the directory where continuum looks for the pom.xml to "Root\pom.xml" it should work. I'm not sure if you should use backslash (\) or forward slash (/). Maybe you can give both a try? regards, Wim 2006/2/1, [EMAIL PROTECTED] < [EMAIL PROTECTED]>: > > Hi

RE: need to build a SAR file not a JAR file

2006-02-02 Thread Ballard, Ken
Sorry for my previous post. Henry's response is more current. Ken -Original Message- From: Brad O'Hearne [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 12:25 AM To: Maven Users List Subject: need to build a SAR file not a JAR file Hey there, I'm need to build a SAR file f

RE: need to build a SAR file not a JAR file

2006-02-02 Thread Ballard, Ken
Brad, There's a Maven SAR plugin. See: http://docs.codehaus.org/display/SM/Maven+SAR+plugin. Does this help you? Thanks, Ken -Original Message- From: Brad O'Hearne [mailto:[EMAIL PROTECTED] Sent: Thursday, February 02, 2006 12:25 AM To: Maven Users List Subject: need to build a SAR fil

accessing an internal repository with archetype:create

2006-02-02 Thread Horst-Günther Barzik
1.) I have created an internal repository 2.) Can deploy an archetype to the repository If someone else wants to create a project structure using the repository He needs a reference to that repository (which I guess must be set somehow in the settings or can use the -DremoteRepositories=).

Re: [m2] how do I make the modules use the same version as the parent pom?

2006-02-02 Thread brian . a . yoffe
Does the release plugin update both the parent's version number and the child's reference to the parent's version number? From Brett Porter <[EMAIL PROTECTED]> Subject Re: [m2] how do I make the modules use the same version as the parent pom? Date Fri, 23 Dec 2005 00:09:00 GMT We're working on a

Re: [m202] compilation error in multiproject - dependency not loaded inclasspath? -- user error

2006-02-02 Thread Thomas_Perry
This was a user error. on the dependency element for servlet-api we had coded jar instead of jar Because of this, the servlet-api jar was not added to the compile classpath, resulting in compile errors. our fault, and something we will document for our teams. Thanks Tom

How to skip inherited build goals?

2006-02-02 Thread Michael Böckling
Hi, is there a way to not execute a goal that was added to the build lifecycle in a parent pom? My issue: by default, all generated Jars are signed, but I don't want this for webapps since there are strange performance issues when the webapp classes are signed. Thanks in advance, Michael

Build numbering w/ Maven

2006-02-02 Thread Alex Boisvert
Hi, I would like to know about the options for sharing the Continuum build number with my underlying Maven1/2 projects. What I'm trying to do is generate artifacts with the following naming convention: myproject-1.0-123.zip where 1.0 is the version number defined in Maven (e.g. pom.xml), and 12

[m202] compilation error in multiproject - dependency not loaded in classpath?

2006-02-02 Thread Thomas_Perry
hello, we are running eclipse 3.1.1 and maven2 .0.2 and the maven eclipse plugin 0.0.4 we have a multiproject where a subproject has a dependency on javax.servlet/servlet-api/2.4 The dependency appears in the Maven2 Dependencies container in eclipse and the jar is our local repository. Whe

Multi modules project

2006-02-02 Thread Samuel Liard
Hi, I work in a project cut in a lot of modules. Each module has a pom.xml, and the modules are dependants the one between the others. For Example, 3 module A, B and C.. C is dependant of B and B is dependant of A. To day, when I build C, if jar of B is not up to date with java code, script ask t

RE: [M2] How to only delete .class files ?

2006-02-02 Thread Malcolm Wong Ho
Due to WSAD project directory structure, eg an ejb project has an ejbModule that is both the sourceDirectory and outputDirectory. -Original Message- From: jerome lacoste [mailto:[EMAIL PROTECTED] Sent: Thu 2/2/2006 12:54 PM To: Maven Users List Subject: Re: [M2] How to only delete .class

RE: [M2] How to only delete .class files ?

2006-02-02 Thread Giles, Nick
I'd use an ant task like the following: org.apache.maven.plugins maven-antrun-plugin Delete the class files generate-sources

Re: [M2] How to only delete .class files ?

2006-02-02 Thread jerome lacoste
On 2/2/06, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote: > How do i remove .class files if the sourceDirectory and outputDirectory are > the same ? Using maven, I don't know... It's not a standard practise. Stick with the standard. What do you gain at using the same directory for source and output?

[M2] How to only delete .class files ?

2006-02-02 Thread Malcolm Wong Ho
How do i remove .class files if the sourceDirectory and outputDirectory are the same ? Thank you kindly DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipient, you may not peruse, use, disseminate, distrib

[ANN] FINAL CALL: Java Web User Group / BOF XV / Oracle City of L ondon / Friday 3rd February 2006 @ 19:00

2006-02-02 Thread Pilgrim, Peter
THIS IS THE FINAL CALL Dear All I would like to formally announce that JAVAWUG (Java Web User Group) is holding the fifteenth Birds-of-Feather (Meet up) at the ``Oracle City of London'' offices on Friday, 3rd January 2006. The meeting will tak

Re: svn: Error resolving case of

2006-02-02 Thread Alejandro Nicolas Mascarell
Thanks! I'll take a look to them for sure ;) On 2/1/06, Julian Wood <[EMAIL PROTECTED]> wrote: > I wrote some docs on this, outlining how you can use SCM in concert > with maven builds and releases. Maybe there's something in there of > interest. > > http://wiki.ucalgary.ca/page/LearningCommons/Do

Re: [m2] Forking with Surefire

2006-02-02 Thread Ben Gidley
Sorry - ignore that. I have found a solution looking at the surefire code. The trick is to turn childdelegation off when forking. This means that the JVM only loads the classes once and it is all good. e.g. org.apache.maven.plugins maven-surefire-plugin once

Re: Setting up a proxy with maven-proxy

2006-02-02 Thread Tom Joad
For more details , see also http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment 2006/2/1, Brad O'Hearne <[EMAIL PROTECTED]>: > Hello, > > I would like to set up a remote repository that acts as a proxy to > iBiblio. I have obtained the Codehaus maven-proxy webapp and

Re: [m2] Forking with Surefire

2006-02-02 Thread Ben Gidley
Thanks for this - unfortunately even with this setting I am still having the same problem it appears to be some interaction between the libraries JAXB2 and Surefire is using that even happens when forking is occuring. I have checked (with -X) and I am definitely running Surefire 1.5.2 which is the

Re: need to build a SAR file not a JAR file

2006-02-02 Thread Henry S. Isidro
Brad O'Hearne wrote: Hey there, I'm need to build a SAR file for JBoss deployment, which is essentially the same as a JAR file, with a different extension (.sar rather than .jar). Can someone tell me how this can be accomplished? Thanks! Brad -