RE: [M2] - Third party artifact installation / parse error in POM

2006-04-24 Thread Sharma, Jaikumar
Thanks Tim for useful tip, I installed the thirdparty artifact, but did not use the option as you mentioned -- (-DgeneratePom=true). I would do this and let you know the results. In the settings.xml, I have specified the localRepository pointing to local filesystem, but file:// -- protocol has bee

Re: [m2] How to include javadoc in site

2006-04-24 Thread Kees de Kooter
Thanks a lot Wendy and Wayne! (I promise to read the example more carefully next time...) Kees On 4/25/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > Wendy sent the link to the mini guide to help you understand how > reports are linked into your Maven project site. In short, this link > is automatica

Re: [m2] How to include javadoc in site

2006-04-24 Thread Wayne Fay
Wendy sent the link to the mini guide to help you understand how reports are linked into your Maven project site. In short, this link is automatically added when you add the report. And she sent the link to the Struts Action pom.xml so you would find the Javadoc plugin yourself in the node. You

Re: [m2] How to include javadoc in site

2006-04-24 Thread Kees de Kooter
Hi Wendy, I read the mini guide, but it does not contain any references to javadoc. Do you put it in the reports section? On 4/25/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 4/24/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: > > > How can I get maven to generate javadocs when running "site" a

Error deploying artifact: Did receive proper ACK: '1'

2006-04-24 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Hi, Any idea what this error means [INFO] [deploy:deploy] Uploading: scp://sj-nmtgre-web/auto/nm-maven1/repository/com/cisco/nm/glue/glue-com mon/1.0/glue-common-1.0.pom [INFO] [ERROR] BUILD ERROR [INFO] ---

Re: [m2] How to include javadoc in site

2006-04-24 Thread Wendy Smoak
On 4/24/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: > How can I get maven to generate javadocs when running "site" and link > it from site.xml? See the 'Configuring Reports' section here: * http://maven.apache.org/guides/mini/guide-site.html You can see an example of Javadoc (maven-javadoc-pl

main webapp include submodule's webapp - how to archive?

2006-04-24 Thread Danny Dang
Dear all, I would like to use maven for our new proj. The project has many modules and we intend to assign one developer to do one module, from front-end -> bis-logic -> DB. Therefore, we intend to have this structure main-dir |--modules |--module1 |--app -> this contains all biz logic

[m2] How to include javadoc in site

2006-04-24 Thread Kees de Kooter
How can I get maven to generate javadocs when running "site" and link it from site.xml? -- Cheers, Kees de Kooter http://www.boplicity.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: Problem When Mirror is Down

2006-04-24 Thread Carlos Sanchez
Could you articulate this as jira issues under MNG? On 4/24/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > It appeared that the http://ibiblio.lsu.edu/main/pub/packages/maven2 > mirror was down earlier today. This had the effect that when a user > with no repository, or when running with -U, the

Re: [m2.0.4] PMD enum and JDK 1.5

2006-04-24 Thread Tiago Fernandez
Thanks again for supporting, Mike. I've just tried # 2 before receiving your e-mail, and it fixed the Nullpointer. Now I can move on :-) Tiago On 4/25/06, Mike Perham <[EMAIL PROTECTED]> wrote: > > Correct. The article is wrong. Maven doesn't complain because different > goals (e.g. pmd and cp

RE: [m2.0.4] PMD enum and JDK 1.5

2006-04-24 Thread Mike Perham
Correct. The article is wrong. Maven doesn't complain because different goals (e.g. pmd and cpd) can share the same config so there's no way to differ between an error and config that is designed to be used by another goal in the plugin. Your new error is caused by a bug in PMD, not the plugi

Re: Modules Best Practices

2006-04-24 Thread dan tran
I mean the scm url that makes continuum to fetch the directry tree that contains the parent and the modules directories -D On 4/24/06, Ryan Wynn <[EMAIL PROTECTED]> wrote: > > On 4/24/06, dan tran <[EMAIL PROTECTED]> wrote: > > create shell project with scm url points to the directory containing

Re: [m2] Adding the project version number to the website

2006-04-24 Thread Wendy Smoak
On 4/24/06, Brett Porter <[EMAIL PROTECTED]> wrote: > Was your problem from the snapshot in cvs.apache.org, or from SVN (not > sure if they are in sync or not). > > If its in SVN, please file it in JIRA and I'll make sure it gets > straightened out. It was built from source. Done: http://jira.c

Re: [m2] Adding the project version number to the website

2006-04-24 Thread Brett Porter
Yes, its new since 2.0-beta-5-SNAPSHOT, which will be out this week. Was your problem from the snapshot in cvs.apache.org, or from SVN (not sure if they are in sync or not). If its in SVN, please file it in JIRA and I'll make sure it gets straightened out. Thanks, Brett On 4/25/06, Wendy Smoak

Re: [m2] Adding the project version number to the website

2006-04-24 Thread Wendy Smoak
On 4/24/06, Brett Porter <[EMAIL PROTECTED]> wrote: > Sorry, misread it. > > Thanks! FTR, the only successful combination I can find is maven-site-plugin 2.0-SNAPSHOT and no 'position' attribute: With the 'position' attribute and 2.0-SNAPSHOT, I get neither the date nor the ver

Re: [m2] Adding the project version number to the website

2006-04-24 Thread Brett Porter
Sorry, misread it. - Brett On 4/25/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 4/24/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > > in site.xml: > > > > The date is already present. (That does format it without the time, > though, thanks. :) ) > > But what I'm looking for is the project

Re: Modules Best Practices

2006-04-24 Thread Ryan Wynn
On 4/24/06, dan tran <[EMAIL PROTECTED]> wrote: > create shell project with scm url points to the directory containing your > parent + the 2 children modules > > Then create a build definition : > >command: mvn >arguramtent -f parent/pom.xml install ( what ever goal you like) > > -Dan >

Re: Dependencies Options

2006-04-24 Thread Alexandre Poitras
Just one more thing I dislike about system dependencies I wanted to specify. A good practice is usually to do a complete project check out after a check in. Takes a lot of times when you have several jars bundled with your projects. On 4/24/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > On 4/2

Re: [m2] Adding the project version number to the website

2006-04-24 Thread Wendy Smoak
On 4/24/06, Brett Porter <[EMAIL PROTECTED]> wrote: > in site.xml: > The date is already present. (That does format it without the time, though, thanks. :) ) But what I'm looking for is the project version number. With Maven 1, the bar below the logos says: Last published: 19 April 2006 |

Re: Dependencies Options

2006-04-24 Thread Alexandre Poitras
On 4/24/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > On 4/24/06, Brandon Goodin <[EMAIL PROTECTED]> wrote: > > "tons of advantages" - please quantify this. > > Well distributing internal corporation dependencies and managing the > version, especially nightly build is way easier using Maven re

Re: Dependencies Options

2006-04-24 Thread Alexandre Poitras
On 4/24/06, Simon Kitching <[EMAIL PROTECTED]> wrote: > Hi, > > I agree with much of what Brandon is saying. > > For *open source* projects, Maven's repository is really useful; the > minor inconveniences are worth living with. In particular, such projects > need to conserve disk space and network

Re: Dependencies Options

2006-04-24 Thread Alexandre Poitras
On 4/24/06, Brandon Goodin <[EMAIL PROTECTED]> wrote: > "tons of advantages" - please quantify this. Well distributing internal corporation dependencies and managing the version, especially nightly build is way easier using Maven repository capabilities. Managing your project dependencies version

Re: [m2.0.4] No Clover database found, skipping report generation

2006-04-24 Thread Tiago Fernandez
Thanks Weizhu, in fact there were some lines missing. -- Tiago Fernandez http://www.tiago182.spyw.com On 4/24/06, weizhu liang <[EMAIL PROTECTED]> wrote: > > i think this is the new feature w/ the new clover > plugin.. there is a separation between instrumentation > and reporting.. you have to ad

Re: [m2] Adding the project version number to the website

2006-04-24 Thread Brett Porter
in site.xml: (for example) - Brett On 4/25/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > With Maven 1, we had the project version number in the 'links bar' > below the logos. > Example: http://struts.apache.org/struts-shale > > Is there a way to do this in Maven 2? > > Thanks, > Wendy > >

[m2] Adding the project version number to the website

2006-04-24 Thread Wendy Smoak
With Maven 1, we had the project version number in the 'links bar' below the logos. Example: http://struts.apache.org/struts-shale Is there a way to do this in Maven 2? Thanks, Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [m2.0.4] No Clover database found, skipping report generation

2006-04-24 Thread weizhu liang
i think this is the new feature w/ the new clover plugin.. there is a separation between instrumentation and reporting.. you have to add few lines to the build plugin to instrument it.. the instruction is in the guide. http://maven.apache.org/plugins/maven-clover-plugin/howto.html thx, -wei ---

Re: [m2.0.4] PMD enum and JDK 1.5

2006-04-24 Thread Tiago Fernandez
Hum, interesting... so it must be: 1.5 I though it was right because I get this syntax from the article http://www.javaworld.com/javaworld/jw-02-2006/jw-0227-maven-p2.html, and plus Maven didn't complain about the wrong tag (targetjdk). Next time I'll check the documentation. Anyways, now anothe

Re: Dependencies Options

2006-04-24 Thread Simon Kitching
Hi, I agree with much of what Brandon is saying. For *open source* projects, Maven's repository is really useful; the minor inconveniences are worth living with. In particular, such projects need to conserve disk space and network bandwidth; checking in jars for each project is therefore a bad id

RE: [m2.0.4] PMD enum and JDK 1.5

2006-04-24 Thread Mike Perham
http://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html Look carefully. -Original Message- From: Tiago Fernandez [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 6:13 PM To: Maven Users Group Subject: [m2.0.4] PMD enum and JDK 1.5 Hello, It seems PMD 3.4 Maven Plug-in is i

[m2.0.4] PMD enum and JDK 1.5

2006-04-24 Thread Tiago Fernandez
Hello, It seems PMD 3.4 Maven Plug-in is ignoring my tag, because it's complaining about the 'enum' keyword: [INFO] Error during report generation Embedded error: Failure executing PMD for: C:\develop\foundation\gui\src\main\java\tlf\foundation\gui\LookAndFeel.java ERROR: Can't use enum as a ke

Problem When Mirror is Down

2006-04-24 Thread Stephen Duncan
It appeared that the http://ibiblio.lsu.edu/main/pub/packages/maven2 mirror was down earlier today. This had the effect that when a user with no repository, or when running with -U, the maven-metadata-central.xml was essentially empty (just a reference to LATEST, I think...), and therefore couldn'

Re: Support for Multi-project Web Sites

2006-04-24 Thread Ryan Wynn
On 4/24/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > Hi Ryan, > > I am facing the same problem while building reports for multiple modules. > Parent report does not include links of child modules' reports. > > If it is working for you then could you please gives steps and suggestions to > achie

[m2.0.4] No Clover database found, skipping report generation

2006-04-24 Thread Tiago Fernandez
Hello, I'm trying to generate a nice coverage report while running "mvn site" on my project, but it isn't working. It says: [WARNING] No Clover database found, skipping report generation My reporting section is simple: maven-javadoc-plugin

Re: Dependencies Options

2006-04-24 Thread Wayne Fay
No worries, Brandon. I have to run now but I'll be happy to continue the discussion later tonight... ;-) Wayne On 4/24/06, Brandon Goodin <[EMAIL PROTECTED]> wrote: > Hey Wayne, I'm sorry if my email tone sounds aggressive... i really am > not trying to come off that way. So please accept my comm

Re: Retrotranslation and the everpresent 1 artifact

2006-04-24 Thread Brett Porter
This is only because the artifact ID was changed, so there would be no pom written for it and the default gets used instead. If you want transitive dependencies (and to retain the entire pom), keep the same artifact ID, but change the "classifier" element of the artifact. This would give: jboss-w

Re: Dependencies Options

2006-04-24 Thread Brandon Goodin
Hey Wayne, I'm sorry if my email tone sounds aggressive... i really am not trying to come off that way. So please accept my comments purely as an exercise in conversation. I totally understand the intellectual property that rights that Sun attaches to their jars. I fully respect them. I'm just try

Re: Dependencies Options

2006-04-24 Thread Brandon Goodin
For your reading pleasure: 1. You may reproduce and use the Software for Individual, Commercial, or Research and Instructional Use for the purposes of designing, developing, testing, and running Your applets and applications ("Programs"). 2. Subject to the terms and conditions of this Agreement a

Re: Maven2 : mvn site nullpointer

2006-04-24 Thread Carlos Sanchez
you need to upgrade the project-info report plugin On 4/24/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > This might be related to his use of the scope system for the dependency. > > Tom/etc, can you perhaps use "mvn install:install-file" to copy the > tools.jar file into your Maven repo, and then cha

Re: Dependencies Options

2006-04-24 Thread Brandon Goodin
The sun jars were a minor point. You still didn't answer the larger context. Brandon On 4/24/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > Checking Sun Jars into your repo is a violation of the Sun Binary > Compatibility License which you agreed to when you downloaded the > file. (Assuming the file

Re: Dependencies Options

2006-04-24 Thread Wayne Fay
That should be "Checking Sun Jars into your SVN repo". Obviously anyone is allowed to download the Sun Jars and install them into their own local Maven repo, or anything else permitted under the Sun BCL terms. Checking the jars into a publicly available distribution service ie Sourceforge CVS/SVN

Re: Dependencies Options

2006-04-24 Thread Wayne Fay
Checking Sun Jars into your repo is a violation of the Sun Binary Compatibility License which you agreed to when you downloaded the file. (Assuming the file was downloaded from Sun under the Sun BCL terms, which most files on Sun.com require you to accept prior to downloading.) I doubt Sun will ch

Re: Dependencies Options

2006-04-24 Thread Brandon Goodin
"tons of advantages" - please quantify this. Personally, I find the repository to be a "nice" piece of Maven. But, I don't see it as a cardinal sin to actually distribute libraries in your project. If you follow the libary naming convention then who cares? Personally, what i find annoying are the

How to disable clean plugin from running?

2006-04-24 Thread Jason Dillon
I've got a project that uses one module to generate code (using AndroMDA) into another module, but when I do something like `mvn clean install` from the top-level it will generate code from the mda module, then the other module will then delete it all when it runs clean before install. I'

Re: Maven2 : mvn site nullpointer

2006-04-24 Thread Wayne Fay
This might be related to his use of the scope system for the dependency. Tom/etc, can you perhaps use "mvn install:install-file" to copy the tools.jar file into your Maven repo, and then change the dependency to "provided", and re-run your site generation? Just to see if this is a valid work-aroun

Re: Maven2 : mvn site nullpointer

2006-04-24 Thread thenew05
Did someone post an answer to this, I am having the same problem! Thanks On 4/6/06, Tom Joad <[EMAIL PROTECTED]> wrote: > > Hello all, > When I add ${java.home}/../lib/tools.jar > > > sun.jdk > tools > 1.4.2 > system > ${java.home}/../lib/tools.jar > > as depende

Re: Run a Main class

2006-04-24 Thread Pierre Monestie
Thanks very much for the help!! Once again this mailing list rocks!!! pierrre On 4/24/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote: > hehe except that the exec:java goal has a bug in the 1.0 version. It > has a NPE if no system props are set. But an easy way to work around > this bug is to add somet

Re: [M2] Problem running tests on Windows (white-space in repository?)

2006-04-24 Thread Kathryn Huxtable
I prefer on Windows to use forward slashes in file paths. Java and Windows are both agnostic (except on command lines), so either can be used. That way you don't have to escape a bunch of backslashes. -- Kathryn Huxtable Middleware Architect Core Middleware Information Technology, a division of I

Re: Run a Main class

2006-04-24 Thread Kaare Nilsen
hehe except that the exec:java goal has a bug in the 1.0 version. It has a NPE if no system props are set. But an easy way to work around this bug is to add something like this in your pom.. org.codehaus.mojo exec-maven-plugin com.myapp.MyMainClass

Re: [M2] Problem running tests on Windows (white-space in repository?)

2006-04-24 Thread Wendy Smoak
On 4/24/06, William Simons <[EMAIL PROTECTED]> wrote: > I've > done some searching and found a few similar bugs reported for surefire that > basically say that the problem is having the m2 repository in Documents and > Settings/user/.m2/repository. > > Unfortunately, I couldn't locate a bug reporte

CSS how change the menu colors

2006-04-24 Thread Julio Oliveira
Hi I'm seen the maven-base.css / maven-classic.css and maven-theme.css files I have the following lines: JSP programs FAQ's

Re: Dependencies Options

2006-04-24 Thread Wayne Fay
It is *strongly* suggested that you do not utilize scope system. This is available for the rare use case which actually requires it. In general, you should add dependencies to your local repo (or a corporate repo, if you are using one) and use in the normal manner. Wayne On 4/24/06, Kristian No

Re: Maven + J2EE + XDoclet Question.

2006-04-24 Thread Sean McNamara
Thanks. I ended up figuring that out about 2 minutes before getting your email... Sorry for the lame question. --- ozeebee <[EMAIL PROTECTED]> wrote: > > Hi > > Simply put the ejbspec attribute of the ejbdoclet > element to either "2.0" > for J2EE 1.3 or "2.1" for 1.4 : > >ejbspec="2

Re: Dependencies Options

2006-04-24 Thread Kristian Nordal
On 4/24/06, Brandon Goodin <[EMAIL PROTECTED]> wrote: > > Is it a requirement that i use the remote repository for jars? Is > there a way to reference jars that are distributed with the code when > checked out from the code repository? Take a look at the "system" scope: http://maven.apache.org/gu

Re: Maven + J2EE + XDoclet Question.

2006-04-24 Thread ozeebee
Hi Simply put the ejbspec attribute of the ejbdoclet element to either "2.0" for J2EE 1.3 or "2.1" for 1.4 :

Re: Dependencies Options

2006-04-24 Thread Alexandre Poitras
Well you can use *system* dependencies but you loose tons of advantages. Instead, maybe you should just populate your local repository using the install plugin and -o to run mvn offline. On 4/24/06, Brandon Goodin <[EMAIL PROTECTED]> wrote: > Is it a requirement that i use the remote repository fo

Dependencies Options

2006-04-24 Thread Brandon Goodin
Is it a requirement that i use the remote repository for jars? Is there a way to reference jars that are distributed with the code when checked out from the code repository? Brandon - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Clover 'site' missing an test jar dependency at compile time.

2006-04-24 Thread Wayne Fay
For some reason, I thought Cenqua was also behind the Clover plugin... Thanks, Mike. Wayne On 4/24/06, Mike Perham <[EMAIL PROTECTED]> wrote: > This has nothing to do with Cenqua. They write Clover, not the Clover > plugin. You need to enter a bug in the MCLOVER jira project. > http://jira.c

Re: Run a Main class

2006-04-24 Thread Jesse McConnell
it is actually not in the sandbox anymore, version 1.0 was released a few weeks ago :) On 4/24/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Still in the sandbox but works well : > http://mojo.codehaus.org/exec-maven-plugin/ > > On 4/24/06, Pierre Monestie <[EMAIL PROTECTED]> wrote: > > Hi,

RE: Clover 'site' missing an test jar dependency at compile time.

2006-04-24 Thread Mike Perham
This has nothing to do with Cenqua. They write Clover, not the Clover plugin. You need to enter a bug in the MCLOVER jira project. http://jira.codehaus.org/browse/MCLOVER -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 2:50 PM To: Maven User

Re: [M2] Compiler plugin 2.0.1 - error

2006-04-24 Thread Alexandre Poitras
Please run maven with the -e switch and post the result because it's hard to tell the cause based upon this stack. On 4/24/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote: > Dear Maven Users, > > I was trying to specify -classpath using the > construct , and I got the following > error. > Someon

RE: Conditional dependencies in M2

2006-04-24 Thread Mike Perham
test is the closest thing I can think of. Test dependencies are not transitive so you need to declare them in each module. -Original Message- From: Clifton Craig [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 2:15 PM To: users@maven.apache.org Subject: Conditional dependencies

Re: FTP an EAR file

2006-04-24 Thread Wayne Fay
Even better... if you're looking to deploy your file on an app server, you should take a look at Cargo (and the Cargo Maven plugin). It handles this for many app servers very nicely. Wayne On 4/24/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > By the way, if you want to deploy your file on an

Re: Prevent over writing MANIFEST.MF

2006-04-24 Thread Alexandre Poitras
add to your element : /path/to/MANIFEST.MF Works with the jar plugin so it should work with the ear plugin. On 4/24/06, RobJac <[EMAIL PROTECTED]> wrote: > > I am trying to create an EAR using Maven2. I have placed a MANIFEST.MF file > in my resources/META-INF folder. But this

Re: Clover 'site' missing an test jar dependency at compile time.

2006-04-24 Thread Wayne Fay
Sounds like the Clover plugin doesn't know about test-jar artifacts and is not properly handling them. Perhaps report to Cenqua? Wayne On 4/24/06, Dane Summers <[EMAIL PROTECTED]> wrote: > Hello, > > I'm having trouble with clover and maven 2 - it appears to be a missing > dependency from the 'p

Re: Run a Main class

2006-04-24 Thread Kristian Nordal
On 4/24/06, Pierre Monestie <[EMAIL PROTECTED]> wrote: > > Hi, > Is there a simple way to run a Main class with maven? Something > similar to the java task in Ant? If so what is the way to configure > it? > I know the runtime plugin is not completed so I'm looking for an > intermediary solution.

Re: Conditional dependencies in M2

2006-04-24 Thread Alexandre Poitras
This is what you are looking for : http://maven.apache.org/guides/introduction/introduction-to-profiles.html On 4/24/06, Clifton Craig <[EMAIL PROTECTED]> wrote: > Hello all, > > I am converting from Ant/Ivy to Maven2 and I have a question regarding > dependencies in Maven2. In Ivy I could define

Re: Run a Main class

2006-04-24 Thread Alexandre Poitras
Still in the sandbox but works well : http://mojo.codehaus.org/exec-maven-plugin/ On 4/24/06, Pierre Monestie <[EMAIL PROTECTED]> wrote: > Hi, > Is there a simple way to run a Main class with maven? Something > similar to the java task in Ant? If so what is the way to configure > it? > I know the

Re: FTP an EAR file

2006-04-24 Thread Alexandre Poitras
By the way, if you want to deploy your file on an application server using ftp, take a look at the different containers plugin, you should find what you are looking for. On 4/24/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > It is supported, I already do it but you need to create a custom > pl

Re: FTP an EAR file

2006-04-24 Thread Alexandre Poitras
It is supported, I already do it but you need to create a custom pluging to handle your special use case. I don't think there is a "ftp" plugin, wouldn't make sense anyway. On 4/24/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > Just to be clear, it sounds like you are asking about DEPLOYING or > remot

Run a Main class

2006-04-24 Thread Pierre Monestie
Hi, Is there a simple way to run a Main class with maven? Something similar to the java task in Ant? If so what is the way to configure it? I know the runtime plugin is not completed so I'm looking for an intermediary solution. Thanks in advance, Pierre

RE: Support for Multi-project Web Sites

2006-04-24 Thread Vijay Shanker
Hi Ryan, I am facing the same problem while building reports for multiple modules. Parent report does not include links of child modules' reports. If it is working for you then could you please gives steps and suggestions to achieve it. Thanking you. Vijay _

Re: Removing version when creating a jar

2006-04-24 Thread Alexandre Poitras
But Maven can filter application.xml so it isn't a problem. Seriously I can understand when you deploy in a external location but why would you want to mess up Maven in his local respository? How do you want Maven to manage your artifact if you don't give him the informations it needs to do its wo

Re: Removing version when creating a jar

2006-04-24 Thread Nic Holbrook
One of the reasons I do this now is because the new ejb3 spec allows for looking up objects based on a class. These new jndi objects are scoped based on the name of the ear. I remove the version so that I can keep the same code and reference the objects through jndi the same way each time. I

Conditional dependencies in M2

2006-04-24 Thread Clifton Craig
Hello all, I am converting from Ant/Ivy to Maven2 and I have a question regarding dependencies in Maven2. In Ivy I could define dependencies which would be conditionally considered based on my build configuration. for example, I could define in a project Foo, a dependency on Bar for all configu

Re: FTP an EAR file

2006-04-24 Thread Wayne Fay
Just to be clear, it sounds like you are asking about DEPLOYING or remotely installing (into a corporate Maven repo perhaps) your EAR file using FTP and Maven. If you are simply asking about "moving an EAR file using FTP" then I don't believe this is supported by Maven or Wagon. Wayne On 4/24/06

RE: Removing version when creating a jar

2006-04-24 Thread Mike Perham
Usually because you have something like a reference by name in something like EAR's application.xml and don't want to update that file every time the version changes. Having changes ripple to modules downstream is a nightmare to deal with and so referring without version solves that problem. I ag

Re: FTP an EAR file

2006-04-24 Thread Wayne Fay
Take a look at the Wagon plugin. I'm fairly certain it can handle this requirement. Wayne On 4/24/06, RobJac <[EMAIL PROTECTED]> wrote: > > I want to FTP an EAR file from a particular location from my local PC to a > remote m/c using maven. Is this possible using Maven? can i use any of the > ant

FTP an EAR file

2006-04-24 Thread RobJac
I want to FTP an EAR file from a particular location from my local PC to a remote m/c using maven. Is this possible using Maven? can i use any of the ant- plugin to do this? If some one has done this could you please send me the entries you have made in the pom xml for this? also please let me kno

Maven Question: calling ant from maven - re-use

2006-04-24 Thread Peter Kahn
Hi, I'm using maven to build localized jars. Each jar is identical except for what languages of help have been excluded. I'm using maven 1.0.2 so some of the jelly regexp tags are not available to me. Therefore, I'm doing this in ant. 1. I created a custom tag 2. the tag receives 2 params ex

Re: Removing version when creating a jar

2006-04-24 Thread Wayne Fay
I've never understood this desire to remove version numbers from Jars built by Maven... In fact, I can't stand it when I run across a jar with no version number and have to dig into it to find a version either in a manifest or other random file. Wayne On 4/24/06, Arik Kfir <[EMAIL PROTECTED]> wro

Maven + J2EE + XDoclet Question.

2006-04-24 Thread Sean McNamara
When building J2EE components (EJB in particular) with Maven & XDoclet, how do I set whether XDoclet should create a J2EE 1.3 or 1.4 descriptor? Currently it looks like I'm getting a 1.4 descriptor which is then failing the deploy. Thanks! __ Do

Re: Removing version when creating a jar

2006-04-24 Thread RobJac
I have found a way to remove the version, in my ear pom xml i am using under the configuration of my ear-plugin Test Test Test.jar

RE: Compiling with jars that have classes in the default package, jdk1.4.2

2006-04-24 Thread Dave Comeau
Eric: I'm new to Maven, so I'm not if this will be useful... Maybe you should try using fork=true and then configure the maven.compiler.executable property to use an actual 1.3.x JDK compiler. We've had to take this route in the past (outside of Maven) to work around a bug in the old 1.3.1 We

Re: [m2][site] Strange behaviour using site:deploy with scp.

2006-04-24 Thread Mikael Andersson
doh! :) You are absolutely right, thanks. Thanks agian, Micke On 24/04/06, Arik Kfir <[EMAIL PROTECTED]> wrote: > > isn't it supposed to be "scp://[EMAIL PROTECTED]/directory/dir2/dir3"?? > > On 4/24/06, Mikael Andersson <[EMAIL PROTECTED]> wrote: > > > > Hi, > > when I use use site:deploy with

Re: Removing version when creating a jar

2006-04-24 Thread Arik Kfir
sorry for butting in - but why would you want to do that? On 4/24/06, Nic Holbrook <[EMAIL PROTECTED]> wrote: > > What I do to get around this is let maven do its thing then when I > deploy the jars, I use an ant task to copy the correct file out to my > server using the name minus the version. >

Re: Removing version when creating a jar

2006-04-24 Thread Nic Holbrook
What I do to get around this is let maven do its thing then when I deploy the jars, I use an ant task to copy the correct file out to my server using the name minus the version. RobJac wrote: I can actually remove the version when i package, but when i execute mvn installl for the project it

Re: how to replace attainGoal in Maven 1 with plugin goal in Maven 2

2006-04-24 Thread dan tran
Hai, It is best that you read maven book at http://www.mergere.com/products.jsp It has a comprehensive section on building J2EE artifacts -D On 4/24/06, Hai Phan <[EMAIL PROTECTED]> wrote: > > Dear all, > I am new to Maven 2. I have a project that written in Maven 1 to build > an EAR, and I w

[M2] Problem running tests on Windows (white-space in repository?)

2006-04-24 Thread William Simons
I have a maven build that runs fine on Linux and OSX but fails in Windows. Part of the test includes starting an RMIRegistry and connecting to it. The test fails with an java.net.MalformedURLException "no protocol: and". I've done some searching and found a few similar bugs reported for surefire

Re: Removing version when creating a jar

2006-04-24 Thread ruelloehr
No. The version is always placed in the name when uploaded into the repository. There is not a way around this. -- View this message in context: http://www.nabble.com/Removing-version-when-creating-a-jar-t1438924.html#a4068132 Sent from the Maven - Users forum at Nabble.com. -

Re: Maven 2 Article (Generating Site)

2006-04-24 Thread Wayne Fay
I didn't actually write the article... That was John. I'm just forwarding his email from dev@ list to [EMAIL PROTECTED] ;-) Wayne On 4/24/06, Vijay Shanker <[EMAIL PROTECTED]> wrote: > Hi Wayne, > > Thanks for putting things together and posting on javaworld. It would > definitely help users. >

RE: Recalculating md5 checksums

2006-04-24 Thread Ruel Loehr
As far as I know, you have to remove the checksums from your local repo by hand, and then rerun the build and let the proper remote ones be downloaded. The problem is that once you get something in local repo, maven never updates it. It only checks to see if it is there or not. In your case, it

RE: Maven 2 Article (Generating Site)

2006-04-24 Thread Vijay Shanker
Hi Wayne, Thanks for putting things together and posting on javaworld. It would definitely help users. Thanks, Vijay From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Mon 4/24/2006 10:36 AM To: Maven Users List Subject: Fwd: Maven 2 Article (Generating Site)

Re: [m2][site] Strange behaviour using site:deploy with scp.

2006-04-24 Thread Arik Kfir
isn't it supposed to be "scp://[EMAIL PROTECTED]/directory/dir2/dir3"?? On 4/24/06, Mikael Andersson <[EMAIL PROTECTED]> wrote: > > Hi, > when I use use site:deploy with scp (on Linux), something strange happens. > The site isn't deployed to the specified location, but in a somewhat > strange > lo

RE: Retrotranslation and the everpresent 1 artifact

2006-04-24 Thread Ruel Loehr
Right! This is the course I was thinking ofThe only problem of I see that is if I have two artifacts 1) Jboss-webservices-1.0.jar (built using 1.5 jdk) 2) Jboss-webservices-retrotranslated-1.0.jar (retrotranslated using 1.4 jdk) Later projects can choose which of these jars it would li

Re: Install and building site

2006-04-24 Thread Carlos Henriquez
http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/continuum-20060419.02. tar.gz I'll try again and let you know. I make a "clean install" build that didn't fail

[m2][site] Strange behaviour using site:deploy with scp.

2006-04-24 Thread Mikael Andersson
Hi, when I use use site:deploy with scp (on Linux), something strange happens. The site isn't deployed to the specified location, but in a somewhat strange location! >From the pom: maven_html scp:[EMAIL PROTECTED] :/homes/maven/public_html/sites/ maven

Re: Install and building site

2006-04-24 Thread Emmanuel Venisse
I don't know which verion you downloaded, but we check changes between two executions of the same build definitions in 1.0.3. In 1.0.2, it was between two executions even if wasn't the same build definition. Do you have changes between two executions of the site build definition? Emmanuel Car

Re: EJB3.0 plugin

2006-04-24 Thread Arik Kfir
note that for ejb3 you need two jars (at least its two jars in jboss...) the persistance api (this contains javax.persistance) and the ejb jar (which haven't changed much since 2.1) both are in jboss's distribution of course On 4/24/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote: > > On 4/24/06,

Re: How to specify a Set of Multiple dependent JARs in M2 ?

2006-04-24 Thread Tom Joad
Hi, You can choose to install all jars on your local repository an set for each jar compile scope dependency and so they ,all , will be bundled on your jar or war file by packaging or to use system scope and you must provide path like sun.jdk tools 1.5.0 system

how to replace attainGoal in Maven 1 with plugin goal in Maven 2

2006-04-24 Thread Hai Phan
Dear all, I am new to Maven 2. I have a project that written in Maven 1 to build an EAR, and I would like to migrate it to Maven 2. Below is my maven.xml. Could someone help to convert it to plugin (maven 2 goals) please? Just do 1 or 2 goals would be sufficient

  1   2   >