Re: Activation of multiple profiles at the same time

2010-08-28 Thread carolyny476
Such a very amazing link! Thanks you for the post. __ [url=http://moviesonlineworld.com]watch free movies online[/url] -- View this message in context: http://maven-users.828.n2.nabble.com/Activation-of-multiple-profiles-at-the-same-time-tp2496510p5471839.html Sent from the

maven package bloated

2010-08-28 Thread mudit tuli
Hi, When I do maven package, this gives me a bloated WAR with all the dependencies which is 19MB in size. For some reasons I need to deploy WAR onto my VPS time and again to test. But deploying a 19MB war is time consuming, can I try to strip off the dependency JARs in the WAR ? Tried

Re: maven package bloated

2010-08-28 Thread Dominic Mitchell
On Sat, Aug 28, 2010 at 12:12 PM, mudit tuli mudit.t...@gmail.com wrote: When I do maven package, this gives me a bloated WAR with all the dependencies which is 19MB in size. For some reasons I need to deploy WAR onto my VPS time and again to test. But deploying a 19MB war is time

Re: question on capabilities of AntRun plugin

2010-08-28 Thread Jacob Beard
Hi, My motivation to use Maven comes from the fact that I'm working on a Commons sandbox component. Because all of Commons build infrastructure is Maven-based, there's a strong incentive for me to integrate my project with Maven. So, basically, I'm trying to have the best of both worlds: to

Re: Log an error found in Maven Documentation

2010-08-28 Thread Anders Hammar
Page 37 and 38? Are you talking about some book? /Anders (mobile) Den 2010 8 28 07:49 skrev Panayotis Matsinopoulos matsinopou...@rayo.gr: Ok, here it goes Document: Apache Maven Current Version User Guide (2010-08-01) Maven version I am using: Apache Maven 2.2.1 (r801777; 2009-08-06

Re: Log an error found in Maven Documentation

2010-08-28 Thread Panayotis Matsinopoulos
Not a book really. The PDF version of the documentation. However, the same mistake is found on the on-line documentation pages. The URL to the on-line documentation that I am referring to is http://maven.apache.org/guides/getting-started/index.html#How_do_I_make_my_first_Maven_project

Re: maven package bloated

2010-08-28 Thread Panayotis Matsinopoulos
On 28/8/2010 2:12 μμ, mudit tuli wrote: Hi, When I do maven package, this gives me a bloated WAR with all the dependencies which is 19MB in size. For some reasons I need to deploy WAR onto my VPS time and again to test. But deploying a 19MB war is time consuming, can I try to strip off the

Decrypting server password

2010-08-28 Thread Simone Tripodi
Hi all guys, a friend of mine and I are developing a maven plugin that needs to acces to a server credentials specified in the settings.xml; no problem since the org.apache.maven.settings.Server class exposes methods to retrieve username/password, the problem comes when passwords are encrypted

Re: Decrypting server password

2010-08-28 Thread Dan Tran
see sql-maven-plugin's implementation -D On Sat, Aug 28, 2010 at 7:22 AM, Simone Tripodi simone.trip...@gmail.com wrote: Hi all guys, a friend of mine and I are developing a maven plugin that needs to acces to a server credentials specified in the settings.xml; no problem since the

Re: Decrypting server password

2010-08-28 Thread Simone Tripodi
Hi Dan, thanks for the hint, going to read the code! Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Sat, Aug 28, 2010 at 4:34 PM, Dan Tran dant...@gmail.com wrote: see sql-maven-plugin's implementation -D On Sat, Aug 28, 2010 at 7:22 AM, Simone Tripodi

Re: Decrypting server password

2010-08-28 Thread Simone Tripodi
Hi Dan, it doesn't seem the sql-plugin[1] manages encrypted passwords... am I checking in the wrong place? Thanks in advance, Simo [1] http://svn.codehaus.org/mojo/tags/sql-maven-plugin-1.4/src/main/java/org/codehaus/mojo/sql/SqlExecMojo.java http://people.apache.org/~simonetripodi/

Re: Decrypting server password

2010-08-28 Thread Dan Tran
see the latest trunk source starting from the pom.xml -Dan On Sat, Aug 28, 2010 at 8:04 AM, Simone Tripodi simone.trip...@gmail.com wrote: Hi Dan, it doesn't seem the sql-plugin[1] manages encrypted passwords... am I checking in the wrong place? Thanks in advance, Simo [1]

Re: Decrypting server password

2010-08-28 Thread Simone Tripodi
Thanks a lot, just noticed the trunk[1] is the right place!!! thanks again, have a nice day! Simo http://svn.codehaus.org/mojo/trunk/mojo/sql-maven-plugin/src/main/java/org/codehaus/mojo/sql/SqlExecMojo.java http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Sat, Aug 28, 2010

Re: maven package bloated

2010-08-28 Thread Wayne Fay
You can use these jars only at compile time and not at package time. For example, you can have the following in your pom.xml: scopecompile/scope This will not include log4j.jar into your war. This is simply false. The proper scope for use at compile time but do not include in package is

Re: maven package bloated

2010-08-28 Thread Panayotis Matsinopoulos
Dear Wayne, You are probably right on my mistake. The documentation also verifies what you are saying FAQ: How do I prevent including JARs in WEB-INF/lib? I need a compile only scope! Answer: The scope you should use for this is provided. This indicates to Maven that the dependency will

Re: maven package bloated

2010-08-28 Thread Anders Hammar
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html /Anders 2010/8/28 Panayotis Matsinopoulos matsinopou...@rayo.gr Dear Wayne, You are probably right on my mistake. The documentation also verifies what you are saying FAQ: How do I prevent including JARs

Re: Log an error found in Maven Documentation

2010-08-28 Thread Anders Hammar
Ok, just checking as there are several books out there as well. The JIRA link provided earlier is the one to use. Please provide a patch (a description of what to change. As the archetypes are updated every now and then, there is likely to be difference. So the best thing would be if the docs

RE: RE: Multiple profile execution in maven

2010-08-28 Thread Sridhar Laxmipuram Srinivasan
Benson,Wayne! Thnkx a ton for your input, you know what it just worked for me... The below did the trick... 1st profile: - executions execution idtest 1/id goals goaltest/goal /goals /execution /executions 2nd profile: executions execution idtest

Enforce Maven client to use credentials for read artifacts from repository

2010-08-28 Thread Marcin Zajączkowski
Hi, I need to set up a repository whose artifacts would be accessible (being able to get using Maven client) only for authorized people (with account like for deploy). I have an Artifactory server with a few publicly available repositories and I added there a new one only for selected people.