Re: [REPOST] How to mvn release:prepare although \target is in .hgignore?

2011-02-22 Thread Gabriele Kahlout
Thank you for your help, I managed to release it. It's now synched with the the central repo. On Sun, Feb 20, 2011 at 6:07 PM, Baptiste MATHUS wrote: > Hi, > > Well, it shows three local modifications (the M lines). > Yeah, I continued modifying now. > Btw, you should ignore target directory.

Re: mvn test with multiple modules

2011-02-22 Thread Anders Hammar
Possibly you've hit one of those issues with dependency resolution within the reactor in a multi-module build that Maven 2.x has. It's hard to say for sure as you haven't provided the error message. One way of determining is to do a build with Maven 3, where those issues have been fixed. /Anders O

mvn test with multiple modules

2011-02-22 Thread frankyf
Hi, I posted this on http://stackoverflow.com/questions/5075509/how-do-i-use-mvn-test-with-multiple-modules stackoverflow but no one is responding, so I'm trying here. My problem is that I am unable to run mvn test normally when one module depends on test classes in another module. Strangely e

[Announce] Maven Dependency Plugin 2.2

2011-02-22 Thread Brian Fox
The Maven team is pleased to announce the 2.2 release of the Maven Dependency Plugin: http://maven.apache.org/plugins/maven-dependency-plugin Release Notes - Maven 2.x Dependency Plugin - Version 2.2 ** Bug * [MDEP-138] - unpack of tar files fail with ArchiverException: chmod exit code was

Hi, How can I config Simian?

2011-02-22 Thread jy hu
Hi there, I would like to config Simian in maven and then get the report, but I can't find out the plug-in in the list of Maven-plugs, Does anyone ever install it successfully? thanks. -- ** *Warm wishes,* *Jaina(hu jun ying)*

Re: PMD rule exclusion precision

2011-02-22 Thread Wayne Fay
> work). But can you configure it to not run certain rules only on certain > files? For example, can I tell it to not run the AvoidDuplicateLiterals on > just a single file? If you can configure PMD itself to support this requirement, then most likely the Maven2 plugin can be configured to support

PMD rule exclusion precision

2011-02-22 Thread E S
I have a question about the maven 2 PMD plugin. I know you can configure it to not run certain rules within a rule set. I know you can configure it to not check certain files at all (though I haven't been able to get that to work). But can you configure it to not run certain rules only on certain f

Re: How to skip the resolved depenencies of a dependency

2011-02-22 Thread Cédric Beust ♔
On Tue, Feb 22, 2011 at 6:18 AM, koppaka pradeep wrote: > > I am new to maven > could you plz tell me wts the difference between the like including > exclusion and the procedure as in this thread: > > http://maven.40175.n5.nabble.com/Problems-with-Surefire-TestNG-and-Guice-3-tp3384082p3384082.htm

Re: How to skip the resolved depenencies of a dependency

2011-02-22 Thread Ondřej Světlík
Dne 22.2.2011 15:18, koppaka pradeep napsal(a): I am new to maven could you plz tell me wts the difference between the like including exclusion and the procedure as in this thread: http://maven.40175.n5.nabble.com/Problems-with-Surefire-TestNG-and-Guice-3-tp3384082p3384082.html where can edit th

Re: Help to use plugin coverage

2011-02-22 Thread Hilco Wijbenga
On 22 February 2011 17:47, Hilco Wijbenga wrote: > On 22 February 2011 04:00, Ewerton Vale Leal wrote: >> I made the recommended changes. >> directory structure >> src / test / java - unit tests >> src / it / java - integration testing >> and I'm using the plugin "maven-failsafe-plugin" for integ

Re: Help to use plugin coverage

2011-02-22 Thread Hilco Wijbenga
On 22 February 2011 04:00, Ewerton Vale Leal wrote: > I made the recommended changes. > directory structure > src / test / java - unit tests > src / it / java - integration testing > and I'm using the plugin "maven-failsafe-plugin" for integration tests. > Now the tests are run at different phases

Re: Creating a Local Repository for Intranet Access without Internet Connection

2011-02-22 Thread Ron Wheeler
Anders is right and that should be acceptable to people whose paranoia is matched by their technical know-how. If not, it would seem that doing a build with a dummy project that included all of the dependencies that you need including the maven plug-ins, on the machine connected to the interne

Re: How to skip the resolved depenencies of a dependency

2011-02-22 Thread koppaka pradeep
I am new to maven could you plz tell me wts the difference between the like including exclusion and the procedure as in this thread: http://maven.40175.n5.nabble.com/Problems-with-Surefire-TestNG-and-Guice-3-tp3384082p3384082.html where can edit the abstractMojo.java -- View this message in conte

RE: Ant mvn task problem

2011-02-22 Thread Martin Gainty
... appserverConfig ${basedir}/file2.properties ${basedir}/file1.properties /path/to/appserver org.myco.plugins spiffy-integrationTest-plugin 1.0 ${appse

Re: How to skip the resolved depenencies of a dependency

2011-02-22 Thread Ondřej Světlík
Dne 22.2.2011 14:16, koppaka pradeep napsal(a): Hello, i want know how to skip the resolved dependencies of a dependency. Becoz this may happen in many cases. some body plz explain me with a simple and good example. Hello, you mean something like tnis? org.tuckey urlrewrit

Re: How to skip the resolved depenencies of a dependency

2011-02-22 Thread Ondřej Světlík
Dne 22.2.2011 14:16, koppaka pradeep napsal(a): Hello, i want know how to skip the resolved dependencies of a dependency. Becoz this may happen in many cases. some body plz explain me with a simple and good example. Hello, you mean something like this?

How to skip the resolved depenencies of a dependency

2011-02-22 Thread koppaka pradeep
Hello, i want know how to skip the resolved dependencies of a dependency. Becoz this may happen in many cases. some body plz explain me with a simple and good example. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-skip-the-resolved-depenencies-of-a-dependency-tp33954

AW: subversion vs maven

2011-02-22 Thread Moser, Christian
"..takes quite some time to build it ( 30-40 minutes ), which I need to do every morning after an svn update." I'm not sure why do you think that it's necessary to build the whole project locally every morning? After a commit, a maven project should be deployed as SNAPSHOT version into the remot

Ant mvn task problem

2011-02-22 Thread Paweł Gdula
Hi We are using ant mvn task to build ours application. Unfortunately, some steps in build fails silently - we can find stacktraces in log, but whole log is mark as successful. Is there way to configure ant mvn task to stop build and mark it as failed ? Best Pawel

AW: subversion vs maven

2011-02-22 Thread Stadelmann Josef
I would consider this as either a) "bad dependencies" or b) "bad dependency management" And I woul NOT and never ever expect that from a modern build system like maven. Josef -Ursprüngliche Nachricht- Von: Jeff [mailto:predato...@gmail.com] Gesendet: Mittwoch, 16. Februar 2011 18:28 An:

Re: Creating a Local Repository for Intranet Access without Internet Connection

2011-02-22 Thread Anders Hammar
Well, you shouldn't download the entire central repo. It's rude to those that are paying for the bandwidth! Also, there is no easy way to scrape Maven central as it tries its best to block that bad habit. It will also make to blacklisted for future downloads. The absolutely easiest way to solve th

Re: DDL Dependency

2011-02-22 Thread Simone Tripodi
Hi Craig, I don't know if ti could help, but at MyBatis we created a tool called MyBatis Migration[1] that is already integrated with Maven, wich aims manage Database versioning. HTH, Simo [1] http://code.google.com/p/mybatis/wiki/Migration http://people.apache.org/~simonetripodi/ http://www.99so

RE: Creating a Local Repository for Intranet Access without Internet Connection

2011-02-22 Thread Diego Lin
Hi Gokce, You may download Archiva from apache. It is very easy to build the Maven server according to its documents. 1 Visit your Maven server from a browser. 2 Login as admin of the server. 3 Configure the Repositories and Proxy Connectors in the Administration section. The third step is a m

Re: Creating a Local Repository for Intranet Access without Internet Connection

2011-02-22 Thread Gokce
Hi to all, I'm actually trying to create the copy of the central repository in my closed environment. But I don't know how to download all the repository items to a media, which I plan to use later in my development environment. The solutions specified in the previous replies will be helpful after

Re: how can we replace properties values in the element .

2011-02-22 Thread chandra.c49
Hi Wendy , I agree to the concern why is the being used in different components. But, the project < which contains multiple components > is being setup this way and each component refers to the [ actually as these components uses the component dependencies ,it is setup this way] .