Re: some developers of maven2 can resolve this question?[line number of error-message of maven output]

2006-01-13 Thread Rinku
ahh! just after I sent in the last response, I found these links: http://maven.apache.org/guides/mini/guide-apt-format.html http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIgetthetoplineofatabletobe%22headers%22forthatcolumninAPT%3F <<>> is used to set up text in monospaced font. HTH

Re: some developers of maven2 can resolve this question?[line number of error-message of maven output]

2006-01-13 Thread Rinku
Hi, Is there a "<<<" String in your index.apt file? I think (not sure) that <<< Some Text >>> is probably used to set up headers (table column headers?) in apt. You might need to escape it, if that's the case. Cheers, Rahul - Original Message - From: "ZhiQiang He" <[EMAIL PROTECTED]

some developers of maven2 can resolve this question?[line number of error-message of maven output]

2006-01-13 Thread ZhiQiang He
[ERROR] Error rendering Z:\eBook\Java\Logging\Logging In Java\src\site\apt\07\index.apt: missing '>>>' org.codehaus.doxia.module.apt.AptParseException: missing '>>>' at org.codehaus.doxia.module.apt.AptParser.doTraverseText( AptParser.java:1007) at org.codehaus.doxia.module.apt.AptP

Re: How to generate the header of a table in APT Format?

2006-01-13 Thread HezhiQiang
Thanks! 2006/1/14, Allan Ramirez <[EMAIL PROTECTED]>: > > > Try this > > > http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIgetthetoplineofatabletobe%22headers%22forthatcolumninAPT%3F > > -allan > > HezhiQiang wrote: > > >I konw this,but that doesn't describe the details about gerneratin

Re: M2 - Help needed with profiles

2006-01-13 Thread Rinku
Hi, What's the exact use case here? Do you know that M2 can merge profiles so you can avoid some duplication by factoring out common elements into a parent POM. Having said that, it would be a good idea to have some more details on what you are intending to do. Cheers, Rahul - Origi

Re: [PROBLEM SOLVED but is it a bug?] Re: [m2] remote repository artifact update / local repository for multiproject question

2006-01-13 Thread Loïc Lefèvre
In fact, I work in a windows environment not a Linux/unix one! L. On 1/14/06, Henry Isidro <[EMAIL PROTECTED]> wrote: > Loïc Lefèvre wrote: > > > Hello Henry, > > first, thanks for your answer :o) > > NP :-) > > > > 2/ Yes, > > Remember: > > local repository defined > > ... > > > > > >

Re: M2 - Help needed with profiles

2006-01-13 Thread Henry Isidro
Hi Sanjay, Can you post the errors you're getting? Regards, Henry Sanjay Choudhary wrote: I read the following on maven website Profiles specified in the POM can modify the following POM elements: - *repositories* - *pluginRepositories* - *dependencies* - *plugins* - *propert

Re: [PROBLEM SOLVED but is it a bug?] Re: [m2] remote repository artifact update / local repository for multiproject question

2006-01-13 Thread Henry Isidro
Loïc Lefèvre wrote: Hello Henry, first, thanks for your answer :o) NP :-) 2/ Yes, Remember: local repository defined ... XXX Local repository for XXX builds. file://${basedir}/thirdparty default ... but I get: Downloading: file://L:\projects\xxx\xxx-common/

Re: Need help migrating *.properties from Maven1.x to Maven2

2006-01-13 Thread Napoleon Esmundo Ramirez
Hello, If you're concerned on the versioning the project.properties provides, I recommend on using the section in POMv4. You can fill it up in a common pom, wherein other pom's can treat it as a parent in order to inherit the declared versions. If you're interested in some other feature, please

Re: [m2] outputDirectory

2006-01-13 Thread Henry Isidro
Hmmmtry configuring the jar plugin. There's an outputDirectory property there but I think this is still in SVN. The old version used basedir for this and was a readonly attribute but it was changed to outputDirectory to allow users to direct where the jar will be generated. You may have to

Re: Failures with downloads

2006-01-13 Thread Sanjay Choudhary
Hi Martin, I can help you. Attach your POM with the email. We can work from there. -Sanjay On 1/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: > > Hi, >I am trying to compile some code that requires the following > dependencies and the POM files seem to be found but not the jar files

M2 - Help needed with profiles

2006-01-13 Thread Sanjay Choudhary
I read the following on maven website Profiles specified in the POM can modify the following POM elements: - *repositories* - *pluginRepositories* - *dependencies* - *plugins* - *properties* (not actually available in the main POM, but used behind the scenes) - *modules* -

Re: How to generate the header of a table in APT Format?

2006-01-13 Thread Allan Ramirez
Try this http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIgetthetoplineofatabletobe%22headers%22forthatcolumninAPT%3F -allan HezhiQiang wrote: I konw this,but that doesn't describe the details about gernerating table header! 2006/1/14, dan tran <[EMAIL PROTECTED]>: http://mave

RE: [ANN] Maven PMD plugin 2.0-beta-1

2006-01-13 Thread Mike Perham
Nic, that's a PMD bug. I'm assuming this might be the problem: http://pmd.sourceforge.net/future.html Some of the code is a bit sloppy: * The grammar has some odd bits: o Some complicated annotations are currently broken You might query the bugs in the PMD project on sourceforge

Re: [ANN] Maven PMD plugin 2.0-beta-1

2006-01-13 Thread Nic Holbrook
I thought it would go. I got this error. -- Line 58 is this one. @ManyToOne(cascade = {}, fetch = FetchType.EAGER) Encountered "}" at line 58, column 31. Was expecting o

Re: [ANN] Maven PMD plugin 2.0-beta-1

2006-01-13 Thread Nic Holbrook
Thanks. For some reason, I thought that was just for the compiler plugin. Mike Perham wrote: Nic, put this in your plugin configuration: 1.5 -Original Message- From: Nic Holbrook [mailto:[EMAIL PROTECTED] Sent: Friday, January 13, 2006 10:39 AM To: Maven Users List Subject: Re: [AN

RE: [ANN] Maven PMD plugin 2.0-beta-1

2006-01-13 Thread Mike Perham
Nic, put this in your plugin configuration: 1.5 -Original Message- From: Nic Holbrook [mailto:[EMAIL PROTECTED] Sent: Friday, January 13, 2006 10:39 AM To: Maven Users List Subject: Re: [ANN] Maven PMD plugin 2.0-beta-1 This plugin doesn't seem to like annotations. Is there something I

[PROBLEM SOLVED but is it a bug?] Re: [m2] remote repository artifact update / local repository for multiproject question

2006-01-13 Thread Loïc Lefèvre
Hello Henry, first, thanks for your answer :o) 1/ Thank you :o) In fact, I've asked directly Brett (thankss too) and he gave me the same link (see http://jira.codehaus.org/browse/MAVENUPLOAD-678). However, I think the process could be enhanced sort of maven-2-RSS processor... 2/ Yes, Remember: l

Re: [ANN] Maven PMD plugin 2.0-beta-1

2006-01-13 Thread Nic Holbrook
This plugin doesn't seem to like annotations. Is there something I can do to get it to ignore mine or are you planning to have support anytime soon? Mike Perham wrote: A new version of the PMD plugin for Maven 2 has been released. PMD is a source code quality analysis tool and the plugin al

[ANN] Maven PMD plugin 2.0-beta-1

2006-01-13 Thread Mike Perham
A new version of the PMD plugin for Maven 2 has been released. PMD is a source code quality analysis tool and the plugin allows for automated quality reports to be generated with your project's site documentation. Highlights: - Upgrade to PMD 3.4 - Report can be emitted in HTML, XML, CSV or TXT

[m1] jar:install - Error getting the project as a string

2006-01-13 Thread Wendy Smoak
This worked on December 2nd... none of the changes to project.xml since then look suspicious, and it still validates. Furthermore, I have no idea where it thinks it is *uploading* the jar to. Normally jar:install just says "Copying: from ... to: ... ". project.xml:

Re: Converting from M1 to M2 - Installing parent POMs?

2006-01-13 Thread Sean McNamara
Thanks Wendy. I was making that entire thing much more difficult than it needed to be. :-o --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 1/13/06, Sean McNamara <[EMAIL PROTECTED]> wrote: > > > When specifying the parent in the child pom, I > need to > > specify the version. Maven then tries

Add project developers

2006-01-13 Thread Mattias Andersson
Hi, I'm using continuum 1.0.2 to do nightly builds and it works great. I use a shell project to start a *.bat fil (and CVS to fetch the files) and my two questions are: 1) In the Project View page there is a section called Developers (last section on the project page). How do a add Developers to

Failures with downloads

2006-01-13 Thread martin.me.roberts
Hi, I am trying to compile some code that requires the following dependencies and the POM files seem to be found but not the jar files why is this? I am finding that maven has more promise than it appears to be able to deliver. I have tried to use the eclipse plugin but virtaully everyth

Download Javadoc into Eclipse with Maven2

2006-01-13 Thread Bjarte Stien Karlsen
Is it possible to download the javadoc into Eclipse in the same way as one can do with -Declipse.downloadSources=true? -- Bjarte Stien Karlsen Intermedium - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Need help migrating *.properties from Maven1.x to Maven2

2006-01-13 Thread Martin Frixe
Hi, in my .properties files of my working maven v1 installation are many variables defined where the project.xml can find them during build process, *.properties are included in project.xml Problem is m2 ignores these files, because of replacement of these *.properties with settings.xml -in

invalid POM in repo for ant/ant-optional/1.5.3-1

2006-01-13 Thread Mark Struberg
The tag is misspelled in http://www.ibiblio.org/maven2/ant/ant-optional/1.5.3-1/ant-optional-1.5.3-1.pom the 'i' and 't' got mixed up. Who may fix this, please? 4.0.0 ant ant-optional 1.5.3-1 ant/ant-optional/1.5.3-1/ant-optional-1.5.3-1.pom (END) txs in advance, strub

Re: [ANN] Maven Install and Deploy Plugins (v2.1) released

2006-01-13 Thread Brett Porter
That information is in the POM. I will get it displayed on the site. You'll find that the plugin version numbers won't resemble the Maven version for very long. Unless otherwise noted, all plugins work with Maven 2.0. - Brett On 1/13/06, Christopher Cobb <[EMAIL PROTECTED]> wrote: > > -Origi

Re: [m2] outputDirectory

2006-01-13 Thread Dmitry Beransky
I guess I was too quick to declare victory. While the compiled classes do go into the newly configured directory, the jar file is still being placed into the default directory, which in my case, happens to be smack in the middle of the versioned source tree. So, how can I change the output di

Re: Converting from M1 to M2 - Installing parent POMs?

2006-01-13 Thread Wendy Smoak
On 1/13/06, Sean McNamara <[EMAIL PROTECTED]> wrote: > When specifying the parent in the child pom, I need to > specify the version. Maven then tries to look up the > parent pom in the repository. > > What do I need to do to get the parent pom installed? > Do I treat it like a third-party jar? J

Converting from M1 to M2 - Installing parent POMs?

2006-01-13 Thread Sean McNamara
Ok, I'm sure this is a pretty basic question, but I am having a hard time tracking down the answer. I am in the process of converting our M1-based codebase over to user M2. I have several subprojects that inherit from a parent project.xml (now pom.xml) When specifying the parent in the child pom

Re: [newbie] Need some help with the following exception...

2006-01-13 Thread John Casey
You probably want to update your maven version, not the plugin version... DiagnosisUtils is in the core. We have an RC of 2.0.2 which will most likely be promoted to the final release, if you'd like to use that. It's at: http://maven.zones.apache.org/~maven/builds/branches/maven-2.0.x/m2-200

Re: [M1] pom versions block

2006-01-13 Thread Jörg Schaible
Lukas Theussl wrote: > Hi, > >> That means version.name and version.id is supposed to be the same? > > I don't think they are supposed to be the same, but in practice it seems > to be the case, - does anybody have a different use case? > >> Or if they would be used more regularly ... e.g. the c

Re: [M1] pom versions block

2006-01-13 Thread Lukas Theussl
Hi, That means version.name and version.id is supposed to be the same? I don't think they are supposed to be the same, but in practice it seems to be the case, - does anybody have a different use case? Or if they would be used more regularly ... e.g. the changes plugin could generate use t

Re: [M1] pom versions block

2006-01-13 Thread Jörg Schaible
Hi Lukas, Lukas Theussl wrote: > Hi Joerg, > > AFAICT, the version.id element is only used by the announcement plugin > for generating release announcements; version.name and version.tag are > used by the scm plugin. That means version.name and version.id is supposed to be the same? > It would

Re: Building my project from source in CVS

2006-01-13 Thread dan tran
mvn scm:bootstrap -DconnectionUrl=yourcvsscmurl -DcheckoutDirectory=xyz -Dgoals=install http://maven.apache.org/scm/ -D On 1/13/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > I know it is doable with the scm plugin but you don't have to use > Maven for this part in my mind since a checko

Re: Building my project from source in CVS

2006-01-13 Thread Alexandre Poitras
I know it is doable with the scm plugin but you don't have to use Maven for this part in my mind since a checkout is not part of the regular build lifecycle. My advice would be to use your regular scm explorer, check out the project, then work with Maven. On 1/13/06, Mike <[EMAIL PROTECTED]> wrote

[ot] anyone else use XRADAR for code-quality analysis?

2006-01-13 Thread Darren Hartford
Hey all, I'm just curious since in the past I've used the Checkstyle, PMD, Junit/surefire reports and the M1 Dashboard for code-quality reports if anyone else has checked out http://xradar.sourceforge.net ? They have support for maven1, not sure how good it is though and I'm just now trying it out

Re: How to generate the header of a table in APT Format?

2006-01-13 Thread HezhiQiang
I konw this,but that doesn't describe the details about gernerating table header! 2006/1/14, dan tran <[EMAIL PROTECTED]>: > > http://maven.apache.org/guides/mini/guide-apt-format.html ? > > On 1/13/06, HezhiQiang <[EMAIL PROTECTED]> wrote: > > > > Using maven site plugin,How to generate the heade

Re: [M1] pom versions block

2006-01-13 Thread Lukas Theussl
Hi Joerg, AFAICT, the version.id element is only used by the announcement plugin for generating release announcements; version.name and version.tag are used by the scm plugin. It would be nice though if we had an easy way to find out which pom settings are used by a particular plugin. -Luk

Re: How to generate the header of a table in APT Format?

2006-01-13 Thread dan tran
http://maven.apache.org/guides/mini/guide-apt-format.html ? On 1/13/06, HezhiQiang <[EMAIL PROTECTED]> wrote: > > Using maven site plugin,How to generate the header of a table in apt > format > and that is element in html text file. > >

How to generate the header of a table in APT Format?

2006-01-13 Thread HezhiQiang
Using maven site plugin,How to generate the header of a table in apt format and that is element in html text file.

Re: Filtering resources

2006-01-13 Thread dan tran
http://maven.apache.org/plugins/maven-antrun-plugin/ also take a look at the source in svn, it's has a bunch of IT tests that are very useful to figureout detailed usage. -D On 1/13/06, Karthik V <[EMAIL PROTECTED]> wrote: > > thanks .. i'll try using that ... can u give me a link that explains

Building my project from source in CVS

2006-01-13 Thread Mike
Hi All, I'm new to Maven and using Maven 2.0.1. I'm trying to build my project target from source stored in my CVS repository. I've googled and haven't found anything indicating if this is possible. Is this possible? If so, can someone explain how to make the connection or point me to document

Re: Filtering resources

2006-01-13 Thread Karthik V
thanks .. i'll try using that ... can u give me a link that explains how to use it? On 1/13/06, dan tran <[EMAIL PROTECTED]> wrote: > > I use antrunt to remove those classes in the process of migrating > ant/make builds to maven. > > Hopefully, I dont need it any more soon. > > -D > > > > On 1/1

Re: Filtering resources

2006-01-13 Thread Karthik V
I want the remaining classes to go into another jar ... It can be made as a different project, but that'll repeat the compilation and source generation processes ... I thought if I can exclude these classes from the 1st jar, I can either generate another jar file wth the rest of the classes, or c

Re: Filtering resources

2006-01-13 Thread dan tran
I use antrunt to remove those classes in the process of migrating ant/make builds to maven. Hopefully, I dont need it any more soon. -D On 1/13/06, John Casey <[EMAIL PROTECTED]> wrote: > > Well, looking at the jar plugin, it seems that it doesn't allow > inclusions/exclusions to be specified

Re: Installing 3rd party JARs, how generating the pom?

2006-01-13 Thread Alexandre Poitras
"mvn install" will install your project jar in your local repository, usually it is located at /home/../.m2/repository. "mvn deploy" will deploy your project in your enterprise repository, but you have to fill the necessary informations in your pom­. I have never did it myself because WebDav isn't

RE: [m2]: dependency-maven-plugin "artifactItems" error

2006-01-13 Thread Brian E. Fox
"PS: Should I submit the docerr via the plugin forum?" Yes, a MOJO jira please. -Original Message- From: Rollo, Dan [mailto:[EMAIL PROTECTED] Sent: Friday, January 13, 2006 11:27 AM To: Brian E. Fox; Maven Users List Subject: RE: [m2]: dependency-maven-plugin "artifactItems" error Bing

Re: Filtering resources

2006-01-13 Thread John Casey
Well, looking at the jar plugin, it seems that it doesn't allow inclusions/exclusions to be specified. I guess my question is, what are you trying to accomplish? Are these classes unit tests or something? -john Karthik V wrote: there seems to be one ( http://maven.apache.org/plugins/maven-c

[m2] BIG problem with maven-antrun-plugin and workshop.core.AppClassLoader

2006-01-13 Thread S . Bloch
Hi I've got a BIG problem with maven-antrun-plugin and a classloader from workshop.core.AppClassLoader from knex.jar (Weblogic). When I was using ant, i'd to add: -client -Djava.system.class.loader="workshop.core.AppClassLoader" -classpath "%LOCALCLASSPATH%;%BEA_HOME%\weblogic81\workshop\wlw-i

Re: [ANN] Maven Install and Deploy Plugins (v2.1) released

2006-01-13 Thread Yann Le Du
It seems that knowing which Maven version is required will be addressed by the prerequisites tag : http://svn.apache.org/viewcvs.cgi/*checkout*/maven/plugins/trunk/maven-site-plugin/pom.xml http://maven.apache.org/maven-model/maven.html#class_prerequisite - Yann 2006/1/12, Christopher Cobb <[EMAI

Re: Filtering resources

2006-01-13 Thread Karthik V
there seems to be one ( http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html ) .. but isnt it possible to do it after compilation, when the jar happens? assuming i need the other classes too for some other purpose (but dont want it inside the jar), is there no way of achieving th

Re: war project resources copied to web-inf/classes

2006-01-13 Thread Karthik V
thanks a lot for ur replies ... i moved my resources to webapp from resources and it works .. i'll try the webapp archetype also ... On 1/13/06, Greg Case <[EMAIL PROTECTED]> wrote: > > What the others said is correct. So you would want to place your WEB-INF > folder in src/main/webapp/WEB-INF n

RE: [m2]: dependency-maven-plugin "artifactItems" error

2006-01-13 Thread Rollo, Dan
Bingo! I was mistakenly doing both: mvn install dependency:unpack and not realizing this would "double execute" since my pom also binds to a lifecycle...learning as I go. Doing just: mvn install works nicely. Thanks Brian. PS: Should I submit the docerr via the plugin forum? -Original

How do I add developers to Project

2006-01-13 Thread Mattias Andersson
Hi, I'm using continuum 1.0.2 to do nightly builds and it works great. I use a shell project to start a *.bat fil (and CVS to fetch the files). 1) In the Project View page there is a section called Developers (last section on the page). How do a add Developers to the project? Is this possible at

Re: Project generators

2006-01-13 Thread John Casey
if you're talking about m2, then it's simple enough (I'm assuming you're working on the plugin, not using it?): for each parameter you want to provide command-line support, make it look like this: /** * @parameter expression="${param}" ... * ... */ private String param; The 'expression="$

Re: NoClassDefFoundError on unit test when doing mvn package, but mvn test works

2006-01-13 Thread Yann Le Du
Hi Matt, Could you provide your 3 POMs ? -- Yann 2006/1/12, Matt Gauger <[EMAIL PROTECTED]>: > > I'm using Maven 2.0.1 > I have a top-level pom.xml (pom) which builds 2 > modules. Module A has only external dependencies. Module B has > external dependencies, but is also dependent on Module A.

Project generators

2006-01-13 Thread Philip Mark Donaghy
I am looking at a project, Andromda, that uses maven plugins to generate skeleton apps. During this process it(or maven) asks you some questions much like the maven project generators. I would like to provide answers to these questions on the command line. Any clues of how this is done would be

[m2:newbie] Maven & Eclipse sysdeo

2006-01-13 Thread Yann LE GUERN
Hi, I use Eclipse and Tomcat sysdeo plugin to develop a web project and I would like maven to create and export the war file of my project. Here is the structure of my project in Eclipse : MyWebProject -- WEB-INF classes (binaries generated by eclipse) -- src java (my java so

Re: war project resources copied to web-inf/classes

2006-01-13 Thread Greg Case
What the others said is correct. So you would want to place your WEB-INF folder in src/main/webapp/WEB-INF not src/main/resources/WEB-INF. As Napolean said earlier, try the web app archetype, which you can get by running (single line): mvn archetype:create -DgroupId=com.mycompany.app -Dartif

Re: [m2] jboss plugin docs location?

2006-01-13 Thread Yann Le Du
http://mojo.codehaus.org/jboss-maven-plugin/ 2006/1/12, Mick Knutson <[EMAIL PROTECTED]>: > > I want to use the jboss plugin to deploy my ear, but I can't find the docs > for it. Can someone please point me to the docs, or show an example of how > to use this plugin? > > > > --- > Thank You > Mick

[M1] pom versions block

2006-01-13 Thread Jörg Schaible
Hi folks, currently I am wondering what the versions block is used for in POM v3: ... ??? 1.0-beta-1 XY_1-0-BETA-1_RELEASE ... >From the POM reference description I cannot conclude what the id element >should be. According to

Re: Using Maven Offline

2006-01-13 Thread Yann Le Du
Hi Paul, I had the same kind of problem. The only workaround I found is to add the repository location in an always-active profile in settings.xml : ... ~ ~ ~ ~ ~ corp-repository ~ file:myserver/maven/repository ~ ~ ~ env-corp ~ ~

Re: Installing 3rd party JARs, how generating the pom?

2006-01-13 Thread Gerald Müllan
Another question is coming up. Generating the pom due to adding the -DgeneratePom=true command doesn't help. The pom isn't near the copied jar in the repository on my machine. I think this feature is not provided in the current maven version and will be added in future releases of maven. Ok, no p

RE: [m102] overriding goal

2006-01-13 Thread Jörg Schaible
Kristof Vanbecelaere wrote on Friday, January 13, 2006 2:27 PM: > Hi, > > is it correct that in 1.0.2 one can only override project goals but > not plugin goals? No, you can also override plugin goals. - Jörg - To unsubscribe

[m102] overriding goal

2006-01-13 Thread Kristof Vanbecelaere
Hi, is it correct that in 1.0.2 one can only override project goals but not plugin goals? thanks, Kristof - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Installing 3rd party JARs, how generating the pom?

2006-01-13 Thread Alexandre Poitras
It's because you don't need Maven-Proxy to setup a company repository but most people install Maven-Proxy and their repository at the same location. Maven-Proxy is really just a proxy to reduce the downloading of jars but since it uses a standard repository layout, usually people share the reposito

[m2] Doxia & color

2006-01-13 Thread jean-laurent de morlhon
Hi, Is there a way using doxia to write a portion of text in color ? I mean something around this : sink.color( RED ); sink.text( "SomeTextToPutInColor" ); sink.color_(); The above does not exist, but I can't find a way to do it. Is it even possible today ? I just want to put in red an er

Re: Run goal/script even after fail

2006-01-13 Thread Patrick Villacorta
Yup this works. Thanks to Arnaud and Gisbert! Patrick Gisbert Amm wrote: I've just tested this (and was about to reply ;-)) and it works. Regards, Gisbert Amm Arnaud HERITIER wrote: Hi Patrick, When an error is detected and "maven.test.failure.ignore=fals

Re: Problems with a not valide pom

2006-01-13 Thread Gerald Müllan
Hi, I have meant the repository on my machine. By the way, we have set up a corporate repository, this is really a better solution like the one i tried first. The way like maven handles this jar issue was not completely in my mind. Now I think i get the point, by using a parent pom and the jars a

Re: Installing 3rd party JARs, how generating the pom?

2006-01-13 Thread Gerald Müllan
Hi, > -DgeneratePom=true That is exactly what I was searching for. I like it more and more how maven handles this jar stuff! Really a clean solution. Thanks for help, regards, Gerald On 1/13/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > yesterday, I just came across this wonderful document

Re: resources not in jar

2006-01-13 Thread Allan Ramirez
Hi, It would be more helpful if you post your pom. -allan Gisbert Amm wrote: You probably want to use the resources plugin.On http://maven.apache.org/plugins/index.html it's description is: "Copy the resources to the output directory for including in the JAR." Regards, Gisbert Amm [EM

Re: Run goal/script even after fail

2006-01-13 Thread Gisbert Amm
I've just tested this (and was about to reply ;-)) and it works. Regards, Gisbert Amm Arnaud HERITIER wrote: Hi Patrick, When an error is detected and "maven.test.failure.ignore=false" the build is stopped, thus you can't use a post goal. What you can do is (

Re: [M2] eclipse project dependecy - how to define?

2006-01-13 Thread Ralph Pöllath
Sanjay, I'm not sure I understand your question (I'm not familiar with maven 1), but if you want the maven eclipse plugin to produce an eclipse project depending on another eclipse project (instead of depending on a jar in the local repo), then have a look at this: http://maven.apache.org

Re: Run goal/script even after fail

2006-01-13 Thread Arnaud HERITIER
Hi Patrick, When an error is detected and "maven.test.failure.ignore=false" the build is stopped, thus you can't use a post goal. What you can do is (not tested) : maven.test.failure.ignore=true and if it doesn't work you can try to replace : ${maven.test.failu

RE: M2: Current directory (user.dir) problem in case of multi-module project.

2006-01-13 Thread Jörg Schaible
Jörg Schaible wrote on Friday, January 13, 2006 1:42 AM: > Hi Joern, > > Joern Huxhorn wrote: > > [snip] >> >> Is this a bug or a feature? I expected the current dir (user.dir) to >> change for every executed sub-module build. >> >> Any ideas how I could solve this problem? Absolute filenames

Re: resources not in jar

2006-01-13 Thread Gisbert Amm
You probably want to use the resources plugin. On http://maven.apache.org/plugins/index.html it's description is: "Copy the resources to the output directory for including in the JAR." Regards, Gisbert Amm [EMAIL PROTECTED] wrote: Hi, I use maven 2.0.1 and have a problem with building a jar

Re: resources not in jar

2006-01-13 Thread Konstantin Polyzois
Do a mvn projecthelp:effective-pom Check for project/build/resources/resource It should of course point to your resource dir 2006/1/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi, > > > I use maven 2.0.1 and have a problem with building a jar. > > The src structure of my project is: > > src/