Re: title block broken in maven-site-plugin-2.1?

2010-01-27 Thread Marat Radchenko
No, trailing -- doesn't change anything. Page only starts rendering correctly if I put title block before commented copyright banner, so title block becomes the very first element. - To unsubscribe, e-mail: users-unsubscr...@

Re: site:deploy hangs on chmod?

2010-01-27 Thread Wayne Fay
> Transfer finished. 4209 bytes copied in 0.542 seconds > Executing command: chmod -Rf g+w,a+rX /site What happens if you log into that server as that same user and execute the same chmod command? Wayne - To unsubscribe, e-mail:

Re: how to prevent the warnning:Sun proprietary API...

2010-01-27 Thread Wayne Fay
>> I have change my jdk version to 1.6.0_18,and when I use mvn clean install , > thing do not change, I still got the warnning: > " is Sun proprietary API and may be removed in a future release". The simplest way to stop triggering those warnings is to STOP using those APIs. Its that simple. I

Re: how to prevent the warnning:Sun proprietary API...

2010-01-27 Thread maven apache
2010/1/28 maven apache > > > 2010/1/27 > > Version of Java? >> Since there were other threads earlier which mentioned that such errors >> are not shown with JDK 1.6.0_17 and higher. >> > I am using 1.6.0_16 > > I have change my jdk version to 1.6.0_18,and when I use mvn clean install , thing do

Re: how to prevent the warnning:Sun proprietary API...

2010-01-27 Thread maven apache
2010/1/27 > Version of Java? > Since there were other threads earlier which mentioned that such errors > are not shown with JDK 1.6.0_17 and higher. > I am using 1.6.0_16 > > Subir > > -Original Message- > From: maven apache [mailto:apachemav...@gmail.com] > Sent: Wednesday, January 27,

Re: maven archetype from command line vs from eclipse

2010-01-27 Thread Wayne Fay
> However, when I import the same project into eclipse and select > index.jsp and click run on server, I get a 404. > Not sure what I have to configure. Try using m2eclipse instead of the eclipse plugin. Wayne - To unsubscribe,

Release plug-in fools automated checkout process

2010-01-27 Thread Jeff French
We have a problem with how our build process uses automated checkouts with the maven release plugin. First a little background: o We "release" our project each time we perform a nightly build. This means each build gets a unique version number, where the last digit is a build number. o We u

Re: title block broken in maven-site-plugin-2.1?

2010-01-27 Thread Dennis Lundberg
It might be that the new Doxia used in Site Plugin 2.1 is more strict than before. I think you need to have this as the head in your apt document -- About --

Re: Code Coverage for integration tests

2010-01-27 Thread Siegfried Goeschl
Hi Douglas, I assume you mean code coverage of deployed server code ... +) many moons ago I did integration code coverage for M1 based on Clover and Canoo WebTest since we had to prove that 60% of server code was executed by the remote tests +) Clover allows to merge coverage information if you

Re: Code Coverage for integration tests

2010-01-27 Thread Kalle Korhonen
Definitely depends on your definitions for integration test and circumstances. We run our Spring context-based and other long-running tests via a special profile-activated surefire configuration together with plain unit tests to get accurate code coverage counts. Kalle On Wed, Jan 27, 2010 at 11

Re: Code Coverage for integration tests

2010-01-27 Thread Roland Asmann
Depends on what you call 'integration test'... If it's a couple of tests inside a single module, just use cobertura/clover/something else... If you want an integration-test of several modules, try something like this (working on it myself, not finished, so no guarantees!): -- (the maven-invoke

Re: Code Coverage for integration tests

2010-01-27 Thread Wendy Smoak
On Wed, Jan 27, 2010 at 10:07 AM, Douglas Ferguson wrote: > Is there anyway to get code coverage numbers for integration tests? I'm sure it's technically possible, but as far as I know, no one has done it yet with Maven. It's definitely on my list of things I'd like to see! Let us know if you

Code Coverage for integration tests

2010-01-27 Thread Douglas Ferguson
Is there anyway to get code coverage numbers for integration tests? D/ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Profile propagation

2010-01-27 Thread Stephen Connolly
dependencies included in profiles activated based on jdk or os is a "bad thing" the dependencies will be pulled in based on the _system doing the build_ not on the _target system_ better is to produce two separate projects which add the required dependencies 2010/1/27 > I am using profiles to

Re: Adding archetype to internal catalogue?

2010-01-27 Thread Tamás Cservenák
Hi Manuel, add yours to the list here: http://docs.codehaus.org/display/MAVENUSER/Archetypes+List Thanks, ~t~ On Tue, Jan 26, 2010 at 9:10 PM, Manuel wrote: > Hi, > > I'm rather new to maven so sorry if I'm asking nonsense. > > Basically I would like to know if it is possible to add archetypes

Profile propagation

2010-01-27 Thread roberto . caldas
I am using profiles to build a jar with different dependencies - sometimes I have to use a dependency for linux64 and sometimes for win32. I have another project that adds this project as dependency and I'm not able to somehow "propagate" this profile utilization to this other project, that is,

maven archetype from command line vs from eclipse

2010-01-27 Thread veena pandit
When I create maven archetype project from the command line and run it, I can get to the web page from Tomcat. However, when I import the same project into eclipse and select index.jsp and click run on server, I get a 404. Not sure what I have to configure. Thanks, Sonia

Re: Generate 2 war with the same POM

2010-01-27 Thread Anders Hammar
Maven Golden rule: One project produces one artifact. http://www.sonatype.com/people/2010/01/how-to-create-two-jars-from-one-project-and-why-you-shouldnt/ On Mon, Jan 25, 2010 at 17:36, Rémy wrote: > > Hello, > > I want to generate two war from the same project. I managed to solve the > problem

Re: Maven central has corrupted artifact org.apache.xbean:xbean-finder-shaded:jar:3.6

2010-01-27 Thread Markku Saarela
Thanks for your effort. I turn to Geronimo community. markku On 27.1.2010 16:53, Wendy Smoak wrote: On Wed, Jan 27, 2010 at 7:16 AM, Markku Saarela wrote: org.apache.xbean:xbean-finder-shaded:jar:3.6 artifact MD5 checksum does not match, so our Artifactory reject it's download. So where

Re: maven in ecipse

2010-01-27 Thread Kalle Korhonen
What's meant by that is that Eclipse by default uses the same target folder as if you have run Maven from command line. Some people hate it but for others like me it makes all the sense. Just need to be aware of consequences - say for example running mvn clean without refreshing Eclipse. Kalle O

Re: Maven central has corrupted artifact org.apache.xbean:xbean-finder-shaded:jar:3.6

2010-01-27 Thread Wendy Smoak
On Wed, Jan 27, 2010 at 7:16 AM, Markku Saarela wrote: > org.apache.xbean:xbean-finder-shaded:jar:3.6 artifact MD5 checksum does not > match, so our Artifactory reject it's download. > > So where can i get original jar file? I wouldn't assume the jar is wrong without verifying the gpg signature.

RE: how to prevent the warnning:Sun proprietary API...

2010-01-27 Thread subir.sasikumar
Version of Java? Since there were other threads earlier which mentioned that such errors are not shown with JDK 1.6.0_17 and higher. Subir -Original Message- From: maven apache [mailto:apachemav...@gmail.com] Sent: Wednesday, January 27, 2010 7:41 PM To: maven user Subject: how to prevent

Maven central has corrupted artifact org.apache.xbean:xbean-finder-shaded:jar:3.6

2010-01-27 Thread Markku Saarela
Hi, org.apache.xbean:xbean-finder-shaded:jar:3.6 artifact MD5 checksum does not match, so our Artifactory reject it's download. So where can i get original jar file? rgds, Markku - To unsubscribe, e-mail: users-unsubscr...@

how to prevent the warnning:Sun proprietary API...

2010-01-27 Thread maven apache
Hi: When I use the command mvn compile,or mvn install the first time, I will get the warring: " is Sun proprietary API and may be removed in a future release". Then I use the same command again, it will build successfully,that's to say, although it show the warnning, the classes have been compi

Re: skip run of a plugin in a phase without changing pom.xml

2010-01-27 Thread Stephen Connolly
put it in a profile which is active by default 2010/1/27 Maruf Aytekin > Hi All > > Is there a way to not execute a maven ant run without being changeing > pom.xml. > > I have following setup: > > > >org.apache.maven.plugins >maven-antrun-plugin > > >

Re: skip run of a plugin in a phase without changing pom.xml

2010-01-27 Thread Adam Leggett (UPCO)
If its skipping execution of your task that's required, I expect you could wrap an antcontrib task around it. You'd probably need to add the antcontrib dependency to the antrun plugin so it can find the task too. Adam On Wed, 2010-01-27 at 13:32 +0200, Maruf Aytekin wrote: > Hi All > > Is ther

skip run of a plugin in a phase without changing pom.xml

2010-01-27 Thread Maruf Aytekin
Hi All Is there a way to not execute a maven ant run without being changeing pom.xml. I have following setup: org.apache.maven.plugins maven-antrun-plugin Findbugs_Run verify

Re: maven in ecipse

2010-01-27 Thread vijay shanker
Hi Adrian; What is folder. Can you describe it in details; I have been using M2eclipse for last on years. But have not got this term popped up to me Regards, Vijay Shanker Dubey On Wed, Jan 27, 2010 at 1:29 PM, Adrian Shum wrote: > I gotta admit, m2eclipse works like a charm! > > Except th

site:deploy hangs on chmod?

2010-01-27 Thread Bram Van Dam
G'day, I've got my pom configured to upload a site through SFTP: website sftp://f...@bar/site Doing a site:deploy works just fine, in the sense that the site gets uploaded. However, then a chmod is attempted and the whole thing hangs forevermore. Transfer finished. 4209 bytes copied i

Re: Configure External Repository Credentials in POM

2010-01-27 Thread Tomasz Pik
On Tue, Jan 26, 2010 at 11:01 PM, Brig Lamoreaux wrote: > > How can you set external repository credentials in the POM file? > > I know that you can create a settings.xml file with values below, but how can > I configure a POM file with username/password. I looked at > http://maven.apache.org/ma

title block broken in maven-site-plugin-2.1?

2010-01-27 Thread Marat Radchenko
Hi. I recently updated to maven-site-plugin-2.1 and suddenly page title block stopped working. My apt file [1] (didn't change it) now renders as [2]. Notice no page title and ugly "-- About -- Marat Radchenko -- 2009-04-09" line at top of page. Is it a regression bug in maven-site-plug

RE: Dependencies in multi-module project

2010-01-27 Thread subir.sasikumar
>>>If I simply add dependency in module "B"'s pom.xml -- it will use "A" from repository, and if I did not do "mvn deploy" there would not be one! If you build from Top Parent then Reactor will know what to compile first and second. Don't try to compile module B directly, in which case B resolves

RE: Dependencies in multi-module project

2010-01-27 Thread Adrian Shum
Don't worry, it will work as expected: If you have a multi-level project (X) which contains 2 modules A & B, and if you have B depends on A in POM, once you build X, it will help u to build A first and then B, and it will use the local copy of A when building B. "Using A from repository" will hap