Re: Re : Maven and Sourceforge (Change report and issue tracking)

2006-11-29 Thread Wim Deblauwe
Thank you! I've updated the wiki with your information, I'm sure this will help a lot of people. regards, Wim 2006/11/28, Julien HENRY [EMAIL PROTECTED]: Here is how I configure changes report and issue tracking section with sourceforge: In the pom.xml: issueManagement

Re : Assembly and multi-module project

2006-11-29 Thread Julien HENRY
I tried with mvn package assembly:assembly and I got exactly the same behavior. I also tried to build Maven 2.1 from SVN, and both mvn assembly:assembly and mvn package assembly:assembly failed with the same message. - Message d'origine De : Wendy Smoak [EMAIL PROTECTED] À : Maven

Unable to deploy site to dav:https

2006-11-29 Thread Jochen Wiedmann
Hi, I am trying to deploy a plugin site to the Mojo repository, which has an URL like dav:https:.. Unfortunately I get an error PKIX path building failed. I assume, that the site is using a self certified certificate or something like that and that I have to tell Maven to accept the certificate.

Using Wagon in my component

2006-11-29 Thread Laurent GRANIE
Hi maven users, I would like to develop a Calendar component (iCal for the moment). Because my component will publish itself, I would like to know if it is possible to use wagon? If yes, how to use Wagon as a simple component? Thanks, Laurent.

deploy sources

2006-11-29 Thread Roald Bankras
Hi Can anyone point me to a description on how to install/deploy the sources-jar to my repositories Thx Roald Bankras Software Engineer JTeam b.v. The HYPERLINK http://legal.jteam.nl/JTeamGeneralConditions.pdfGeneral Conditions JTeam B.V. apply to all proposals and deliveries

Maven and jira report

2006-11-29 Thread hermod.opstvedt
Hi I am having trouble getting the issues from jira using the maven-changes-report-plugin. We have Jira Professional, and require an authenticated user to see the issues. I have tried to add webUser and webPasword to the plguin, but i still do not get any issues. I know this has to do with

Re: Unable to deploy site to dav:https

2006-11-29 Thread Dan Tran
this may help http://docs.codehaus.org/display/HAUSMATES/WebDAV On 11/29/06, Jochen Wiedmann [EMAIL PROTECTED] wrote: Hi, I am trying to deploy a plugin site to the Mojo repository, which has an URL like dav:https:.. Unfortunately I get an error PKIX path building failed. I assume, that

[m2] Adding a pre-process stage to the maven build

2006-11-29 Thread Rohnny Moland
Hi, Is it a way I can specify the order of what should be build? If I have a root pom with two trees, lets say one is the dev-tools and the other is my business artifacts. I want to specify that the dev-tools should be build (and installed) _before_ the business artifacts because the business

Re : Re : Maven and Sourceforge (Change report and issue tracking)

2006-11-29 Thread Julien HENRY
Finally, I found a much better way to generate issue URL (wich will work with bugs, patchs, feature requests and support requests). I will update the wiki directly. ++ Julien - Message d'origine De : Wim Deblauwe [EMAIL PROTECTED] À : Maven Users List users@maven.apache.org Envoyé le

[M2] license plugin?

2006-11-29 Thread Nathan Coast
Hi, Is there any maven functionality that helps with licensing e.g. Inserting the license into src files prior to distribution. Checking which files don't contain license? cheers Nathan - To unsubscribe, e-mail: [EMAIL

Re: ejb-jar.xml erroneously generated by EjbDoclet ?

2006-11-29 Thread Manu
You've summed up everything. I have nothing to add. Thank you very much. I'm changing for 2.0. 2006/11/28, Stephen Coy [EMAIL PROTECTED]: Hi, Your ejbDoclet setup has a bit of an identity crisis. You've specified ejbSpec=2.1 in one place and a deployment descriptor schema pointing at

Re: deploy sources

2006-11-29 Thread jiangshachina
Hi, The following link may help you, http://www.nabble.com/Re%3A-mvn-install-with-sources--p5178508s177.html a cup of Java, cheers! Sha Jiang Roald Bankras wrote: Hi Can anyone point me to a description on how to install/deploy the sources-jar to my repositories Thx Roald

Re: Unable to deploy site to dav:https

2006-11-29 Thread Jochen Wiedmann
On 11/29/06, Dan Tran [EMAIL PROTECTED] wrote: this may help http://docs.codehaus.org/display/HAUSMATES/WebDAV Thanks, it did! -- My wife Mary and I have been married for forty-seven years and not once have we had an argument serious enough to consider divorce; murder, yes, but divorce,

maven-install-plugin: checksum case sensitivity

2006-11-29 Thread Achim Abeling
Hi, the maven-install-plugin can generate checksum files when the property createChecksum=true is set. In my environment (a continuum server) the checksum contains upper case letters. When such a dependency is downloaded (e.g. during the compile phase of another project) the checksum is

Re: [M2] license plugin?

2006-11-29 Thread Wim Deblauwe
To check if there is a license, you can use checkstyle I think. To insert licenses into your source files, you can use the copyright plugin of IntelliJ. Check the archives on nabble.com for some more options. I posted this question not to long ago. regards, Wim 2006/11/29, Nathan Coast [EMAIL

Re: [ANN] StatSVN 0.2.0 released as well as a Maven 2 plugin for it.

2006-11-29 Thread Rémy Sanlaville
Very good news and very nice ! Thanks. I I could not wait to test it. I followed the plugin instruction (cf. http://stat-scm.sourceforge.net/usage.html) and I have this exception [INFO] Generate StatSCM report. [INFO] StatSCM Generating Source Code Management Metrics. [INFO] svn log E:\Mes

Username in release commit

2006-11-29 Thread Wim Deblauwe
Hi, I'm trying to do a release of my sourceforge project. I did a mvn release:prepare, but I get an error that the autorization has failed. When I look at the output I see that the wrong username is used, the svn command uses my windows login username, but it should use my sourceforge username.

Re: deploy sources

2006-11-29 Thread Santosh Iralapalle
Hi, If you want to install source-jar to repositories use following command maven jar:install Thanks Santosh Irlapalle On 11/29/06, jiangshachina [EMAIL PROTECTED] wrote: Hi, The following link may help you,

Re: Username in release commit

2006-11-29 Thread Wim Deblauwe
Ok, never mind. Putting 2.0-beta-4 as version for the release plugin makes it work. 2006/11/29, Wim Deblauwe [EMAIL PROTECTED]: Seems like -Dusername=wim should do the trick[1], but this gets ignored. Does this work for anybody on windows? regards, Wim

how to exclude plugin dependencies?

2006-11-29 Thread Valerio Schiavoni
hello everyone, using tomcat-maven-plugin i noticed that it imports older versions of servlet and jsp-api (2.4 and 2.0). My app requires newer versions: how can I exclude those dependencies and force to use newer ones? thanks, valerio -- http://valerioschiavoni.blogspot.com

aggregate javadoc missing generated sources

2006-11-29 Thread Nathan Coast
Hi, when executing site on a single project, the javadoc report correctly includes the generated src directories. src/java target/src However, when running site from the parent aggregator project, only the sources found in build.SourceDirectory for each aggregated project is included.

Re: Username in release commit

2006-11-29 Thread Wim Deblauwe
Seems like -Dusername=wim should do the trick[1], but this gets ignored. Does this work for anybody on windows? regards, Wim [1]http://maven.apache.org/plugins/maven-release-plugin/howto.html 2006/11/29, Wim Deblauwe [EMAIL PROTECTED]: Hi, I'm trying to do a release of my sourceforge

Re: how to exclude plugin dependencies?

2006-11-29 Thread Mark Hobson
On 29/11/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: using tomcat-maven-plugin i noticed that it imports older versions of servlet and jsp-api (2.4 and 2.0). My app requires newer versions: how can I exclude those dependencies and force to use newer ones? I believe you can override them in

Re: [ANN] StatSVN 0.2.0 released as well as a Maven 2 plugin for it.

2006-11-29 Thread Rémy Sanlaville
I know why it doesn't work. It's because of the space in the path svn log E:\Mes documents\test -v --xml E:\Mes documents\test\target\scm.log In fact, this command works well : svn log E:\Mes documents\test -v --xml E:\Mes documents\test\target\scm.log I filled an issue for this cf.

Site generation: poweredBy

2006-11-29 Thread Emmanuel Hugonnet
Hi, I'm trying to configure my site and I want to add some poweredBy icons and links. I have modified my site.xml adding : poweredBy item name=Netbeans 5.5 href=http://www.netbeans.org/downloads/index.html; img=images/logos/created-with-nb.gif / item name=Maven 2.0

SCM example

2006-11-29 Thread Rahamim, Zvi \(Zvi\)
Hi, I want to work with a CVS in order to create a version according to it. As I could see, when creating a version maven takes the sources from the src directory (in the same directory as pom.xml exists). What happen when using CVS or other version control? Can you explain it a little bit and

RE: Username in release commit

2006-11-29 Thread Andreas Guther
I am using release on Windows and I have no problems. I think you might need to use svn from command line first before you use the release goal. SVN stores user credentials locally and then later will not ask you again. Andreas -Original Message- From: Wim Deblauwe [mailto:[EMAIL

RE: deploy sources

2006-11-29 Thread Andreas Guther
The mvn release goal generates three jars during the perform sub-goal: 1) the packaged artifact, 2) a jar with sources, 3) a jar with javadoc. Andreas -Original Message- From: Santosh Iralapalle [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 2:59 AM To: Maven Users List

Deploying several third party JARs to with one pom

2006-11-29 Thread Aaron . Digulla
Hello, I have a fairly complex set of JARs (three) which belong together. I know how to deploy them to my site repository with a module project (one pom per JAR) but I was wondering if I could get away with just one pom.xml? Regards, -- Aaron Digulla

Re: Site generation: poweredBy

2006-11-29 Thread Emmanuel Hugonnet
zze- HUGONNET E ext RD-BIZZ a écrit : Hi, I'm trying to configure my site and I want to add some poweredBy icons and links. I have modified my site.xml adding : poweredBy item name=Netbeans 5.5 href=http://www.netbeans.org/downloads/index.html; img=images/logos/created-with-nb.gif /

Re: [M2] license plugin?

2006-11-29 Thread Nathan Coast
thanks Wim, here's the link if anyone else is looking http://www.nabble.com/Apply-license-to-all-java-files--tf2678214s177.html#a7469532 cheers Nathan Wim Deblauwe wrote: To check if there is a license, you can use checkstyle I think. To insert licenses into your source files, you can use

Using snapshot deploy version tag for scm

2006-11-29 Thread Norton, James
I am using Cruise Control for continuous integration and I run nightly snapshot builds using the deploy goal. I would like to use the same tag (UTC + build number) that is applied to the deployed jars to tag the source in subversion. That way I would always be able to check out the source that

Re: Customizing Checkstyle Plugin for M2

2006-11-29 Thread PELISSE Romain
Hi, I've got the same problem : My custom check is not reconized as a valid [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation Embedded error: Error rendering Maven report: Failed during checkstyle

Re: Deploying several third party JARs to with one pom

2006-11-29 Thread Wayne Fay
No, unless you package the three Jars together as a single Jar (unjar all 3 into one directory which you then re-Jar). Wayne On 11/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have a fairly complex set of JARs (three) which belong together. I know how to deploy them to my site

Problems building. Out of space.

2006-11-29 Thread Carlos Henriquez
Hi all, I'm having a problem with continuum 1.0.3 and maven projects. When I try to make a build of any kind (site, compile, install, test...) I get the following error: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual

Re: Problems building. Out of space.

2006-11-29 Thread Emmanuel Venisse
You can try to set MAVEN_OPTS environment var for the user that run continuum Emmanuel Carlos Henriquez a écrit : Hi all, I'm having a problem with continuum 1.0.3 and maven projects. When I try to make a build of any kind (site, compile, install, test...) I get the following error: Error

Re: Deploying several third party JARs to with one pom

2006-11-29 Thread Mark Struberg
Are those jars 3-rd party tools or selfmade jars? Anyway, i recommend using 3 poms. This is the only way of detecting/get rid of things like cyclic dependencies etc. lg, strub --- Wayne Fay [EMAIL PROTECTED] schrieb: No, unless you package the three Jars together as a single Jar (unjar all

Re: Continuum and multimodule setup

2006-11-29 Thread Emmanuel Venisse
yes, it's supported, but your parent pom must be in a repository accessible by continuum. How do you have define the remote repositories list? Emmanuel [EMAIL PROTECTED] a écrit : Hi I have a Maven multimodule project that has a flat Eclipse structure. It seems that Continuum has problems

How to include other files in plugin jar

2006-11-29 Thread scarlet
Hi, I'm creating a Maven plugin for a testing framework written in Perl and would like to include the Perl files in the Jar file in addition to the Maven files. Is this possible? My POM: project modelVersion4.0.0/modelVersion groupIdcom.company.plugins/groupId

Re: Problems building. Out of space.

2006-11-29 Thread Martin van den Bemt
Could you be more specific about the jdk that you are using to run continuum ? Mvgr, Martin Carlos Henriquez wrote: Hi all, I'm having a problem with continuum 1.0.3 and maven projects. When I try to make a build of any kind (site, compile, install, test...) I get the following error:

Re: Problems building. Out of space.

2006-11-29 Thread Carlos Henriquez
JDK 1.4.2 but the suggestion made by Emmanuel worked. Thank you all On 11/29/06, Martin van den Bemt [EMAIL PROTECTED] wrote: Could you be more specific about the jdk that you are using to run continuum ? Mvgr, Martin Carlos Henriquez wrote: Hi all, I'm having a problem with continuum

Cobertura report with Maven 2?

2006-11-29 Thread George Stragand
Hello, I am upgrading our projects from M1 to M2 and would like to continue to use the Cobertura plugin. With M2, the Cobertura generated pages only cover classes which are tested. Is there an option to include all the classes to see what hasn't been tested? Yes, a better approach would be

Findbugs source cross reference?

2006-11-29 Thread George Stragand
How do I hook up Findbugs to the source cross reference? I am also using PMD and it is linked to the source cross reference no problem. TIA --G

Changelog plugin?

2006-11-29 Thread George Stragand
What's the scoop on the changelog plugin? Where can this plugin be downloaded from? TIA --G

RE: Cobertura report with Maven 2?

2006-11-29 Thread Grosskop, Kay
Hoi George, We use the cobertura plugin and it lets me navigate the sources of ALL classes and shows their coverage, also when 0%. If that is what you want. So it must be a configuration issue. the configuration however is trivial, so I cannot imagine what went wrong: [...] plugin

Re: Cobertura report with Maven 2?

2006-11-29 Thread George Stragand
Thanks, that's the same config I have. It should be a no-brainer. What version are you using? I let M2 download what it wanted and ended up with 2.0. --G On 11/29/06, Grosskop, Kay [EMAIL PROTECTED] wrote: Hoi George, We use the cobertura plugin and it lets me navigate the sources of ALL

Re: Findbugs source cross reference?

2006-11-29 Thread Rémy Sanlaville
I also use Findbugs and PMD and both are hook up to the source cross reference. Here is my configuration: reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jxr-plugin/artifactId configuration

Re: Maven sIte generation from cruisecontrol

2006-11-29 Thread emerson cargnin
Does anyone know about this problem??? On 27/11/06, emerson cargnin [EMAIL PROTECTED] wrote: Hi there I'm generating the maven site from cruisecontrol. When i try to generate manually i get the error: ... ... ... xdoc:generate-from-pom: [echo] Generating xdocs from POM ... BUILD FAILED

Re: Changelog plugin?

2006-11-29 Thread Rémy Sanlaville
You will find the changelog plugin here http://maven.apache.org/plugins/maven-changelog-plugin/index.html But I found the StatSCM better. http://www.nabble.com/-ANN--StatSVN-0.2.0-released-as-well-as-a-Maven-2-plugin-for-it.-tf272s177.html You can try both et tell us your opinion. Rémy

Re: Cobertura report with Maven 2?

2006-11-29 Thread Rémy Sanlaville
If you want to see all classes, you have to use the 2.0 version plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId version2.0/version /plugin With the 2.1-SNAPSHOT, I also just have the

Maven and .NET

2006-11-29 Thread Morgovsky, Alexander \(US - Glen Mills\)
Is there a version of Maven for .NET? This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or

Re: Changelog plugin?

2006-11-29 Thread George Stragand
I see the pages for changelog, however when I attempt to add it to my reports and run a site, I get The plugin ' org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found. Is there a different plugin repo I need to pull from? I'd really like to go to

Re: Cobertura report with Maven 2?

2006-11-29 Thread George Stragand
That did it. I had downloaded 2.1 and thought it was 2.0. Thanks. On 11/29/06, Rémy Sanlaville [EMAIL PROTECTED] wrote: If you want to see all classes, you have to use the 2.0 version plugin groupIdorg.codehaus.mojo/groupId

Re: Findbugs source cross reference?

2006-11-29 Thread George Stragand
Sweet, I had a different version of findbugs. 1.0-SNAPSHOT works for what I need right now. Thanks. On 11/29/06, Rémy Sanlaville [EMAIL PROTECTED] wrote: I also use Findbugs and PMD and both are hook up to the source cross reference. Here is my configuration: reporting plugins

Re: Changelog plugin?

2006-11-29 Thread Rémy Sanlaville
Here is my changelog configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId version2.0-SNAPSHOT/version configuration typedate/type

Offtopic: Re: Maven and .NET

2006-11-29 Thread Aleksei Valikov
Hi. Morgovsky, Alexander (US - Glen Mills) wrote: Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] I LOVE these legal statements in emails. :) Bye. /lexi

Re: Changelog plugin?

2006-11-29 Thread George Stragand
Excellent! I needed that plugin repository, that was what I was missing. Thanks! On 11/29/06, Rémy Sanlaville [EMAIL PROTECTED] wrote: Here is my changelog configuration: plugin groupIdorg.apache.maven.plugins/groupId

Re: Offtopic: Re: Maven and .NET

2006-11-29 Thread Arik Kfir
lol! On 11/29/06, Aleksei Valikov [EMAIL PROTECTED] wrote: Hi. Morgovsky, Alexander (US - Glen Mills) wrote: Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] I LOVE these legal statements in emails. :) Bye.

Re: Offtopic: Re: Maven and .NET

2006-11-29 Thread Mirko Nasato
Aleksei Valikov wrote: Morgovsky, Alexander (US - Glen Mills) wrote: Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] I LOVE these legal statements in emails. :) Especially in messages sent to public mailing

assembly plugin with modules

2006-11-29 Thread Guilherme Silveira
Hello there, Im using the assembly plugin with some modules and want to create a fat zip with all module jars and its dependencies. The problem is, I only need the RUNTIME dependencies of my submodules... looking at http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html it says I

Re: assembly plugin with modules

2006-11-29 Thread Guilherme Silveira
Sorry... correcting: outputDirectorysrc/main/webapp/WEB-INF/lib/outputDirectory includeDependenciestrue/includeDependencies dependencySets/dependencySets unpackfalse/unpack On 11/29/06, Guilherme Silveira [EMAIL PROTECTED] wrote: Hello there, Im using the

Re: Maven and jira report

2006-11-29 Thread Dennis Lundberg
Hi Have you tried running mvn with the -X flag? There are some debug statements surrounding the authentication mechanism that might help. [EMAIL PROTECTED] wrote: Hi I am having trouble getting the issues from jira using the maven-changes-report-plugin. We have Jira Professional, and

Re: Assembly plugin for multi module project

2006-11-29 Thread pjungwir
Hello, I hit that error once! It is very confusing, but it means that the resulting tarball (or whatever) would be empty. In other words, Maven isn't finding any files to include in the assembly. I guess there is something wrong with your moduleSet, but I don't know; I haven't used this plugin

Re: Changelog plugin?

2006-11-29 Thread Dennis Lundberg
The reason why you need the extra repo is that the changelog has not yet been released. It is my intention to call a release vote for it soon, but there is some other work regarding licenses that needs to be done first. George Stragand wrote: Excellent! I needed that plugin repository, that

Re: Maven and .NET

2006-11-29 Thread Carlos Sanchez
there is som work in progress to make Maven build .NET stuff On 11/29/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Is there a version of Maven for .NET? This message (including any attachments) contains confidential information intended for a specific individual and

Re: Maven and .NET

2006-11-29 Thread Brett Porter
http://nmaven.sf.net (this is about to join the project through the incubator) Also, we have some things in the Maven sandbox. - Brett On 30/11/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Is there a version of Maven for .NET? This message (including any attachments)

Re: Archiva: 507 Insufficient Storage

2006-11-29 Thread Aaron . Digulla
Every now and then, I get the error 507 Insufficient Storage during mvn deploy. Is this a known error? I'd like to debug this. Where in the server code is this error generated? Are you deploying to a windows machine? Yes. maybe the path is too long? I can upload the JAR and POM

Maven properties in apt files

2006-11-29 Thread François Loison
Is it possible to reference maven properties in apt files? Tx, François - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Migrating site.xml from Maven 1 to Maven 2

2006-11-29 Thread Jochen Wiedmann
Hi, the site.xml in Maven 1 used to contain entries like external-refs ant.apache.org href=http://ant.apache.org/; ant href=/ which I could use in xdocs for references like a hrefkey='link.ant' Is this feature available in Doxia? If so, how do I configure the link list?

m2 profiles: pom with os specific (and native) dependencies

2006-11-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I am using SWT in my maven project. Now I have two major problems: 1. There are different JARs required depending on the OS: swt-win32 for Windows and swt-linux-gtk for linux, etc. Now I tried to definie these using profiles: profiles

Using ant and alternative local repositories with Maven

2006-11-29 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
Hello, Maven experts. First, let me say I have attempted to search the documentation and the mailing list archives for the answer to this question. The documentation seems to say I can't do what I'm trying to do, and there seems to be no search facility for the mailing list archives. The

[M2] [packaging] Maven reacts undeterministically ;-) For today my story is this...

2006-11-29 Thread Christian Kölle
Hello, thanks for Maven! All of you, but It really brings me down all the time. I am wasting days by days. I don't really understand how it works. Nevertheless, I won't give up. Unresolve problem today: If i do mvn install on the sub-module-project which is my Webclient (i.e.packging = war,

Re: Using ant and alternative local repositories with Maven

2006-11-29 Thread Christian Goetze
If we were not using the Maven ant tasks, there are several ways to address this matter. There is the -s parameter to Maven, there is the $M2_HOME/conf/settings.xml, where we could vary the value of $M2_HOME according to which build we are doing. These mechanisms do not work for the Maven

Empty index.html from statcvs?

2006-11-29 Thread George Stragand
Hello, I have the statcvs plugin producing all the pages except the index.html. I'm using version 3.0 or statcvs. Any suggestions? TIA. --G

Re: [M2] [packaging] Maven reacts undeterministically ;-) For today my story is this...

2006-11-29 Thread Wayne Fay
mvn -X package will tell you more about the dependencies, and where they're coming from for transitive ones. The manifests will not necessarily tell you what you're looking for -- instead check the poms for the 20 deps... Wayne On 11/29/06, Christian Kölle [EMAIL PROTECTED] wrote: Hello,

[M2] [packaging] Maven reacts undeterministically ;-) For today my story is this...

2006-11-29 Thread Christian Kölle
Thanks for your quick response! mvn -X package is nice but didn't help me for this specific thing. But I finally found the the problem: Somehow all libraries have been copied to the source webapp-folder (/src/main/webapp/WEB-INF/lib). Those files were outdated. The problematic library was in

RE: Using ant and alternative local repositories with Maven

2006-11-29 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
Thanks, Christian, I tried to adapt your suggestion for my situation, but that solution does not seem to apply in this case. I thought maybe properties might get passed thru ant to the Maven ant task. In the ant script, I set org.apache.maven.global-settings to the path to my settings file.

adds same artifacts(different version)?

2006-11-29 Thread jiangshachina
Hi, I have a Web project. I declare ehcache-1.2.3.jar as dependency. But ehcache-1.1.jar is transitive dependency of one of my directly dependency(acegi-security-1.0.2.jar). Then I run mvn clean package, the two jar files are all in WEB-INF/lib. How to resolve the problem? More strangely, I

Re: adds same artifacts(different version)?

2006-11-29 Thread Wendy Smoak
On 11/29/06, jiangshachina [EMAIL PROTECTED] wrote: I have a Web project. I declare ehcache-1.2.3.jar as dependency. But ehcache-1.1.jar is transitive dependency of one of my directly dependency(acegi-security-1.0.2.jar). Then I run mvn clean package, the two jar files are all in WEB-INF/lib.

Re: adds same artifacts(different version)?

2006-11-29 Thread jiangshachina
Hi Wendy, You are right. My declaration, dependency groupIdnet.sf.ehcache/groupId artifactIdehcache/artifactId version1.2.3/version /dependency But acegi-security-parent(I'm using acegi-security-1.0.2.jar) sets the following, dependency groupIdnet.sf.ehcache/groupId

Re: adds same artifacts(different version)?

2006-11-29 Thread jiangshachina
Oh, Sorry, I made a mistake, acegi-security-parent declaration is the following dependency groupIdehcache/groupId artifactIdehcache/artifactId version1.1/version optionaltrue/optional /dependency a cup of Java, cheers! Sha Jiang jiangshachina wrote: Hi Wendy, You are

Re: adds same artifacts(different version)?

2006-11-29 Thread Wayne Fay
There is no shortcut per se. You need to find each such situation and explicitly exclude the old/invalid artifact and explicitly add the proper/new artifact to your dependency list. Alternatively since it sounds like you are already changing poms in your repo (not generally a good idea imo), you

Re: adds same artifacts(different version)?

2006-11-29 Thread jiangshachina
Hello, The more I use Maven, the more I think Maven central repository(artifacts) blocks the work of adding transitive dependencies Automatically. Dependency and transitive dependency may don't have good hierarchy. On the aspect, can any body give me some experience? Thanks in advance! a cup of

Re: adds same artifacts(different version)?

2006-11-29 Thread jiangshachina
Hi Wayne, This time, I used plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0.1/version configuration warSourceExcludesWEB-INF/lib/some.jar/warSourceExcludes /configuration /plugin to excludes the jar files by hard way.

Re: adds same artifacts(different version)?

2006-11-29 Thread Wayne Fay
You can certainly use warSourceExcludes but I was actually suggesting that you use the /dependencies/dependency/exclusions/exclusion node. This is how I handle these types of issues. Wayne On 11/30/06, jiangshachina [EMAIL PROTECTED] wrote: Hi Wayne, This time, I used plugin