Re: Intro questions

2005-11-18 Thread Emmanuel Venisse
I'll check it. File a jira issue, so i wouldn't lose it. Emmanuel Tomislav Stojcevich a écrit : The same thing happens to me. I did select add ant project but when I go to add the build definition it asks me for the pom. I tried specifying the build.xml file for the pom and specifying the

Re: Flat structure supported ?

2005-11-18 Thread Emmanuel Venisse
similar but not the same, we have two different mechanism for maven 1 and maven 2 projects. Christian, file an issue with description i asked you in my previous mail. Emmanuel Doug Douglass a écrit : This sounds a lot like: http://jira.codehaus.org/browse/CONTINUUM-381 Doug Christian

Re: Flat structure supported ?

2005-11-18 Thread Christian Schulte
Emmanuel Venisse schrieb: Can you describe your directory structure, your modules definition and the url you use to add your project? Emmanuel REPOROOT |--ROOT |pom.xml |--MODULE1 |pom.xml |--MODULE2 |pom.xml Just directories below REPOROOT. Inside of ROOT/pom.xml I have: scm

Re: Intro questions

2005-11-18 Thread Tomislav Stojcevich
Added http://jira.codehaus.org/browse/CONTINUUM-459 On 11/18/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: I'll check it. File a jira issue, so i wouldn't lose it. Emmanuel Tomislav Stojcevich a écrit : The same thing happens to me. I did select add ant project but when I go to add the

Re: Intro questions

2005-11-18 Thread Emmanuel Venisse
Thanks Emmanuel Tomislav Stojcevich a écrit : Added http://jira.codehaus.org/browse/CONTINUUM-459 On 11/18/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: I'll check it. File a jira issue, so i wouldn't lose it. Emmanuel Tomislav Stojcevich a écrit : The same thing happens to me. I did

Re: Flat structure supported ?

2005-11-18 Thread Christian Schulte
Emmanuel Venisse schrieb: Christian Schulte a écrit : Emmanuel Venisse schrieb: Can you describe your directory structure, your modules definition and the url you use to add your project? Emmanuel REPOROOT |--ROOT |pom.xml |--MODULE1 |pom.xml |--MODULE2 |pom.xml Just

test reports

2005-11-18 Thread Edwin Park
Hi, I'm using maven2 with continuum. I'd like to be able to include test reports in the build results pages, but I don't know how to do this or even if this is possible with continuum. All I see right now is the build output, and if I look in the targets/surefire-reports subdirectory of the

Re: [m2] Using modules/

2005-11-18 Thread Wim Deblauwe
I saw that other thread, but my projects have a different artifactId: groupIdcom.mycomp.utils/groupId artifactIdutils-lang/artifactId groupIdcom.mycomp.utils/groupId artifactIdutils-logging/artifactId so, maybe still something else? regards, Wim 2005/11/18, Brett Porter [EMAIL PROTECTED]:

[m1] including of scripts

2005-11-18 Thread Tim Dyck
Need some help on something. I need to include several external jelly scripts that have the same internal tags (ie internal tags defined by define:tag name=build. The problem is as I loop through my includes of these files only the first include ever gets called, which makes sense I guess b/c it

Re: Repost: [m2] Idea plugin bug?

2005-11-18 Thread Wim Deblauwe
ok, thanks! It is fixed in the SVN version. Is it ok if I leave this repository in my pom or shouldn't I do that (because it would not be able to handle the bandwidth if everybody does that or something?) regards, Wim 2005/11/18, Brett Porter [EMAIL PROTECTED]: I believe this has been fixed

Re: Repost: [m2] Idea plugin bug?

2005-11-18 Thread Brett Porter
I'd only keep it in there as long as you are using that version (ie, until the next release). For idea, it is probably better to put it in settings.xml. On 11/18/05, Wim Deblauwe [EMAIL PROTECTED] wrote: ok, thanks! It is fixed in the SVN version. Is it ok if I leave this repository in my pom

Re: [m2] Using modules/

2005-11-18 Thread Brett Porter
Do they have a parent? I was a little confused by something you said earlier that just clicked: you depend lang depends on logging, but you have a lang module in logging? Module is (sort of) the inverse of a parent relationship, which is different to a dependency. Maybe the dependency tree is

Re: [M2] deploy 'classifier'ed artifacts

2005-11-18 Thread Brett Porter
It requires that the packaging plugin assigns a classifier to the artifact it generates before either setting the project.getArtifact().setFile or calling projectHelper.attachArtifact() if it is a secondary artifact (often the case with artifacts with a classifier). One way to assign a classifier

Re: indicate the started build

2005-11-18 Thread Brett Porter
With m1, you could do this: goal name=guarded-execution !-- create the file here -- j:catch var=ex attainGoal name=${goal} / /j:catch !-- delete the file here -- j:if test=${ex != null} ant:fail${ex}/ant:fail /j:if /goal then run, for example maven -Dgoal=jar:jar

Re: [m2] Using modules/

2005-11-18 Thread Wim Deblauwe
Hmm... They both have the same parent. This parent is a pom package defining all the basics for my java modules. This is the parent: groupIdcom.mycomp.build/groupId artifactIdbuild-java/artifactId version1.0-SNAPSHOT/version packagingpom/packaging And in both modules: parent

Re: [m2] Using modules/

2005-11-18 Thread Brett Porter
The group ID's are different - is that intentional? Are you sure that the message you were getting is only in the parent pom (as expected)? Other than that, I'm having trouble understanding what you are doing. Parent doesn't have to be the inverse of modules, it just generally is that way to be

[m2] Fill src/main/webapp/WEB-INF/lib with dependencies from pom.xml

2005-11-18 Thread [EMAIL PROTECTED]
Hi, To be able to use a web project in WSAD I need a WEB-INF/lib directory filled with the dependency jars. All my dependencies are put in the war correctly but I need the jars in the src directory. How can I force Maven to copy all dependencies to the src/main/webapp/WEB-INF/lib directory?

Re: [m2] Fill src/main/webapp/WEB-INF/lib with dependencies from pom.xml

2005-11-18 Thread Ralph Pöllath
Hi, I think that war:inplace should do the trick: http://maven.apache.org/plugins/maven-war-plugin/inplace-mojo.html Cheers, -Ralph. On 18.11.2005, at 09:20, [EMAIL PROTECTED] wrote: Hi, To be able to use a web project in WSAD I need a WEB-INF/lib directory filled with the dependency jars.

Re: [m2] Using modules/

2005-11-18 Thread Wim Deblauwe
Hi Brett, Is it ok if I send you a 60 KB zip file with my setup so you can take a look at it? It will probably make things clearer that way. regards, Wim 2005/11/18, Brett Porter [EMAIL PROTECTED]: The group ID's are different - is that intentional? Are you sure that the message you were

[m2] javadoc plugin issues

2005-11-18 Thread Anuerin Diaz
hi, i have a a couple of issues with using the javadoc plugin. i am looking forward to a similar result like the one found in http://qdox.codehaus.org/maven-reports.html where multiple reports are attached in the generated site. i have attached the maven-javadoc plugin in the reporting elements

maven-surefire-plugin - 2.0-beta-2-SNAPSHOT anyone send to me ?

2005-11-18 Thread Pete
Would any kind person email the .JAR and .POM etc for the 2.0-beta-2-SNAPSHOT version of surefire plugin. I'm want to use XML reportFormat which I believe is only in SVN, unfortunately no SVN access allowed at work ! email to: [EMAIL PROTECTED] Many thanks build plugins

Re: [m2] javadoc plugin issues

2005-11-18 Thread Anuerin Diaz
i just browsed JIRA and the second issue is the same as the one in http://jira.codehaus.org/browse/MNG-1572. i will attach my scenario on that issue if it would help in detecting the real cause. ciao! On 11/18/05, Anuerin Diaz [EMAIL PROTECTED] wrote: hi, i have a a couple of issues with

RE: RE: [m2] Fill src/main/webapp/WEB-INF/lib with dependencies from pom.xml

2005-11-18 Thread [EMAIL PROTECTED]
Thanks Ralph. The trick works. Martijn -Oorspronkelijk bericht- Van: Ralph Pöllath [mailto:[EMAIL PROTECTED] Verzonden: Friday, November 18, 2005 9:49 AM Aan: Maven Users List Onderwerp: Re: [m2] Fill src/main/webapp/WEB-INF/lib with dependencies from pom.xml Hi, I think that

Re: use of ArtifactHandler

2005-11-18 Thread Nigel Magnay
I have an 'uberwar' mojo; it's components.xml has a lifecyclemapping and an artifacthandler definition, both with the role-hint of uberwar. My project that uses this mojo has a pom.xml with packaginguberwar/packaging The lifecycle is working correctly, my mojo is being called in the packaging

Re: [m2] where to put test data

2005-11-18 Thread David Sag
Thanks John those answers were perfectly satisfactory and i have updated my code accordingly. a point to note however - the path to the resource should not start witha '/' i have not looked but i wonder what the file path to a file within a jar looks like. under maven the unit tests run before

Which mevenide should I use ?

2005-11-18 Thread Blaise Gosselin
Hello, I'm working with the following configuration : - Eclipse 3.1.0 - Maven 1.1-beta-2 - JDK 1.4.2_07 Which version of Mevenide should I use for compatibility ? Thanks in advance. __ _ _ _ bgOnline

Re: Which mevenide should I use ?

2005-11-18 Thread Milos Kleint
sorry, but AFAIK mevenide for eclipse doesn't work with maven 1.1 beta currently.. Milos Kleint On 11/18/05, Blaise Gosselin [EMAIL PROTECTED] wrote: Hello, I'm working with the following configuration : - Eclipse 3.1.0 - Maven 1.1-beta-2 - JDK 1.4.2_07 Which version of Mevenide should

Re: [m2] firewall and proxy problems

2005-11-18 Thread Tomas Maven
Hello and thanks for your answers. Brett, I tried with -U but got the same error as before. I guess the bug you are talking about is the issue reported in JIRA as MNG-1489, right? As I understand it, that issue is just about giving a better error message if Maven can't find the repository. But the

Maven plugin snapshots (was: maven-surefire-plugin - 2.0-beta-2-SNAPSHOT anyone send to me ?)

2005-11-18 Thread fabrice . belingard
Hi guys, more generally, wouldn't it be nice to have the same CI build process for plugins (Apache and Codehaus) as for Maven core? It seems to me that Brett or Jason talked about this some time ago, but I can't find the mails related to this... Brett, Jason: have you done something into

[m2] site.xml reference

2005-11-18 Thread Robert Erler
i've found a reference for the pom.xml at http://maven.apache.org/maven-model/maven.html is there something similar for site.xml? because the short example in Guide to creating a site does not contain very much info -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat

Re: [m2] firewall and proxy problems

2005-11-18 Thread Brett Porter
Not quite. The -U is to make it work after you've fixed the repository - if you still get it then the settings are still wrong. Does -X yield any more info? You can use the JDK system properties as discussed in MNG-1447, though the settings you have already should set those appropriately. The

Re: [m2] site.xml reference

2005-11-18 Thread Christophe DENEUX
Hi Robert, As written in http://maven.apache.org/guides/mini/guide-site.html, site.xml is the renamed file navigation.xml of the Maven 1. Christophe Robert Erler wrote: i've found a reference for the pom.xml at http://maven.apache.org/maven-model/maven.html is there something similar for

Re: [m2] javadoc plugin issues

2005-11-18 Thread Jos Dirksen
To add something to the first issue. This is solved in subversion. If you check out the plugin and build it, you should get a javadoc plugin that doesn't show you an empty page, but shows the javadoc index page. Jos On 11/18/05, Anuerin Diaz [EMAIL PROTECTED] wrote: i just browsed JIRA and the

Re: [m2] install plugin bug with classifiers ?

2005-11-18 Thread Julien Stern
On Wed, Nov 09, 2005 at 10:37:22AM +1100, Brett Porter wrote: The first is easier. You should be able to remove the executions element then, and just add the configuration for both plugins in the profile when it is activated. If that doesn't work, can you attach a minimal test case to a jira

Re: use of ArtifactHandler

2005-11-18 Thread Brett Porter
As I said, your type should be uberwar - not war (it needs to match the role-hint, as stated in the docs). On 11/18/05, Nigel Magnay [EMAIL PROTECTED] wrote: I have an 'uberwar' mojo; it's components.xml has a lifecyclemapping and an artifacthandler definition, both with the role-hint of

Re: [m2] Using modules/

2005-11-18 Thread Brett Porter
Sure, please attach it to a JIRA issue. Thanks, Brett On 11/18/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi Brett, Is it ok if I send you a 60 KB zip file with my setup so you can take a look at it? It will probably make things clearer that way. regards, Wim 2005/11/18, Brett Porter

Re: maven-surefire-plugin - 2.0-beta-2-SNAPSHOT anyone send to me ?

2005-11-18 Thread Brett Porter
add a pluginRepository with: http://snapshots.maven.codehaus.org/maven2 to your settings.xml file in a profile. it should be downloaded. On 11/18/05, Pete [EMAIL PROTECTED] wrote: Would any kind person email the .JAR and .POM etc for the 2.0-beta-2-SNAPSHOT version of surefire plugin. I'm

Re: surefire and systemProperties: bug?

2005-11-18 Thread Brett Porter
Forking support will be available in the next version. Cheers, Brett On 11/18/05, Jérôme BERNARD [EMAIL PROTECTED] wrote: Hi, I am trying to specify the java.library.path property for my tests but it seems that the following configuration does not work: plugin

Re: [m2] How to detach Maven plugin from the lifecycle and attach my own plugin

2005-11-18 Thread Brett Porter
You need to define your own packaging instead of war - goals can't be atached but you can redefine the lifecycle calling the other goals. - Brett On 11/18/05, Richard Allen [EMAIL PROTECTED] wrote: How do I detach the maven-war-plugin from the build lifecycle and attach my own plugin in it's

Re: [m2] Problematic properties ?

2005-11-18 Thread Brett Porter
If it changes in the root pom, then you should change the version of the root pom, and the corresponding child. You don't have to change the version with snapshots, but that also means old builds may not be reproducible until the versions are fixed in time. But you can't define those properties

[m2] which report?

2005-11-18 Thread David Sag
The plugin i am writing has 3 general goals and 2 reports. How do I specify in my pom.xml file which report to run? Kind regards, Dave Sag

[m2] building from svn and/or snapshots available

2005-11-18 Thread Bruno Aranda
Hi all, I've checked out the maven sources following the instructions on the web site and now I am trying to build everything, using the 'mvn assembly:assembly' command. I keep getting this build failure: [INFO] [jar:jar] [INFO] Building jar:

Re: [m2] building from svn and/or snapshots available

2005-11-18 Thread Bruno Aranda
I've used the bootstrap script following the instructions in the README file and the building went ok... Bruno 2005/11/18, Bruno Aranda [EMAIL PROTECTED]: Hi all, I've checked out the maven sources following the instructions on the web site and now I am trying to build everything, using the

Re: [m2] Using modules/

2005-11-18 Thread Wim Deblauwe
Hmmm... JIRA is down currently (http://jira.codehaus.org) 2005/11/18, Brett Porter [EMAIL PROTECTED]: Sure, please attach it to a JIRA issue. Thanks, Brett On 11/18/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi Brett, Is it ok if I send you a 60 KB zip file with my setup so you can

question about synchronization

2005-11-18 Thread jeff li
Hi, With maven IDE for maven 1.0 , maven can easily update .classpath file by appending the paths which are just associated to added dependencies on project.xml. now I have no idea of how to do that , please help me. thanks! Jeff

question about synchronization

2005-11-18 Thread jeff li
Hi, With maven IDE for maven 1.0 , maven can easily update .classpath file by appending the paths associated to added dependencies on project.xml. now I am trying to use maven2 to my project, however, and can not synchronize .classpath to pom.xml with maven-eclipse-plugin. please do me a favor

Re: [m2] which report?

2005-11-18 Thread Brett Porter
All are run by default when the plugin is included: reporting plugins ... configured like in build ... /reporting To restrict to one report, add this inside the plugin: reportSets reportSet configuration/ reports reportreport-goal-name/report /reports /reportSet /reportSets Reportset is to

Re: maven-surefire-plugin - 2.0-beta-2-SNAPSHOT anyone send to me ?

2005-11-18 Thread Pete
Unfortunately no one has deployed the latest groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.0-beta-2-SNAPSHOT/version version to http://snapshots.maven.codehaus.org/maven2 So if someone could deploy or send it tom

Re: [m2] javadoc plugin issues

2005-11-18 Thread Anuerin Diaz
thanks for the heads-up. anybody have a roadmap on when it is going to be released to the public repositories? ill try building it on my own but the last time i downloaded a plugin's source code i was not able to make it run. i cant install subversion in my workstation so i had to download

Re: [m2] where to put test data

2005-11-18 Thread David Sag
Just a short note tho: There is no system property called java.io.tmp.dir it's called java.io.tmpdir Kind regards, Dave Sag David Sag [EMAIL PROTECTED] wrote on 18-11-2005 11:08:17: Thanks John those answers were perfectly satisfactory and i have updated my code accordingly.

Re: Flat structure supported ?

2005-11-18 Thread Christian Schulte
Emmanuel Venisse schrieb: yes, it's supported, but you need to have your module accessible from parent pom url with relative path. if your parent pom url is http://server/path/rep1/parent/pom.xml and module name is ../mymodule then, http://server/path/rep1/mymodule/pom.xml must be a valid

Re: maven-surefire-plugin - 2.0-beta-2-SNAPSHOT anyone send to me ?

2005-11-18 Thread Brett Porter
I just realised what you wrote... why 2.0-beta-2-SNAPSHOT? Why not 2.0? On 11/18/05, Pete [EMAIL PROTECTED] wrote: Unfortunately no one has deployed the latest groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId

timestamps in Simian and Checkstyle reports

2005-11-18 Thread Gisbert Amm
Is it possible to get timestamps in Simian and Checkstyle reports (time of the latest report built)? Kind regards, Gisbert Amm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven-surefire-plugin - 2.0-beta-2-SNAPSHOT anyone send to me ?

2005-11-18 Thread Pete
Reading another it said 2.0-beta-2-SNAPSHOT was needed to be able to generate xml Junit reports using reportFormat of xml . But I've just tried 2.0 as you said, and now have xml results. Is this a case where version 2.0 is pointing at something else via the metadata ? just wanted to improve my

Re: [1.1b1] timestamps in Simian and Checkstyle reports

2005-11-18 Thread Gisbert Amm
Gisbert Amm wrote: Is it possible to get timestamps in Simian and Checkstyle reports (time of the latest report built)? I'm using Maven 1.1 beta 1. Sorry that I've not mentioned that in my initial post. Gisbert - To

Re: [m2] How to detach Maven plugin from the lifecycle and attach my own plugin

2005-11-18 Thread Richard Allen
Thanks, I've defined my own packaging and it does solve my problem. Richard Allen Brett Porter wrote: You need to define your own packaging instead of war - goals can't be atached but you can redefine the lifecycle calling the other goals. - Brett On 11/18/05, Richard Allen [EMAIL

Re: Flat structure supported ?

2005-11-18 Thread Emmanuel Venisse
Can you describe your directory structure, your modules definition and the url you use to add your project? Emmanuel Christian Schulte a écrit : Emmanuel Venisse schrieb: yes, it's supported, but you need to have your module accessible from parent pom url with relative path. if your

Re: [m2] Using modules/

2005-11-18 Thread Wim Deblauwe
And it's back up: http://jira.codehaus.org/browse/MNG-1619 regards, Wim 2005/11/18, Wim Deblauwe [EMAIL PROTECTED]: Hmmm... JIRA is down currently (http://jira.codehaus.org) 2005/11/18, Brett Porter [EMAIL PROTECTED]: Sure, please attach it to a JIRA issue. Thanks, Brett On

[m2] Cannot get release:perform to work

2005-11-18 Thread Marcel Dullaart
Hi all, Can someone explain me how I should do a release cycle? I have setup a multi module project and after some fiddling about I got release:prepare to work using: mvn -Dproject.scm.developerConnection=scm:cvs:pserver:uid:[EMAIL PROTECTED]:/cvsroot:my_project_name release:prepare So now I'd

Re: Plugin Unit Tests?

2005-11-18 Thread Sena Gbeckor-Kove
Hi Bob, I am trying to use your RPM plugin but can't find th code in svn and the download link on the site doesn't work. Are you still working on it? Thx On 15/11/05, Allison, Bob [EMAIL PROTECTED] wrote: That was it. Thanks! -Original Message- From: John Casey [mailto:[EMAIL

[M2] aggregating surefire reports ?

2005-11-18 Thread Pete
I have now got the JUnit reports coming out in XML reportFormat. I'd like to aggregate the XML file to produce a single HTML surefire report - I'm thinking this would be the report published by CruiseControl ? 1) I'm a bit confused by how to turn the .XML into .HTML, I've configured the

Newbie Multiproject question

2005-11-18 Thread Weston, Toby
Hi Guys, Probably a silly question but can I use the multiple projects plugin for projects that aren't under the standard (single?) folder structure? ie, instead of having; projectroot projectroot\project.xml projectroot\projectA projectroot\projectA\projectA.xml projectroot\projectB

Re: [m2] Cannot get release:perform to work

2005-11-18 Thread dan tran
I wonder if release plugin need to issue login first for cvs. So far i dont see it is doing so ( from source) -D On 11/18/05, Marcel Dullaart [EMAIL PROTECTED] wrote: Hi all, Can someone explain me how I should do a release cycle? I have setup a multi module project and after some

[m2] RPM Plugin Source [was: Plugin Unit Tests?]

2005-11-18 Thread Allison, Bob
The plugin is in the Mojo (http://mojo.codehaus.org/) project's sandbox. Which download link on which site doesn't work? -Original Message- From: Sena Gbeckor-Kove [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 09:08 To: Maven Users List Subject: Re: Plugin Unit Tests? Hi

Re: Flat structure supported ?

2005-11-18 Thread Doug Douglass
This sounds a lot like: http://jira.codehaus.org/browse/CONTINUUM-381 Doug Christian Schulte wrote: Emmanuel Venisse schrieb: yes, it's supported, but you need to have your module accessible from parent pom url with relative path. if your parent pom url is

Re: [m2] Cannot get release:perform to work

2005-11-18 Thread Emmanuel Venisse
in release plugin, you have two goals : - release:prepare - release:perform http://maven.apache.org/guides/mini/guide-releasing.html release:prepare modify versions in pom and tag sources release:perform checkout sources from tag and run the deploy phase to upload all artifacts in remote

Re: Intro questions

2005-11-18 Thread Tomislav Stojcevich
The same thing happens to me. I did select add ant project but when I go to add the build definition it asks me for the pom. I tried specifying the build.xml file for the pom and specifying the ant target in the goal but that doesn't work. I am using version 1.0.1. On 11/15/05, Emmanuel

Re: [m2] creating a par package and including it in an ear

2005-11-18 Thread Bruno Aranda
Thanks Stéphane! I've finally got it working... I've checked out the current SVN maven, and maven ear plugin and rebuilt everything. I've used the maven-par-plugin from the mojo codehaus sandbox. After building everything I reproduced an issue discussed some days ago in this mailing list [1],

[M1] Unforked java ant task

2005-11-18 Thread Sebastien Arbogast
I created a preGoal for test:test in order to start up a HSQLDB database before I run my Spring and Hibernate JUnit tests. So I would like the HSQL server to be started in another thread. Here is the preGoal I added to my maven.xml file : preGoal name=test:test ant:path id=hsql.classpath ant:path

default version for the release, but not the development

2005-11-18 Thread Michael Fiedler
Hi, When the prepare goal of release is executed, a default exists for the release version of each pom.xml. However, the development version prompt did not have a default listed in all cases. Only one had a default. Is this considered a bug? If not, I would like to request/suggest

[M2] [M1] Multiproject dependencies question

2005-11-18 Thread Ballard, Ken
This is a question for Maven 1 2, although I know that the answers will be different. Let's say that I have a multiproject with subprojects. Some build jars, one builds a war, a couple that build an ejb jar and an ejb client jar, and one builds an ear. Now let's say that I need the Spring jar in

How to disable transitive dependency?

2005-11-18 Thread Eric Jacob
Hi, Putting the following dependency results in 72 jars downloaded in WEB-INF/lib! dependency groupIdacegisecurity/groupId artifactIdacegi-security/artifactId version0.9.0/version scoperuntime/scope /dependency Of course, I can exclude unecessary dependencies, but it's a real pain. A better

Re: How to disable transitive dependency?

2005-11-18 Thread Pablo
Eric Jacob wrote: Hi, Putting the following dependency results in 72 jars downloaded in WEB-INF/lib! dependency groupIdacegisecurity/groupId artifactIdacegi-security/artifactId version0.9.0/version scoperuntime/scope /dependency Hi If you set scopeprovided/scope then these dependencies

Re: How to disable transitive dependency?

2005-11-18 Thread Eric Jacob
But what about acegi-security-0.9.0.jar? I need it in my webapp. Thanks. Eric On 11/18/05, Pablo [EMAIL PROTECTED] wrote: Eric Jacob wrote: Hi, Putting the following dependency results in 72 jars downloaded in WEB-INF/lib! dependency groupIdacegisecurity/groupId

Maven 2.0 installation

2005-11-18 Thread HappyGoLucky
Greetings, I have installed maven 2.0, as per the installation document. I have created the project as mentioned in getting started guide. Maven fails when I issues mvn compile command with the following error C:\mvntestmvn compile [INFO] Scanning for projects... [INFO]

Re: [m2] Generating Source in Ant

2005-11-18 Thread Lee Meador
So, I have done the following: 1) Changed the .java file to add some descriptions to the parameters 2) Changed the xdoc file to add some more description about the two otherwise unmentioned tags. 3) Used svn to create a patch file that shows the changes. 4) Given it a name with XXX as the issue

[M2] Xdoclet plugin and hibernate task

2005-11-18 Thread Srepfler Srgjan
Hi, I've been trying the xdoclet plugin 1.0-alpha-2 from org.codehaus.mojo ; I've tried to compile some standard hibernate annotated classes from the appfuse project and I'm getting this error: Below is the pom.xml, any ideas why am I getting this error message? Thanks in advance, keep up the

RE: Maven 2.0 installation

2005-11-18 Thread Sean Hennessy
mvn site cannot find the pom.xml It requires a project, but the build is not using one. cd to your artifact-id folder where the pom.xml resides and try again.. if you used my_app as the artifact-id then cd my_app mvn site -Original Message- From: HappyGoLucky [mailto:[EMAIL PROTECTED]

RE: [M2] Xdoclet plugin and hibernate task

2005-11-18 Thread Allison, Bob
A couple questions: Where does BaseObject come from? According to the error message, it is not in the source tree and not on the class path. If should be in the source tree, there is something wrong with that source file. If it comes from Hibernate, you need to import the class (NOT the

Re: [M2] Xdoclet plugin and hibernate task

2005-11-18 Thread Srepfler Srgjan
BaseObject is in the same folter as the model objects. Allison, Bob wrote: A couple questions: Where does BaseObject come from? According to the error message, it is not in the source tree and not on the class path. If should be in the source tree, there is something wrong with that source

Missing something about reports

2005-11-18 Thread Howard Lewis Ship
So, I'm missing something about reports. I want to include a clover report in my site documentation. I've added an entry to my pom.xml: plugin artifactIdmaven-clover-plugin/artifactId /plugin And my site.xml includes ${projects} (the standard set do

Re: [M2] Xdoclet plugin and hibernate task

2005-11-18 Thread Srepfler Srgjan
The classes compile just fine, here's a a class and the baseobject; User.java: package org.appfuse.model; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder;

RE: [M2] Xdoclet plugin and hibernate task

2005-11-18 Thread Allison, Bob
So do all five classes compile without using XDoclet? -Original Message- From: Srepfler Srgjan [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 12:00 To: Maven Users List Subject: Re: [M2] Xdoclet plugin and hibernate task BaseObject is in the same folter as the model objects.

Re: [M2] Xdoclet plugin and hibernate task

2005-11-18 Thread Srepfler Srgjan
Allison, Bob wrote: So do all five classes compile without using XDoclet? Yes, they all compile, furthermore they are the same classes from the well established framework appfuse, meaning the annotations are correct (although I'm not shure if he uses hibernate 2.0 or 3.0 as a version).

[m2] Plugins from alternate repositories

2005-11-18 Thread Wendy Smoak
A coworker is using NetBeans (5.0 beta 2) and I'm attempting to help him get it to cooperate with Maven. So far we've settled on using Wilfred Springer's plugin, which we did manage to retrieve by following the instructions here:

RE: [M2] Xdoclet plugin and hibernate task

2005-11-18 Thread Allison, Bob
I'm not really sure why the messages from XDoclet, since the classes look fine. My guess is that XDoclet is ignoring abstract classes in deciding if it can find the class. I think this is something you need to take to the XDoclet list, since I don't think it is a maven problem. -Original

Re: [M2] Xdoclet plugin and hibernate task

2005-11-18 Thread Srepfler Srgjan
Could it be that I should modify my pom.xml? Perhaps I used variables that put the files in a wrong position so that it can't find it in the classpath? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Newbie Multiproject question

2005-11-18 Thread Michael Böckling
Hi Toby, you can't change directories with the includes/excludes expression. But instead, you can try the following: maven.multiproject.basedir=${basedir}/../ maven.multiproject.includes=projectA/project.xml This is because the directory scanner will scan all subdirs of

[m2] No source code in webapp?

2005-11-18 Thread Wendy Smoak
The webapp archetype doesn't create a src/main/java folder. I assume this is because the recommended structure is to have a multi-module project with 'project-core.jar' and have the webapp depend on that. So... just _how_ frowned-upon is it to have source code in a 'war' project, which

Re: [m2] No source code in webapp?

2005-11-18 Thread Nathaniel G. Auvil
just create a src/main/java directory. when you do a 'mvn package' it will compile and put the classes under the WEB-INF/classes directory Wendy Smoak [EMAIL PROTECTED] wrote: The webapp archetype doesn't create a src/main/java folder. I assume this is because the recommended structure is

Maven 2 - localRepository

2005-11-18 Thread Mike Lantink
Is there any way to set this from other than the settings.xml file. ? Seeting the property in a profile does not seem to take. Michael Lantink Software Engineer (519) 880-2400 ext 2765 www.sandvine.com - To unsubscribe,

RE: Missing something about reports

2005-11-18 Thread Vincent Massol
Hi Howard, -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent: vendredi 18 novembre 2005 18:02 To: users@maven.apache.org Subject: Missing something about reports So, I'm missing something about reports. I want to include a clover report in my site

Re: [M2] [M1] Multiproject dependencies question

2005-11-18 Thread Arik Kfir
in m2 you can define the version once - in the parent POM via a dependencyManagement section. All child POMs just state the group artifact IDs, without the version (they inherit the version from the parent). as for m1, I think it can only be done via a property... On 11/18/05, Ballard, Ken

[M2] List of available Archetypes

2005-11-18 Thread Mayorgaadame, Alex [IT]
Hello all, This may be an easy one, but I've lost track of maven lately. Anyone can tell me the archetypes that are still valid for Maven 2.0? Thanks and regards, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [M2] List of available Archetypes

2005-11-18 Thread Eric Jacob
http://svn.apache.org/viewcvs.cgi/maven/archetype/trunk/maven-archetypes/ HTH Eric On 11/18/05, Mayorgaadame, Alex [IT] [EMAIL PROTECTED] wrote: Hello all, This may be an easy one, but I've lost track of maven lately. Anyone can tell me the archetypes that are still valid for Maven 2.0?

Re: [m2] Plugins from alternate repositories

2005-11-18 Thread dan tran
use pluginRepositories -Dan On 11/18/05, Wendy Smoak [EMAIL PROTECTED] wrote: A coworker is using NetBeans (5.0 beta 2) and I'm attempting to help him get it to cooperate with Maven. So far we've settled on using Wilfred Springer's plugin, which we did manage to retrieve by following the

Re: Maven 2 - localRepository

2005-11-18 Thread dan tran
remote shot, if you are on unix, you can use softlink -D On 11/18/05, Mike Lantink [EMAIL PROTECTED] wrote: Is there any way to set this from other than the settings.xml file. ? Seeting the property in a profile does not seem to take. Michael Lantink Software Engineer (519) 880-2400 ext

Re: Missing something about reports

2005-11-18 Thread Howard Lewis Ship
Sure ... looks like just the wrong version for me; I'll try some other reports and see if I get correct results. Besides ${project}, are there any other special symbols that can go in site.xml? On 11/18/05, Vincent Massol [EMAIL PROTECTED] wrote: Hi Howard, -Original Message- From:

Re: [m2] Plugins from alternate repositories

2005-11-18 Thread Milos Kleint
I have a prototype of netbeans plugin that is able to load the pom.xml and create a special project type for it. it's a conversion of th emevenide for netbeans (that works for maven1) It's not even alpha yet though.. there is also a maven2 netbeans plugin at

[m2] Bootstrap Maven Source Code does not build on Linux

2005-11-18 Thread Peter A. Pilgrim
Hi I followed the instructions in the README.txt and created M2_HOME environment variable. and setting the PATH. % export M2_HOME=/home/peterp/maven-2.0-SNAPSHOT % export PATH=$PATH:$M2_HOME/bin Running the ``bootstrap.sh'' causes failure

  1   2   >