Re: NullPointerException while running mvn site:site

2006-01-05 Thread Bernd Bohmann
Hello, see http://jira.codehaus.org/browse/MNG-1455 but the patch was reverted. I think the maven-project-info-reports-plugin in the svn has a fix for it. Maybe a SNAPSHOT version is available. My technical question It is allowed to return null for artifact.getFile() ? If not there

Re: Creating macros in maven

2006-01-05 Thread Rinku
You might want to look at jelly's define:taglib, define:tag tags? I think these can help you re-use jelly/maven snippets. http://jakarta.apache.org/commons/jelly/libs/define/tags.html Some other helpful Jelly references. http://jakarta.apache.org/commons/jelly/tag-reference/all.html

Maven2 + XDoclet

2006-01-05 Thread Dmitriy D .
Hi! Has anyone experienced using xdoclet plugin on maven2? I need to perform several xdoclet tasks in my build (generate hbm.xml, struts-config.xml etc). Which plugin (group-id, artifact-id, version) should I use? I would really appreciate if you could write some example pom or point to some

How can I create ejb-jar and ejb-client-jar with maven-ejb-plugin in Maven 2?

2006-01-05 Thread Stefan Rademacher
Hello, Could anyone provide me with a working example of a project, which uses the maven-ejb-plugin to generate jar files for the ejb-module and for the ejb-client? (I use the xdoclet-maven-plugin to generate the ejb artifacts to the folder 'targets/generated-sources/xdoclet') I'm quite new to

Re: JNI with maven2

2006-01-05 Thread Wim Deblauwe
BTW, i have created a plugin that will use a .mak file to compile a dll (you ofcourse need to export the mak file from Visual Studio 6). I don't know if you guys are interessed in adding this to your plugin? regards, Wim 2006/1/5, Wim Deblauwe [EMAIL PROTECTED]: plugin looks very nice. It

Re: JNI with maven2

2006-01-05 Thread dan tran
you can always submit it to JIRA On 1/5/06, Wim Deblauwe [EMAIL PROTECTED] wrote: BTW, i have created a plugin that will use a .mak file to compile a dll (you ofcourse need to export the mak file from Visual Studio 6). I don't know if you guys are interessed in adding this to your plugin?

Re: Jackrabbit with maven1.1

2006-01-05 Thread sir�ne vip
Hello Arnaud, I would have hoped so. I've been sending mails a while now and nobody is answering. I'm stuck in my work and the situation's becoming critical. It seems that my questions are so basic that nobody has time to answer on... I thought of trying the maven mailing list as Jackrabbit

Re: Maven1 using Maven2 repository possible?

2006-01-05 Thread Allan Ramirez
Hi Chris, AFAIK, m1 cannot take the repo format of m2. -allan Christopher Lim wrote: I understand that Maven2 is capable of accessing Maven1 repository through the *legacy* tag. Is there a way for Maven1 to understand Maven2 repository? Perhaps pointing MAVEN_HOME_LOCAL to a Maven2 repo.

Integration testing

2006-01-05 Thread Pablo
Hello everyone I'm trying to include integration tests into my maven project. I've accomplished the task but had to write my own plugin. Since I don't know maven2 too well I'd like to ask you a few questions. My plugin does the following: 1) compiles integration tests 2) starts tomcat using

Re: [m2] how to remove jar from .m2/repository

2006-01-05 Thread Allan Ramirez
I suggest that we should have a plugin for this. A goal that can remove an artifact from the local repo and a goal that will clear all the artifact in a group? What do you think? -allan dan tran wrote: perhaps we should have automation tool so that meta-data file can be updated accordingly

RE : [m2] how to remove jar from .m2/repository

2006-01-05 Thread Olivier Lamy
Hi, Maybe something too which clean SNAPSHOT previous when performing a release ? Probably dangerous but could be optionnal in release plugin ? - Olivier -Message d'origine- De : Allan Ramirez [mailto:[EMAIL PROTECTED] Envoyé : jeudi 5 janvier 2006 11:06 À : Maven Users List Objet : Re:

Re: How to specify external jars

2006-01-05 Thread Allan Ramirez
Try this http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIinstallafileinmylocalrepositoryalongwithagenericPOM Kenney Westerhof wrote: On Wed, 4 Jan 2006, Pagadala Baskar, Kiran Kumar (Cognizant) wrote: My guess is that there's no .pom next to the jar.. You need to create a small

RE: How to specify external jars

2006-01-05 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)
Hi, Thanks for the pointers Allan and Kenney. Will try and get back in case of any issues. Regards, Kiran -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 3:41 PM To: Maven Users List Subject: Re: How to specify external jars Try this

RE: Integration testing

2006-01-05 Thread Scokart Gilles
There is a phase integration-test. I think you could bind different existing plugin (compile, cargo, surefire) using the execution, phase and goal tags. I hope this info will guide you toward the solution you need. Gilles -Original Message- From: Pablo [mailto:[EMAIL PROTECTED]

[m2] war dependencies in ear

2006-01-05 Thread Michał Stochmiałek
I've got ear multiproject that contain several web and ejb modules. Those ejbs and wars have dependency on jar with application logic. Of course, application logic has huge number of other 3th party dependencies. When I'm building ear, all wars archives contain their own dependencies

RE: Maven2 + XDoclet

2006-01-05 Thread Allison, Bob
Here's an example from something I am playing with at home. It generates both the ejb and client jars. I use the two properties at the top just to simplify the stuff in the ejbdoclet definition: project xmlns=http://maven.apache.org/POM/4.0.0;

RE: How can I create ejb-jar and ejb-client-jar withmaven-ejb-plugin in Maven 2?

2006-01-05 Thread Allison, Bob
To generate both jars, you need to tell the plugin that you want both of them as follows: project ... build ... plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration

RE: [m2] war dependencies in ear

2006-01-05 Thread Michał Stochmiałek
I've got ear multiproject that contain several web and ejb modules. Those ejbs and wars have dependency on jar with application logic. Of course, application logic has huge number of other 3th party dependencies. When I'm building ear, all wars archives contain their own dependencies

RE: [m2] war dependencies in ear

2006-01-05 Thread Marcel Schutte
--- Micha³ Stochmia³ek [EMAIL PROTECTED] wrote: I've got ear multiproject that contain several web and ejb modules. Those ejbs and wars have dependency on jar with application logic. Of course, application logic has huge number of other 3th party dependencies. When I'm building

Re: antrun's antlr task problem

2006-01-05 Thread Carlos Sanchez
Are you using the 1.1 plugin? On 1/4/06, dan tran [EMAIL PROTECTED] wrote: ok, have my plugin's configuration as configuration tasks ant inheritRefs=true property name=build.dir value=${ project.build.directory}/

Re: call for testers: scp wagon

2006-01-05 Thread Stephen Duncan
Test case: Performing a clean deploy with performRelease=true on a multiproject containing two modules, which failed at least 5 times in a row yesterday when I tried with Maven 2.0.1 (resorted to deploying each module individually). Environment: Fedora Core 4, using SCP to a Red Hat server.

Antw: RE: How can I create ejb-jar and ejb-client-jar withmaven-ejb-plugin in Maven 2?

2006-01-05 Thread Stefan Rademacher
Hello, thank you. I already had this code in my POM but the packaging was set to jar. Now I changed it to ejb and it works fine. Now there is one more problem. The maven-ejb-plugin doesn't find the deployment descriptors. It searches in target/classes/META-INF but the files are generated by

RE: NullPointerException while running mvn site:site

2006-01-05 Thread Dixit, Sandeep (ProSource Solutions)
I think it needs to be incorporated into the release. One thing I don't understand is why is it null? Below is my tag: dependency groupIdjavax/groupId artifactIdjavax.ejb/artifactId version5.0/version scopesystem/scope systemPath${was.lib}/j2ee.jar/systemPath

${project.build.directory} different in M2.0 M2.0.1

2006-01-05 Thread Jens Zastrow
In Maven 2.0 the value containes the whole absolute path to the target dir. C:\windows\system32\target With Maven 2.0.1 only: target\ I use the JavaCC-plugin: plugin groupIdorg.codehaus.mojo/groupId artifactIdjavacc-maven-plugin/artifactId version0.6.1-SNAPSHOT/version

m2 plugin config problems with eclipse

2006-01-05 Thread Roland Oertig
Hi I downloaded and use the maven-plugin offered on the Appache http://maven.apache.org/eclipse-plugin.html . After having spent hours googeling around, to try to find some documents or hints how to use the m2 plugin in eclipse with run-- external tools -- m2 build in the popup window Create,

Re: [m2] war dependencies in ear

2006-01-05 Thread Piotr Bzdyl
I'm not saying that dependencies should have properties again, but I am saying that it is the responsability of the war pom.xml to describe which dependencies it will include itself and which ones should be provided by its containg ear. I was thinking also about war projects which can be

Re: call for testers: scp wagon

2006-01-05 Thread Piotr Bzdyl
Hello, Another way to test is to pick up the following integration build instead: http://maven.zones.apache.org/~maven/builds/branches/maven-2.0.x/m2-20060105.071501.tar.gz Using above build I tried mvn deploy with following configurations: 1. on the windows machine under cygwin shell using

RE: [ANN] dependency-maven-plugin 1.0

2006-01-05 Thread Brian E. Fox
I think that's a good idea for the plugin-report. -Original Message- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 2:34 AM To: Maven Users List Subject: Re: [ANN] dependency-maven-plugin 1.0 (The following is a little off-topic for

RE: [m2] Any additional docs for plugin maven-release-plugin?

2006-01-05 Thread David Jackman
I would say for something as crucial as a release plugin (or anything else that changes files and checks changes into SCM) the docs should be very explicit about what the plugin is doing--not just stating the options. ..David.. -Original Message- From: Chris Hagmann [mailto:[EMAIL

RE: [m2] Overriding a configuration property

2006-01-05 Thread David Jackman
No one replied to then when I sent it originally. Does anyone have any thoughts before I write a JIRA about it? ..David.. -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 4:07 PM To: Maven Users List Subject: [m2] Overriding a

Re: Continuum + Clearcae. [Was] Re: How to use continuum with Maven2? - Please Help

2006-01-05 Thread raghurajan . x . gurunathan
It did find the file and loaded only that module which i mentioned in the cal_mod.txt, i copied it in continuum relative path directory. I made it sure its loading that file only by removing cal_mod.txt then continuum errored with messge it couldn't fine cal_mod.txt file Thanks, Raghurajan

RE: [m2] war dependencies in ear

2006-01-05 Thread Mike Perham
http://jira.codehaus.org/browse/MWAR-9 We throw everything in EAR_ROOT/lib and exclude them from WEB-INF/lib. The WAR's MANIFEST.MF is autogenerated like so: plugin groupIdorg.apache.maven.plugins/groupId

Re: JNI with maven2

2006-01-05 Thread Philippe Faes
What would you consider good coding practice? One project with the Java source and another with the c code? Where would I put the tests? How do I specify the dependencies of other projects? thanks Ph On Wed, 2006-01-04 at 09:22 -0800, dan tran wrote: Philippe native-maven-plugin is at

Re: RE : [m2] how to remove jar from .m2/repository

2006-01-05 Thread Man-Chi Leung
yes, I believe that we need a goal to remove jar from local repository and also for Maven-Proxy repository yes, for SNAPSHOT , I do find that some release plugins are having dependencies on SNAPSHOT version , and very often that SNAPSHOT may be broken or no longer exist! :-(we need

RE: call for testers: scp wagon

2006-01-05 Thread Mike Perham
Anyone else having problems contacting the snapshots machine below? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 1:34 AM To: Maven Users List Subject: call for testers: scp wagon Hi, In the lead up to the 2.0.2 release, I'd like

Re: Error building POM (may not be this project's POM)

2006-01-05 Thread Karthik V
Has anyone seen this error n knows how to correct it ? ... please help. On 1/4/06, Karthik V [EMAIL PROTECTED] wrote: Hi, I installed some jars into the repository using install:install-file. Now I have this problem - every time I run mvn, I get the below error, each time with some random

RE: Error building POM (may not be this project's POM)

2006-01-05 Thread Dixit, Sandeep (ProSource Solutions)
I remember this error. It was to do with my proxy - username/password -settings. -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 10:50 AM To: users@maven.apache.org Subject: Re: Error building POM (may not be this project's POM) Has anyone

Re: Error building POM (may not be this project's POM)

2006-01-05 Thread Karthik V
Oh .. thanks .. Could you tell me where to set it? On 1/5/06, Dixit, Sandeep (ProSource Solutions) [EMAIL PROTECTED] wrote: I remember this error. It was to do with my proxy - username/password -settings. -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: Error building POM (may not be this project's POM)

2006-01-05 Thread Dixit, Sandeep (ProSource Solutions)
Settings.xml -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 11:07 AM To: Maven Users List Subject: Re: Error building POM (may not be this project's POM) Oh .. thanks .. Could you tell me where to set it? On 1/5/06, Dixit, Sandeep

Re: [m2] war dependencies in ear

2006-01-05 Thread Marcel Schutte
I was thinking also about war projects which can be installed as standalone applications (then they should include all their dependencies in the WEB-INF/lib) and as a part of ear also (then they should not include dependencies which are common for other ear modules). Any support for this

m2: local repo is not working?

2006-01-05 Thread mvn
Hi, I have a following problem: I installed a few artefacts with a command (for example): mvn install:install-file -Dfile=./jdom-1.0.zip -DgroupId=org -DartifactId=jdom -Dversion=1.0 -Dpackaging=jar Now I have a structure: \.m2\repository\org\jdom\1.0\jdom-1.0.jar In my POM.xml there is: ...

Re: antrun's antlr task problem

2006-01-05 Thread dan tran
Yes I am using 1.1 plugin -D On 1/5/06, Carlos Sanchez [EMAIL PROTECTED] wrote: Are you using the 1.1 plugin? On 1/4/06, dan tran [EMAIL PROTECTED] wrote: ok, have my plugin's configuration as configuration tasks ant inheritRefs=true

Re: m2: local repo is not working?

2006-01-05 Thread Tim Davies
Your groupid in your dependencies tag should be org.jdom. For info when you install an artifact it is installed to your local repository, which is \.m2\repository. When you use the repository tag then you are telling the pom to look for the artifact in your remote repository. Wasnt sure if

Re: call for testers: scp wagon

2006-01-05 Thread Richard Allen
Yes Mike Perham wrote: Anyone else having problems contacting the snapshots machine below? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 1:34 AM To: Maven Users List Subject: call for testers: scp wagon Hi, In the lead up to the

Re: m2: local repo is not working?

2006-01-05 Thread Tim Davies
Oops sorry, just noticed that matches your groupid in your install command. Not sure in that case. Tim Davies wrote: Your groupid in your dependencies tag should be org.jdom. For info when you install an artifact it is installed to your local repository, which is \.m2\repository. When you

[m2] italian mirror ?

2006-01-05 Thread Valerio Schiavoni
hello, anyone using any italian mirror for maven2 ? if so, can anyone paste here the code to copy in settings.xml ? thanks valerio -- To Iterate is Human, to Recurse, Divine James O. Coplien, Bell Labs

Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
Any clue about this error? [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-inst all-plugin' could not be retrieved from repository: central due to an error: Err or transferring file [INFO] Repository 'central' will be blacklisted [INFO]

Re: call for testers: scp wagon

2006-01-05 Thread Emmanuel Venisse
it's ok now, you can retry. Emmanuel Mike Perham a écrit : Anyone else having problems contacting the snapshots machine below? -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 1:34 AM To: Maven Users List Subject: call for testers:

RE: antrun's antlr task problem

2006-01-05 Thread Sean Hennessy
Not sure about maven.plugin.classpath however my use of maven.dependency.classpath seems to work as configured here. Perhaps using the name attribute used in the property element within the pom instead of maven.plugin.classpath? !-- pom.xml -- configuration tasks property

RE: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Sean Hennessy
I ran into this behavior on another system when it was upgraded to Fedora Core 4 and SELinux security was enabled by default. -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 8:49 AM To: Maven Users List Subject: Repository 'central' will be

Re: call for testers: scp wagon

2006-01-05 Thread Grégory Joseph
Hi, Seems to work for me - quite faster than with scpexe :) Thanks ! g On 05/01/06, Brett Porter [EMAIL PROTECTED] wrote: Hi, In the lead up to the 2.0.2 release, I'd like anyone experiencing: [WAGONSSH-28] session is down [WAGONSSH-30] hangs during deployment to test the following

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
yes i saw ur post at http://www.nabble.com/-m2-FC4-INFO-:-%22Repository-'central'-will-be-blacklisted%22-p1875130.html... I'm running this on Win XP, and it was running fine till yesterday. Nothing changed on my side. If maven just does http downloads of the artifacts, why does it fail when I can

RE: Antw: RE: How can I create ejb-jar and ejb-client-jarwithmaven-ejb-plugin in Maven 2?

2006-01-05 Thread Allison, Bob
You need to specify the destdir attribute of the deploymentDescriptor subtask to point it to the correct location. -Original Message- From: Stefan Rademacher [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 08:12 To: users@maven.apache.org Subject: Antw: RE: How can I create

RE: call for testers: scp wagon

2006-01-05 Thread Mike Perham
Brett, I switched from sftp to scp and it appears to work! I hope all of this can be released with 2.0.2 as we are planning a company-wide migration from 2.0 to 2.0.2 once it has been released and I have tested it internally. Is there any practical difference between the two transports? Why

RE: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Mike Perham
Maybe the remote machine is down. Try a mirror or in a few hours. -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 11:03 AM To: Maven Users List Subject: Re: Repository 'central' will be blacklisted -- any clue? yes i saw ur post at

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Tim Davies
It normally happens when maven fails to download an artifact. If you can browse ibiblio through a browser and your proxy settings are the same in maven then theres no reason why it shouldnt work. I would suggest you delete the folder org\apache\maven\plugins\maven-install-plugin from you

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
I can browse thru repo1 wth my browser .. my browser is set to direct connection to Internet and not 'auto-detect proxy' ... I havnt specified anything in settings.xml ... I deleted the whole repo, reinstalled maven etc. but no avail ... On 1/5/06, Tim Davies [EMAIL PROTECTED] wrote: It

RE: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Sean Hennessy
Likely the [WARINING] [INFO] message is generic and we are seeing different flavors of repository access failures. The use of 'blacklisted' implies any further attempts will also fail. Have we done something to warrant such persona non grata treatment? It remains a mystery. -Original

Re: antrun's antlr task problem

2006-01-05 Thread dan tran
Thanks first, it is a joice ;-) I would like to put it inside an already defined path id=xyz maven setup here / !-- how do i do this together with your suggestion -- pathelement old stuff / /path Regards -Dan On 1/5/06, Sean Hennessy [EMAIL PROTECTED] wrote: Not sure

[ANN] m2 antrun plugin 1.1 released

2006-01-05 Thread Carlos Sanchez
Hi, I'd like to announce the release of the maven 2 antrun plugin 1.1 Changelog (since a jira project was created): http://tinyurl.com/bxcvd Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Tim Davies
I just tested this on my machine and had no problems. For what little help that may be. Im afraid I dont have a detailed enough knowledge to suggest anything else. In the past though when I have come across the blacklisted message it has been sufficient to delete the corresponding metadata

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
Guess what .. it started working now .. though I have no idea when it might stop ... thanks for ur replies .. On 1/5/06, Tim Davies [EMAIL PROTECTED] wrote: I just tested this on my machine and had no problems. For what little help that may be. Im afraid I dont have a detailed enough

Re: [m2] war plugin and resources filtering

2006-01-05 Thread Laurent Berteau
Hi, I think this is related to http://jira.codehaus.org/browse/MNG-791 Is there a known workaround to filter web.xml ? This issue is blocking me from using the war plugin. I presume I am not the only person in that situation. What kind of solutions are you people using ? Best regards, --

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
Though this is solved, I have one question ... I had already downloaded whatever is required to my local repo ... Assuming nothing is corrupted, why is maven still trying a download bfore it checks the local? And sometimes even complains of errors ... I'm new to maven n I find this dependency

Re: antrun's antlr task problem

2006-01-05 Thread Carlos Sanchez
Check the src/it/test1 in the plugin sources, that works for me. BTW antlr 2.7.4 jar is not in the repo On 1/5/06, dan tran [EMAIL PROTECTED] wrote: Yes I am using 1.1 plugin -D On 1/5/06, Carlos Sanchez [EMAIL PROTECTED] wrote: Are you using the 1.1 plugin? On 1/4/06, dan tran

Re: [m2] italian mirror ?

2006-01-05 Thread Carlos Sanchez
This is the list of available mirrors http://jroller.com/page/carlossg?entry=using_mirrors_of_maven2_repositories On 1/5/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: hello, anyone using any italian mirror for maven2 ? if so, can anyone paste here the code to copy in settings.xml ? thanks

RE : [m2] war plugin and resources filtering

2006-01-05 Thread Olivier Lamy
Hi, To add resources (struts, tiles and others). Two solutions : - made your own war plugin (look at a solution proposed http://jira.codehaus.org/browse/MNG-1683) - using something as : build directorybuild/directory outputDirectorybuild/classes/outputDirectory resources resource

Re: [m2] italian mirror ?

2006-01-05 Thread Valerio Schiavoni
Thanks Carlos, shoud I add all of them ? it's not clear from the post (which, by the way, is the most complete I could find so far) if I should add one or all. valerio 2006/1/5, Carlos Sanchez [EMAIL PROTECTED]: This is the list of available mirrors

Re: [m2] italian mirror ?

2006-01-05 Thread Carlos Sanchez
just use one of the following mirror entries in your settings.xml ;) On 1/5/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: Thanks Carlos, shoud I add all of them ? it's not clear from the post (which, by the way, is the most complete I could find so far) if I should add one or all.

Re: call for testers: scp wagon

2006-01-05 Thread dan tran
it is a great joice to see scp working with all the correct persmission settings there is one minor problem with scpexe thou Tested with the recommended snapshot build using scp, sftp,and scpexe. The project ( maven-native) consists of 2 parents, 6 jars, and 1 plugin projects. the plugin deploy

Re: [m2] Location of source for integration-test

2006-01-05 Thread Erick Dovale
Did you ever got an answer to this question. It might be stupid but I am wondering exactly the same.. :) thanks erick Bill Siggelkow wrote: I apologize if this is a stupid question, but what is the proper location for integration-test source (as opposed to the src/test/java for unit

Re: NullPointerException while running mvn site:site

2006-01-05 Thread Bernd Bohmann
Hello Sandeep, you can install this artifact in your local repository. The j2ee.jar is not really a system artifact. see: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html I hope this helps Regards

Re: m2 plugin config problems with eclipse

2006-01-05 Thread Lee Meador
Be sure not to confuse the maven eclipse plugin with the eclipse maven plugin. The former is a plugin for maven 2 that allows mvn eclipse:eclipse to create .classpath and .project as Man-Chi explained. --- The latter is a plugin for eclipse that supports maven. It

Re: antrun's antlr task problem

2006-01-05 Thread dan tran
OK the IT test1 works, I now use it as a base to test if I can load antlr task. It fails not able to load antlr task It seems like antrun is not able to find the entry into the antlr ant task. Your help is greatly appreciated here is the pom ?xml version=1.0 encoding=UTF-8?

RE: [ANN] m2 antrun plugin 1.1 released

2006-01-05 Thread Brian E. Fox
Is there something fundamental that I need to change between 1.0 and 1.1? I just updated because I needed the http://jira.codehaus.org/browse/MANTRUN-28 fix. I only changed the version and now it seems to be missing more stuff on the class path: executions execution

Re: [ANN] m2 antrun plugin 1.1 released

2006-01-05 Thread dan tran
sound like you are running into the same problem that I have in other thread ( antlr task) You may want use that thread to configure your classpath + dependencies if It does not work, sound like a JIRA tome -Dan On 1/5/06, Brian E. Fox [EMAIL PROTECTED] wrote: Is there something fundamental

[m2] Where to find the source code for org.apache.maven.model.Model

2006-01-05 Thread haginow2001-nabble
I'm investigating how the maven-site-plugin generates the dependency list. As part of that I need to look at the source of org.apache.maven.model.Model. I cannot find the source for this class anywhere in the source checked out from http://svn.apache.org/viewcvs.cgi/maven/components/trunk/

Re: unit test fails for 'package' but not 'site' or 'test'

2006-01-05 Thread Lee Meador
I did notice (replying to my self) that the failing project is the only one with an excludes on the surefile plugin. On 1/5/06, Lee Meador [EMAIL PROTECTED] wrote: When I do 'mvn site' or 'mvn test' the tests run on all my projects. They don't fail. When I do 'mvn package', one test fails.

Re: NullPointerException while running mvn site:site

2006-01-05 Thread Hervé BOUTEMY
I confirm : svn has a fix (modified since the patch from MNG-1455) I built and installed the plugin locally, and it works nicely Le Jeudi 05 Janvier 2006 09:04, Bernd Bohmann a écrit : Hello, see http://jira.codehaus.org/browse/MNG-1455 but the patch was reverted. I think the

Re: m2 plugin config problems with eclipse

2006-01-05 Thread Steven Coco
Hi. I'm really new with Maven myself, but I'm also completely unaware of any utility that the eclipse Maven plugin actually provides! I can tell you how I am using Maven in eclipse: 1. Set up eclipse's build path to 'mirror' the Maven settings. 2. Set up basic 'External Tools' to run maven

[m2] target/classes/META-INF/persistence.xml - howto?

2006-01-05 Thread Darren Hartford
Hey all, Working on an EJB3 project and the 'test' continues to fail. I think I know why but not sure how to do it. When the classes are compiled they are stored to target/classes/**/*.class. I need to also have from src/java/META-INF/persistence.xml to also copy over to

Re: ${project.build.directory} different in M2.0 M2.0.1

2006-01-05 Thread Chris Berry
We have seen the same issue, and it is a serious PITA. Now we will have to go through any home grown Plugins and modify them accordingly. 1) the absolute path makes more sense, and more importantly, matches all previous behavior, particularly m1!! 2) this sort of change should come with a huge

RE: [ANN] m2 antrun plugin 1.1 released

2006-01-05 Thread Brian E. Fox
It seems to work if I change it from maven.dependencies.classpath to maven.test.classpath. Not sure why. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 2:44 PM To: Maven Users List Subject: Re: [ANN] m2 antrun plugin 1.1 released sound like

RE: [m2] Exception while executing SCM command. password is required

2006-01-05 Thread Mayorgaadame, Alex
Why do I keep getting this error: sun4-cross: mvn scm:update [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'scm'. [INFO] [INFO] Building GTPL Maven Sample Project [INFO]

Re: [m2] Exception while executing SCM command. password is required

2006-01-05 Thread Grégory Joseph
On 05/01/06, Mayorgaadame, Alex [EMAIL PROTECTED] wrote: Why do I keep getting this error: sun4-cross: mvn scm:update Embedded error: Exception while executing SCM command. password is required In POM I have: scm connectionscm:cvs:pserver:[EMAIL

RE: [m2] Where to find the source code for org.apache.maven.model.Model

2006-01-05 Thread Christopher Cobb
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I'm investigating how the maven-site-plugin generates the dependency list. As part of that I need to look at the source of org.apache.maven.model.Model. I cannot find the source for this class anywhere in the

RE: [m2] Where to find the source code for org.apache.maven.model.Model

2006-01-05 Thread haginow2001-nabble
No, doesn't exist there. But I found out that it is generated by executing maven modello:java within the directory maven-model. It looks as if all source code in maven-model is generated. Thanks, Chris Christopher Cobb [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL

Re: [ANN] dependency-maven-plugin 1.0

2006-01-05 Thread Hervé BOUTEMY
ok, filed MPLUGIN-11 it contains a patch to add the text described to the plugin documentation report (even translated it into french :) ) but it did not change the About xxx plugin page : I don't know where to go for that. If anybody can show me... Le Jeudi 05 Janvier 2006 08:42, Wim Deblauwe

You need to define a connectionUrl parameter.

2006-01-05 Thread Christopher Cobb
I'm trying to set up svn and I'm getting this message: Embedded error: Can't load the scm provider. You need to define a connectionUrl parameter. How/where do I define a connectionUrl parameter? - Attention: Any views expressed in this

Re: [m2] Where to find the source code for org.apache.maven.model.Model

2006-01-05 Thread Jesse McConnell
yes, that is correct On 1/5/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No, doesn't exist there. But I found out that it is generated by executing maven modello:java within the directory maven-model. It looks as if all source code in maven-model is generated. Thanks, Chris

Re: [m2] Where to find the source code for org.apache.maven.model.Model

2006-01-05 Thread Dennis Lundberg
[EMAIL PROTECTED] wrote: No, doesn't exist there. But I found out that it is generated by executing maven modello:java within the directory maven-model. It looks as if all source code in maven-model is generated. The source for much of the generated code is this file:

Re: You need to define a connectionUrl parameter.

2006-01-05 Thread Dennis Lundberg
Christopher Cobb wrote: I'm trying to set up svn and I'm getting this message: Embedded error: Can't load the scm provider. You need to define a connectionUrl parameter. How/where do I define a connectionUrl parameter? It's defined in your pom.xml.

Re: ${project.build.directory} different in M2.0 M2.0.1

2006-01-05 Thread dan tran
JIRA please ;-) did you test it with a snapshot of 2.0.2? -D On 1/5/06, Chris Berry [EMAIL PROTECTED] wrote: We have seen the same issue, and it is a serious PITA. Now we will have to go through any home grown Plugins and modify them accordingly. 1) the absolute path makes more sense,

Re: accessing environment variable in settings.xml or pom.xml

2006-01-05 Thread Adam Altemus
Greetings, my name is Adam Altemus. I am a computer science student @ Indiana University of PA. and am doing an internship. I read in a thread that you said that you can acess environment variables in the pom.xml from the settings.xml. Could you explain to me how this can be done?

RE: You need to define a connectionUrl parameter.

2006-01-05 Thread Christopher Cobb
-Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] It's defined in your pom.xml. http://maven.apache.org/guides/introduction/introduction-to-the-pom.html http://maven.apache.org/maven-model/maven.html#class_scm Thanks for those URL's, although I don't see

Re: [m2] List of dependencies in site plugin

2006-01-05 Thread Brett Porter
Standalone HTML can be generated with: mvn project-info-reports:dependencies Cheers, Brett On 1/5/06, Allan Ramirez [EMAIL PROTECTED] wrote: If I recall correctly, the dependencies report is generated by the maven-project-info-reports-plugin. You can take a look in the source how it was

xmlbeans plugin

2006-01-05 Thread John Wells
John Wells (Aziz) [EMAIL PROTECTED] I am trying to use the XML beans plugin from http://mojo.codehaus.org/xmlbeans-maven-plugin/ However, I get the following: [ERROR] BUILD ERROR [INFO] -- --- [INFO] Failed to resolve artifact.

[m2] JUnitDoclet pluging help, or replacement options to generate unit tests ple

2006-01-05 Thread Mick Knutson
I have been using JUNitDoclet for m1.0.2 and really want some sort of unit test generation functionality in m2 please. Can anyone help? --- Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com Washington Mutual (WAMU)

Re: ${project.build.directory} different in M2.0 M2.0.1

2006-01-05 Thread Richard Allen
This difference is also evident in Maven 2.1-SNAPSHOT. Richard Allen dan tran wrote: JIRA please ;-) did you test it with a snapshot of 2.0.2? -D On 1/5/06, Chris Berry [EMAIL PROTECTED] wrote: We have seen the same issue, and it is a serious PITA. Now we will have to go through any

Re: [m2] JUnitDoclet pluging help, or replacement options to generate unit tests ple

2006-01-05 Thread Ralf Quebbemann
I have developed a M2 Junitdoclet plugin. If there is interest I would like to see it hosted on the MOJO project. bye Ralf Mick Knutson wrote: I have been using JUNitDoclet for m1.0.2 and really want some sort of unit test generation functionality in m2 please. Can anyone help? --- Thank

  1   2   >