Re: Maven + WTP deployment question

2006-09-08 Thread Borut Bolčina
Install this plugin from Eclipse update manager http://adam.kruszewski.name/eclipse/ then look in project's properties for section "LibCopy properties" 2006/9/9, Vinicius Carvalho <[EMAIL PROTECTED]>: Hello there! I've managed to use WTP + maven thanks to messages on this list :). I've configur

Dependency properties

2006-09-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi, I have been using Ant for a long time and am now starting to use Maven. I also have a background in Java, so I am trying to learn as much as I can about Maven. Here is an issue which I cannot get around as of now. In Maven1 it was possible to bundle .jar files inside other archives by using

Maven + WTP deployment question

2006-09-08 Thread Vinicius Carvalho
Hello there! I've managed to use WTP + maven thanks to messages on this list :). I've configured my pom, to use WTP folders, and point to the correct context root using maven's war-plugin. But I still get a problem. When using WTP to deploy my app. It deploys it (but none of the libs that lies un

Re: Building source bundles without deploying

2006-09-08 Thread Arnaud HERITIER
I don't understand. I just have a look at the plugin. The current dist goal calls build-bin and build-src Can you try the last release of this plugin ? Unfortunately, this one is only compatible with maven 1.1. Can you try maven 1.1 beta 3 or the last snapshot of the RC1 http://people.apache.org/r

Re: Building source bundles without deploying

2006-09-08 Thread Elliotte Harold
Arnaud HERITIER wrote: maven dist:build-bin and/or maven dist:build-src OK. Thanks. Is there a way I can set up project.xml or project.properties so that this happens automatically, or am I just going to have to do this manually each time I release? -- Elliotte Rusty Harold [EMAIL PROTE

Re: antrun plugin can't find proper jars

2006-09-08 Thread Wayne Fay
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html "Using optional ant tasks" Basically you add the optional jars as dependencies to the maven-antrun-plugin itself in the build-plugins-plugin node. Wayne On 9/8/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: Here's a better questi

Re: Browser Testing - Selenium?

2006-09-08 Thread Wendy Smoak
On 9/8/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote: Anybody have experience with Maven & Selenium? http://www.openqa.org/selenium/index.html Yes, we're using Selenium for functional testing in both Shale and MyFaces. Here's a page explaining how I'm configuring Maven to include the neces

Re: Building source bundles without deploying

2006-09-08 Thread Arnaud HERITIER
maven dist:build-bin and/or maven dist:build-src Arnaud On 9/8/06, Elliotte Harold <[EMAIL PROTECTED]> wrote: Changes at Codehaus necessitated that I manually upload the recent Jaxen beta 10 release rather than use "maven dist:deploy" like I used to. Apparently the deploy step was crucial thou

RE: Combining multiple wars

2006-09-08 Thread johne
Andreas, As I am new to Maven 2 I am still trying to work off of examples and I am having a hard time locating an example for what I am trying to do. I have 5 modules that need to get built as follows: A -> A.jar B -> B.jar C -

Browser Testing - Selenium?

2006-09-08 Thread Douglas Ferguson
Anybody have experience with Maven & Selenium? http://www.openqa.org/selenium/index.html If not, have you used any other test?

Re: changelog and changes

2006-09-08 Thread Dennis Lundberg
Roald Bankras wrote: Hi All What is needed for the changelog and changes plugins to get release? Roald Bankras Software Engineer JTeam b.v. I have started a vote to release the changes plugin on the dev list. After that has been released I plan to do the same for the changelog plugin.

RE: antrun plugin can't find proper jars

2006-09-08 Thread EJ Ciramella
Here's a better question - is anyone trying to use any of the optional tasks in ant via maven? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 1:50 PM To: users@maven.apache.org Subject: antrun plugin can't find proper jars I'm running in

Unable to find Mojo/CNFE

2006-09-08 Thread Aleksei Valikov
Hi. I'm struggling to make my plugin work. It is a 1:1 copy of the http://maven-jaxb1-plugin.dev.java.net/ ported onto jaxb2. I'm getting 'Unable to find the mojo' error and the stack trace shows that I have a ClassNotFoundException. I have hot no idea why. The class is clearly in the jar an

Re: Wayne Naccari is out of the office.

2006-09-08 Thread Thomas Becker
ok, thanks for the heads up wayne - btw - who's the point man for mavnen issues? On 9/8/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: I will be out of the office starting 09/08/2006 and will not return until 09/14/2006. I will respond to your message when I return. If you need help for

Wayne Naccari is out of the office.

2006-09-08 Thread NWNaccari
I will be out of the office starting 09/08/2006 and will not return until 09/14/2006. I will respond to your message when I return. If you need help for any of the following: Tools (Knowledge Tree, Forum, Wiki, Fisheye): Robert Hill, Paul Gehring; JIRA: Bill Hackbay) Subversion: Ann Collett,

Building source bundles without deploying

2006-09-08 Thread Elliotte Harold
Changes at Codehaus necessitated that I manually upload the recent Jaxen beta 10 release rather than use "maven dist:deploy" like I used to. Apparently the deploy step was crucial though. A mere "maven dist" did not create the source archives. (It did create the binaries.) Is there some way I c

Re: m2: package, war: moving webapp file, or resource requires clean?

2006-09-08 Thread Roland Asmann
Just run 'mvn clean' Roland On Friday 08 September 2006 20:51, flyboy wrote: > Hi, > > 1) I run mvn clean package > 1) I rename a webapp file, for example, from src/main/webapp/old-app.html > to src/main/webapp/new-app.html > 2) I run mvn package > > Result: both old-app.html and new-app.html e

m2: package, war: moving webapp file, or resource requires clean?

2006-09-08 Thread flyboy
Hi, 1) I run mvn clean package 1) I rename a webapp file, for example, from src/main/webapp/old-app.html to src/main/webapp/new-app.html 2) I run mvn package Result: both old-app.html and new-app.html exist in war output (webapp directory and war file). The same kind of thing happens when I use

Re: How to build JEE 5 EJB-JARs?

2006-09-08 Thread Markus KARG
Yes certainly you are right the ejb.jar is nothing else than a normal .jar, but I expected the ejb3 task to optionally produce the ejb-client.jar, containing of the the interfaces and its dependencies, plus creating the Class-Path: entry to the ejb-client.jar in the ejb.jar. So I have to do all tha

antrun plugin can't find proper jars

2006-09-08 Thread EJ Ciramella
I'm running into a bit of a problem. Since we require passwords to log into perforce and for security reasons, I'm prevented from having some sort of shell log the build user in, I'm attempting to shell out to ant so maven can sync the project directory. So if I do "ant -f test.xml" things work

RE: AddressException in notifying with multiple email addresses

2006-09-08 Thread Johnson, Jonathan
Adam, I had the same problem. I wanted to define the notifications in the POM and not through the Continuum admin screen. The whole comma (why not ';'?) separated list thing never worked for me. So in each of my sub module POM.XML files I added sections like this and it has worked perfectly s

running JSUnit tests without ant?

2006-09-08 Thread Christofer Jennings
Is there a way to run JSUnit tests without ant? And as an aside, I wish I could manage javascript dependencies too. Wouldn't that be cool?! Thanks, chris

Re: How to build JEE 5 EJB-JARs?

2006-09-08 Thread Alexander Sack
Well Maven doc isn't exactly great since its not really centralized. But as many have stated custom packaging part of the EJB3 spec never made it and as such, the JAR plugin is your best bet! :D -aps On 9/8/06, Markus KARG <[EMAIL PROTECTED]> wrote: Alexandre Russel wrote: According to

AddressException in notifying with multiple email addresses

2006-09-08 Thread Adam Hardy
Hi Continuum People, I am looking at a problem whose solution has eluded me for the past couple of hours. I set up my continuum with a single notification address via the pom.xml and everything worked. I then added extra email addresses delimited by commas so: [EMAIL PROTECTED],[EMAIL PRO

Re: How to build JEE 5 EJB-JARs?

2006-09-08 Thread Markus KARG
Alexandre Russel wrote: According to "BetterBuildsWithMaven.pdf" I switched from ejb to ejb3. Unfortunately >>> change it to jar. >>> Alex >>> >> You mean there is no difference between ejb3 and jar? For what is ejb3 >> good then? >> > no, I mean the packaging is

Re: How to build JEE 5 EJB-JARs?

2006-09-08 Thread Markus KARG
Alexander Sack wrote: > Yea, I don't like having ejb-jar.xml either and I use JBoss which has its > own quirks regarding Class-Path. > > To answer your question, EJB3 is conceptually SUPPOSE to be simpler and > essentially a special JAR file with annotationed classes. What do you > envision the EJ

Re: site.xml inheritence

2006-09-08 Thread Phil Steitz
Better links (specifying svn revision numbers, so links are stable) Parent pom: http://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/pom.xml http://svn.apache.org/viewvc/jakarta/commons/trunks-sandbox/pom.xml?revision=437831 Parent site.xml: http://svn.apache.org/repos/asf/jakarta/co

Re: site.xml inheritence

2006-09-08 Thread Phil Steitz
On 9/8/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: I've already read that, there is no example of the child module's site.xml in there. I've been trying for ages to get the child module's site.xml to inherit the parent's site.xml (which is also the parent pom of it's own pom) and add a few li

RE: Combining multiple wars

2006-09-08 Thread Andreas Guther
We are using cargo to merge war files: http://cargo.codehaus.org/Merging+WAR+files Andreas -Original Message- From: johne [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 2:34 PM To: users@maven.apache.org Subject: Combining multiple wars Hello, I am mostly through the

Re: Eclipse & target directory

2006-09-08 Thread Donnchadh Ó Donnabháin
It seems to be stored in a binary file in the workspace (making it difficult for eclipse:eclipse to do much about ir) but there is an API method for setting it so maybe the m2eclipse eclipse plugin could do that Donnchadh On 9/8/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote: Awesome! Thanks.

RE: Surefire report not running on test failures

2006-09-08 Thread Andreas Guther
You need to configure surefire to ignore test failures. Look here for testFailureIgnore: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html I remember that I have read about a way to have this flag set dynamically so it is only ignored if you plan to generate reports (I think C

it is in the way cvs update: move away errors :what's ths?

2006-09-08 Thread Jeff Mutonho
I had a successful build an hour ago( that resulted in the building of 2 ears) , but my latest hourly build has a BUILD FAILURE status.The error message says : Build statistics: State: Error Previous State: Ok Started at: Fri, 8 Sep 2006 17:00:00 +0200 Finished at: Fri, 8 Sep 2006 17:00:27 +

Re: Combining multiple wars

2006-09-08 Thread johne
Thanks again Matt. I will give it a shot. I am hoping to be able to keep in touch with updates somehow. Maybe the other nabble thread will keep active. It would be great if a codehaus plugin project could happen for it so others would have access. I had seen other people with the same proble

Re: problems running project on jetty

2006-09-08 Thread Dudu
Thanks Wayne... the message error is not found on google :(. I have removed all dependencies and putted again, but without sucess. If I try with the jars on my pc, it works. I think there are a problem with the jars on mvn repository, like calling wrong dependencies or wrong versions of it. On

RE: Eclipse & target directory

2006-09-08 Thread Douglas Ferguson
Awesome! Thanks. Where does it store this value? I can't find it in any of the config files for the project. Could this be added to eclipse:eclipse? -Original Message- From: Donnchadh Ó Donnabháin [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 8:48 AM To: Maven Users List S

Re: problems running project on jetty

2006-09-08 Thread Wayne Fay
This seems like a JSF problem, not really a Maven issue per se. I'd send a similar email (minus the pom) to a couple JSF groups and see what they say about it. Also I'd try deploying your app to another app server to see if perhaps its simply a Jetty bug. Wayne On 9/8/06, Dudu <[EMAIL PROTECTE

Re: not allowed in settings.xml

2006-09-08 Thread Tomasz Pik
On 9/4/06, Andreas Guther <[EMAIL PROTECTED]> wrote: Hi, I noticed that it is not possible to define the distribution management inside the settings.xml. In my case the distribution management configuration is the same for all projects and so far I had it defined within a parent pom. Since dis

Re: [m2] Archetype/packageName/directory structure

2006-09-08 Thread zarar
Did you ever get this working? I'm getting this error: I'm trying to create/copy the directory structure form archetype-resources\business\core\src\main\java to business\core\src\main\java I've followed the directions here: http://maven.apache.org/guides/mini/guide-creating-archetypes.html

RE: rmic plugin

2006-09-08 Thread Ruel Loehr
The bad thing about this way of doing it is that it is not portable. E.g. macs don't have a tools.jar. Ruel Loehr JBoss, a division of Red Hat QA - 512-342-7840 ext 2011 Yahoo: ruelloehr Skype: ruelloehr AOL: dokoruel -Original Message- From: Borut Bolčina

Re: Eclipse & target directory

2006-09-08 Thread Donnchadh Ó Donnabháin
In eclipse right-click on the target folder and select 'Properties...' Then, in the Info page, check the 'derived' check box. This should exlude it from searches and resource lookups. Probably error reporting too but I haven't verified that Donnchadh On 9/5/06, Douglas Ferguson <[EMAIL PROTECTED

Re: rmic plugin

2006-09-08 Thread Borut Bolčina
Use ant task like this: maven-compiler-plugin 1.5 1.5 maven-site-plugin 2.0-beta-5 utf-8 utf-8 org.apache.maven.plugins maven-antrun-plugin

RE: Eclipse & target directory

2006-09-08 Thread Douglas Ferguson
Does anybody experience this? I'm also having trouble when I install a new version of a dependent jar, then run eclipse:eclipse, eclipse doesn't update the errors. It will still send the old api, even after I run refresh. Is there a magic sequence that would make things works smoother? D-

problems running project on jetty

2006-09-08 Thread Dudu
I don't know what to do... i'm migrating my project to maven, but always happen a problem with dependencies... I'm using adf faces, tomahawk and Sun RI. To corrige this error, I'm trying to add some libraries... This is the error: HTTP ERROR: 500 /sag/index.jspx(47,19) PWC6317: The attributes fo

[m2] How to exclude config files from JAR?

2006-09-08 Thread Christoph
Hi all, seems we have a kind of deadlock... Our project is a mulit-module project consisting of modules A and B (and others), where B depends on A. Additionally, A provides some base classes for the other modules. So we create and deploy a A-tests.jar and define a dependency in B on this with

rmic plugin

2006-09-08 Thread Israel Alvarez
Hi I´d like to know if a rmic plugin for Maven2 exists and if there is some documentation about it. I´ve been looking for it but I didn't find anything. Thanks _ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/us

Re: site.xml inheritence

2006-09-08 Thread Nick Veys
The 'Inheritance' section is a child site.xml, though I have never actually gotten what it says to do work. ;) On 9/8/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: I've already read that, there is no example of the child module's site.xml in there. I've been trying for ages to get the child mo

Last deployed Snapshot not retrieve from another machine

2006-09-08 Thread Olivier Catteau
Hi, I've got a strange problem and I'd like to know if it's a known bug or if I made a mistake when I configure my settings.xml or when I configure proximity. In fact, if I deploy a library in snapshot with maven2 and if I use this library in a project on the same machine, then I use my new snap

Re: Embedded error: Prohibited package name: java.lang

2006-09-08 Thread Lachlan Coin
Sorry,but I have somehow fixed the problem by cleaning and rebuilding. Thanks, Lachlan On 08/09/06, Lachlan Coin <[EMAIL PROTECTED]> wrote: Hi, I have run into the same problem described in this thread below, namely the error: [ERROR] BUILD ERROR > >> [INFO] > >> --

Embedded error: Prohibited package name: java.lang

2006-09-08 Thread Lachlan Coin
Hi, I have run into the same problem described in this thread below, namely the error: [ERROR] BUILD ERROR >> [INFO] >> - >> --- >> >> [INFO] Fatal error compiling >> >> Embedded error: Prohibited package name: java.lang

Re: [m2] all our builds are failing...

2006-09-08 Thread Geoffrey De Smet
To avoid this, it's best to lock down your plugin versions and upgrade them as you are able to test changes to the build. ... ... 2.0-beta5 ... Russ Tremain wrote, On 2006-09-07 7:07 PM: we are using a mirror to ibiblio, and have been having this error since yesterday: GroupId: org.apache.ma

Re: [m2] How to get source JARs when sharing eclipse config -- best p ractices?

2006-09-08 Thread Christoph
Hi Dirk, it seems this is what we have to do, re-generate and "throw away" the output of eclipse:eclipse. What kind of script do you use, batch file or M2 plugin? Is it working on top-level POM for multi-module builds as well, or do you have to execute it for each single module? Thanx, Christoph

Re: Build strategy help

2006-09-08 Thread Christophe DENEUX
Hi Jeff, The following should work: - In the branched project, update your pom with the scm url corresponding to your branch, - In continuum, add a new project corresponding to your branch. Christophe DEN

Build strategy help

2006-09-08 Thread Jeff Mutonho
Background. = We're going to be doing a release of version 1 of our application, but we're already doing pre-dev for version 2.The version 1 release is going to sit on a branch in cvs and all bug fixes for that version will be committed to that branch.All rebuilds with the bug fixes will

Re: Problem with maven-aspectj-plugin version 4.0

2006-09-08 Thread Lukas Theussl
Do you have any other pre/post- or custom goals defined? I remember a case where someone got into an infinite loop by overriding the java:compile goal. For the report problem: yes, I can generate a report. However, I think it only captures warnings from the iajc compilation, so if you have no

include some JARs in an EJB

2006-09-08 Thread Richard Fagot
Hi All, I use maven-ejb-plugin to create Ejb 2.x. I have some dependencies to add in the correspondant ejb jar. But when I do mvn ejb:ejb the generated jar does not contained the dependencies. How can I do that ? (I used the assembly plugin but I would like to know if the ejb plugin has thi

Re: Have Maven Eclipse Plugin specify Eclipse file encoding

2006-09-08 Thread Ralph Pöllath
On 08.09.2006, at 09:39, Stéphane Bouchet wrote: Ralph Pöllath a écrit : My work environment requires that all source files are encoded as UFT-8. Since we're using Eclipse, this means we have to change the file encoding to UTF-8 whenever we create a new workspace, which is inconvenient and

Re: Have Maven Eclipse Plugin specify Eclipse file encoding

2006-09-08 Thread Stéphane Bouchet
Ralph Pöllath a écrit : Hi, My work environment requires that all source files are encoded as UFT-8. Since we're using Eclipse, this means we have to change the file encoding to UTF-8 whenever we create a new workspace, which is inconvenient and error-prone. Since all of our Eclipse config

RE: Problem with maven-aspectj-plugin version 4.0

2006-09-08 Thread Orford, Ian
I got around my problem by commenting out the "" in the "" section of the jelly script. I'm pretty sure that's not a good way to do it, but it works for me. According to the release notes for the aspectj plugin version 4, this includes a report. I tried generating it but it gave me an empty report

Re: [solved] product codes at java 1.4, test sources at java 1.5

2006-09-08 Thread Nicolas De Loof
I just added a note to warn that this is only a maven2 hack, not an official solution to multiple target JRE. Wendy Smoak a écrit : On 9/7/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: I solved the issue of compiling the application code for Java 1.3 AND using java5 for tests : Thank you

Re: RE : [solved] product codes at java 1.4, test sources at java 1.5

2006-09-08 Thread Nicolas De Loof
Good to see it can help someone ! Please notice this is a maven2 hack (compile test prior to test compilation to avoid compilation errors...) that may be solved by having official support for a testCompile != compile configuration. Could you say what idea did this gives you ? Maybe it will giv

Re: site.xml inheritence

2006-09-08 Thread Geoffrey De Smet
I've already read that, there is no example of the child module's site.xml in there. I've been trying for ages to get the child module's site.xml to inherit the parent's site.xml (which is also the parent pom of it's own pom) and add a few links, with no luck. Phil Steitz wrote, On 2006-09-07