Re: ZIP and UNZIP the code source in another project

2011-03-21 Thread Nguyen Tien Luong
Thanks Wendy :x But does Overlay work in dev mode? It means when I modify some JSP in PROJECT-A, the PROJECT-B will be updated automatically at its deployment ( right click on PROJECT-B/ Run on server ) ? I do some tests, and I found only modified PROJECT-A's JSP files in the PROJECT-B.war,

how to release without distributionManagement

2011-03-21 Thread bravegag
Hello, I have a project for which I do not really need a site or for that matter a distributionManagement ... is there a way to successfully release i.e. branch out etc etc without having to specify a distributionManagement? TIA, Best regards, Giovanni -- View this message in context:

Re: multi module support

2011-03-21 Thread inforedaster
I just created a web project in myeclipse 8 and I use maven Support So I added JSF and ICEfaces capabilities in my project I put a single home page in the project but when I deployed the project in of myeclipse tomcat (I tried the same thing by installing Tomcat7) when I start the server it

[ANN] Maven Findbugs plugin version 2.3.2 Released

2011-03-21 Thread Garvin LeClaire
Hi, The Mojo team is pleased to announce the release of the Maven FindBugs Plugin version 2.3.2. FindBugs uses static analysis to inspect Java bytecode for occurrences of bug patterns. You can see more about the plugin at: http://mojo.codehaus.org/findbugs-maven-plugin/ To get this

maven with ICEFACES

2011-03-21 Thread inforedaster
I just created a web project in myeclipse 8 and I use maven Support So I added JSF and ICEfaces capabilities in my project I put a single home page in the project but when I deployed the project in of myeclipse tomcat (I tried the same thing by installing Tomcat7) when I start the server it

Re: multi module support

2011-03-21 Thread Anders Hammar
I would think that myeclipse knowledge on this generic Maven mailing list is (very) limited. You should ask your question somewhere else, although I have no clue where. /Anders On Sun, Mar 20, 2011 at 23:24, inforedaster inforedas...@gmail.com wrote: I just created a web project in myeclipse 8

Re: how to release without distributionManagement

2011-03-21 Thread Anders Hammar
Well, if you're going to do a release you do need the repo you would do that to defined in distMgmt. That being said, I'm guessing it should be the same as for all other releases of this project so you shouldn't need to change anything. Or? /Anders On Mon, Mar 21, 2011 at 02:18, bravegag

[maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Nguyen Tien Luong
Hi maven'users, Can we, in using maven-war-plugin, exclude files/folders in webapp? Here my exemple: webapp ++ admin index.jsp admin.jsp ++ client index.jsp account.jsp META-INF WEB-INF Anf I don't want that the client's folder appear in my final WAR. Thanks, Luong

Re: [maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Yegor Bugayenko
How about warSourceExcludes options [1]? Btw, why these files are there if you don't want them to appear in WAR? 1. http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#warSourceExcludes — Yegor Bugayenko On Mon, Mar 21, 2011 at 10:28 AM, Nguyen Tien Luong

Re: how to release without distributionManagement

2011-03-21 Thread bravegag
Hi, I already specify the SCM in two places actually: in the pom.xml scm:svn:https://svn.vis.ethz.ch/svn/webengineering scm:svn:https://svn.vis.ethz.ch/svn/webengineering http://svn.vis.ethz.ch/svn/webengineering another place is the command line: mvn release:perform

RE: Unwanted jars getting copied

2011-03-21 Thread Fuke, Amol
Hi Hilco , Sorry for the late reply. Here is the complete pom.xml. The problem is rt.jar and tools.jar are getting added in war file which we don’t want. project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: how to release without distributionManagement

2011-03-21 Thread Manuel Doninger
distributionManagement is the target for the Maven artifacts. release:perform calls deploy as default, and deploy needs the distributionManagement. If you do not want this (e.g. only install the Maven artifact in the local repository), then you have to do something like this: plugin

jetty parent pom plugin declaration and child pom plugin redefinition

2011-03-21 Thread Diego Martínez
Hi, I declare a jetty plugin in my parent pom. I have some web-apps (child of the parent pom) that will deployed to diferents jetty servers with diferent set of extra jars (each webapp have a diferent set of provided dependency). I can't redefine my parent pom jetty plugin definition in each web

Re: multi module support

2011-03-21 Thread Torsten Stolpmann
This error indicates that your application deploys a version of el-api.jar in WEB-INF/lib which conflicts with the built-in version in tomcat. You should manually delete this jar file from the target directory each time you do a (eclipse based) deployment to tomcat, as to my knowledge

Re: Unwanted jars getting copied

2011-03-21 Thread Kalpak Gadre
Hi Amol, The rt.jar and tools.jar maybe be transitively referenced in your project. Try mvn dependency:tree on your project. This will list all the dependencies in a hierarchy. You can find which exact dependency is referencing the rt.jar and tools.jar libraries. It is questionable why

Test phase for a command line tool (resend)

2011-03-21 Thread Rick Genter
Note: I sent this on Friday (2011-03-18) but saw no response, so am resending on the chance that it somehow got lost in transit. Caveat: I am new to Maven. I've read the online documentation but haven't found a good source of sample POMs other than for very basic configurations. I have a POM

Re: Test phase for a command line tool (resend)

2011-03-21 Thread Thomas Sundberg
Hi! You may some basic poms at my blog, http://thomassundberg.wordpress.com/ I would locate a test script in the project root and have it to point to a self-contained jar in ./target Another option would be to use the Resource plugin, http://maven.apache.org/plugins/maven-resources-plugin/ and

Re: [maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Nguyen Tien Luong
Thanks Yegor, The reason is in client's folder, there are only some files that I use locally and I don't want put them in the release :D and as you said, warSourceExcludes works :x artifactIdmaven-war-plugin/artifactId version2.1.1/version

Re: Test phase for a command line tool (resend)

2011-03-21 Thread Anders Hammar
I would integrate these integration tests into the build itself. Either in the maven Project itself (if you only have one project) or in a separate module. You can use the maven-invoker-plugin for example to execute the integration tests (along with creating all necessary jars, or whatever, that

Re: [maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Yegor Bugayenko
I'm still thinking that it's a wrong approach to keep something inside webapp directory which is not going to be distributed as part of your WAR file. Instead, you can use src/test/resources/webapp directory, if these files are required for in-container testing only. Or maybe you can create

RE: Test phase for a command line tool (resend)

2011-03-21 Thread Martin Gainty
MGhopefully quick response From: rgen...@interactions.net Subject: Test phase for a command line tool (resend) Date: Mon, 21 Mar 2011 09:24:27 -0400 CC: rgen...@interactions.net To: users@maven.apache.org Note: I sent this on Friday (2011-03-18) but saw no response, so am resending on

Reopen MPIR-180 (Repositories which require authentication get blacklisted)?

2011-03-21 Thread Thierry Carre
Hi all, My internal repository requires an authentication. When I build the Dependencies report with : mvn org.apache.maven.plugins:maven-project-info-reports-plugin:2.3:dependencies -- No problem, it works fine. but with : mvn

Adding files to target before creating war

2011-03-21 Thread Sam Adams
Hi, I'm pretty new to Maven user but have been using it in a simple case for a while now to create a web based project. Currently I use war:exploded for local development and install for creating a distributable. I'm now in a situation where I want to overwrite some standard files (properties,

Re: Adding files to target before creating war

2011-03-21 Thread Gajo Csaba
The target directory is probably created in the generate-resources phase, before the compile phase. What about trying it in the package phase? You can also try the pre-integration-test phase, but this will only be called if you run maven with a target higher than package. Here are the

Re: Adding files to target before creating war

2011-03-21 Thread Sam Adams
It seems that the target isn't created until the package phase, this is also when the war is created. Is there any kind of finer grained control over when plugins are run? Thanks, Sam On 21 March 2011 15:07, Gajo Csaba csaba.g...@cosylab.com wrote: The target directory is probably created in

Re: Adding files to target before creating war

2011-03-21 Thread Wendy Smoak
On Mon, Mar 21, 2011 at 10:55 AM, Sam Adams sbad...@gmail.com wrote: I'm now in a situation where I want to overwrite some standard files (properties, etc) for certain profiles. What problem are you trying to solve? It sounds like you're using profiles to produce *different* war files

Re: Adding files to target before creating war

2011-03-21 Thread Sam Adams
This is exactly what I'm trying to do. Why is this not a good idea and what are the alternatives? Thanks, Sam On 21 March 2011 15:19, Wendy Smoak wsm...@gmail.com wrote: On Mon, Mar 21, 2011 at 10:55 AM, Sam Adams sbad...@gmail.com wrote: I'm now in a situation where I want to overwrite some

Re: Reopen MPIR-180 (Repositories which require authentication get blacklisted)?

2011-03-21 Thread Lukas Theussl
Please do not re-open issues that are marked as fixed in released versions, create a new issue and link back to the original one. Thanks, -Lukas Thierry Carre wrote: Hi all, My internal repository requires an authentication. When I build the Dependencies report with : mvn

Re: Adding files to target before creating war

2011-03-21 Thread Wendy Smoak
On Mon, Mar 21, 2011 at 11:28 AM, Sam Adams sbad...@gmail.com wrote: This is exactly what I'm trying to do. Why is this not a good idea and what are the alternatives? Depends on *why* you're trying to do that, which is why I asked what problem you're trying to solve. In general... either

Re: Adding files to target before creating war

2011-03-21 Thread Sam Adams
We have slightly different configurations that we need to test. For this very reason we need to build and test different profiles. This can include different web.xml files so I don't think externalising is an option in this case. Thanks, Sam On 21 March 2011 15:44, Wendy Smoak wsm...@gmail.com

Re: Adding files to target before creating war

2011-03-21 Thread Wayne Fay
We have slightly different configurations that we need to test. For this very reason we need to build and test different profiles. This can include different web.xml files so I don't think externalising is an option in this case. If you pull in Spring or another DI framework, then you can

Re: ZIP and UNZIP the code source in another project

2011-03-21 Thread Wendy Smoak
On Mon, Mar 21, 2011 at 4:26 AM, Nguyen Tien Luong tienluon...@yahoo.com wrote: But does Overlay work in dev mode? It means when I modify some JSP in PROJECT-A, the PROJECT-B will be updated automatically at its deployment ( right click on PROJECT-B/ Run on server ) ? Maven doesn't have any

Re: maven with ICEFACES

2011-03-21 Thread Wayne Fay
On Sun, Mar 20, 2011 at 3:59 PM, inforedaster inforedas...@gmail.com wrote: I just created a web project in myeclipse 8 and I use maven Support So I added JSF and ICEfaces capabilities in my project I put a You most likely need to ask the Icefaces guys and maybe even the MyEclipse folks about

Specific problem with Maven resources filtering

2011-03-21 Thread Rafael Vanderlei
Hi everyone. I'm using Maven to build my project and I'm stuck on the following problem: I have a log4j.xml file with an appender configured like follows appender name=audit-file class=org.apache.log4j.DailyRollingFileAppender param name=File

Re: [ANN] Maven Findbugs plugin version 2.3.2 Released

2011-03-21 Thread Mirko Friedenhagen
Hm, the link points to 2.3.1, http://jira.codehaus.org/secure/ReleaseNote.jspa?version=16272projectId=11701 is for 2.3.2. Regards Mirko On Sun, Mar 20, 2011 at 23:52, Garvin LeClaire glecla...@insightbb.com wrote: Hi, The Mojo team is pleased to announce the release of the Maven FindBugs

Re: redirecting source/javadoc

2011-03-21 Thread Benson Margulies
I'm pushing Apache Batik jars to maven. Batik uses an ant build. By using various ant patterns, it subdivides the source directory into 6 compiles and make 6 (different) jars. The ant build already sets up poms with dependencies, but whoever did all this did not make provisions for source and

Re: Specific problem with Maven resources filtering

2011-03-21 Thread Dennis Lundberg
Hi It seems that you need to escape filtering, which is possible. See http://maven.apache.org/plugins/maven-resources-plugin/examples/escape-filtering.html On 2011-03-21 20:54, Rafael Vanderlei wrote: Hi everyone. I'm using Maven to build my project and I'm stuck on the following problem:

Maven native:link naming exe

2011-03-21 Thread stevek
Hi All New to Maven and trying to figure out how I might use it for C++ projects on a windows platform. Downloaded Maven 3.0.2 and trying to use the Native Maven plugin. Using compiler provider msvc and compilerExecutable as cl I have been able to get source compiled. However when I try to link

Re: maven with ICEFACES

2011-03-21 Thread Ed Hillmann
You probably don't need to include JSF as part of your WAR file? It looks like there's a conflict between versions of JSF (the version provided by the container, and the version provided by your WAR file?). If this is the case, change the scope in Maven for the JSF dependencies to provided. If

Re: Maven native:link naming exe

2011-03-21 Thread Dan Tran
do you have chance to take a look at existing examples? If the examples dont work out for you, perhaps a pom file will help to figure out the issue -D On Mon, Mar 21, 2011 at 2:00 PM, stevek st...@dsoft-solutions.co.uk wrote: Hi All New to Maven and trying to figure out how I might use it

Re: Maven native:link naming exe

2011-03-21 Thread stevek
Do you recommend a particular example or examples. Could you point me to these please. Steve - Original Message - From: Dan Tran [via Maven] To: stevek Sent: Monday, March 21, 2011 10:10 PM Subject: Re: Maven native:link naming exe do you have chance to take a look at

simple branching won't work

2011-03-21 Thread Giovanni Azua
Hello, I followed the instructions here: http://maven.apache.org/guides/mini/guide-releasing.html So my input pom.xml looks like shown below. Executing: mvn release:branch -DbranchName=4.0 gets me to the FAILED ouput also shown below. Why is it always trying to create a branches folder when

Re: redirecting source/javadoc

2011-03-21 Thread Barrie Treloar
On Tue, Mar 22, 2011 at 7:12 AM, Benson Margulies bimargul...@gmail.com wrote: I'm pushing Apache Batik jars to maven. Batik uses an ant build. By using various ant patterns, it subdivides the source directory into 6 compiles and make 6 (different) jars. The ant build already sets up poms

Re: Maven native:link naming exe

2011-03-21 Thread Dan Tran
which example(s) are you having problem with? they are under native-maven-plugin/src/it It seems you are using msvc 2008, did you configure the correct factory? -Dan On Mon, Mar 21, 2011 at 4:01 PM, stevek st...@dsoft-solutions.co.uk wrote: Do you recommend a particular example or examples.

dependency conflict issue ( dummy commons logging libs/repo )

2011-03-21 Thread Arun Ramakrishnan
I am not sure a lower version dependency seems to be trumping a higher version. Here is the POM http://pastebin.com/TBP0YTZs Here is the dependency tree http://pastebin.com/VBdjiVcL Whats going on here ? I was attempting to avoid transitive dependency of commons-logging. I followed the