Re: [ANN] Maven DOCCK Plugin 1.0-beta-1 for Maven 2 Released

2006-10-25 Thread Wim Deblauwe
It is very nice to see this after there has been much discussion about the quality of the documentation. It shows that the Maven team is really concerned with this. keep up the good work! regards, Wim 2006/10/25, Dennis Lundberg [EMAIL PROTECTED]: The Maven team is pleased to announce the

[M2] site: using variables frrom sub pom in parent pom

2006-10-25 Thread Fred . Hauschel
Hi, for example my distributionManagement is alway the same: distributionManagement site id${project.groupId}.${project.artifactId}/id url${distributionPrefix}sites/${project.groupId}/${project.artifactId}/${p roject.version}/url /site /distributionManagement so it should be

Re: Symbolic links

2006-10-25 Thread Philippe Faes
Uri, Can you please file this issue at JIRA? http://jira.codehaus.org/browse/CONTINUUM Philippe On Tue, 2006-10-24 at 19:55 -0400, Uri Moszkowicz wrote: It seems that continuum follows symbolic links when deleting a project, which I discovered the hard way. This is very dangerous behavior -

Re: Add Directory to Jar Manifest Classpath

2006-10-25 Thread Syvalta
SingleShot wrote: Is it possible to add a directory to the classpath of a Maven-generated Manifest? In theory, yes: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifest

RE: Creating a common local repository.

2006-10-25 Thread Remy.Coqueugniot
Hi, Proximity http://proximity.abstracthorizon.org/ should be the answer to your needs. It acts as a cache/proxy server for common public repositories (ibiblio cie) and for company wide repository. So you could establish a maven architecture internally to store private artifact. For a brief

Re: JMeterMavenPlugin

2006-10-25 Thread Jeff Mutonho
My apologies .Please ignore my last message. -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: JMeterMavenPlugin

2006-10-25 Thread Jeff Mutonho
On 10/24/06, Tom Huybrechts [EMAIL PROTECTED] wrote: Never used it before, but the first things the instructions say is: But on your wiki you say : This is a Maven 2 plugin that allows you to run JMeter tests as part of the build. I am using this with [WWW] JChav and [WWW] Continuum to

Re: [m2] How to put Surefire reports in project-reports.html?

2006-10-25 Thread Xavier Outhier
Thanx that's it. ;-) Xavier. Rémy Sanlaville wrote: Hi Xavier, Just try to add the surfire-report plugin in the reporting section: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-report-plugin/artifactId /plugin

Re: Continuum Startup error even though JAVA_HOME is set up

2006-10-25 Thread Naess, Ronny
I had simulare problems on Solaris. I ended up specifying JAVA_HOME and M2_HOME and updating PATH with M2_HOME\bin inside run.sh As I now JAVA_HOME must exist and maven/ant must exist in path when running continuum. For me it was not enough to specify them in user environment -Ronny

Re: maven-changes-plugin help please

2006-10-25 Thread Naess, Ronny
Does maven-changes-plugin work well with M2 and what version should I choose? I tried it a while ago without success. By the way, we use Subversion. -Ronny -Opprinnelig melding- Fra: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sendt: 24. oktober 2006 23:15 Til: Maven Users List; [EMAIL

[m2] changes-maven-plugin - announcement-mail

2006-10-25 Thread Fred . Hauschel
Hi, how can I configure the 'from' ? Do it like this: configuration xmlPath${basedir}/src/changes/xmlPath smtpHostxx.xx.xx.xx/smtpHost

AW: maven-changes-plugin help please

2006-10-25 Thread Fred . Hauschel
Hi I use plugin groupIdorg.codehaus.mojo/groupId artifactIdchanges-maven-plugin/artifactId version2.0-beta-1/version reportSets

RE: Maven Noobie - How can I just add a directory of jars to my classpat

2006-10-25 Thread Mark Struberg
Hi! If you have a 100-dred jars, then you should really use the declarative dependency mechanism via the pom. Otherwise you don't get all the benefits out of maven. Or as Sigi Goeschl always says: Dirty remains, while quick is long forgotten lg, strub --- goatwuss [EMAIL PROTECTED] schrieb:

Re: m2, surefire console output

2006-10-25 Thread infested
I don't use that option. pjungwir wrote: configuration useFilefalse/useFile /configuration Have you done that? If so, then removing it should get you what you want. -- View this message in context: http://www.nabble.com/m2%2C-surefire-console-output-tf2500944.html#a6988112 Sent

SV: maven-changes-plugin help please

2006-10-25 Thread Naess, Ronny
Aha, I am mixing this plugin with the maven-developer-activity-plugin. I tought this the changes-maven-plugin created a report based on filechanges in SCM, but thats ofcourse not the case :-) It is the other one I am interested in. Thx anyway. -Ronny -Opprinnelig melding- Fra: [EMAIL

jorphan 2.2

2006-10-25 Thread Jeff Mutonho
Anyone know where I can download that the apache jorphan-2.2.jar?I've googled and can't seem to get any leads. -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To

Maven Snapshot Repository Down?

2006-10-25 Thread Jan Thomä
Hi, i am unable to access people.apache.org for 3 days now. I tried from several machines in several networks to rule out any firewall/proxy issues, but it seems that the host is unreachable (except for a 1 hour period on monday evening CEST). Is there some maintenance going on? Has the URL

How to flag successful build

2006-10-25 Thread Naess, Ronny
We use continuum to build all server projects (maven) and client projects(Bea Workshop project buildt with Ant). We want to deploy the ear buildt from the workshopproject to out testserver (weblogic). The clue is to deploy only if server projects is successfully buildt. The ant script

Re: Maven Snapshot Repository Down?

2006-10-25 Thread Martin van den Bemt
Hi Jan, The people server was moved over the weekend to a diferent location and died yesterday. Our infrastructure team is doing everything it can to get a new box in place. Afaik people snapshot repository is not mirrored anywhere. Mvgr, Martin Jan Thomä wrote: Hi, i am unable to access

[M2] properties from parent-pom expanded wrongly in child-pom

2006-10-25 Thread CodingPlayer
Hi, i use a parent-pom from which my child-poms are derived. and i wonder if i can get rid of entries in my child poms, that only differ in the artifactId. for example, in my parent pom i use: urlhttp://192.168.22.5/projects/base-project//url scm

AW: [M2] properties from parent-pom expanded wrongly in child-pom

2006-10-25 Thread Fred . Hauschel
Do you define urlhttp://192.168.22.5/projects/${project.artifactId}//url in parent and child pom? -Ursprüngliche Nachricht- Von: CodingPlayer [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Oktober 2006 11:47 An: users@maven.apache.org Betreff: [M2] properties from parent-pom

Re: AW: maven-changes-plugin help please

2006-10-25 Thread Markku Saarela
You should use changes plugin it is newer version of that codehaus plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changes-plugin/artifactId configuration xmlPath${basedir}/src/site/changes.xml/xmlPath /configuration

AW: AW: maven-changes-plugin help please

2006-10-25 Thread Fred . Hauschel
thanks! -Ursprüngliche Nachricht- Von: Markku Saarela [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Oktober 2006 12:38 An: Maven Users List Betreff: Re: AW: maven-changes-plugin help please You should use changes plugin it is newer version of that codehaus plugin: plugin

[m2/ant] How to add jar to Ant root classpath with AntRun plugin ?

2006-10-25 Thread Elid OR
Hi, I would like to use mapper regexp with ant but we must add ant-apache-jarkarta.jar and ant-apache-jarkata-oro into the ant classpath. I'v tried to add them to the antrun plugin classpath like this : plugin groupIdorg.apache.maven.plugins/groupId

Re: copying configs from dependencies

2006-10-25 Thread Rémy Sanlaville
If I have 2 modules A and B, and A depends on B, but B has a file config.properties in its conf/ dir. How can I build/package A so that config.properties will be in A also? How can I do it using maven-assembly-plugin? With the plugin maven-assembly-plugin, you can try something like this :

[m2] Unable to change Checkstyle configuration file: path problem

2006-10-25 Thread Xavier Outhier
Hi all, I'm using the Checkstyle plug-in and it works perfect with default or predefined. 1) But I would like to try another config file from JJGuidelines. I try to change to checkstyle-jjguidelines.xml by modifying the pom like this: reporting plugins [...] plugin

Re: Howto Tell maven2 to also download sources

2006-10-25 Thread n2
Erick Dovale wrote: For the eclipse plugin you have to pass in -DdownloadSource=true to the plugin and they will get downloaded and linked. The property is -DdownloadSources=true not -DdownloadSource=true -- View this message in context:

Re: [m2/ant] How to add jar to Ant root classpath with AntRun plugin ?

2006-10-25 Thread Siegfried Goeschl
Hi Elid, the message no supported regular expression matcher found is my all time favourite regarding Maven2 ... :-) +) what type of regexp engine your would like to use - JDK, oro or regexp - you probably don't need three of them +) you definitely need ant-nodeps in your dependencies, e.g

[M2] different classpathElements in test phases

2006-10-25 Thread aXXa
How come the Test Classpath (same as maven-surefire-plugin classpathElements?) is different when I run 'mvn test -X' and 'mvn install -X'? The funny thing is the JUnit tests execute correct when running 'mvn test' and NOT when running 'mvn install'. I'm not sure if this is the problem but my

[m2][javadoc-plugin] currentYear, inceptionYear

2006-10-25 Thread Feniks Nator
Hello, from: http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html I see that the default value for the 'botttom' parameter of the javadoc plugin has the followig value: Copyright copy; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved. But I can't figure

Antwort: [m2] anybody using ClearQuest as maven issueManagement ?

2006-10-25 Thread Brigitte . Ilsanker
we use clearquest for issue management and clearcase (base) for versioning, works reasonably ok - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: Antwort: [m2] anybody using ClearQuest as maven issueManageme nt ?

2006-10-25 Thread Fred . Hauschel
how can i add clearQuest as issueManagement to my pom. so that the issue tag in my changes.xml will be linked to clearQuest? Is it possible? thanks Fredy -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Oktober 2006 15:00 An: Maven

Ang: [M2] properties from parent-pom expanded wrongly in child-pom

2006-10-25 Thread Martin Börlin
Hi, I do the following: In my parent pom I define scm connection scm:svn:svn://server/repository/trunc/ /connection developerConnection scm:svn:svn://server/repository/trunc/ /developerConnection /scm and the child poms does NOT define the scm tag. The child

SV: How to flag successful build

2006-10-25 Thread Naess, Ronny
Just to answere my own question. I used maven-antrun-plugin. The verify phase is followed with a delete SUCCESS (a file acting aka our flag) command. The install phase is followed with a create file (ant touch) command. Super POM -- plugin artifactIdmaven-antrun-plugin/artifactId

Re: [m2] javadoc:jar + aggregate

2006-10-25 Thread aXXa
I realised that the aggregatetrue/aggregate does not work when you run mvn javadoc:javadoc. The generated jar-files reside under respective child projects target directory. Try to run mvn javadoc:javadoc -Xand look for the output jarOutputDirectory to see exactly where the jar-files are.

Re: ftp-wagon Unrecognised tag: 'extensions'

2006-10-25 Thread Eric Redmond
extensions are only valid under the main level build, not within a profile's build. Note that the build element under profile is only a subset of the build element under project. Eric On 10/25/06, Jeff Mutonho [EMAIL PROTECTED] wrote: On 10/24/06, pjungwir [EMAIL PROTECTED] wrote: Hi Jeff,

Antwort: [m2] anybody using ClearQuest as maven issueManageme nt ?

2006-10-25 Thread Brigitte . Ilsanker
We don't couple maven and clearquest such close since we don't see the value right now. I'd appreciate any pros and cons anyway. There are some alternatives for a more loosely coupling: 1. In the pom: link to be followed at the project's web site, something like: issueManagement system

Release date for Continuum 1.2?

2006-10-25 Thread Anoop kumar V
Can anyone please tell me when is the release date for the next version of Continuum (1.2)? I know it is going to be a major release, but could not exactly tell the date of the release from the website. -- Thanks and best regards, Anoop

Re:Tr : Functional Tests and maven-surefire-report-plugin

2006-10-25 Thread Christophe Deneux
You can find a patch to apply on source code here: http://jira.codehaus.org/browse/MSUREFIREREP-28?page=all Please, vote for this issue. _ Christophe DENEUX / Capgemini Sud / Méditerranée Technical Leader Tel: + 33 4 93

Re:Tr : Functional Tests and maven-surefire-report-plugin

2006-10-25 Thread Christophe Deneux
You can find a patch to apply on source code here: http://jira.codehaus.org/browse/MSUREFIREREP-28?page=all Please, vote for this issue. _ Christophe DENEUX / Capgemini Sud / Méditerranée Technical Leader Tel: + 33 4 93

EAR dependency best practices

2006-10-25 Thread Alexander Sack
Hello everyone, I'm building an EAR and I having some difficulties dealing with common dependencies among modules. Here are some basic questions: 1) How should JARs shipped within my EAR be treated? (see below) 2) Why does Maven pull in dependencies not listed in any of my pom files? For

Re: Release date for Continuum 1.2?

2006-10-25 Thread Jesse McConnell
well, since 1.1 isn't released yet1.2 will be a bit after that :) but a for 1.1 release I would hazard a guess of around the beginning of the new year, there is a thread on here detailing the general things we want to get wrapped up before actually settling 1.1 release. jesse On 10/25/06,

AW: Antwort: [m2] anybody using ClearQuest as maven issueManageme nt ?

2006-10-25 Thread Fred . Hauschel
Hi, i thougt about: http://maven.apache.org/plugins/maven-changes-plugin/usage.html see the first example How to Generate the Changes Report - Tag 'issue=MPJIRA-11' Fredy -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Oktober 2006

Re: Maven Snapshot Repository Down?

2006-10-25 Thread pjungwir
Someone yesterday mentioned running mvn -o to prevent updating snapshots. Of course you must already have them, but this will apparently prevent maven from failing trying to get newer ones. Paul -- View this message in context:

Re: Maven Snapshot Repository Down?

2006-10-25 Thread Jan Thomä
Aye, indeed, however currently we dont have them on all pcs, so getting this up again would be really helpful - but well they are working on it :) Best regards, Jan On Wednesday, 25. October 2006 16:43, pjungwir wrote: Someone yesterday mentioned running mvn -o to prevent updating snapshots.

Re: cvs.apache.org connection problems

2006-10-25 Thread Wendy Smoak
On 10/24/06, Scott Ryan [EMAIL PROTECTED] wrote: I am having the same issues with my maven 2 repository. I saw a posting last night that some of the apache servers (people and cvs) had gone down but no information on when they were expected back up or any alternative on how to get around the

Re: [ANN] Maven DOCCK Plugin 1.0-beta-1 for Maven 2 Released

2006-10-25 Thread Mick Knutson
Is there a better description of this plugin? Sorry, but I am not quite sure what this plugin will do for me. Can someone shed some more light? On 10/24/06, Wim Deblauwe [EMAIL PROTECTED] wrote: It is very nice to see this after there has been much discussion about the quality of the

RE: [m2/ant] How to add jar to Ant root classpath with AntRun plugin ?

2006-10-25 Thread Elid OR
Hi Siegfried, In fact I use only regexp mapper. I found a solution by adding these following dependencies : plugin artifactIdmaven-antrun-plugin/artifactId ... dependencies dependency groupIdant/groupId artifactIdant-apache-regexp/artifactId

Re: ftp-wagon Unrecognised tag: 'extensions'

2006-10-25 Thread Jeff Mutonho
On 10/25/06, Eric Redmond [EMAIL PROTECTED] wrote: extensions are only valid under the main level build, not within a profile's build. Note that the build element under profile is only a subset of the build element under project. Eric Alright.So since I have a profile , how should I do

Using ant-tasks inside antrun

2006-10-25 Thread pjungwir
Hello, This is kind of a weird question. Suppose I'm writing a tasks block for maven-antrun-plugin. Now suppose I want to use maven's ant-tasks there. For example (to borrow from another poster): tasks delete dir=target/

Re: Deploy fails if directory exists using wagon-file

2006-10-25 Thread pjungwir
Hi Dave, Is wagon-file even necessary? I used a file-based repository for a while, and I didn't even mention wagon. I just had a urlfile:////url in my /project/distributionManagement/repository section. But maybe wagon-file was used implicitly. I wonder if the problem is related to windows

Preventing sub-dependencies from being included in an EAR

2006-10-25 Thread Alexander Sack
Because I'm using some of the Apache commons libraries, Maven2 is including some of their sub dependencies such as commons-logging which breaks my EAR. Is there a way to prevent this? -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph

Re: ftp-wagon Unrecognised tag: 'extensions'

2006-10-25 Thread Eric Redmond
No, you need to make a build section under the main project element - completely unrelated to profiles. Think of it this way: profiles define how you actually intend to build a project for a specific system, not the mechanism by which you will upload to a remote server. At least, that's the

Bug in maven

2006-10-25 Thread Matthias Wessendorf
hey guys. look at SHALE-319 to see that maven checks only dependencies against *special* repos, when one of the libs has them defined in it (parent) pom file. http://issues.apache.org/struts/browse/SHALE-319 Should I move this bug to maven ? -M -- Matthias Wessendorf http://tinyurl.com/fmywh

Re: Bug in maven

2006-10-25 Thread Carlos Sanchez
I'm almost sure it's already logged in jira MNG. We faced it some time ago. The pom in central should be changed On 10/25/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: hey guys. look at SHALE-319 to see that maven checks only dependencies against *special* repos, when one of the libs has

Re: Bug in maven

2006-10-25 Thread Matthias Wessendorf
u are talking about the parent pom ? -M On 10/25/06, Carlos Sanchez [EMAIL PROTECTED] wrote: I'm almost sure it's already logged in jira MNG. We faced it some time ago. The pom in central should be changed On 10/25/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: hey guys. look at

Re: ftp-wagon Unrecognised tag: 'extensions'

2006-10-25 Thread pjungwir
Hi Jeff, What is the benefit of loading wagon-ftp in a profile? That extensions block doesn't per se do anything; it just makes wagon-ftp available. I guess you're loading it for the sake of the sftp:// repository in the top-level POM? Then why not just put extensions up there, too (with no

Re: Using ant-tasks inside antrun

2006-10-25 Thread Dan Tran
see if this helps http://www.nabble.com/M2-antrun-plugin-problem-tf1400135.html#a5892203 -D On 10/25/06, pjungwir [EMAIL PROTECTED] wrote: Hello, This is kind of a weird question. Suppose I'm writing a tasks block for maven-antrun-plugin. Now suppose I want to use maven's ant-tasks there.

Re: [ANN] Maven DOCCK Plugin 1.0-beta-1 for Maven 2 Released

2006-10-25 Thread Wayne Fay
DOCCK = Maven Document Check As seen on the page: This plugin checks that a project complies with the Plugin Documentation Standard. Link to Plugin Doc Standard: http://maven.apache.org/guides/development/guide-plugin-documentation.html Link to DOCCK FAQ:

Re: AW: AW: Create only .classpath with eclipse:eclipse?

2006-10-25 Thread James Mitchell
Sounds like a nice work-around. -- James Mitchell 678.910.8017 On Oct 23, 2006, at 5:01 AM, Lewis, Eric wrote: Hi James Thanks for your help! Theoretically, recreating the .project would be a possibility, but of course I don't know what other external tools and builders and whatnot

Re: Maven Snapshot Repository Down?

2006-10-25 Thread Ming Cheung
I have encounterred a similar situation. What if my testcase/project needs to download a snapshot jar from the repository for EVERY SINGLE build? If the repository is not avaiable, Does that mean all Apache AXIS2 open source) user will have wait 3 or more days before running the builds?

Re: Maven Snapshot Repository Down?

2006-10-25 Thread Wendy Smoak
On 10/25/06, Ming Cheung [EMAIL PROTECTED] wrote: What if my testcase/project needs to download a snapshot jar from the repository for EVERY SINGLE build? If the repository is not avaiable, Does that mean all Apache AXIS2 open source) user will have wait 3 or more days before running the

settings.xml ignored

2006-10-25 Thread Attila Mezei-Horvati
Hi there, I have installed Continuum 1.0.3. I have a multi module project. It uses subversion as scm. When I run 'build now' from the web-interface I get the following error: Cannot checkout sources.${scm.base.url}/commons/trunk/ url isn't a valid svn URL. The scm url is invalid. The

Re: settings.xml ignored

2006-10-25 Thread L. J.
Make sure you activate the profile in the serttingx.xml. activeProfiles activeProfileyour_profile_id/activeProfile /activeProfiles Thanks. LJ On 10/25/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote: Hi there, I have installed Continuum 1.0.3. I have a multi module project. It uses

maven war plugin

2006-10-25 Thread cyril . Vidal
---BeginMessage--- Hi, I'm new to maven and would like to know if it is possible to customize the maven war plugin in sort that the java files are copied in WEB-INF/classes instead of root of war. Where are all these steps configured? Had a look to

basedir

2006-10-25 Thread EJ Ciramella
Is there some property readily available that represents the directory from which maven was run from? Something like ${basedir} in ant?

Re: Maven Snapshot Repository Down?

2006-10-25 Thread Ming Cheung
I am very familiar with ASF repository. I guess most of the AXIS2 developers are the same. Could you please point me to some docs/FAQ which can tell us how to find the plugins for build? how to build them after downloaded? how/where to put the jar to the sandbox? Especially, there are an older

Re: basedir

2006-10-25 Thread pjungwir
${basedir} :-) Technically, this gives the directory where the pom is located, not the directory from which you run mvn. Paul EJ Ciramella-2 wrote: Is there some property readily available that represents the directory from which maven was run from? Something like ${basedir} in ant?

dependcy vs one lib of jars

2006-10-25 Thread Attila Mezei-Horvati
I was reading a lot about how one of maven's best features is the dependency handling: there is no need for a directory of jar files. Everything is specified in the dependency management and the repository has the needed jars. Sounds good. One of my coworkers raised however an issue the other day

Re: dependcy vs one lib of jars

2006-10-25 Thread Wayne Fay
If it doesn't make sense for your process, just don't use it, stick with Ant or your existing (working) system. No one here is forcing you to use Maven. ;-) Arguably for these shared libraries you can use scopeprovided/scope and continue to update your server shared library up to date as an

RE: basedir

2006-10-25 Thread EJ Ciramella
I haven't been able to get that kind of thing to work when running process-resources. Additionally, if I have three levels, (parent pom.xml - parent pom.xml - module pom.xml) and the resource processing happens at the module level, would the basedir be of the parent pom or of the module pom?

RE: [m2] Running Emma: how to get HTML report?

2006-10-25 Thread Chris Hilton
There's an emma-maven-plugin in the Codehaus sandbox and available at the Codehaus snapshots repository you might want to use. http://mojo.codehaus.org/using-sandbox-plugins.html You'll need to specify something like this for the build configuration: build plugins plugin

RE: basedir

2006-10-25 Thread pjungwir
Hmm. It works for me in a plain, single-module setup. You may need to say filteringtrue/filtering; I don't know if it's the default. I'm not sure what ${basedir} means with many modules. Are you getting weird results, or is it just not getting replaced at all? Paul EJ Ciramella-2 wrote: I

RE: basedir

2006-10-25 Thread EJ Ciramella
Ahh - I'm not talking about having it IN a resource, I'm talking about having it in the resource mapping in the POM file. -Original Message- From: pjungwir [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 3:31 PM To: users@maven.apache.org Subject: RE: basedir Hmm. It works

[m2/ant] ClassCastException jwsc

2006-10-25 Thread ihowle
I'm running the maven-antrun plugin currently to execute various pieces of an older build script. This script uses some taskdefs, such as weblogic's jwsc, to accomplish most of its tasks. The build script for the original ant file executes all these correctly, however, when ported to the plugin

RE: basedir

2006-10-25 Thread EJ Ciramella
I wind up with this: [INFO] Error copying resources Embedded error: E:\work\LTY-P39\frontoffice\memberApp\target\classes\E:\work\LTY-P00 0039\frontoffice\memberApp\scripts\startApp.sh (The filename, directory name, or volume label syn tax is incorrect) When I have this: resource

RE: basedir

2006-10-25 Thread pjungwir
Oh, okay. By default, all paths are relative to basedir already, so I'm not sure why you'd need it. But in my setup, this still works: resource directory${basedir}/foo/directory /resource Again, I'm not sure what it means with multiple modules, but it should at least get resolved. What

RE: basedir

2006-10-25 Thread pjungwir
Oh sorry, I missed this post. So you're using it in targetPath. That is actually relative to the target/classes directory, not the pom's directory. Apparently maven's code doesn't check whether you've given it an absolute path; that is a bug and you should file a jira. I have a project where I

Re: [m2/ant] ClassCastException jwsc

2006-10-25 Thread pjungwir
I'm not sure how to fix your problem, but if you're really stuck, you could go back to your build.xml script and call it from maven by using the antrun plugin with just tasksant antfile=build.xml//tasks. That might be give you more control over your classpath by letting you handle taskdefing

RE: basedir

2006-10-25 Thread EJ Ciramella
So what I'm attempting to do is pull in a resource from another modules target directory. So if basedir was /toplevel and not /toplevel/project/module1, that would help. Instead we'll continue to use relative paths. Bummer... -Original Message- From: pjungwir [mailto:[EMAIL PROTECTED]

Re: dependcy vs one lib of jars

2006-10-25 Thread Greg_Vaughn
That's a great use case to bring up. Sounds like the beginnings of a new plugin. It could parse a project's pom for provided dependencies and retrieve those from maven repository and put them all in a specified dir. Or it could go even further and have a new project type of tomcat-manager that

Re: basedir

2006-10-25 Thread Wayne Fay
Basedir depends entirely on where you are executing Maven from... Instead of pulling files directly out of other modules (using relative paths), I would suggest packaging those shared modules by themselves and adding a dependency on them in both modules, or perhaps use the assembly plugin to

Re: [m2/ant] ClassCastException jwsc

2006-10-25 Thread Wayne Fay
This error appears when the build gets to the jwsc function (weblogic.wsee.tools.anttasks.JwscTask). This error did occur using the original ant file, but by adding bea jars to the classpath, it was fixed. However, when this was done for the Maven build it did not fix the problem. What

Re: Using ant-tasks inside antrun

2006-10-25 Thread pjungwir
Thanks Dan, that got me what I need. The missing link in my mind was using maven.dependency.classpath to connect the plugin's deps to the taskdef. I never even thought about that, but I guess that's what it's there for! :-) Here is the final, working xml: plugin

Re: Release date for Continuum 1.2?

2006-10-25 Thread Anoop kumar V
Ohh yes - my bad - I meant 1.1!! I was not even thinking of 1.2 (yet!!) ;-) Thanks... So somewhere in Jan... that is good. best, -Anoop On 10/25/06, Jesse McConnell [EMAIL PROTECTED] wrote: well, since 1.1 isn't released yet1.2 will be a bit after that :) but a for 1.1 release I would

Re: Using ant-tasks inside antrun

2006-10-25 Thread pjungwir
Actually, I don't need the classpath refid=maven.dependency.classpath/ at all. It works if I just omit it entirely. I tried printing the various classpaths as in that post from Margaret Martin. I get weird results for maven.dependency.classpath. Here it is with just the default junit dependency

Re: basedir

2006-10-25 Thread pjungwir
I just noticed that the resources plugin supports an outputDirectory configuration element. So you could try a relative targetPath and an absolute outputDirectory. Note that the former is on the resource itself; the latter, on the plugin's configuration. Paul -- View this message in context:

Re: dependcy vs one lib of jars

2006-10-25 Thread Max Cooper
A few ideas... You could write a plugin (or perhaps leverage maven-dependency-plugin and/or maven-assembly-plugin) to produce a zip file containing all the jars, and deliver that with the releases of your webapp(s). Perhaps you would tell the plugin about each of the war projects, and it

scp a war to remote location

2006-10-25 Thread Christofer Jennings
How do you scp a war to a remote location in maven2? I have a webapp project that produces a war. I'd like to deploy it to a remote server running jboss. I think all I need is to scp the war and let jboss hot deploy. But I can't figure out what to do in maven to make it happen. I already have

Re: Malformed manifest classpath entry

2006-10-25 Thread pjungwir
Hello, Could you please post your MANIFEST.MF file so we can see what royally screwed up means? Thanks, Paul Alexander Sack-3 wrote: Hi Everybody, I did check the email archives on this one and I'm not sure what's what... If I specify a manifest entry such as: archive

Re: Add Directory to Jar Manifest Classpath

2006-10-25 Thread pjungwir
Syvalta wrote: But that doesn't work for me, see: http://jira.codehaus.org/browse/MJAR-60. I didn't get any error with a trailing slash inside Class-Path. JIRA says this is fixed against 2.2. I'm not sure why the bug is still open in that case. . . . Paul -- View this message in

Re: Malformed manifest classpath entry

2006-10-25 Thread Alexander Sack
Hi Paul, Sorry, yea, I've been a little frustrated dealing with manifest entries and transitive dependencies (last post). I've solved my problems for the most part. For the below issue what was happening is Maven2 (Plexutils I think) is generating the manifest file and not copying the EXACT

Re: [M2] Changelog Plugin and CVS Tags [SOLVED]

2006-10-25 Thread Nate
OK, I've tried using the command line cvs client from CVSNT 2.0.51 connecting to a cvs 1.11.20 server. I switched my client a couple of times (couldn't find that exact client version) and finally was successful withCVSNT 2.5.03 Build 2382 Thank you for taking the time to help me solve

Re: Malformed manifest classpath entry

2006-10-25 Thread pjungwir
Yeah, I wish maven wouldn't wrap the Class-Path entry, too. I'm pretty new to maven myself, so I haven't tried out multi-module builds or J2EE builds. But I think you have the right idea. Marking things provided is the surest way I know to keep transitive dependencies out of your artifacts.

Re: Malformed manifest classpath entry

2006-10-25 Thread Alexander Sack
Yeah, I did a lot of mail-archive.com searching and its a common issue. Transitive dependency tracking can be fantastic (especially for Java applications building), but for EARs its VERY dangerous since you are left with runtime exceptions to debug (treaded cast class exceptions etc.) instead of

[M2] Changelog plugin report unknown range

2006-10-25 Thread Nate
in by the report generator and used for the range. Generated changelog.xml from tag type: changelog changeset datePattern=MMdd HH:mm:ss z changelog-entry ... Generated changelog.xml from date type: changelog changeset datePattern=MMdd HH:mm:ss z start=20061018 00:00:00 CDT end=20061025 00

Re: Malformed manifest classpath entry

2006-10-25 Thread Max Cooper
I agree that it is ugly, but the Jar Specification requires the wrapping, see Line length in this section: http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Notes%20on%20Manifest%20and%20Signature%20Files The plugin is doing the right thing. -Max pjungwir wrote: Yeah, I wish maven

Re: scp a war to remote location

2006-10-25 Thread Wendy Smoak
On 10/25/06, Christofer Jennings [EMAIL PROTECTED] wrote: How do you scp a war to a remote location in maven2? I have a webapp project that produces a war. I'd like to deploy it to a remote server running jboss. I think all I need is to scp the war and let jboss hot deploy. But I can't figure

Re: Malformed manifest classpath entry

2006-10-25 Thread Wayne Fay
Glassfish's application verifier (SJAS 9.1) actually complains about any Class-Path entry in your EAR MANIFEST... Apparently the most recent J2EE spec disallows this, haven't looked into it much myself, we're finally targeting JEE5 for our next release so I'm sure I'll learn a lot of new things.

Re: Malformed manifest classpath entry

2006-10-25 Thread Alexander Sack
Wayne, that seems like a different error. You shouldn't have Class-Path entries in the EAR's manifest (including Java EE 1.4) These entries belong in the modules within the ear, i.e. the EJB JAR's, etc. Though Max is technically right, its still ugly!!! :D! Alex On 10/25/06, Wayne Fay [EMAIL

  1   2   >