[m2] How to specify the next version of a project when releasing (in batch mode) ?

2007-03-02 Thread Elid OR
Hi all, Here my problem, I would like to specify the next version of my project when I release with the maven 2 release plugin in batch mode (in a continuous integration process) because it does not handle my incrementation convention. In fact It can not parse the version number for

Re: Renaming archetype files at custom archetype create goal?

2007-03-02 Thread Thorsten Heit
Hi Markku, Is it possible somehow to rename files witch locates under archetype-resources in you custom archetype? What i want to do is rename baseMagicDraw11.5model.xml file to $ {artifactId}.xml file when performing create goal. By using the antrun.plugin this should be quite easy:

Re: Cargo Database Container Status

2007-03-02 Thread Emmanuel Hugonnet
Wayne Fay a écrit : Probably best to pose this question the CARGO user list, right? ;-) Wayne On 3/1/07, Emmanuel Hugonnet [EMAIL PROTECTED] wrote: Hi, I would like to know the status of Cargo for databases since even if a branch does exist I don't see any snapshot or release with this

Compilation and execution

2007-03-02 Thread Emmanuel Hugonnet
Hi, I have to compile with a different JDK in my tests from the one to compile my code. I know about the codehaus wiki page ;o) My project is a multi module project. In some modules I need to use a jdk 1.5 to compile the sources and the tests, in some I compile the sources in 1.4 and the

Re: Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread Mark Hobson
Hi Scott, On 02/03/07, Scott Ryan [EMAIL PROTECTED] wrote: Why was the nearness process chosen and what does it buy me over using the most current compatible version out of my entire dependency list? Yep, nearness has never made much sense to me either. The proper fix for the more natural

Re: War resource filtering and excludes problem.

2007-03-02 Thread Chris Miner
Hi Julian, I do something similar for a war build with maven 2.x. Here's my pom snippet: build plugins plugin artifactIdmaven-war-plugin/artifactId configuration dependentWarExcludesWEB-INF/lib/*.jar/dependentWarExcludes /configuration /plugin

Re: Cargo Database Container Status

2007-03-02 Thread Mark Hobson
The database container work in Cargo is still very much work-in-progress. I hope to find some time soon to finish it off and merge it into the trunk. Feel free to take this to the Cargo lists for further discussion. Cheers, Mark On 02/03/07, Emmanuel Hugonnet [EMAIL PROTECTED] wrote: Wayne

Re: Help with continuum and deployment

2007-03-02 Thread Jeff Mutonho
On 3/1/07, Todd Nine [EMAIL PROTECTED] wrote: Hi all 2. The user selects that release and pushes it to staging 3. After completion of staging the user can go back to that build version, and push it to production. What does push mean in this context? -- Jeff Mutonho Cape Town South Africa

Problems adding Maven2 project through URL

2007-03-02 Thread Roland Klein
Hi All, i'm having trouble to add a project with modules to Continuum providing an URL. i tried following URL's: scm:svn:svn://host/project/trunk/pom.xml svn:svn://host/project/trunk/pom.xml svn://host/project/trunk/pom.xml scm:svn:svn://host/project/trunk svn:svn://host/project/trunk

Multi-module site - index.html/index.html in submodules URLs

2007-03-02 Thread Philippe Herlin
Hi, I have a multi-modules project with only 2 levels (i.e. a pom module and several jar modules) : . component (packaging = pom) . jar1 . jar 2 All submodules modules herites from the top module. All works fine but when I deploy the site, the URLs to submodules in the top module page

RE: Multi-module site - index.html/index.html in submodules URLs

2007-03-02 Thread VENTURI Rémy
Hi Philippe, What is the content of your distributionManagement tag in your top project ? Mine is : distributionManagement site idas-site/id urlfile:///devef/maven/site/RIC//url /site

Re: Problems adding Maven2 project through URL

2007-03-02 Thread Roland Klein
What i forgot releasing the project with Maven from the command line works fine. Also accessing the subversion repository with svn ls svn://host/project/trunk works. But there is no http access, because i am to lazy to install apache with svn_mod to acess subversion when it is working with

RAR plugin

2007-03-02 Thread Thomas Colin de Verdière
Hello, I' ve a problem with the RAR plugin. First if i set it in the pom like this : ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-rar-plugin/artifactId configuration /configuration

Plugin does not exist or no valid version could be found

2007-03-02 Thread Thorsten Elfert
Hi, it's the first time I'd like to use Maven. However, I am already struggling just by using it... I need to use maven for installation of a framework called AppFuse. As described by the AppFuse Installation Guideline (http://www.appfuse.org/display/APF/AppFuse+QuickStart) I tried to setup

Passing variables to antrun plugin

2007-03-02 Thread Graham Leggett
Hi all, A while back I stumbled upon a description of how to pass maven variables through the antrun plugin into an ant build script. Now that I need the functionality, I cannot find the description again. Nothing I can find in the antrun plugin docs at

Re: Compilation and execution

2007-03-02 Thread Emmanuel Hugonnet
zze-HUGONNET E ext RD-BIZZ a écrit : Hi, I have to compile with a different JDK in my tests from the one to compile my code. I know about the codehaus wiki page ;o) My project is a multi module project. In some modules I need to use a jdk 1.5 to compile the sources and the tests, in some I

[M2] EAR module, WTP and eclipse plugin

2007-03-02 Thread Alexandre Touret
Hello, I m using M2.0.5 with the last releases of both eclipse and wtp. I have an EAR archetype with some wars and jars (ejb, and others). When I run the eclipse plugin in maven, I have some troubles (sometimes described in this mailing list) : - the ear is not recognized as an enterprise

Re: Passing variables to antrun plugin

2007-03-02 Thread Siegfried Goeschl
Hi Graham, we use this to pass an environment variable tasks ant antfile=${basedir}/build.xml target=configure property name=maven.test.skip value=${maven.test.skip} / /ant /tasks but you can also use the antlib for maven if you would like to acess more information from the pom

Re: [m2] Maven gives up looking for parent pom

2007-03-02 Thread takai
David, if you'd like you could report it in Codehaus' jira: http://jira.codehaus.org/browse/MNG Cheers, Daniel David Jackman wrote: 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

Re: [m2] How to specify the next version of a project when releasing (in batch mode) ?

2007-03-02 Thread Thierry Lach
If it doesn't, it should. On 3/2/07, Elid OR [EMAIL PROTECTED] wrote: Hi all, Here my problem, I would like to specify the next version of my project when I release with the maven 2 release plugin in batch mode (in a continuous integration process) because it does not handle my incrementation

Re: Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread Scott Ryan
When I did that I got all sorts of null pointer exceptions trying te resolve things like 1.6 to 1.7 . I will try again today with various combinations and see what I can get to work. It seems like a pain to have to double check the transitive dependencies of every artifact that I use

InvocationtargetException

2007-03-02 Thread Alicia Sánchez-Mora
Hello, I am developig a web service in Java. I use axis 1.4 and tomcat 5.5. From the Client (Client.java) side I have to call some services in the class ( SDMInterfaceImpl.java). All was working correctly but now I have to add a GUI. Every time I call I service in a graphical window should

Re: Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread Scott Ryan
Thanks for the informative reply. I thought I was missing something on the nearness thing and was hoping for a revelation that made me excited but alas not. I am glad to see there is action on resolving this as it could be a pretty major issue with adoption of Maven as dependencies come

InvocationtargetException

2007-03-02 Thread Alicia Sánchez-Mora
I forgot atach the code :P Hello, I am developig a web service in Java. I use axis 1.4 and tomcat 5.5. From the Client (Client.java) side I have to call some services in the class ( SDMInterfaceImpl.java). All was working correctly but now I have to add a GUI. Every time I call I service in a

Testing the release plugin

2007-03-02 Thread Christophe Hamerling - EBM WebSourcing
Hi all, I need to use the release plugin but I want to test it before really use it for release. How can I do to NOT modify my svn trunk files. Is it better to work on a branch? Thanks Christophe Hamerling - To

maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Schoenen, Holger
Hi, from my project I want to generate an executable jar file. I use java 1.4 on windows. As described in the plugin documentation my pom containes the following: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

Re: Testing the release plugin

2007-03-02 Thread Thorsten Heit
Hi Christophe, I need to use the release plugin but I want to test it before really use it for release. How can I do to NOT modify my svn trunk files. Is it better to work on a branch? mvn release:prepare -DdryRun=true Is that what you're looking for? (see

RE: InvocationtargetException

2007-03-02 Thread Daryl.Dwyer
You realize this is the Maven users group (vs. Axis) or am I missing something? -Original Message- From: Alicia Sánchez-Mora [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 8:32 AM To: users@maven.apache.org Subject: InvocationtargetException I forgot atach the code :P Hello,

Re: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Rodrigo Ruiz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, The assembly plugin, by default, unpacks all dependencies into a common directory hierarchy. If you put unpackfalse/unpack within the binary section of your assembly descriptor, the dependencies should be copied as jars. It will change the

Re: Testing the release plugin

2007-03-02 Thread Christophe Hamerling - EBM WebSourcing
Hi, If it modifies nothing in SVN it is what I am looking for ! Are you sure ? Thanks Thorsten Heit a écrit : Hi Christophe, I need to use the release plugin but I want to test it before really use it for release. How can I do to NOT modify my svn trunk files. Is it better to work on a

Re: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Thorsten Heit
Hi Holger, It collects all libraries, the project is depending on (thats good!) and the java runtime libraries e.g.: COM.rsa.asn1.SunJSSE_b0.class ... The package starts with capital COM.! All further packages starting with standard lower letter names as com.sun.mail are converted to

Re: Problems adding Maven2 project through URL

2007-03-02 Thread Chris Russell
Hi Roland, I never could get it to pull from SVN (svn://se-scm.oracle.com/se/ml3/trunk/orion/apps/helpdesk). My workaround was to create a similar directory structure on the same linux box as Continuum, and upload the POM's there (but it doesn't have to be the same machine). I created this

Re: Testing the release plugin

2007-03-02 Thread Thorsten Heit
Hi, If it modifies nothing in SVN it is what I am looking for ! AFAIK it doesn't change anything in your repository. Are you sure ? I already tested it with our CVS repo, yes. Thorsten - To unsubscribe, e-mail: [EMAIL

RE: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Schoenen, Holger
Hi Thorsten, these are my demendencies: dependencies dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.13/version /dependency dependency groupIdjavax.j2ee/groupId artifactIdj2ee/artifactId version1.3.1/version /dependency

RE: Problems adding Maven2 project through URL

2007-03-02 Thread Morgovsky, Alexander \(US - Glen Mills\)
Here is the set-up which I have. I have Apache Web Server in front of SVN, and I add POM's in Continuum by using http://username:password@host/url of source code. I am using Maven 2, and I made sure that my settings.xml was in the home directory of the user who started the Continuum server.

Re: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Manos Batsis
Schoenen, Holger wrote: these are my demendencies: [...] My be, it is implicite. You can see the actual dependencies used with mvn help:effective-pom hth, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread Jason van Zyl
On 1 Mar 07, at 10:11 PM 1 Mar 07, Scott Ryan wrote: I am working with Maven on some fairly complex projects and I now understand that the dependency resolution is done via a nearness process rather than based on the highest compatible version. I have recently upgraded from Maven 2.04.

RE: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Schoenen, Holger
Hi Rodrigo, well, I get a jar-archive, but this doesn't execute! I think, I can't include other archives in a jar file for execution as they ar not accessible by the class loader. I hve to make them flat or include them as separte jars in the classpath. I have done this before, but I wanted to

Re: Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread Jason van Zyl
On 1 Mar 07, at 11:57 PM 1 Mar 07, Scott Ryan wrote: Yes I did make entries in my master parent for all the versions of software that we use but it is ignoring that as well. You have hard versions and it's ignoring them? Jason. Scott On Mar 1, 2007, at 9:36 PM, Wayne Fay wrote: Have

RE: hibernate3-maven-plugin hbm2ddl always try to connect

2007-03-02 Thread Johann Reyes
Hello Miso Sorry for the late reply, and thanks for letting me know, I'll probably add this to the FAQ of the plugin. Thanks again Johann Reyes -Original Message- From: Michal Hlavac [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 11:39 AM To: users@maven.apache.org Cc:

Re: RE: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Thorsten Heit
Hi Holger, these are my demendencies: *snip* Looking at your dependencies I cannot directly tell you where the COM.xxx packages come from, but I assume your j2ee.jar has something to do with this... As Rodrigo wrote, why do you want to unpack all of your dependencies? Wouldn't it be enough

Re: RE: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Thorsten Heit
Hi Holger, well, I get a jar-archive, but this doesn't execute! Then you don't have a main class reference in the jar's manifest...? See http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-jar.html I think, I can't include other archives in a jar file for execution as

Re: [m2] Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread John J. Franey
Wayne Fay wrote: Did you use the [...] notation in your versions? The question I asked myself was Why is the '[...]' notation important?. So I went to Better Builds with Maven (pdf) and found this in section 3.6: When a version is declared as 1.1, as shown above for plexus-utils, this

RE: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Schoenen, Holger
Hi Manos, I have tried it - there are just the same dependencies (impicite there should be a lot more e.g. commons-collections...). It is a quite simple project, no inheritance. I use eclipse, but execute mvn assembly:assembly fro a command line. In eclipse I have a folder maven-dependencies.

Bug on Maven 2.0.5 with plugin execution

2007-03-02 Thread gbois
Hi, I have make a pluigin and i have deploy it in my remote repository (webdav repository). My plugin doesn't requires a projet (The attribute requiresProject is false in plugin.xml file). My remote repository is delcared in the maven configuration (settings.xml file). For an empty local

Re: [m2] Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread Jason van Zyl
On 2 Mar 07, at 10:36 AM 2 Mar 07, John J. Franey wrote: Wayne Fay wrote: Did you use the [...] notation in your versions? The question I asked myself was Why is the '[...]' notation important?. So I went to Better Builds with Maven (pdf) and found this in section 3.6: When a

RE: RE: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages

2007-03-02 Thread Schoenen, Holger
Hi Thorsten, the main class is not the problem, there are several in the archive and pick them up when executing (e.g. List or Load...). I can taylor a manifest file, but I don't like to do so. I use maven and eclipse. In maven I define the dependencies. Whith eclipse all works fine. There are a

Assembly plugin: The source must not be a directory

2007-03-02 Thread Graham Leggett
Hi all, I have a multi project build, and following the instructions for creating a binary assembly from the multi project build, I get the following error: [INFO] [ERROR] BUILD ERROR [INFO]

Re: [m2] Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread Trevor Torrez
[snip] Before reading that what did you think something like: version1.0/version meant? I'm actually interested in what general user opinion is here. Jason. I thought it meant 1.0 (period).

Easily List Dependencies for New Plugin?

2007-03-02 Thread Dees, Ian \(GE Healthcare\)
Hi List, I am trying to update our in-house repository with the new Surefire 2.3 plugin. I'd like to make sure all of the Surefire dependencies are available, too. Is there a way to automatically mirror repo1 to a local server without manually checking for the 2.3 dependencies? -Ian

Re: [m2] How to specify the next version of a project when releasing (in batch mode) ?

2007-03-02 Thread Wayne Fay
I don't know if I entirely agree with that. Maven is not just a tool to help you compile and build your Java projects -- it also gently enforces a collection of best practices for building Java projects. It seems like your version starting with a letter does not meet Maven's concept of best

Multiproject Subversion Layout

2007-03-02 Thread Todd Nine
Hi all, I'm created a multi project build using subversion for source control. I've used CVS in the past, so I'm a bit confused as to how I need to layout the repository for a multiproject release in subversion. Here are the two options as I see them, which one should I use to perform a

Re: Easily List Dependencies for New Plugin?

2007-03-02 Thread Wayne Fay
Not that I'm aware of... You'll probably want to run your build (using Surefire 2.3) externally and watch the plugins that come down, then copy those files to your in-house repo manually. Any particular reason you're not running Maven Proxy or Proximity (or Archiva) etc which would manage things

Re: Bug on Maven 2.0.5 with plugin execution

2007-03-02 Thread Jason van Zyl
We have an integration test plugin which I just ran: mvn org.apache.maven.its.plugins:maven-it-plugin-no-project:light-touch And it works as expected. It is a mojo that does specifies @requiresProject false and just produces a text file. Could you give a mock up of your plugin and a build.

Re: Plugin does not exist or no valid version could be found

2007-03-02 Thread Wayne Fay
Try deleting your ~/.m2/repository folder and then run that command again. Also, add the -X parameter (so mvn -X ...) to your command line to receive debugging information during execution. If it fails again, scan the debug log and try to find the specific problem. Things sometimes get wacky

RE: Easily List Dependencies for New Plugin?

2007-03-02 Thread Dees, Ian \(GE Healthcare\)
I haven't heard of any of those utilities. I will look in to them. What are they meant to do? (I suppose I could assume by the name, but just being complete...) Thanks, Ian -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 10:28 AM To: Maven

Assembly plugin: You must set at least one file.

2007-03-02 Thread Graham Leggett
Hi all, After stabbing in the dark and adding the classifier after the included module name as below, I get the next incomprehensible message: [INFO] [ERROR] BUILD ERROR [INFO]

Re: Assembly plugin: You must set at least one file.

2007-03-02 Thread Eric Redmond
run it with the -e extension, and send the printed out error message Eric On 3/2/07, Graham Leggett [EMAIL PROTECTED] wrote: Hi all, After stabbing in the dark and adding the classifier after the included module name as below, I get the next incomprehensible message: [INFO]

Re: [m2] How to specify the next version of a project when releasing (in batch mode) ?

2007-03-02 Thread Thierry Lach
I suppose that depends on who's best practices they are, which best practices they are, and how important they are. I'd really hate to put an issue like the format of a release number on the same par as doing a release without running the tests. Quite frankly, the version starting with a letter

RE: M2 settings.xml

2007-03-02 Thread Janecek Jan
Hi, Look into the 'conf' directory in maven distribution. Jan -Original Message- From: sarancse [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 10:25 AM To: users@maven.apache.org Subject: M2 settings.xml Hi I am looking for a sample settings.xml file. Could anyone upload

Maven release SNAPSHOT modules

2007-03-02 Thread Christophe Hamerling - EBM WebSourcing
Hi, I have a project with multiple modules and crossed dependencies. In my POMs I define the dependencies version with properties. The release plugin does not handle these properties to change the SNAPSHOT versions. How can I do it? Do I forget something? Thanks Christophe HAMERLING

Re: [m2] Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread Rémy Sanlaville
2007/3/2, Trevor Torrez [EMAIL PROTECTED]: [snip] Before reading that what did you think something like: version1.0/version meant? I'm actually interested in what general user opinion is here. Jason. I thought it meant 1.0 (period). So do I ! Isn't what the Better Build with

Re: M2 settings.xml

2007-03-02 Thread Mick Knutson
!-- | This is the configuration file for Maven. It can be specified at two levels: | | 1. User Level. This settings.xml file provides configuration for a single user, | and is normally provided in $HOME/.m2/settings.xml. | | NOTE: This location can be overridden

[OT][ANN] JAVAWUG BOF 25 / 27 March 2007 @ 18:30 / Adobe Flex with Ben Forsaith / Skills Matter

2007-03-02 Thread Peter . Pilgrim
Hi I would like to formally announce that ``JAVAWUG'' (Java Web User Group) is holding the BOF 25 at the Skills Matter, London. Ben Forsaith will give a presentation on Adobe Flex on Tuesday 27th March 2007 at Skills Matter Ben will talk about integrating Flex with Java server side frameworks

Re: Easily List Dependencies for New Plugin?

2007-03-02 Thread Wayne Fay
[1] Proximity is in function somewhere between http-proxy and proactive-mirror. Proximity is not HTTP Proxy. One of it's primary use is as Java web application to serve as maven proxy on our company's intranet. As for reducing outgoing traffic (caching central and other maven repos), aggregating

Deploy exported-pom.xml with deploy plugin

2007-03-02 Thread Niels Gylling
I would like to release my pom info with resolved version info etc to our shared repository. When I install an artifact, the exported-pom.xml file is generated - possibly if updateReleaseInfo is set to true. Now if I perform a deploy also with the same parameter set, the pom deployed to

Maven checkstyle issue: can't find Exceptions on class path

2007-03-02 Thread Yoav Shapira
Hi, I think my issue is the same one Dan Kulp raised in the Maven 2.0.5 release vote: http://www.mail-archive.com/dev@maven.apache.org/msg64334.html In short, the Checkstyle plugin reports the following: C:\svn\myfiles\fooServlet.java:0: Got an exception - java.lang.RuntimeException: Unable to

Re: Easily List Dependencies for New Plugin?

2007-03-02 Thread Tamás Cservenák
Proximity can help you to collect this kind of info. For example, if you are interested in new surefire deps, use Proximity search function, and enter Lucene query: pom.deps:org.apache.maven.surefire and it will list all artifacts that DEPENDS ON surefire. Of course, all of this AFTER you

Archetype: create resources as companions to java source files

2007-03-02 Thread Howard Lewis Ship
I'm trying to create a archetype where some of my Java source files have related resources. Thus, if I have a Java source as src/main/java/pages/Start.java, I would like to have a companion src/main/resources/pages/Start.properties. In the generated application, these would both be qualified

Re: [m2] Transitive Dependency resolution is degrading the versions of my dependencies (i.e. commons-collections 3.2 down to 2.1)

2007-03-02 Thread John J. Franey
Jason van Zyl-2 wrote: On 2 Mar 07, at 10:36 AM 2 Mar 07, John J. Franey wrote: From Better Builds with Maven: When a version is declared as 1.1, as shown above for plexus- utils, this indicates that the preferred version of the dependency is 1.1, but that other versions may

Re: Where is continuum_cli.py?

2007-03-02 Thread Andrew Williams
Sorry, I have been working on the python code, but I never got to the building, only the reading of information. Also, this was before project grouping came into effect, so things may have changed. I guess this needs more work next time I get a chance. A On 2 Mar 2007, at 01:15, David

Re: [OT][ANN] JAVAWUG BOF 25 / 27 March 2007 @ 18:30 / Adobe Flex with Ben Forsaith / Skills Matter

2007-03-02 Thread Siegfried Goeschl
Hi Peter, how is your formal announcement related to Maven community? And would I receive a hard-copy version if I'm unsure about your identity? Thanks in advance, Siegfried Goeschl [EMAIL PROTECTED] wrote: Hi I would like to formally announce that ``JAVAWUG'' (Java Web User Group) is

Re: Maven checkstyle issue: can't find Exceptions on class path

2007-03-02 Thread Dennis Lundberg
Yoav Shapira skrev: Hi, I think my issue is the same one Dan Kulp raised in the Maven 2.0.5 release vote: http://www.mail-archive.com/dev@maven.apache.org/msg64334.html In short, the Checkstyle plugin reports the following: C:\svn\myfiles\fooServlet.java:0: Got an exception -

Re: War resource filtering and excludes problem.

2007-03-02 Thread Julian Wood
Hi Chris, Isn't this for use with war overlays? The way I understood this from the documentation was that if the module you're building depends on the creation of another war in your project, you can use this to combine the two wars, into a single war, excluding whatever you want from

Re: Maven checkstyle issue: can't find Exceptions on class path

2007-03-02 Thread Yoav Shapira
Hi, On 3/2/07, Dennis Lundberg [EMAIL PROTECTED] wrote: This is a known issue. See http://jira.codehaus.org/browse/MCHECKSTYLE-54 Thanks, I'll keep an eye on it. Yoav - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Can Maven be used for release control?

2007-03-02 Thread Ramdas . Hegde
I am using Perforce for source code control and ant build scripts for building a Webservices application being hosted on a Weblogic server. I am looking for a framework to help with build releases. Was wondering if Maven was the right tool for this purpose? thanks -ramdas

Re: Help with continuum and deployment

2007-03-02 Thread Todd Nine
To answer myself, I noticed this is slated for the 2.0 release. What is the release timeframe for 2.0? Thanks, Todd On 3/1/07, Todd Nine [EMAIL PROTECTED] wrote: Hi all, I'm trying to set up continuum as a means for our webmaster to deploy our applications. 99% of all changes will be JSF

Re: Can't compile project

2007-03-02 Thread Thierry Lach
Noticed this again while going through some of the old emails I had marked for followup. There is a maven 2 repository also https://maven2-repository.dev.java.net/ On 2/18/07, Mark Derricutt [EMAIL PROTECTED] wrote: On 2/19/07, Wendy Smoak [EMAIL PROTECTED] wrote: 2)

Re: War resource filtering and excludes problem.

2007-03-02 Thread Greg_Vaughn
I'm wondering if a whole 'nother approach would work for you. It really depends on your workflow, but I submit it for your consideration. Doing 'mvn compile war:inplace' will cause maven to copy the .class files to web-inf/classes and the pom dependencies to web-inf/lib so that you can do

EAR plugin: dependent libraries location

2007-03-02 Thread Ron Piterman
Hi all, I have an EAR project, which includes an EJB project as module, say Foo. Foo is dependant on Bar, and bar is included in the EAR, but not in the root directory of the EAR instead in the /lib directory. This results in a class-not-found exception when deploying in jboss. Did I forget

EAR plugin: dependent libraries location

2007-03-02 Thread Ron Piterman
Hi all, I have an EAR project, which includes an EJB project as module, say Foo. Foo is dependant on Bar, and bar is included in the EAR, but not in the EAR/lib directory, as I would expect: it goes to the root directory of the EAR instead. This results in a class-not-found exception when

Re: Can Maven be used for release control?

2007-03-02 Thread Nick Stolwijk
Maven sure can help with release management, see the release plugin[1]. Hth, Nick Stolwijk [1]http://maven.apache.org/plugins/maven-release-plugin/ [EMAIL PROTECTED] wrote: I am using Perforce for source code control and ant build scripts for building a Webservices application being hosted

Re: War resource filtering and excludes problem.

2007-03-02 Thread Julian Wood
I'm actually beginning to think this is not possible with the way the war plugin currently works. You are always going to have either both sets of jars, or neither set. The reason is because the war plugin seems to do its excludes at the last possible moment, so it can't differentiate

jetty plugin claspath issue

2007-03-02 Thread Trevor Torrez
I'm developing a fairly large project consisting of many parts and dependencies; when running the web project in the jetty container using the maven-jetty-plugin (6.1-SNAPSHOT) I am getting what appears to be a classloader issue. Specifically I am getting a ClassCastException at

Re: [ANN] Hibernate3 Maven Plugin 2.0-alpha-1 released

2007-03-02 Thread David J. M. Karlsen
Johann Reyes wrote: Hello everyone, I am pleased to announce the release of the Hibernate3 Maven Plugin version 2.0-alpha-1. This release includes: 1) Support of the hbm2doc, hbm2ddl, hbm2java, hbm2hbmxml, and hbm2cfgxml goals from the hibernate-tools project

Multi-module compile of dependency from parent

2007-03-02 Thread mark_in_gr
I have a multi-module project which is basically structured like this: parent(pom only) ---module1 ---module2 ---module3 Module3 has Module1 and Module2 as dependencies. My question is: if I make a source code change in a class in Module1, I would like to simply to a Build(package or install)

Releasing a multiproject

2007-03-02 Thread David Jackman
I've put together a group of projects as a multiproject (so the parent pom.xml references the others as modules). They all build just fine as snapshots. I'm now trying to do a release:prepare on the group as a whole (running from the parent pom directory). There are interdependencies within

assembly-plugin: setting the base directory

2007-03-02 Thread uma_rk
I am using assembly plugin to create a src zip assembly of my resources: src/main/resources/foo/bar/ However, the zip assembly contains directory starting from src as follows: src/ src/main src/main/resources src/main/resources/foo ... I need an

Re: Not releasing an integration-tests module

2007-03-02 Thread Wendy Smoak
On 3/1/07, Dan Adams [EMAIL PROTECTED] wrote: I have a project that is a jar library with the following structure: / /lib /integration-tests /web /tests I want to release it but I don't want to deploy the integration-test module or check it's dependecies for snapshots and such. Can

Re: Username and password for deploy plugin

2007-03-02 Thread Wendy Smoak
On 2/28/07, Paul Gier [EMAIL PROTECTED] wrote: 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

maven-site-plugin not generating proper modules nav menu

2007-03-02 Thread Christian Goetze
I have a project with subprojects, and I wish to generate a site with some simple reports. It just doesn't work. I always end up with no module links on the top level index.html page, and if I go to project-reports.html, all the module links simply point to index.html, not the actual

Re: Help with continuum and deployment

2007-03-02 Thread Wendy Smoak
On 3/2/07, Todd Nine [EMAIL PROTECTED] wrote: To answer myself, I noticed this is slated for the 2.0 release. What is the release timeframe for 2.0? I'm curious where you're finding info about a 2.0 version? So far, JIRA only has 1.1, 1.2, and Future:

Re: Multi-module compile of dependency from parent

2007-03-02 Thread Nick Stolwijk
As far as I know, when you do a mvn install the new code from Module1 would be compiled and installed in the local repo as snapshot. After that Module3 would use that snapshot to build. The package lifecycle is just one step too early to fix the dependencies. Ofcourse, you have to do the mvn

Re: Plugin does not exist or no valid version could be found

2007-03-02 Thread Tony Ambrozie
If the proxy requires authentication, you will need to add: usernameyour_usernameusername passwordyour_password/password to your proxy settings. Thanks' On 3/2/07, Thorsten Elfert [EMAIL PROTECTED] wrote: Hi, it's the first time I'd like to use Maven. However, I am already