[M2] macker plugin

2006-06-03 Thread Szczepan Faber
How to make macker plugin work? I placed this in pom: plugin groupIdmaven-plugins/groupId artifactIdmaven-macker-plugin/artifactId /plugin Then, mvn macker:macker I am having CHECKSUM FAILED errors and download fails even if I run mvn -c

[M2] How to change log level of maven?

2006-06-02 Thread Szczepan Faber
How to change log level of maven? I mean the output on the console when you launch mvn goal. By default I guess that 'INFO' level is applied. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [M2] How to change log level of maven?

2006-06-02 Thread Szczepan Faber
I was hoping I can set WARN or even ERROR only :( thanks! Szczepan On 6/2/06, Kenney Westerhof [EMAIL PROTECTED] wrote: On Fri, 2 Jun 2006, Szczepan Faber wrote: How to change log level of maven? I mean the output on the console when you launch mvn goal. By default I guess that 'INFO

Re: [M2] How to fail build by PMD certain level priority

2006-06-01 Thread Szczepan Faber
is set to true and the overall number of violations is greater than 1. Thanks, Odea Szczepan Faber wrote: How to fail a build by PMD but only on certain level priority violation? Thanks, Szczepan - To unsubscribe

[M2] How to fail build by PMD certain level priority

2006-05-31 Thread Szczepan Faber
How to fail a build by PMD but only on certain level priority violation? Thanks, Szczepan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[M2] site generation - tests run twice

2006-05-09 Thread Szczepan Faber
What's the easiest way to make 'mvn site' goal run tests just once? If cobertura is among reporting plugins, tests are run twice. Thanks, Szczepan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [M2] site generation

2006-04-30 Thread Szczepan Faber
) in your pom.xml file? On 4/30/06, Szczepan Faber [EMAIL PROTECTED] wrote: What's the easiest way to get rid of 'About Unnamed... project name' link on first page (left banner), after running mvn site? - To unsubscribe, e

[m2] relative links in index.apt

2006-04-30 Thread Szczepan Faber
How to create _relative_ links (e.g. to cobertura report or to javadoc of specific class) in index.apt? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[M2] Is it possible to create an assembly w/o assembly.xml?

2006-04-05 Thread Szczepan Faber
Is it possible to create an assembly w/o assembly.xml (assembly descriptor)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [M2] Is it possible to create an assembly w/o assembly.xml?

2006-04-05 Thread Szczepan Faber
assembly:assembly -Dmaven.assembly.descriptorId=jar-with-dependencies or m2 assembly:assembly -Dmaven.assembly.descriptorId=src cheers, valerio On 4/5/06, Szczepan Faber [EMAIL PROTECTED] wrote: Is it possible to create an assembly w/o assembly.xml (assembly descriptor

[M2] how to set up proxy password not in plain text?

2006-03-29 Thread Szczepan Faber
How to set up maven 2 proxy password not in plain text (currently it is configured in settings.xml)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [M2] how to set up proxy password not in plain text?

2006-03-29 Thread Szczepan Faber
the password? Wayne On 3/29/06, Szczepan Faber [EMAIL PROTECTED] wrote: How to set up maven 2 proxy password not in plain text (currently it is configured in settings.xml)? - To unsubscribe, e-mail: [EMAIL PROTECTED

[maven] proxy problem

2006-03-27 Thread Szczepan Faber
I installed clean Maven 1.0.2, set proxy in ${user.home}/build.properites (user.home on windows is /documents and settings/sg0897539/.maven) maven.proxy.host=-ad-proxy.sabre.com maven.proxy.port=80 maven.proxy.username=sg0897539 maven.proxy.password= But still firing 'java:compile' goal,

[M2] compiler plugin sources :(

2006-03-26 Thread Szczepan Faber
Maven compiler plugin is very reluctant to show sources... http://maven.apache.org/plugins/maven-compiler-plugin/source-repository.html wincvs link directs to http 404 svn checkout does not work either - To unsubscribe,

[M2] Is there a way to automatically download sources for plugins?

2006-03-24 Thread Szczepan Faber
Is there a way to automatically download sources for plugins? E.g. When I type 'mvn compile' the maven-compiler-plugin is automatically downloaded into local repository. Where can I find sources for that? (Yes, I know I can look at

[M2] dependencies-libraries that are not hosted - best practice

2006-03-16 Thread Szczepan Faber
Hi, What is the best practice in case of dependencies that are not hosted anywhere? Should jars land in project's 'lib' dir? A mojo should install jar into user's local repository? I assume that maven methodology requires me to create corporate / team wide repository with those specific jars...

Re: [M2] compile sources fails - where are snapshot repositories???

2006-03-15 Thread Szczepan Faber
/releases /pluginRepository However, you can always just pull the code for maven-assembly-plugin as well from SVN and package it up and install locally? Then you aren't dependent on yet another repo... Wayne On 3/14/06, Szczepan Faber [EMAIL PROTECTED] wrote: I need to change maven embedder

Re: [M2] how to setup proxy in POM?

2006-03-14 Thread Szczepan Faber
(build, run, jar:install, tests) is run with 'maven xyz' from command line, it's easier to manage. Szczepan Faber a écrit : I need to make it work ASAP :) If my effort in maven plugin fails, I will have to code ant scripts which are relicts of stone age. How can I use those CL arguments

[M2] compile sources fails - where are snapshot repositories???

2006-03-14 Thread Szczepan Faber
I need to change maven embedder to force him to go through proxy. The problem is that 'mvn package' command fails in maven-embedder directory. The reason is that default snaphot repository does not have appropriate artifacts. -- Reason: Unable to download the artifact from any

Re: [M2] how to setup proxy in POM?

2006-03-14 Thread Szczepan Faber
Running Maven from the command line is the ONE TRUE TEST Agreed :) but... in our environment cruise control does it, so ONE TRUE TEST is fired many times a day and on nightly build. Also not everyone likes the same IDE. We have people using Eclipse Sure, but everyone likse IDE that speeds the

[M2] How to checkout working maven 2.0.2 from svn

2006-03-14 Thread Szczepan Faber
There are no releases with sources, so I'd like to checkout 2.0.2 from svn. Can you provide exact svn command for this, please. I tried this one (and couple of others : ): svn checkout http://svn.apache.org/repos/asf/maven/components/trunk/ But it depends on snapshot binaries that are NOT

[M2] how to setup proxy in POM?

2006-03-13 Thread Szczepan Faber
Hi, How to setup proxy from Maven2 in pom file? I know I can do it in settings.xml, but that does not work for m2 eclipse plugin. That is why I'd like to setup proxy in pom. Thanks, Szczepan - To unsubscribe, e-mail: [EMAIL

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Szczepan Faber
in your pom.xml, your build could become not portable since a proxy is a specific environment setting. Why do you want to do this? On 3/13/06, Szczepan Faber [EMAIL PROTECTED] wrote: Hi, How to setup proxy from Maven2 in pom file? I know I can do it in settings.xml, but that does not work

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Szczepan Faber
]: Did you try editing eclipse startup script to add this to java startup line? This is how you proxy enable any java application. java -DproxySet=true -DproxyHost=myProxyServer.com -DproxyPort=80 MyJavaApp Szczepan Faber a écrit : I've read that this is the only way to make it work with M2

Re: [M2] how to setup proxy in POM?

2006-03-13 Thread Szczepan Faber
, Szczepan On 3/13/06, Alexandre Poitras [EMAIL PROTECTED] wrote: You should use command line arguments as David has suggested, but proxy support is now in beta I think so it shouldn't be long until it works out of the box :) On 3/13/06, Szczepan Faber [EMAIL PROTECTED] wrote: I use windows, I

fail build if coverage is decreased

2006-02-23 Thread Szczepan Faber
Have you ever heard about a plugin that will measure the tests' coverage and fail if it has been decreased from previous build? It may also be more sophisticated and relay also on lines of code commited, not only pure coverage value. Regards, Szczepan

Re: how to prevent from creating exploded archive?

2006-02-21 Thread Szczepan Faber
- From: Szczepan Faber [mailto:[EMAIL PROTECTED] Sent: Sunday, February 19, 2006 6:38 PM To: users@maven.apache.org Subject: how to prevent from creating exploded archive? How to prevent from creating exploded archive in war:war goal (I want only war to appear in target

Re: how to prevent from creating exploded archive?

2006-02-21 Thread Szczepan Faber
. On 2/21/06, Szczepan Faber [EMAIL PROTECTED] wrote: So everytime I need to do something extra, that is not possible to define in plugin config, the best practice is to write an ant task and hook it to maven phase? 2006/2/20, Brian E. Fox [EMAIL PROTECTED]: This exploded archive

how to prevent from creating exploded archive?

2006-02-19 Thread Szczepan Faber
How to prevent from creating exploded archive in war:war goal (I want only war to appear in target) ?