Re: Building Dependencies

2008-12-30 Thread John Stoneham
On Mon, Dec 29, 2008 at 7:25 AM, Ram Mohan wrote: > My question is: > while building M1, is there a plugin/way to tell in pom.xml to build M2 and > M3 if there are changes in M2 and M3. > From the parent project level this can be ensured, is it possible to do this > using M1's POM. Ram, I suspec

Re: Problem with scp and known_hosts file

2008-12-30 Thread Dan Tran
another work around is to use scpexe -D On Tue, Dec 30, 2008 at 2:42 PM, Dan Tran wrote: > You can help speeding up the fix by fixing it yourself by cutting a > internal release of wagon-ssh-beta-2+ and load it thru maven's > extensions to see if the problem goes away. > > To make a quick fix, j

Re: Problem with scp and known_hosts file

2008-12-30 Thread Dan Tran
You can help speeding up the fix by fixing it yourself by cutting a internal release of wagon-ssh-beta-2+ and load it thru maven's extensions to see if the problem goes away. To make a quick fix, just comment out the place where knowhosts file is rewritten -D On Tue, Dec 30, 2008 at 1:52 PM, Lar

Re: Problem with scp and known_hosts file

2008-12-30 Thread Larry Shatzer, Jr.
Thank you for confirming this. Filed at http://jira.codehaus.org/browse/WAGON-253 -- Larry On Tue, Dec 30, 2008 at 2:33 PM, Dan Tran wrote: > I can confirm that, the known_hosts file is rewritten for each ssh > connection. I can also confirm with the wagon code > ( 1.0-beta-4 ) thru debugger.

Re: Problem with scp and known_hosts file

2008-12-30 Thread Dan Tran
I can confirm that, the known_hosts file is rewritten for each ssh connection. I can also confirm with the wagon code ( 1.0-beta-4 ) thru debugger. So it has true potential of ssh connection collision when you have multiple current maven deploy builds Please file a bug a against wagon -Dan On

Re: Simple question I think - how can I default to local repo if connection to internal repository is down?

2008-12-30 Thread Tim
Use the offline flag On Tue, Dec 30, 2008 at 1:31 PM, Rick wrote: > I've googled this and tried to search the archives but it's hard to > get a direct hit. > > We are using an internal repository but if for some reason that > repository goes down, isn't there a way the maven build can still > pr

Simple question I think - how can I default to local repo if connection to internal repository is down?

2008-12-30 Thread Rick
I've googled this and tried to search the archives but it's hard to get a direct hit. We are using an internal repository but if for some reason that repository goes down, isn't there a way the maven build can still proceed using the files in the user's local repository (assuming of course the pom

Problem with scp and known_hosts file

2008-12-30 Thread Larry Shatzer, Jr.
I have a Bamboo instance running quite a few builds using maven deploying the artifacts to an internal maven repository using scp. On occasion some of them seem to hang with "The authenticity of host HOSTNAME can't be established." We have to end up stopping the build, and restarting it. Looking ov

Generating project from archetype

2008-12-30 Thread pawan gandhi
Hi Everyone, I have a query regarding generating a project from my own developed archetype. The proj directory struture is like Proj--->component |-->conf |>sample Currently the archetype is prompting for values like artifactId, svnURL and few more. Till now it doing we

Re: maven with different source directory

2008-12-30 Thread Wendy Smoak
On Tue, Dec 30, 2008 at 9:47 AM, idan72 wrote: > I have project of RFT where the source code is under two directories : com , > resources . > Both directories include java source code and other files generated by RFT. > > How can I compile both directories into the target directory ? > Can I tell

maven with different source directory

2008-12-30 Thread idan72
Hi, I have project of RFT where the source code is under two directories : com , resources . Both directories include java source code and other files generated by RFT. How can I compile both directories into the target directory ? Can I tell maven to put the .class file in the same splace as th

Dynamic dependencies?

2008-12-30 Thread Lewis, Eric
Hi I have a bit of a special problem. I want to use a Maven wrapper around an existing Eclipse PDE build, and this must be again deployed as Webstart application. Now, I can call the PDE build, and it builds its stuff under target/deploy/${project.artifactId}-${project.version}-${timestamp}/, and

Re: resources with different encodings

2008-12-30 Thread Alex Milanovic
Doesn't work. A resource cannot specify the encoding, only the resource plugin can. I've googled this but haven't found anything useful. Strangely, I haven't had any problems with the encoding-unaware setup even though in theory I should have had problems. I have XML files in UTF-8 and Java propert

RE: Proper use of checkstyle's xrefLocation for aggregated jxr report

2008-12-30 Thread Jon Ekdahl
" My question is: How can I configure the checkstyle plugin so that the checkstyle report of the subprojects reference the jxr report of the module project in the parent folder?" Robert, that's what I'd like to now also. I've been pulling my hair for a day now trying to make sense of the xre

Surefire loads old version of lib where my tests depend on a newer one

2008-12-30 Thread FloFH
Hi all, maybe somebody has an idea on how to solve this one: My tests depend on commons-lang 2.4. When running my tests with surefire in the manifest-only-jar-mode, the classpath in the jar is contains commons-lang twice: - Once commons-lang-2.1 at the top with all the other surefire stuff as a

It's works, but I don't understand why...

2008-12-30 Thread Rémy
Hello, I use the goal resources:copy-resources of the Maven Resources Plugin. This goal doesn't exist in the 2.2 version, so I define this in the child pom.xml org.apache.maven.plugins maven-resources-plugin 2.3 copy-resources validate c

Re: Installing assembled zip of a multi-module project

2008-12-30 Thread Johan Lindquist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Bahri, I use dependencySets instead of modules - unfortunately never tried the moduleSets. A little stumped at this stage. Cheers, Johan Bahri Gençsoy wrote: > I cannot copy&paste, writing necessary parts by hand: > > > > > >

Re: classpath question

2008-12-30 Thread Linghua Wang
Hi, I have not tried additional classpath feature in maven2. I am not sure whether you load your xml file as following? InputStream inputStream = YourClass.class. getResourceAsStream("The relative PATH of your XML file"); Thanks. Linghua 2008/12/28 Neo Anderson > I am build a project and tha