Re: Not able to pass multiple arguments to javac

2007-11-23 Thread Wayne Fay
Try this, Sahoo: org.apache.maven.plugins maven-compiler-plugin -nowarn -verbose On 11/22/07, Sahoo <[EMAIL PROTECTED]> wrote: > As suggested in [1], I tried configuring maven-compiler-plugin like this: > > -nowarn -verbose > > But it causes compilation fail

Re: javadoc: aggregated and per module

2007-11-23 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Mick, > Can you show me what you did? I want to do this, but can't find any working > examples. Here is my pom. Works for me, but might be sick and maybe will not work in future maven releases: http://m-m-m.svn.sourceforge.net/svnroot/m-m-m/trunk/po

RE: report for many sub modules ...

2007-11-23 Thread Giovanni Azua
hi, I just realized that using the Dashboard plugin I can get rid of explicitly pointing to these: - PMD - CPD - Checkstyle - Surefire even though Dashboard prints for some e.g. no data available but the link to the detailed report is there. So ... somehow wanting you can really prune the repor

RE: report for many sub modules ...

2007-11-23 Thread Giovanni Azua
Hi Wendy, I thought sometime ago about using the aggregate option but it is not really widely supported. I could only successfully aggregate the reports for: - Clover - Javadoc These are documented to support aggregation but could not get them to work in my multi-project (may be my mistake se

Re: report for many sub modules ...

2007-11-23 Thread Wendy Smoak
On Nov 23, 2007 1:55 PM, Giovanni Azua <[EMAIL PROTECTED]> wrote: > Is there is a simple way to make a project that has many sub-projects show > all reports collapsable like when the report is generated for a single > project e.g. displaytag below the project page limits the number of reports > pe

report for many sub modules ...

2007-11-23 Thread Giovanni Azua
hi all, Is there is a simple way to make a project that has many sub-projects show all reports collapsable like when the report is generated for a single project e.g. displaytag below the project page limits the number of reports per sub-module but when there are many sub-modules then it really be

Re: ant tasks and pom properties

2007-11-23 Thread Hervé BOUTEMY
I opened a Jira issue about this: http://jira.codehaus.org/browse/MANTTASKS-101 and made the enhancement This will work in Maven Ant Tasks 2.0.8. Hervé Le mardi 20 novembre 2007, Hervé BOUTEMY a écrit : > Le lundi 19 novembre 2007, Kevin Stembridge a écrit : > > Hi all, > > Is it possible for

Maven ear problem: Jboss can't find datasource file

2007-11-23 Thread CasMeiron
Hi guys, Im trying to create a full ear project with maven2. Entities module, Ejb3 module, war modules etc... In my ejb3 module, i have the file "my-app-ds.xml" inside src/main/resources/META-INF In my ear module pom, i have the follow: 4

RE: Sql error

2007-11-23 Thread Hodanics, Charles J.
Yes we were able to use Squirrel to connect to the derby db. How do you go about cleanly removing something like this? Thanks, Charles Hodanics NSTD-STJ 443-778-3246 -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, November 22, 2007 3:21 AM To: [EMAI

Re: Active a profile if another is not activated

2007-11-23 Thread nicolas de loof
A solution to test : profile1 !foo // get active if foo is NOT set profile2 bar // define foo when active -> disable profile 1 2007/11/23, Saloucious <[EMAIL PROTECTED]>: > > > Hi, > > Is it possible to activate a profile if a profile is or is not activated ? > >

[announce] Continuum 1.1 final is released

2007-11-23 Thread Emmanuel Venisse
The Continuum team is pleased to announce the Continuum 1.1 final release Highlights are: * bug fixes * A new backup tool with xmlrpc for continuum db You can grab the latest release from the download page : http://maven.apache.org/continuum/download.html To upgrade from a previous 1.

Re: Active a profile if another is not activated

2007-11-23 Thread Wendy Smoak
On Nov 23, 2007 10:03 AM, Saloucious <[EMAIL PROTECTED]> wrote: > Is it possible to activate a profile if a profile is or is not activated ? Not directly, but what problem are you trying to solve? If you need to activate exactly one of a set of profiles, you can do it with the absence/presence o

Re: warSourceExcludes

2007-11-23 Thread Paul Austin
Should the following exclude the commons-logging class which is a > dependency of another module I depend on? If not how can I exclude this > dependent lib from my war. > > > maven-war-plugin > > > /WEB-INF/lib/commons-logging-1.0.jar > >

warSourceExcludes

2007-11-23 Thread Paul Austin
Should the following exclude the commons-logging class which is a dependency of another module I depend on? If not how can I exclude this dependent lib from my war. maven-war-plugin /WEB-INF/lib/commons-logging-1.0.jar On another simila

Active a profile if another is not activated

2007-11-23 Thread Saloucious
Hi, Is it possible to activate a profile if a profile is or is not activated ? -- View this message in context: http://www.nabble.com/Active-a-profile-if-another-is-not-activated-tf4862672s177.html#a13915247 Sent from the Maven - Users mailing list archive at Nabble.com. ---

can not download lib from in house maven repo

2007-11-23 Thread Jeffrey Wu
Hi there, I set up maven-proxy to host in house maven repo but when I run maven build it could not down any jar files from the in house repo. I attached both the the error message and the maven-proxy config. Any help is greatly appreciated. For you info, my machine connect directly to internet wi

Re: cannot find symbol

2007-11-23 Thread helio
Dirk, thanks for your answer! But the problem is not the Java version. I verify that JAVA_HOME points to 1.5 and maven shows this when I run it with "-X" option: [EMAIL PROTECTED] SOA-Ofertas-modulos]$ mvn -X compile + Error stacktraces are turned on. Maven version: 2.0.7 Java version: 1.5.0_

Re: cannot find symbol

2007-11-23 Thread Dirk Olmes
helio wrote: > Hi, > > I've encountered a strange error executing "mvn compile", as follows: > > [DEBUG] > /home/helio/buscape/projetos/tsunami/eclipse-desenv/SOA-Ofertas-modulos/src/main/java > > [INFO] Compiling 17 source files to > /home/helio/buscape/projetos/tsunami/eclipse-desenv/SOA-Ofer

cannot find symbol

2007-11-23 Thread helio
Hi, I've encountered a strange error executing "mvn compile", as follows: [DEBUG] /home/helio/buscape/projetos/tsunami/eclipse-desenv/SOA-Ofertas-modulos/src/main/java [INFO] Compiling 17 source files to /home/helio/buscape/projetos/tsunami/eclipse-desenv/SOA-Ofertas-modulos/target/classes [I

Re: JUnit 4 @Before

2007-11-23 Thread Martin Gilday
I had been using artifact junit:junit-dep:4.4 rather than junit:junit:4.4. It seems this dependency does not trigger the Surefire JUnit4 booter. This is a shame as I would consider the -dep version to be the more correct and mavenish version, as it uses the dependency mechanism rather than making

JUnit 4 @Before

2007-11-23 Thread Martin Gilday
I'm trying to use Maven and JUnit 4, but none of my @Before methods seem to get called. I am using 2.3.1-SNAPSHOT of Surefire. Is this a known issue? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

NullPointerException on Dependency resolution

2007-11-23 Thread Saloucious
Hi, when i compile my project, Maven throws a NullPointerException : [DEBUG] commons-beanutils:commons-beanutils:jar:1.6:compile (removed - nearer found: 1.7.0) [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile (selected for compile) [DEBUG] commons-logging:commons-log

Wayne Naccari is out of the office.

2007-11-23 Thread NWNaccari
I will be out of the office starting 11/20/2007 and will not return until 11/26/2007. I will respond to your message when I return. If you need help for any of the following: Tools (Knowledge Tree, Forum, Wiki, Fisheye): Mykel Alvis, Paul Gehring) Subversion: Mykel Alvis Dev/Test Server Middle

Yet another article: moving to Seam

2007-11-23 Thread Wouter van Reeven
Hi all, Today I finished another article about Maven, Netbeans and GlassFish. This time I explain how to setup Seam, both from a Maven perspective and a Netbeans perspective. I hope this article will also be useful to people who want to use Seam but not Maven. You can find the article at http://

XHTML compliance

2007-11-23 Thread BDM
hello, just a "will be welcomed" improvement: many of the JSP files in continuum have some malformed XHTML tags (i.e. img, input, br, some td ...). I wanted to extract part of continuum pages with an XML parser ... the poor thing was completely doomed because of some img or input tags not clos

Re: Testing archetypes?

2007-11-23 Thread nicolas de loof
You may look at the shitty maven plugin ( http://mojo.codehaus.org/shitty-maven-plugin/) to run some maven execution as part of a maven integration-test phase. It is designed for plugins, but may also work for archetypes. Nico. 2007/11/23, Dirk Olmes <[EMAIL PROTECTED]>: > > Dirk Olmes wrote: >

Re: Testing archetypes?

2007-11-23 Thread Dirk Olmes
Dirk Olmes wrote: > Hi, > > I would like to test my custom archetype project, i.e. as part of the > test run the archetype and compile the output. I had a look at the > maven-archetype-plugin and the various plugins that come with it already > but there's nothing there. > > I alredy went down the

Re: rmic compiler other then FreeHep

2007-11-23 Thread Borut Bolčina
Yes, right now it is hardcoded like this: for (JavaClass sc : c.getSuperClasses()) { if (sc.getClassName().contains("RemoteObject")) { cmdLine.add(classFile.getName()); filesForStubs.add(classFile.getName()); break; } } I am battling class loaders at the moment. I

Re: [Solved]Re: Central repository overriding with mirror

2007-11-23 Thread Saloucious
yes, Maven just prints the wrong url in the error message if the artifact is not found Wendy Smoak-3 wrote: > > On Nov 22, 2007 11:11 AM, Saloucious <[EMAIL PROTECTED]> wrote: > >> Ok i've just trace Http request, >> >> You were right, Maven always prints the "original" url put does not send >>

Re: [M2] repositories (central, codehaus, java.net)

2007-11-23 Thread Dirk Olmes
CodingPlayer wrote: > Hi, > > i currently reorganize my repositories within my artifactory installation > (artifact cache). > > and i wonder which of these repositories is correct: > > * central > o http://www.ibiblio.org/pub/packages/maven2/ > o http://www.ibiblio.org/m

Re: Central repository overriding with mirror

2007-11-23 Thread Dirk Olmes
> 1 required artifact is missing. > > for artifact: > de.pdark:dsmp:jar:1.1 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > I've replaced http://myproxy to a non existing url to exonerate > my proxy ... I've got same trace. > > However if instea

Testing archetypes?

2007-11-23 Thread Dirk Olmes
Hi, I would like to test my custom archetype project, i.e. as part of the test run the archetype and compile the output. I had a look at the maven-archetype-plugin and the various plugins that come with it already but there's nothing there. I alredy went down the route of using exec-maven-plugin

Re: restrict GPL/BSD licenses

2007-11-23 Thread Stephen Connolly
It all depends on how the corporate legal brains interpret these things. Advocate #1: jar files are just dynamic link libraries... most of the open source licenses (including AFAIR the GPL) say dynamic linking is ok, static linking is less so... there is no problem here! Advocate #2: What about i

Re: restrict GPL/BSD licenses

2007-11-23 Thread Antonio Petrelli
2007/11/23, maarten roosendaal <[EMAIL PROTECTED]>: > > I was wondering that if you make an application for a large corporate firm > using Maven 2, what problems can you expect regarding licenses of > (transitive) dependencies. Some licenses force you to make the application > you made, based on th

restrict GPL/BSD licenses

2007-11-23 Thread maarten roosendaal
Hi, I was wondering that if you make an application for a large corporate firm using Maven 2, what problems can you expect regarding licenses of (transitive) dependencies. Some licenses force you to make the application you made, based on their open source product, open source and make it avail