Re: extended build version numbers

2007-02-20 Thread Emmanuel Venisse
It's the timestamp version of the snapshot. Maven generate always it when it is deployed to the repository. In your pom you use -SNAPSHOT and maven will find the latest snapshot available in the repo with timestamped version Emmanuel Wojtek Ciesielski a écrit : Hi there, I've noticed that

Deploying site under continuum jetty

2007-02-20 Thread Victor Kirk
Hiya, I was wondering if anyone could tell me if it is possible to configure the jetty provided with continuum so it could also serve static html, i.e. the site documentation generated via maven. I have the site docs being generated but I just can't find where to add this, I'm new to jetty but

maven-source-plugin

2007-02-20 Thread Matthias Wessendorf
Hi, any news on maven-source-plugin 2.0.3 ? thx -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com - To unsubscribe, e-mail: [EMAIL

Specifying a branch name in my pom

2007-02-20 Thread Jeff Mutonho
Our code base has recently been branched to a branch ,call it BRANCH-X.My current configuration check out code from the HEAD and the SCM url is specified as : scm:cvs:pserver:jeffm:[EMAIL PROTECTED]:/var/lib/cvsroot:Eportal/dev How do I specify the new branch , BRANCH-X to be used for checking

Re: [m2] ClassCastException in webresources filtering

2007-02-20 Thread Wayne Fay
Run mvn -X ... to get more information about what Maven is doing while it is running. Perhaps you'll notice some misconfiguration resulting in the exception. Wayne On 2/19/07, TheTrain09 [EMAIL PROTECTED] wrote: Did u ever get a response or figure this issue out, because I am having the same

Re: Specifying a branch name in my pom

2007-02-20 Thread Stephane Nicoll
Add a tagBRANCH-X /tag in your pom in the scm element. (only in the pom which is the branch of course ;) Otherwise, you can edit the project once it's added to continuum and you can specify an alternate url/user/paswword/branch/ .. HTH, Stéphane On 2/20/07, Jeff Mutonho [EMAIL PROTECTED]

Re: maven2 websphere plugin

2007-02-20 Thread Rémy Sanlaville
Hi, You need to add the Mojo repo at codehaus too. repository idcodehaus.org/id nameCodeHaus Snapshots/name urlhttp://snapshots.repository.codehaus.org/url

Build Error: cvs update

2007-02-20 Thread Jeff Mutonho
What does this error message mean? Build Error: Provider message: The cvs command failed. Command output: --- cvs update: in directory .: cvs

release:prepare problem with Perforce SCM

2007-02-20 Thread Jefferson, David
I am evaluating maven for my company and have come across the following problem in my test application. I have a parent project and a child project. In the parent pom I have the following: scm connectionscm:perforce://users/jeffersd/maventest/connection

Re: maven-source-plugin

2007-02-20 Thread Stephane Nicoll
Jason found a regression in the staged release and he's working on it. As soon as it's fixed, we'll test and we'll release a new version. Stéphane On 2/20/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi, any news on maven-source-plugin 2.0.3 ? thx -- Matthias Wessendorf

javadoc plugin

2007-02-20 Thread Matthias Wessendorf
Hi, I have the following files: -notice.txt -license.txt inside of: $PROJECT/src/main/resources/META-INF They are in the meta-inf folder of the -sources JAR, but not inside the -javadoc jar Any ideas ? Thanks, Matthias -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog:

RE: Artifact for Javascript libraries?

2007-02-20 Thread Jörg Schaible
Hi Manos, Manos Batsis wrote on Monday, February 19, 2007 4:03 PM: I'm trying to figure out a good enough way to package javascript libraries with Maven, for use with projects producing WAR artifacts. The closest related resource i have found is Using Maven to modularize JavaScript but it

Re: Build Error: cvs update

2007-02-20 Thread Jeff Mutonho
On 2/20/07, Jeff Mutonho [EMAIL PROTECTED] wrote: What does this error message mean? Build Error: Provider message: The cvs command failed. Command output:

Re: extended build version numbers

2007-02-20 Thread Wojtek Ciesielski
Hi there, I've noticed that artifacts deployed by continuum server do have extended version number... In the POM file the version specified is 1.0-SNAPSHOT but in the repository I'm getting artifacts like my-module-1.0-20070213.093006-5.jar. It causes that a module from repository handled by

Python + Maven 2.0.4

2007-02-20 Thread javed mandary
Hi All, I would like to automate my application deployment on WAS 5.1using maven . Currently I have python scripts that perform the deployment . I would like to know if it is possible in Maven to actually call these python scripts and how you would go about doing that? cheers,

maven-compiler-plugin

2007-02-20 Thread Vidya Mahavadi
Hi, I am running a ant task inside maven2 for compiling xml schemas using jaxb1.0.4. It is working fine, generating the .java files into target/generated-source folder. How do I get maven compiler to include them to compile.. I am trying to use the plugin like this, but the output jar file

Re: mvn jetty:run problem with classloader

2007-02-20 Thread Pete
I'm answering myself, but I guess the problem could be the same as :- http://docs.codehaus.org/display/JETTY/ZIP+exception+reading+jar+or+war+files On 16/02/07, Wayne Fay [EMAIL PROTECTED] wrote: There doesn't seem to be any support forums for Jetty either. I see jetty-discuss and

Re: Deploying site under continuum jetty

2007-02-20 Thread Andrew Williams
I think you want to be looking at Maven Enterprise as Continuum does not support this. Enterprise provides you with continuum 1.1-SNAPSHOT and a webdav server where you can deploy your maven generated sites. Andy Victor Kirk wrote: Hiya, I was wondering if anyone could tell me if it is

Re: I can't add project to contimuum

2007-02-20 Thread martin . villalobos
Gabriel, thank you for the answer. I tell you. I did put the URL's pom in my browser and i can see it. Moreover, the continuum and the browser are running in the same machine.I'll continue working in this trouble to get a solution. Thank you and I'll listen any solution. Martin. On 2/19/07,

Re: No output text in build result

2007-02-20 Thread Jo Vandermeeren
Increased heap size and problem disappeared.. Seems that you get this as output in continuum when the build fails after an OutOfMemoryError.. On 2/16/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: Hello fellow continuum users, I'm building a M2 multi-module project with continuum.. When I build

Re: Maven 1.x issue

2007-02-20 Thread Build Admin
Hi frenz What is the solution to add dependency files without version On 2/20/07, Lukas Theussl [EMAIL PROTECTED] wrote: You can't. -Lukas Build Admin wrote: Hi Friends, In maven, how can I add dependency without mentioning the version number?

Re: Maven 1.x issue

2007-02-20 Thread Wayne Fay
Lukas already responded... There is no way to add dependencies without versions. Wayne On 2/20/07, Build Admin [EMAIL PROTECTED] wrote: Hi frenz What is the solution to add dependency files without version On 2/20/07, Lukas Theussl [EMAIL PROTECTED] wrote: You can't. -Lukas Build Admin

RE: Eclipse Development with Maven

2007-02-20 Thread Samuel Langlois
Hello, We've studied this problem quite deeply. The Maven way of doing this is to manage your dependencies in your pom.xml, and to use the OSGI plugin for Maven to create (or rather complement) a manifest files http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html (Checking this link, it

RE: Python + Maven 2.0.4

2007-02-20 Thread Ran Zilber
You can write plugin in Jython to handle your script. Please see: http://maven.apache.org/developers/mojo-api-specification.html -Original Message- From: javed mandary [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 12:48 PM To: Maven Users List Subject: Python + Maven 2.0.4

Re: [m2] Integration-test target runs integration tests twice...

2007-02-20 Thread Thierry Lach
I'm not part of the maven developers, but on the surface, if any plugin finds two different configurations, it wouldn't surprise me if it ran once for each of them. On 2/19/07, EJ Ciramella [EMAIL PROTECTED] wrote: We did and that's how we diagnosed this, but that doesn't answer the question

SV: maven2 websphere plugin

2007-02-20 Thread Hermod Opstvedt
Hi It would useful if someone promoted it to the mojo's. Hermod -Opprinnelig melding- Fra: Rémy Sanlaville [mailto:[EMAIL PROTECTED] Sendt: 20. februar 2007 09:56 Til: Maven Users List; [EMAIL PROTECTED] Emne: Re: maven2 websphere plugin Hi, You need to add the Mojo repo at

[M2] assembly and lifecycle

2007-02-20 Thread Rémy Sanlaville
Hi, With a simple pom.xml (cf [1]), if I execute mvn assembly:assembly, I have the following behaviour (maven 2.0.5) mvn assembly:assembly [...] [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [echo] maven-antrun-plugin is triggered [INFO] Executed tasks [INFO]

[M2] Wagon FTP doesn't work in 2.0.5

2007-02-20 Thread Siegmann Daniel, NY
Deploy works fine with Maven 2.0.4, but fails with the following error using 2.0.5 (wagon-ftp 1.0-beta-2). Has anyone else encountered this problem? Is there any configuration change which might be causing this problem, or should I file an issue on JIRA? [INFO] Retrieving previous build number

RE: [M2] Wagon FTP doesn't work in 2.0.5

2007-02-20 Thread Siegmann Daniel, NY
Nevermind, I missed something when I copied over my settings to the new Maven, so it didn't log in as the correct user. Still, it would be nice if the failure was something a little less cryptic than a NPE. -- Daniel Siegmann FJA-US, Inc. 512 Seventh Ave., New York, NY 10018 (212) 840-2618 ext.

Re: [M2] Wagon FTP doesn't work in 2.0.5

2007-02-20 Thread Jason van Zyl
Put it in JIRA or we will not remember. Jason. On 20 Feb 07, at 11:20 AM 20 Feb 07, Siegmann Daniel, NY wrote: Nevermind, I missed something when I copied over my settings to the new Maven, so it didn't log in as the correct user. Still, it would be nice if the failure was something a

New feature in 2.0.5: maven creates repo directories?!

2007-02-20 Thread Holger Hoffstaette
I was more than a little miffed^h^h^h^h^h^hsurprised to learn that maven 2.0.5 has decided to create my repository directories for me. Thanks, but no thanks! Add the following convenience repo: repository idlocal (Maven 1)/id nameLocal module repository (lib)/name urlfile://lib/url ..etc.. and

Re: Eclipse Development with Maven

2007-02-20 Thread Jason van Zyl
There are two solutions that currently work: 1) I just checked in yesterday but in the Eclipse Maven Integration we have some tools for headless builds: http://svn.codehaus.org/m2eclipse/tycho/trunk/ It still needs to be documented but there is a small readme and these tools are being

Cleaning up old continuum data

2007-02-20 Thread Wendy Smoak
Are there any recommendations for cleaning up old information in Continuum's database and filesystem? (I'm working with 1.1-SNAPSHOT, not the released 1.0.3.) The two largest directories are working-directory, and deploy-repository. The working-directory should take care of itself, but I think

maven-sar-plugin

2007-02-20 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Can anyone share an example of maven-sar-plugin. I am getting this error, [ERROR] BUILD ERROR [INFO] [INFO] Cannot find lifecycle mapping for packaging: 'jboss-sar'. Component descriptor cannot be found in the component

Re: New feature in 2.0.5: maven creates repo directories?!

2007-02-20 Thread Holger Hoffstaette
Forgot to mention.. 2.0.5 has decided to create my repository directories for me. ..when running eclipse:eclipse for the project. It's repeatable too: no lib dir is created with 2.0.4, it immediately appears when run with 2.0.5. thanks Holger

Handling platform-specific config file values in builds

2007-02-20 Thread Brad O'Hearne
Hello, What is the generally accepted convention for handling builds where there are configuration files whose values are different depending upon the target platform being built for? For example, I may have a configuration file with JDBC URLs in it, and these values may be different

Re: Handling platform-specific config file values in builds

2007-02-20 Thread Brad O'Hearne
Graham, That's great advice, and one that I've been pondering in several environments that I've configured over the years. One interesting thing about this scenario is that it actually requires discipline beyond that actual build process / system, but in application design as well. For

[M2] runtime scope but not transitive

2007-02-20 Thread Rémy Sanlaville
Hi, I would like to have your advice for this problem. Context: I have a multi-modules project : project | | earModule (depends on warModule, apiJarModule, implJarModule) | | warModule (depends on apiJar, apiJarModule, implJarModule, mockImplJarModule and spring) |

Deploying to an application server

2007-02-20 Thread Brad O'Hearne
Hey gang, I'm desiring to deploy (not in the maven sense, as to a repository, but in the application sense, to a runtime environment) a build artifact (a WAR specifically) to its application server. Specifically, I would like to deploy my built war file to JBoss using maven. I have a couple

Re: Deploying to an application server

2007-02-20 Thread Manos Batsis
Brad O'Hearne wrote: 2. What is the generally accepted means of doing this? That would be the jboss-maven-plugin [1]. you can see a basic example (i use mvn jboss:harddeploy) at [2]. [1] http://mojo.codehaus.org/jboss-maven-plugin/ [2]

Re: Deploying to an application server

2007-02-20 Thread Wayne Fay
I would suggest you also take a look at the Cargo project; they have a Maven2 plugin which is quite nice and support a variety of app servers. Wayne On 2/20/07, Manos Batsis [EMAIL PROTECTED] wrote: Brad O'Hearne wrote: 2. What is the generally accepted means of doing this? That would be

RE: [M2] Wagon FTP doesn't work in 2.0.5

2007-02-20 Thread Siegmann Daniel, NY
Put it in JIRA or we will not remember. I'd love too, only I get a servlet response 500 when I try to create a new issue. Not my day, is it? :( 500 Servlet Exception java.lang.NullPointerException at com.atlassian.jira.plugin.webresource.JiraWebResourceIntegration.getBaseUrl(

RE: [M2] Wagon FTP doesn't work in 2.0.5

2007-02-20 Thread Siegmann Daniel, NY
Put it in JIRA or we will not remember. I'd love too ... Can't even get my grammar right. :( ~Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Maven for .NET artifact management?

2007-02-20 Thread Brad O'Hearne
All, We have a development environment (product) which involves both Java artifacts and .NET artifacts. Has anyone out there used maven for managing .NET projects? We are using maven for our Java projects, and though we don't really need maven to build our .NET projects, it certainly would

Inserting licenses in artifacts

2007-02-20 Thread Navaneeth Krishnan
Hi all, I read that Maven 2.0.5 supports the insertion of licenses and legal notices in generated artifacts. http://www.theserverside.com/news/thread.tss?thread_id=44285 Could someone tell me how to do this? A pointer to any documentation that covers this would really help. Thanks !

Need help with Compile Order

2007-02-20 Thread Peterson, Bill \(Patriot Technologies\)
I am using Java 1.4.x, Maven 1.x, and Eclipse 3.0.1. The specific problem involves java code that references the Node Class which is located in both the JDK 1.4.x and xmlpack.jar. Both locations use the same path (org.w3c.dom). However, the java code calls a method that exist in xmlpack.jar but

Re: Maven for .NET artifact management?

2007-02-20 Thread Wayne Fay
http://maven.apache.org/proposals/incubator/nmaven.html Wayne On 2/20/07, Brad O'Hearne [EMAIL PROTECTED] wrote: All, We have a development environment (product) which involves both Java artifacts and .NET artifacts. Has anyone out there used maven for managing .NET projects? We are using

Re: javadoc plugin

2007-02-20 Thread Wayne Fay
Sounds like a bug in the Javadoc plugin. If you want it resolved, you should probably file a new JIRA issue against M2 Javadoc. Wayne On 2/20/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi, I have the following files: -notice.txt -license.txt inside of:

Re: Inserting licenses in artifacts

2007-02-20 Thread Wayne Fay
I believe the new plugin maven-remote-resources-plugin is what you're looking for... http://maven.apache.org/plugins/maven-remote-resources-plugin/ Wayne On 2/20/07, Navaneeth Krishnan [EMAIL PROTECTED] wrote: Hi all, I read that Maven 2.0.5 supports the insertion of licenses and legal

Re: Eclipse Development with Maven

2007-02-20 Thread Jason van Zyl
Just a follow up. I have contacted the guys who wrote the article and it looks like they want to collaborate so hopefully we will integrate their code so now you're just back to option 1) below :-) Jason. On 20 Feb 07, at 12:08 PM 20 Feb 07, Jason van Zyl wrote: There are two solutions

Re: Splitting APT in multiple files

2007-02-20 Thread Dennis Lundberg
Roland Asmann skrev: Hi, I want to write an APT document, split over several files. The reason for this is that a part of the APT will be generated during the maven build. The APT mini-guide says it is possible, but doesn't really say how to do this. Could anybody give me some more

Re: [M2] Wagon FTP doesn't work in 2.0.5

2007-02-20 Thread Jean-Laurent de Morlhon
AFAIK it's already in JIRA : http://jira.codehaus.org/browse/WAGONFTP-10 On 2/20/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: Put it in JIRA or we will not remember. I'd love too ... Can't even get my grammar right. :( ~Daniel

Re: javadoc plugin

2007-02-20 Thread Daniel Kulp
Matthias, On Tuesday 20 February 2007 04:37, Matthias Wessendorf wrote: I have the following files: -notice.txt -license.txt inside of: $PROJECT/src/main/resources/META-INF They are in the meta-inf folder of the -sources JAR, but not inside the -javadoc jar Any ideas ? One option may

Re: javadoc plugin

2007-02-20 Thread Daniel Kulp
On Tuesday 20 February 2007 15:11, Wayne Fay wrote: I don't disagree that this is probably a solution for his problem, but I do feel it is reasonable to expect that such files will end up in all artifact packages (compiled jar, source, javadoc), and so I believe this should be filed as a bug.

Re: [m2] must enter 20 times same password during deploy

2007-02-20 Thread eckobar
the only way to prevent maven from asking thousand times for a password is to use publik key auth for ssh. neither creating .ssh in homedirectory nor set server informations in ~/.m2/settings.xml helped. during testing i encountered another problem ... the filepermissions which are set in

Re: javadoc plugin

2007-02-20 Thread Wayne Fay
I don't disagree that this is probably a solution for his problem, but I do feel it is reasonable to expect that such files will end up in all artifact packages (compiled jar, source, javadoc), and so I believe this should be filed as a bug. Wayne On 2/20/07, Daniel Kulp [EMAIL PROTECTED]

sql-maven-plugin, derby, and test cases - failed to start database

2007-02-20 Thread bkbonner
I'm trying to use the sql-maven-plugin with derby. My pom is as follows: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId

I just don't understand

2007-02-20 Thread EJ Ciramella
When you do something like mvn clean why would it try to download compile time dependencies? We have something like this: dependencies dependency groupIdlty/groupId artifactIdlty-model/artifactId version1.0-SNAPSHOT/version /dependency dependency groupIdlty/groupId

RE: I just don't understand

2007-02-20 Thread Bashar Abdul Jawad
You can use maven in offline mode if you don't want it to connect to the internet to fetch or update a dependency, just use -o parameter, otherwise maven will try and connect to the internet to update snapshots as often as specified in your snapshots update policy. Bashar -Original

Maven Users Archive Page

2007-02-20 Thread Kevan Dunsmore
Has something changed on the Maven Users Archive Page? I can see the page at http://www.mail-archive.com/users%40maven.apache.org/ But when I try to search for something I always get a page saying Not Found: The document you were looking for was not found. It's a site-generated page, not

maven error - plugin manager

2007-02-20 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Any idea what this error means, The command I executed is, $ mvn org.codehaus.mojo:jboss-sar-maven-plugin:sar [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal

Re: I just don't understand

2007-02-20 Thread Wayne Fay
You might not like it, but the first phase of any Maven build is validate. According to the documentation, this phase is responsible to validate the project is correct and all necessary information is available. The primary thing validated is that any artifacts required during a later phase of

Re: maven-sar-plugin

2007-02-20 Thread Eric Redmond
Use the jboss-packaging-maven-plugin plugin. You can add an extesion in the build element, as per the POM documentation: http://maven.apache.org/pom.html#Extensions You would be something like: project build ... extensions extension groupIdorg.codehaus.mojo/groupId

Re: New feature in 2.0.5: maven creates repo directories?!

2007-02-20 Thread Eric Redmond
That is and isn't a bug. It is a bug insomuch that it is not expected behavior - it isn't a bug because you told Maven to create it. Maven (fairly universally) uses the Java convention: when you give an absolute path, it'll use it, otherwise, it's relative. If you are running windows that means

Re: New feature in 2.0.5: maven creates repo directories?!

2007-02-20 Thread Brett Porter
It should definitely not create it - please file an issue. On 21/02/07, Eric Redmond [EMAIL PROTECTED] wrote: That is and isn't a bug. It is a bug insomuch that it is not expected behavior - it isn't a bug because you told Maven to create it. Maven (fairly universally) uses the Java convention:

Re: Maven for .NET artifact management?

2007-02-20 Thread Brett Porter
More directly: http://incubator.apache.org/nmaven/ On 21/02/07, Wayne Fay [EMAIL PROTECTED] wrote: http://maven.apache.org/proposals/incubator/nmaven.html Wayne On 2/20/07, Brad O'Hearne [EMAIL PROTECTED] wrote: All, We have a development environment (product) which involves both Java

RE: I just don't understand

2007-02-20 Thread EJ Ciramella
Hmmm - I'm running mvn clean yet it tries to download snap shot type dependencies that wouldn't be available. This is a bug in the antrun plugin I think: plugin artifactIdmaven-antrun-plugin/artifactId executions execution idassembler/id

RE: I just don't understand

2007-02-20 Thread EJ Ciramella
If no one has a fix for this, how does one delete a directory created outside of the working directory? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 6:18 PM To: Maven Users List Subject: RE: I just don't understand Hmmm - I'm running

how to make a module's resources available to a plugin

2007-02-20 Thread Alex Soto
Hi, I'm wrapping some existing code in a maven plugin. What I'd like to do is make the module's resources available to the plugin. So for example, there is a properties file in src/main/resources. When the code my plugin wraps looks up the properties file, it should find it via the classpath.

Maven 1.0.2: Possible to new an object and then call methods on it, in Maven plugin?

2007-02-20 Thread Karr, David
I have a modified version of the Castor plugin that enables some Castor features not available through the default plugin. In this plugin, I use ant:java to execute the main method of the class. I've been told that in order to access other features that I'm going to need, I instead have to

castor m2 plugin

2007-02-20 Thread EJ Ciramella
Is anyone using this? I have a child node that people would like to convert from an ant based castor generated build to a m2 build. I have this: plugin groupIdorg.codehaus.mojo/groupId artifactIdcastor-maven-plugin/artifactId version1.0/version

Re: sql-maven-plugin, derby, and test cases - failed to start database

2007-02-20 Thread Dan Tran
It sounds like your test case does not try to recreate database again. -D On 2/20/07, bkbonner [EMAIL PROTECTED] wrote: I'm trying to use the sql-maven-plugin with derby. My pom is as follows: plugin

Re: sql-maven-plugin, derby, and test cases - failed to start database

2007-02-20 Thread Dan Tran
I added the suggested fix in http://jira.codehaus.org/browse/MOJO-619 you will need to use the already deployed 1.1-SNAPSHOT, and shutdown derby dabase before running your test. see this http://svn.codehaus.org/mojo/trunk/mojo/sql-maven-plugin/src/it/derby for detailed example -D On

tomcat:redeploy is not really deploy new version

2007-02-20 Thread Alexey Kakunin
Hello! I'm using Maven 2.0.4 (seems this error repeats with 2.0.5 as well) under both - Windows and Linux. I'm trying to redeploy application from maven, for doing it I added tomcat plugin (http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html) into project: plugin

Re: how to make a module's resources available to a plugin

2007-02-20 Thread Jiaqi Guo
The classpath of project belongs to project, not plugin. While I believe you can create you own ClassLoader based on project.getXClasspathElements() and find resources from there. I used to have a small Mojo running something with project's classpath

Re: Maven 1.0.2: Possible to new an object and then call methods on it, in Maven plugin?

2007-02-20 Thread Jiaqi Guo
Hi David, Is core:useBean what you need? http://jakarta.apache.org/commons/jelly/tags.html#core:useBean Regards -Jiaqi Karr, David wrote: I have a modified version of the Castor plugin that enables some Castor features not available through the default plugin. In this plugin, I use ant:java

Re: Problems with deploying file into archiva

2007-02-20 Thread Alexey Kakunin
Hello. Thank you for suggestion - I tried to use -Durl=dav: http://my.server.com:8091/archiva/repository/xxx/ but got error: [INFO] [deploy:deploy-file] [INFO] [ERROR] BUILD ERROR [INFO]

New version of m2-repoindex

2007-02-20 Thread Lukas Krecan
New version of m2-repoindex was recently released. Do you need to search artifacts by name? Do you need to find corresponding artifact to your jar? Then m2-repoindex is for you. Do not hesitate to check it on http://m2-repoindex.krecan.net/ Cheers Lukas

Re: Problems with deploying file into archiva

2007-02-20 Thread Alexey Kakunin
OK, I understand - it was not an Archiva problem - but Maven Problem. Solution provided here http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party+Jars+With+WebDAV(with placing required libraries into maven lib) helped me. 2007/2/21, Alexey Kakunin [EMAIL PROTECTED]: Hello. Thank

M2 equivalent og Ant xmlvalidate

2007-02-20 Thread uma_rk
Is there anyway to run equivalent of Ant's xmlvalidate target as a part of verify stage of Maven's build lifecycle? I'd prefer not to run ant through Maven. The verifier plugin seems more about verifying the existance of files and directories in the generated artifact (And the FAQ of the verifier

Re: tomcat:redeploy is not really deploy new version

2007-02-20 Thread Wayne Fay
I don't use this plugin myself, but I googled and found this. Perhaps you're running into the same problem -- Tomcat still has a lock on some Jar, so undeploy fails, so redeploy fails, but Tomcat doesn't really report the error properly?

what's the difference between these two plugins?

2007-02-20 Thread EJ Ciramella
groupIdorg.codehaus.mojo/groupId artifactIdcastor-maven-plugin/artifactId and groupIdmaven/groupId artifactIdmaven-castor-plugin/artifactId

Re: New version of m2-repoindex

2007-02-20 Thread Wayne Fay
I was just using this earlier to look for some artifacts... its a nice tool! In the future, please put [ANN] at the beginning of your email subject. The developers for Proximity and other Maven-related projects already do this. Wayne On 2/21/07, Lukas Krecan [EMAIL PROTECTED] wrote: New

Re: what's the difference between these two plugins?

2007-02-20 Thread Wayne Fay
First is a Mojo plugin for Maven2. See more here: http://mojo.codehaus.org/castor-maven-plugin/ Second is an old Maven1 plugin. See more here: http://maven.apache.org/maven-1.x/plugins/castor/ Wayne On 2/21/07, EJ Ciramella [EMAIL PROTECTED] wrote: groupIdorg.codehaus.mojo/groupId

Re: Maven 1.0.2: Possible to new an object and then call methods on it, in Maven plugin?

2007-02-20 Thread Lukas Theussl
Also have a look at the 'new' and 'invoke' tags: http://jakarta.apache.org/commons/jelly/tags.html HTH, -Lukas Jiaqi Guo wrote: Hi David, Is core:useBean what you need? http://jakarta.apache.org/commons/jelly/tags.html#core:useBean Regards -Jiaqi Karr, David wrote: I have a modified

Re: Maven Users Archive Page

2007-02-20 Thread Patrick Kimber
Hi You could try using Nabble: http://www.nabble.com/Maven---Users-f178.html Patrick On 20/02/07, Kevan Dunsmore [EMAIL PROTECTED] wrote: Has something changed on the Maven Users Archive Page? I can see the page at http://www.mail-archive.com/users%40maven.apache.org/ But when I try to search

maven-war-plugin not downloaded

2007-02-20 Thread Guillaume Lederrey
Hello ! I'm having a strange error when compiling a maven project (with maven install). On my own computer everything works fine, but on a second computer, the build fails : maven tells me that it doesnt have the war plugin. I tried to delete all plugins on the first computer, and it