Re: Dashboard summary missing PMD and Cobertura sections

2008-01-04 Thread dvicente
Hi, i'm the dashboard's project leader. It's true that the dashboard used the default location of output directory for each plugin. I must resolve this problem. Create an issue under http://jira.codehaus.org/browse/MOJO JIRA David Lee Meador-3 wrote: How does the dashboard report

Re: how to use maven project properties in other configuration files?

2008-01-04 Thread Kalle Korhonen
Make your configuration file a filtered resource: http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html Kalle On 1/3/08, Fred Zhang [EMAIL PROTECTED] wrote: Hi there, Sometimes I need to use maven project properties, e.g. ${project.version} etc in some configuration

dependency:unpack-dependencies doesnt seem to delete old directories before unzipping

2008-01-04 Thread Richard Chamberlain
Hi, I've been using dependency:unpack-dependencies to copy a few products (zipped, with start scripts etc) onto a runtime environment. However no matter which arguments i seem to supply, it doesn't seem to delete the old artefact before unzipping the new one. I removed a file from the

A question about using Mirrors for Repositories

2008-01-04 Thread Thomas Chang
Hi all, I have a mirror in my settings.xml as follow: ... mirror idMyMirrorId/id mirrorOf*/mirrorOf nameDependencies for DKV Projects/name urlfile:sap-dev/CVSREPO/CvsMaven/url /mirror ... I do so because I want to download the dependencies from the repository on the server

Re: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Jeff MAURY
Use the zip packaging in your POM Jeff On Jan 4, 2008 12:18 PM, Matthew Tordoff [EMAIL PROTECTED] wrote: Hi all, Does anyone know if there is an existance of a ZIP archetype or similar for maven. I am looking to build a project organised in the following way: Super Module = contains =

RE: Deploy fails

2008-01-04 Thread John Coleman
I've tried various slash combinations, but the error report talks about the classes directory? In other POMs I use file:///Y:/... And that works. Regards, John -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: 04 January 2008 00:31 To: Maven Users List Subject:

Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Matthew Tordoff
Hi all, Does anyone know if there is an existance of a ZIP archetype or similar for maven. I am looking to build a project organised in the following way: Super Module = contains = WAR = contains = JAR = contains = SQLJ code which depends on PL/SQL = contains = PL/SQL

RE: Managing Test and Production Resources with Maven 2

2008-01-04 Thread Dhruva Reddy
Not sure this went through the first time, but I was using 2.0.7, and upgrading to 2.0.8 resolved the issue. Thanks! Dhruva -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thu 03-Jan-08 20:03 To: Maven Users List Subject: Re: Managing Test and Production Resources

RE: PDE Plugin

2008-01-04 Thread Vikramaditya Garg
Please sent the exceptions and error what you are getting.Probable reason include that u may not be having some jar in your local repo which may be cause of the concern. Also check ur proxy settings... Thanks Vikramaditya Garg Technical Specialist BCM-ADGE Infosys Technologies Ltd.

Filtering with Maven 2

2008-01-04 Thread Dhruva Reddy
I am working with a Java web application and trying to filter resources for inclusion in the WAR file. This application runs in Tomcat. There is one file in particular, context.xml, which resides in src/main/webapp/META-INF/context.xml. I have the following in pom.xml: build ... filters

PDE Plugin

2008-01-04 Thread amit kumar
Has anyone successfully worked out with maven-pde-plugin for eclipse. This is this eclipse plug in project that i have been trying to build. But maven is not able to resolve the plug in dependencies ( the one defined in eclipse). i am trying to build it from command line. I followed the tutorial

RE: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Brian E. Fox
The fix version in the jira is 2.1-alpha-1. Mystery solved -Original Message- From: Tomasz Pik [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 7:36 AM To: Maven Users List Subject: Re: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules? On Jan

Re: A question about using Mirrors for Repositories

2008-01-04 Thread Heinrich Nirschl
On Jan 4, 2008 11:42 AM, Thomas Chang [EMAIL PROTECTED] wrote: Hi all, I have a mirror in my settings.xml as follow: ... mirror idMyMirrorId/id mirrorOf*/mirrorOf nameDependencies for DKV Projects/name urlfile:sap-dev/CVSREPO/CvsMaven/url /mirror ... I do so because I

Junit 4 surefire woes

2008-01-04 Thread Denis McCarthy
Hi, When I run mvn test, only junit 3 tests seem to run. All test classes are found, but for all junit 4 style test classes, I get reports like this: Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec When I extend TestCase, junit 3 style, the tests work. When I run with -X,

RE: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Matthew Tordoff
But how do I create the initial project structure? mvn archetype:create -DgroupId= -DartifactId= -DarchetypeArtifactId=? I am essentially looking for what to put in place of the ? Do I just create a standard JAR project and then change the packaging type to zip? Or do I not

Re: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread ben short
Hi, Take a look at the maven assembly plugin [1] [1] http://maven.apache.org/plugins/maven-assembly-plugin/ On Jan 4, 2008 12:04 PM, Matthew Tordoff [EMAIL PROTECTED] wrote: But how do I create the initial project structure? mvn archetype:create -DgroupId= -DartifactId=

Re: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Tomasz Pik
On Jan 4, 2008 12:53 PM, Jeff MAURY [EMAIL PROTECTED] wrote: Use the zip packaging in your POM hm, according to http://jira.codehaus.org/browse/MNG-1683 there should be 'zip' packaging. But: $ cat pom.xml ?xml version=1.0 encoding=iso-8859-1? project xmlns=http://maven.apache.org/POM/4.0.0;

RE: How to disable scan for projects

2008-01-04 Thread Bohtvaroh
Brian E Fox wrote: Is your plugin actually modifying the poms? Yes, it substitutes velocity-like templates ($organizationName etc...) recursively in all files including poms. -Original Message- From: Bohtvaroh [mailto:[EMAIL PROTECTED] Sent: Thursday, January 03, 2008 4:07 PM

Re: A question about using Mirrors for Repositories

2008-01-04 Thread Thomas Chang
The mirror is the repository on the remote server machine. What metadata files should I use? From this mirror I can download all the jars except those of org\apache\maven\plugins. Looks like you are missing some metadata files in the

Re: Filtering with Maven 2

2008-01-04 Thread Stephen Connolly
look at webResources in the maven-war-plugin configuration section On Jan 4, 2008 1:26 PM, Dhruva Reddy [EMAIL PROTECTED] wrote: I am working with a Java web application and trying to filter resources for inclusion in the WAR file. This application runs in Tomcat. There is one file in

RE: A question about using Mirrors for Repositories

2008-01-04 Thread nicklist
How did the artifacts get at your remote repository. (Your server). Do you use a maven mirror/proxy, like archiva or artifactory or are you using a local repository on the server. (Which is populated by running mvn commands on the server) If you use the second, it is not a real remote

Problems with scm:bootstrap and ClearCase

2008-01-04 Thread torsten . reinhard
Hi, i tried the following: In my pom.xml i configured ... scm connectionscm:clearcase:my-view:load /myVOB/src/myProject//connection developerConnectionscm:clearcase:my-view:load /myVOB/src/myProject//developerConnection tag/ url/ /scm ... Then i executed: mvn scm:bootstrap

Re: PDE Plugin

2008-01-04 Thread amit kumar
But I doubt for any jar unavailable, because I am downloading the jars from central repository. I will email the pom.xml and stack trace. On Jan 4, 2008 6:56 PM, Vikramaditya Garg [EMAIL PROTECTED] wrote: Please sent the exceptions and error what you are getting.Probable reason include that

RE: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Matthew Tordoff
Does that mean that I have to download and build that version from scratch? If so where can I download it from? I have been looking at http://jira.codehaus.org/browse/MNG/fixforversion/13143 but there doesn't seem an obvious place where I can get the source. Is it easy to build? Regards, Matt

RE: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread nicklist
Unfortunately it is not just a new version of a plugin, but a new version of maven itself. To build it, check out the maven trunk and follow the instructions on this page: http://maven.apache.org/guides/development/guide-building-m2.html Hth, Nick Stolwijk -Original Message- From:

RE: A question about using Mirrors for Repositories

2008-01-04 Thread Thomas Chang
You are right. I use the local repository on the server machine as a remote repository to my local client. But I wonder why the other jars can be downloaded except those of org\apache\maven\plugins? How did the artifacts get at your

RE: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Matthew Tordoff
Apologies for continuing this however, I cannot seem to find 2.1-alpha-1 any where in the svn repository. I have searched the site with google for 2.1-alpha-1 and it returns no results. Am I looking in the wrong place? I did find:

Re: A question about using Mirrors for Repositories

2008-01-04 Thread Heinrich Nirschl
In some situations maven needs additional information for resolving artifacts. This info is stored in the metadata files in the repository. Since the filenames of these metadata files are different in local and remote repositories it does not work to misuse a local repository as a remote one. It

Re: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Tomasz Pik
On Jan 4, 2008 3:57 PM, [EMAIL PROTECTED] wrote: Unfortunately it is not just a new version of a plugin, but a new version of maven itself. To build it, check out the maven trunk and follow the instructions on this page: http://maven.apache.org/guides/development/guide-building-m2.html

Re: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Jeff MAURY
On Jan 4, 2008 1:04 PM, Matthew Tordoff [EMAIL PROTECTED] wrote: But how do I create the initial project structure? mvn archetype:create -DgroupId= -DartifactId= -DarchetypeArtifactId=? I am essentially looking for what to put in place of the ? Do I just create a standard

RE: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread nicklist
I guess alpha-1 is not an official release, but just the trunk, which can be downloaded here: https://svn.apache.org/repos/asf/maven/components/trunk/ Hth, Nick Stolwijk -Original Message- From: Matthew Tordoff [mailto:[EMAIL PROTECTED] Sent: Fri 1/4/2008 4:21 PM To: Maven Users List

Re: Problems with scm:bootstrap and ClearCase

2008-01-04 Thread Dan Tran
http://jira.codehaus.org/browse/SCM-321 It is fixed in 1.1 SNAPSHOT. -D On Jan 4, 2008 4:58 AM, [EMAIL PROTECTED] wrote: Hi, i tried the following: In my pom.xml i configured ... scm connectionscm:clearcase:my-view:load /myVOB/src/myProject//connection

Filtering POMs

2008-01-04 Thread dddzzz
Is it possible to filter POMs. Simple case would be: Filters defined in POM: filters filtersrc/main/filters/filter.properties/filter /filters filter.properties: # filter.properties some.version=1.2.3 Using filter values: version${some.version}/version -- View this message in context:

RE: A question about using Mirrors for Repositories

2008-01-04 Thread nicklist
Afaik, that is because with normal artifacts you are looking for com.example:example:1.0 from which a complete url to the pom and jar files can be created. With plugins you are looking for org.apache.maven.plugins:maven-example-plugin:LATEST for which there should be some checking in the

Deploying multi project as single war

2008-01-04 Thread dddzzz
Is it possible to deploy multi project as single war. Projects structure looks similar to this: rootProject (packaging POM) -commonRootProject (packaging POM) --commonCoreProject (packaging JAR - for now) --... -serverRootProject (packaging POM) --serverCoreProject (packaging JAR - for now)

RE: Deploying multi project as single war

2008-01-04 Thread nicklist
If you want to make a war of one of the projects, make a packaging war of it. It will copy all dependencies as jars inside the WEB-INF/lib directory, effectively creating one WAR deployment for deployment to remote repositories or application servers (Which deploy do you mean?). Also, copy

RE: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread Matthew Tordoff
Thanks very much for everyone's help, it is much appreciated. Since we are going to be rolling the use of our build tool out across all of our developers we have opted to only use full releases of Maven. To solve the below problem, I used the POM packaging type, along with the

proxy listener not starting

2008-01-04 Thread Daniel Parry
Hello all, We run a couple of instances of continuum 1.0.3 on an xserve which until recently were working fine. For some reason one instance now has stopped working on its proxy port. In the application.xml we have: listeners proxy-http-listener

Re: maven-eclipse-plugin in online mode with downloadSources=true

2008-01-04 Thread Julien CARSIQUE
We use archiva 1.0. I've checked the external repositories, they're ok. And I already encountered this situation (external repository down) but it was impacting mvn install too, not only mvn eclipse:eclipse. I recently thought about this possibility and so configured archiva to remember

Re: taglib plugin

2008-01-04 Thread Dmitry Beransky
I did some more digging around and it looks like my problem is similar to the one described here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg70522.html when I tried running the plugin using its fully qualified name: mvn net.sourceforge.maven-taglib:maven-taglib-plugin:2.3.1:tagreference

Re: maven-eclipse-plugin in online mode with downloadSources=true

2008-01-04 Thread Julien CARSIQUE
Erratum : I configured archiva to remembers errors on remote repositories but how can we do the same for local ones ? Julien CARSIQUE a crit: We use archiva 1.0. I've checked the external repositories, they're ok. And I already encountered this situation (external repository down) but

Re: Deploying multi project as single war

2008-01-04 Thread dddzzz
dddzzz wrote: Is it possible to deploy multi project as single war. Projects structure looks similar to this: rootProject (packaging POM) -commonRootProject (packaging POM) --commonCoreProject (packaging JAR - for now) --... -serverRootProject (packaging POM) --serverCoreProject

Re: surefire, junit logs, and forking

2008-01-04 Thread Andrew Robinson
Is the log output appearing in TEST-TestSuite.xml or only in the output? On Jan 3, 2008 11:13 PM, noon [EMAIL PROTECTED] wrote: I wasn't quite sure what you were asking, but I got my logging working properly with Maven test by adding following configuration to pom.xml. plugin

Re: Deploying multi project as single war

2008-01-04 Thread dddzzz
I want classes and resources from all projects to end up in single WAR. Is that possible with described project structure. -- View this message in context: http://www.nabble.com/Deploying-multi-project-as-single-war-tp14619903s177p14620408.html Sent from the Maven - Users mailing list archive

Re: Deploying multi project as single war

2008-01-04 Thread Nick Stolwijk
First thing, why do you want it to be in a single war, instead of a single war, with libraries inside? (Often, it is an eye opener to why you want something, instead of focusing on what you are trying to do) Secondly, yes, it is possible, but not at all pretty or easy. You have to work with

Re: Filtering POMs

2008-01-04 Thread Wayne Fay
You can define properties like this in profiles. But realistically, you should be using dependencyManagement to manage versions, and not external filter files. Wayne On 1/4/08, dddzzz [EMAIL PROTECTED] wrote: Is it possible to filter POMs. Simple case would be: Filters defined in POM:

Re: Dashboard summary missing PMD and Cobertura sections

2008-01-04 Thread Lee Meador
1) The issue about the relocated XML files not being found was added here http://jira.codehaus.org/browse/MOJO-987 2) I noticed the issue already reported about the Cobertura columns not appearing due to mixed Cobertura version. I suppose they are only missing in the parent project's dashboard

Re: Dashboard summary missing PMD and Cobertura sections

2008-01-04 Thread dvicente
Could you post your pom.xml to see the reporting configuration ? you can do a mvn -e -x dashboard-report:dashboardmaven.log and post the maven.log as attachment ? Lee Meador-3 wrote: 1) The issue about the relocated XML files not being found was added here

Where did the maven-embedder go?

2008-01-04 Thread Graham Leggett
Hi all, I have been looking for details on how to embed maven functionality in an application[1], and so far the maven-embedder seems to be what I need, described here: http://maven.apache.org/guides/mini/guide-embedding-m2.html The guide makes no mention of what jars are needed to make the

Re: Where did the maven-embedder go?

2008-01-04 Thread Tom Huybrechts
[1] I am trying to use the maven-artifact API to download artifacts from my maven repository. Trouble is, I cannot find the formal way to create ArtifactRepository objects. http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook - create a DefaultArtifactRepository object - or

Re: Where did the maven-embedder go?

2008-01-04 Thread Graham Leggett
Tom Huybrechts wrote: [1] I am trying to use the maven-artifact API to download artifacts from my maven repository. Trouble is, I cannot find the formal way to create ArtifactRepository objects. http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook - create a

Re: Where did the maven-embedder go?

2008-01-04 Thread Graham Leggett
Nick Stolwijk wrote: It seems it got deleted between 2.0.5 and 2.0.6 with the following checkins: r521488 | jvanzyl | 2007-03-22 22:56:42 +0100 (Thu, 22 Mar 2007) | 3 lines Changed paths: D /maven/components/branches/maven-2.0.x/maven-embedder o i looked at trying to back port and it's not

Re: Where did the maven-embedder go?

2008-01-04 Thread Nick Stolwijk
I don't think it is in the maven repo yet, as Maven 2.1 is not released yet. The trunk version is here: https://svn.apache.org/repos/asf/maven/components/trunk/maven-embedder/ Hth, Nick Stolwijk Graham Leggett wrote: Nick Stolwijk wrote: It seems it got deleted between 2.0.5 and 2.0.6 with

Re: Where did the maven-embedder go?

2008-01-04 Thread Tom Huybrechts
You can find snapshots here: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/maven-embedder/2.1-SNAPSHOT/ Use the ueber jar, that includes all the dependencies. I think you can still use new DefaultArtifactRepository() with the embedder, as mentioned in the mojo developer

Re: Where did the maven-embedder go?

2008-01-04 Thread Nick Stolwijk
It seems it got deleted between 2.0.5 and 2.0.6 with the following checkins: r521488 | jvanzyl | 2007-03-22 22:56:42 +0100 (Thu, 22 Mar 2007) | 3 lines Changed paths: D /maven/components/branches/maven-2.0.x/maven-embedder o i looked at trying to back port and it's not worth it the trunk

Re: Filtering POMs

2008-01-04 Thread dddzzz
Wayne Fay wrote: You can define properties like this in profiles. But realistically, you should be using dependencyManagement to manage versions, and not external filter files. Wayne In hierarchical multi project I need to set parents versions. Every project in hierarchy has same

Problem executing Remote server Scripts/commands in Maven2

2008-01-04 Thread Dhamothar
Hi I am tring to execute some command in the remote linux box which allows SSH login. How should call that in POM.XML . I don't see any commands or tasks for that. Locally i am executing one command like this exec executable=D:/Program Files/IBM/WebSphere/PortalServer/config/WPSconfig.bat

buildManagement for reports

2008-01-04 Thread simon
Hi, I would like to define some report configuration in a parent pom, so that they apply to child modules. In particular, the maven-pmd-plugin needs some config common to all the submodules. But I do not want those reports to actually *run* for the parent; it makes no sense to have a pmd report

Re: Where did the maven-embedder go?

2008-01-04 Thread Graham Leggett
Tom Huybrechts wrote: You can find snapshots here: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/maven-embedder/2.1-SNAPSHOT/ Use the ueber jar, that includes all the dependencies. I think you can still use new DefaultArtifactRepository() with the embedder, as mentioned

Re: taglib plugin

2008-01-04 Thread Evan Worley
A, I should've thought of that, my apologies Dmitry. I believe only plugins with the groupId org.apache.maven.plugins, or something like that, can be referenced by short name by default. There is a way to add something to your settings file such that you don't have the fully qualify it, I

Re: buildManagement for reports

2008-01-04 Thread Dennis Lundberg
simon wrote: Hi, I would like to define some report configuration in a parent pom, so that they apply to child modules. In particular, the maven-pmd-plugin needs some config common to all the submodules. But I do not want those reports to actually *run* for the parent; it makes no sense

Deploy assembly jar-with-dependencies

2008-01-04 Thread Davide Angelocola
Hi, I'm want to deploy the jar-with-dependecies artifact in my public repository. There is a simple way to do it? -- Best Regards, -- Davide Angelocola - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Dashboard summary missing PMD and Cobertura sections

2008-01-04 Thread Lee Meador
David, I have sent the files you suggested by seperate email. If you have a whitelist protecting your email from spam it might not get through to you. Let me know. Sorry to inflict this on the maven users list. -- Lee On Jan 4, 2008 1:44 PM, dvicente [EMAIL PROTECTED] wrote: Could you post