RE: Output to console and file at the same time?

2008-05-14 Thread Bernhard David
Hello, there's a windows port (non-cygwin, works in CMD.EXE) of tee and others - google gnuwin32. I'd still love to see maven use a logging system like log4j, though. David -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: 13 May 2008 17:24 To: Maven Users

Re: artifactory and snapshots vs releases

2008-05-14 Thread [EMAIL PROTECTED]
Rick schrieb: On Thu, May 8, 2008 at 11:56 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Thu, May 8, 2008 at 8:45 PM, Rick [EMAIL PROTECTED] wrote: If you have both a repository and a snapshotRepository, Maven will choose based on whether the version number ends in -SNAPSHOT. Magic. :)

maven-eclipse-plugin: Facet Issues

2008-05-14 Thread Chris_Graham
Hi All. Using V2.5.1 of the maven-eclipse-plugin, I have some issues in getting the generated artifacts being correct. Take this section of the POM: additionalProjectFacets jst.java5.0/jst.java jst.ejb2.1/jst.ejb

pom settings for RSA V7 EJB project settings

2008-05-14 Thread Chris_Graham
For those of you who are interested... Using the maven-eclipse-plugin V2.5.1: This is what I have for an EJB project. build plugins plugin artifactIdmaven-eclipse-plugin/artifactId configuration wtpversion1.5/wtpversion

Re: wtpversion = R7

2008-05-14 Thread Arnaud HERITIER
We have to update the documentation (we have an issue about it) http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html R7 is an old old old version of WTP. I think it was the one bundled in eclipse 3.0 (maybe 2.3, I don't remember) Arnaud On Wed, May 14, 2008 at 3:24 AM, [EMAIL PROTECTED]

Re: RA V7 Maven Support

2008-05-14 Thread Arnaud HERITIER
people had use this plugin with RAD 7 (with more or less success) but I never saw a thread about RSA. Arnaud On Wed, May 14, 2008 at 3:27 AM, [EMAIL PROTECTED] wrote: Hi All, I am attempting to, and so far it has been a rather futile effort, to set up the maven-eclipse-plugin

Re: maven-eclipse-plugin: Facet Issues

2008-05-14 Thread Arnaud HERITIER
Hi Chris, Thanks a lot for your feedback. Can you open an issue in Jira. We'll try to fix this issue in the next release. I think we have several others issues about facet issues. Arnaud On Wed, May 14, 2008 at 8:42 AM, [EMAIL PROTECTED] wrote: Hi All. Using V2.5.1 of the

Re: pom settings for RSA V7 EJB project settings

2008-05-14 Thread Arnaud HERITIER
Perhaps you can add this on the FAQ : http://docs.codehaus.org/display/MAVENUSER/FAQs-1 I'll try to think to add it in the plugin documentation ASAP. Arnaud On Wed, May 14, 2008 at 8:49 AM, [EMAIL PROTECTED] wrote: For those of you who are interested... Using the maven-eclipse-plugin V2.5.1:

assembly multimodules error you must set at least one file

2008-05-14 Thread LANGLOIS, Melanie (CALYON)
Hi, I have three poms.xml, 1 parent and 2 childs. The 2 childs pom contains only a list of dependencies, there is no source code in this project. Basically I want to create a tar file containing all dependencies listed in both child 1 and child2. When I try the mvn package

Re: problems with snapshot-timestamp though uniqueVersion is set to false

2008-05-14 Thread aldana
thanks, that worked. i see, there are already issues for that: http://jira.codehaus.org/browse/MNG-3144 and maybe duplicate http://jira.codehaus.org/browse/MNG-2839. i voted for it. Brett Porter wrote: ... In the mean time, removing the old snapshots from Archiva should resolve the

AW: maven-eclipse-plugin: Facet Issues

2008-05-14 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello Chris, for me, following works: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration

Re: npe

2008-05-14 Thread Matthew Pocock
Hi, I am not having much luck making a reproducible test-case. With three xdocs to process, it seems to be random which one (if any) fails to build. Different hashcodes making iteration order different on different runs? If you like, I can point you at the right svn URL to reproduce my problem.

classpath entries in maven-archiver generated MANIFEST.MF cannot be referenced

2008-05-14 Thread aldana
hi, i got problems with the classpath entries MANIFEST.MF. some classes cannot be found, though they exist as entry in MANIFEST.MF. weird thing is, that some jars are included correctly (i get some basic startup, which needs some dependency jars, but in the end all crashes). startup, which

Re: classpath entries in maven-archiver generated MANIFEST.MF cannot be referenced

2008-05-14 Thread [EMAIL PROTECTED]
aldana schrieb: hi, i got problems with the classpath entries MANIFEST.MF. some classes cannot be found, though they exist as entry in MANIFEST.MF. weird thing is, that some jars are included correctly (i get some basic startup, which needs some dependency jars, but in the end all crashes).

Specifying user in SCP URL with deploy plugin

2008-05-14 Thread Fabien Coppens
Hi. I'm trying to deploy a 3rd party jar file to my central repository using the deploy:deploy-file command. I haven't figured out how to format the URL (or other command parameter) so that I can specify what the user and password are. For some reason it keeps using my Windows username. I've

Re: classpath entries in maven-archiver generated MANIFEST.MF cannot be referenced

2008-05-14 Thread aldana
no, i copy/pasted the Class-Path bit from my maven-jar-plugin generated MANIFEST.MF and it is a multi-liner. it follows the 72 bytes block. all lines have maximum 72 bytes length and each newline starts with a white space. maybe this seems more to be a java as a maven-jar-plugin issue. i am

Re: maven release failure: Content is not allowed in prolog

2008-05-14 Thread Danilo Tuler
When I opened these files with edit ( in command prompt yeahh) I could see a 'bad' byte at the beginning. Those bad bytes are the byte order mark or BOM for short. If the file is UTF-8 encoded, those bytes (EF BB BF) are optional and may be there depending on the editor you use. It seems to be

Re: Specifying user in SCP URL with deploy plugin

2008-05-14 Thread [EMAIL PROTECTED]
Fabien Coppens schrieb: Hi. I'm trying to deploy a 3rd party jar file to my central repository using the deploy:deploy-file command. I haven't figured out how to format the URL (or other command parameter) so that I can specify what the user and password are. For some reason it keeps using

Patches of install and deploy plugins to support classifiers published

2008-05-14 Thread Libor Kramoliš
Hello. I have couple of questions and also I have some answers about artifact * classifiers*. What do you think about classifiers? Do you think they are important? Do you think they are useful. I think it is great idea but it is not so much supported by plugins. Classifiers are great to build

Re: war plugin - images / css

2008-05-14 Thread Peter Horlock
Hi, in the example provided the language properties seem to be under resources, not under webapp: http://jamwiki.svn.sourceforge.net/viewvc/jamwiki/wiki/trunk/jamwiki-war/src/main/resources/ApplicationResources_ja.properties?revision=2200view=markup Now I am confused :-( Thanks in advance,

Re: Using resource plugin -- why do my resources end up in classes/ ?

2008-05-14 Thread matthew sporleder
Is there any reason why these files shouldn't be considered binaries by the assembly plugin? I'm now running into a problem where my binaries are getting included in the zip file I create, but my resources are not. Do I need to explicitly include the mas files, or is there an option within the

Re: classpath entries in maven-archiver generated MANIFEST.MF cannot be referenced

2008-05-14 Thread aldana
i tried different things and my guess is that the problems occur because the problematic module is a webapplication running in the lightweight jetty container. it seems that the jetty-classloader cannot cope with some classpath entries. all other non-webapp components i am using with the

RE: cant build the next version until dependency built in a multi-module project

2008-05-14 Thread Brian E. Fox
The current plugin api doesn't allow it unfortunately. This is why we are deprecating aggregator plugins that are bound to the lifecycle in 2.1. The core attempts to be smart and ignores the sibling jars that are missing, but this could cause problems too. The original issue for this was

running mvn idea:idea

2008-05-14 Thread kace
Hi, I am using maven 2.0.9 and running mvn idea:idea and I get the following message when I run IDEA Cannot load module file 'C:\mobileanarchy\C:\mobileanarchy\data\common\common-core\mobileanarchy-data-common-core.iml': File

Problem with exec mojo after update

2008-05-14 Thread alex.g
I am using netbeans ide 6.1 and this morning I upgraded my maven plugin to 3.1.1. I don't know if this is the cause of the problem I'm having or if it's something completely different, but I've been trying all day to fix my exec plugin with no success. I have already tried uninstalling and

Getting to the failed tests quickly

2008-05-14 Thread rmatthews
Hi I am using surefire to run our unit tests. All goes well until a test fails then I have to do some major seaching to find the problem. The problem is that there are loads of files created for the set of tests (one per class) and no indication of which file I should look in. I have turned

Re: Getting to the failed tests quickly

2008-05-14 Thread Wayne Fay
I am using surefire to run our unit tests. All goes well until a test fails then I have to do some major seaching to find the problem. The problem is that there are loads of files created for the set of tests (one per class) and no indication of which file I should look in. If you simply

RE: war plugin - images / css

2008-05-14 Thread Beelen, M. - SPLXL
Peter, I hope I can solve some of you confusion. The rule I always use to determine where to put a file is to look at who will load a certain file. If the file is being loaded by a classload, the it should be under /src/main/resources. They will be copied to WEB-INF/classes when you build your

how to debug Maven Model?

2008-05-14 Thread torsten . reinhard
Hi, I´m having a problem with the site-url of my project, it´s not created correct. mvn help:effective-pom shows an invalid path. Therefore, I want to debug Maven-2.0.9. I´ve connected Eclipse via a Remote Java Application - all works fine, the debugger stops at EffectivePomMojo. Starting

RE: site problem with locale de

2008-05-14 Thread anne.gerodolle
Hi, According to jira, there is a fix in maven-project-info-reports-plugin concerning german internationalization files. You have to use version 2.1-SNAPSHOT . plugin groupIdorg.apache.maven.plugins/groupId

Re: Getting to the failed tests quickly

2008-05-14 Thread Adam Hardy
Wayne Fay on 14/05/08 16:03, wrote: I am using surefire to run our unit tests. All goes well until a test fails then I have to do some major seaching to find the problem. The problem is that there are loads of files created for the set of tests (one per class) and no indication of which file I

Re: Modify Classpath

2008-05-14 Thread vicki
This is exactly what I am doing - an integration test. I decided to create a separate test subproject that is a peer to the tested subprojects. I hoped that by declaring the same parent in my test subproject and inheriting all the project's dependencies I will be able to avoid version

Re: mvn release

2008-05-14 Thread VELO
But if one module as no changes, make any sense update his version? VELO On Tue, May 13, 2008 at 11:13 PM, Brett Porter [EMAIL PROTECTED] wrote: No - and since they are usually nested in your SCM they will likely be 'tagged' together anyway. It's generally a best practice to keep your

jboss-packaging-maven-plugin not copying .ear

2008-05-14 Thread Eric Smalling
(Please forgive me if this is covered elsewhere, but I cannot find anything in the doc's, issue tickets or mailing lists.) I am trying to create a .sar using the jboss-packaging-maven-plugin, it is correctly adding all of the .jar dependencies per my dependencies tags but there is one .ear

Bug in maven 2 -

2008-05-14 Thread EJ Ciramella
A colleague and I have found some strange behavior with the way properties are expanded and how m2 works. We've seen it such that if a property is undefined and you've activated a profile that has build segments and this undefined property, maven hangs just scanning for projects. I couldn't

Re: Bug in maven 2 -

2008-05-14 Thread Brian Fox
How are you using these properties? A copy of your PIM would help. Maven shouldn't hang, especially on an undefined property... It just goes through un-interpolated --Brian On May 14, 2008, at 1:44 PM, EJ Ciramella [EMAIL PROTECTED] wrote: A colleague and I have found some strange

Re: Getting to the failed tests quickly

2008-05-14 Thread Brian Fox
You can also use -Dsurefile.useFile=false to output the error to stdout. I do this in Hudson also so that the emails contain the error. --Brian On May 14, 2008, at 12:39 PM, Adam Hardy [EMAIL PROTECTED] wrote: Wayne Fay on 14/05/08 16:03, wrote: I am using surefire to run our unit

Re: running mvn idea:idea

2008-05-14 Thread Arik Kfir
IDEA natively supports Maven as of version 7 - what version are you using? -Original Message- From: kace [EMAIL PROTECTED] To: users@maven.apache.org Subject: running mvn idea:idea Date: Wed, 14 May 2008 07:36:42 -0700 (PDT) Hi, I am using maven 2.0.9 and running mvn idea:idea and I

Re: AW: Generation of ibm-application-bnd.xmi files with maven

2008-05-14 Thread Wouter Hermeling
Hi Thomas, My bad. I looked up in the old code repo and it seems we were only generating ejb bnd xmi files. For ears we could use the ones which WSAD generated. However, i stumbled across this post (http://www.mail-archive.com/[EMAIL PROTECTED]/msg10689.html) which says it can be done with the

RE: Bug in maven 2 -

2008-05-14 Thread EJ Ciramella
I can't really send along a pom, but I can describe things in a bit more detail... 1 - The pom with the property in it is three poms deep (there is a grandparent) 2 - We're running at the child node level 3 - we're activating a profile within this child pom that looks like this: profile

Re: maven-antrun-plugin

2008-05-14 Thread L. J.
I have the same problem, does anyone get it work? Thanks. LJ On Thu, Oct 4, 2007 at 4:07 AM, Andreas Rudolf [EMAIL PROTECTED] wrote: Hi, I tried to use this feature, but with no success. Neither if nor unless work. I tried Version 1.1 and 1.2-SNAPSHOT of antrun-plugin. Is there

Re: [M2] Maven and JavaFX

2008-05-14 Thread Jim Bethancourt
Hi Peter I came across the Flex 2 plugin for Maven 2, and I'm sure a JavaFX plugin could use it as a launching point: http://code.google.com/p/israfil-mojo/ It has been made available under a BSD license, though I'm not familiar with how it would impact writing a JavaFX plugin if it was used as a

Re: Problem with exec mojo after update

2008-05-14 Thread Jerome Lacoste
On Wed, May 14, 2008 at 4:37 PM, alex.g [EMAIL PROTECTED] wrote: I am using netbeans ide 6.1 and this morning I upgraded my maven plugin to 3.1.1. version 3.1.1 doesn't exist. [...] [ERROR] The following mojo encountered an error while executing: Group-Id: org.codehaus.mojo Artifact-Id:

Re: [M2] Maven and JavaFX

2008-05-14 Thread Jim Bethancourt
Looks like there is some effort underway -- just google javafx maven, but it's unclear as to what state things are in. It looks like there are a number of Flex mojos available as described in http://www.oreillynet.com/onjava/blog/2008/04/maven_unexpected_an_abundance.html It looks like

Re: wtpversion = R7

2008-05-14 Thread Chris_Graham
Thank you for the heads up. -Chris Arnaud HERITIER [EMAIL PROTECTED] wrote on 14/05/2008 17:54:33: We have to update the documentation (we have an issue about it) http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html R7 is an old old old version of WTP. I think it was the one bundled

Re: RA V7 Maven Support

2008-05-14 Thread Chris_Graham
I think that the best way to think of the differences is like this: RSA = RAD + UML Modeling + a few other goods. Ie, what works with RAD (from a pluging point of view) should work fine with RSA. -Chris Arnaud HERITIER [EMAIL PROTECTED] wrote on 14/05/2008 17:56:23: people had use this

Re: maven-eclipse-plugin: Facet Issues

2008-05-14 Thread Chris_Graham
Done. http://jira.codehaus.org/browse/MECLIPSE-449 However, this leads me to another question. We can specify the classpath container entries, fine, and that works. However, doesn't this conflict with the dependencies section (which in turn generates the .classpath entries which will result

classpath container issues

2008-05-14 Thread Chris_Graham
Given this fragment: classpathContainers classpathContainer org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/WebSphere v6.1 JRE/classpathContainer classpathContainer

Re: AW: maven-eclipse-plugin: Facet Issues

2008-05-14 Thread Chris_Graham
Hi Kuno, Thanks for that, however it does not work for me. However, I'll see if I can incorporate the server settings etc. -Chris Baeriswyl Kuno - Extern (IT-BA-MV) [EMAIL PROTECTED] wrote on 14/05/2008 19:32:24: Hello Chris, for me, following works:

Re: maven pde rcp to build

2008-05-14 Thread Barrie Treloar
Where did you get with this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SCM plugin 1.5

2008-05-14 Thread noahz_tt
Vitaliy Geraymovych wrote: Is there any way to configure scm:update to prune empty dirs? or just add -P option to cvs? (Replying to an old post because it was the best link that came up in Google - hope it saves someone else some time...) It seems that there is no option to do prune

Maven throwing device not ready exceptions

2008-05-14 Thread Eric Czarny
I have no idea why this is happening, Maven just started failing randomly. The output Maven displays is: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1

Re: Maven throwing device not ready exceptions

2008-05-14 Thread Lukas Theussl
Did you also clear your local cache and repo? Maybe a corrupted plugin or configuration file, but it's hard to tell. This exception is also thrown if you try to access any file named {nul,prn,aux,lpt1,lpt2,con}.* which is illegal on NT. Otherwise no idea, but it's probably not a Maven issue.