Re: Java Version

2008-08-04 Thread Michael McGrady
Thank you all very much. Nice and easy. Mike Michael McGrady Senior Engineer [EMAIL PROTECTED] 1 (253) 720-3365 "I don't understand why people are frightened by new ideas. It's the old ideas that frighten me." -- John Cage On Aug 4, 2008, at 8:59 PM, Upul Godage wrote: Maven java c

Re: nexus unable to download artifacts

2008-08-04 Thread freak182
Hello, Tnx for the help. it is already working. i just try it to my local pc. i will try to test it in our company asap. Brian E Fox wrote: > > Did you use a mirrorOf *? What is the exact error you get? > > > On 8/1/08 12:10 AM, "freak182" <[EMAIL PROTECTED]> wrote: > >> >> >> Hello, >>

Re: Java Version

2008-08-04 Thread Upul Godage
Maven java compiler plugin's default source setting is 1.3. One way is to override it in the pom.xml as follows. http://maven.apache.org/POM/4.0.0"; xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation= "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0

Re: Java Version

2008-08-04 Thread Stuart McCulloch
2008/8/5 Michael McGrady <[EMAIL PROTECTED]> > I set up maven as directed and it worked great yesterday. Today, not so > great. Today it complains that Java 1.3 does not handle generics, but I am > using Java 1.5. The mvn --version shows I am using Java 1.5: > > Maven version: 2.0.9 > Java vers

Fwd: Java Version

2008-08-04 Thread Michael McGrady
The stack trace with -e is: [INFO] [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure at org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 57

Java Version

2008-08-04 Thread Michael McGrady
I set up maven as directed and it worked great yesterday. Today, not so great. Today it complains that Java 1.3 does not handle generics, but I am using Java 1.5. The mvn --version shows I am using Java 1.5: Maven version: 2.0.9 Java version: 1.5.0_13 OS name: "mac os x" version: "10.5.4"

maven embedder provided properties?

2008-08-04 Thread Lachlan Deck
Hi there, just wondering if there's any properties made available to the maven embedder when inside eclipse? I'm wondering as I'd like to have a profile that's activated if detected that it's running within eclipse. Just trying to save having to define the profile within the gui for each

Re: what happened to the plugin snapshots....

2008-08-04 Thread Brett Porter
You shouldn't be using 2.4-collab snapshots - the 2.4 releases have superceded that. If they aren't working, please let us know. Some of the snapshots shouldn't have been deleted, but by the same token they aren't releasing and you shouldn't depend on them. As above, please let us know if there ar

Re: what happened to the plugin snapshots....

2008-08-04 Thread Wendy Smoak
On Mon, Aug 4, 2008 at 4:10 PM, Patrick Moore <[EMAIL PROTECTED]> wrote: > What happened to all the maven plugin snapshots such as > maven-surefire-2.4-collab ? > > It seems that al snapshots are gone... Not all of them, but the ones over 30 days old were deleted recently. Was 2.4-collab a branc

RE: Unable to update index for central

2008-08-04 Thread Brian E. Fox
This was a bug in the backup script on central. It's fixed now. -Original Message- From: todd white [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 10:39 AM To: users@maven.apache.org Subject: Unable to update index for central I was happily using m2eclipse, then one day my inde

RE: Default versions of the plugins downloaded

2008-08-04 Thread Brian E. Fox
See here for a detailed explanation: http://blogs.sonatype.com/brian/2008/04/10/1207873624557.html -Original Message- From: Balasubramanian, Ravi Shankar [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 7:18 PM To: Maven Users List Subject: Default versions of the plugins downloade

RE: what happened to the plugin snapshots....

2008-08-04 Thread Brian E. Fox
Looks fine to me: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Moore Sent: Monday, August 04, 2008 8:05 PM To: Maven Users List Subject: Re: what happened to the plu

Re: what happened to the plugin snapshots....

2008-08-04 Thread Patrick Moore
Specifically : http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/pluginsseems to have been emptied with no forwarding address :-( On Mon, Aug 4, 2008 at 4:10 PM, Patrick Moore <[EMAIL PROTECTED]> wrote: > Hi --- > > What happened to all the maven plugin snapshots such as >

Re: Default versions of the plugins downloaded

2008-08-04 Thread Geoffrey Wiseman
On Mon, Aug 4, 2008 at 7:18 PM, Balasubramanian, Ravi Shankar < [EMAIL PROTECTED]> wrote: > Hi all, > When we dont specify the version of a plugin to be downloaded in our > pom, does maven default to the latest version of the plugin that is > available ? Precisely, i am using the maven surefire pl

Default versions of the plugins downloaded

2008-08-04 Thread Balasubramanian, Ravi Shankar
Hi all, When we dont specify the version of a plugin to be downloaded in our pom, does maven default to the latest version of the plugin that is available ? Precisely, i am using the maven surefire plugin in my projects and want to know if the latest will be downloaded if i dont specify the versio

what happened to the plugin snapshots....

2008-08-04 Thread Patrick Moore
Hi --- What happened to all the maven plugin snapshots such as maven-surefire-2.4-collab ? It seems that al snapshots are gone... -- Patrick Moore

Re: Is there an analog of ant's macrodef in maven?

2008-08-04 Thread Stephen Connolly
Wrap it up in a plugin and just use your plugin On Mon, Aug 4, 2008 at 7:55 PM, vicki <[EMAIL PROTECTED]> wrote: > > Hi, > is there an analog of ant's macrodef in maven? I have a lot of redundant > functionality in my maven's pom dedicated to different integration testing > setups. Now I keep dif

RE: rename files in directory and subdirectory

2008-08-04 Thread Martin Gainty
Isaak- copy maven-antrun-plugin and then delete the old.folder maven-antrun-

parent pom property access

2008-08-04 Thread Ryan Ovrevik
Is there any way to set a dynamic property in a parent pom and have the value visible in child poms? I have tried using the maven-ant plugin and ant properties and messing with profiles with no luck. I have seen similar posts but was not able to find a solution. The specific use case that I am

Is there an analog of ant's macrodef in maven?

2008-08-04 Thread vicki
Hi, is there an analog of ant's macrodef in maven? I have a lot of redundant functionality in my maven's pom dedicated to different integration testing setups. Now I keep different setups in different profiles - but the pom is becoming huge. So, I would like to specify a task like launching cargo

How can I specify manifest in was6-maven-plugin "ejb:ejb"???

2008-08-04 Thread sairndain
Hi QUESTION: How can I specify manifest in was6-maven-plugin "ejb:ejb"??? I need to include two(2) jars in the manifest. Although I place my custom MANIFEST.MF file in the ejb project's src/main/resources/META-INF directory, it does not get used by the was6-maven-plugin. Instead, the was6

Re: Using a Pleus component in a plugin

2008-08-04 Thread Tibor Kiss
Hi! I would like to use the following code to extract an EAR and all of its jars inside a Mojo. /** * The archive manager. * @component * @required */ private ArchiverManager archiverManager; UnArchiver unArchiver = archiverManager.getUnArchiver( "zip" )

RE: Problem with dependencies report generation during site:site

2008-08-04 Thread Krishnamurthi, Venkat
Thanks for your feedback Dennis.. We were able to resolve this issue, when we commented out this particular dependency: > > com.sun > tools > 1.5 > system > ${java.home}/../lib/tools.jar > > However, we are unabl

Unable to update index for central

2008-08-04 Thread todd white
I was happily using m2eclipse, then one day my indexes quit updating. I'm not sure what caused it... I've tried the following: a) deleted and recreated index entry in Maven Indexes tab b) deleted the \.metadata\.plugins\org.maven.ide.eclipse\nexus\central c) removed and reinstalled m2eclipse plug

rename files in directory and subdirectory

2008-08-04 Thread IsaakTaylor
Hello, I have a directory with some subdirectories (and they have also subdirectories). They contain about 260 files. I need to rename some of the files. I don't want to rename every file separate. Is there a ant way to do this? I looked up at ant move, but I think its not possible with the move

Re: tomcat webapp and eclipse

2008-08-04 Thread Kalle Korhonen
Both Q4E and m2eclipse plugins (for Maven support in Eclipse) do resource filtering. I suppose you could point to the webapp target directory for src/main/webapp and then use that as a context, but in general I think filtering all of your webapp resource files is a bad idea (because I imagine it'd

Re: tomcat webapp and eclipse

2008-08-04 Thread Istvan Devai
Hi Johan, I've tried this. I've configured Jetty as a WTP server and added a Jetty context file to point to /target/myapp-1.0-SNAPSHOT. It worked, however, if I edited a random .html file in Eclipse, these changes were not copied to /target/myapp-1.0-SNAPSHOT, only after I ran mvn package. Ho

Re: I18N

2008-08-04 Thread Peter Karich
Hi again! I think you are referring to Maven 1.x documentation. Have a look at http://maven.apache.org/guides/mini/guide-site.html, it has an Internationalization section at the end which describes how to setup a multi-language site. Okay, with the described method it is easy to let the langu

Re: maven 2 version says - ( generics are not supported in -source 1.3)

2008-08-04 Thread Manos Batsis
sandyg wrote: Hi all, Am using maven 2 version. And when am running mvn compile , i am getting error that generics are not supported in -source 1.3 (try -source 1.5 to enable generics). But in my system i had only java 1.5 version. Then where it had gone for

maven 2 version says - ( generics are not supported in -source 1.3)

2008-08-04 Thread sandyg
Hi all, Am using maven 2 version. And when am running mvn compile , i am getting error that generics are not supported in -source 1.3 (try -source 1.5 to enable generics). But in my system i had only java 1.5 version. Then where it had gone for java 1.3 and say

Assembly Plugin: How to copy files and preserve filesystem attributes (Mac OSX)

2008-08-04 Thread daniel309
Hi all, Im trying to add a Mac OSX native application to the assembly (zip) of my application. The .app is build by XCode, I just need to copy the result over into the assembly using a "" (with false) in the assembly descriptor. The problem however is that OSX filesystem attributes and custom fold

Re[2]: Maven gurus, may be I do not understand something ...

2008-08-04 Thread Vic
It works, but we have to support it and now we just would like to measure costs of migration to maven. So it would be nice if you can explain me how we could map our developement process to maven. Thanks > If it is not broken, don't fix it! > > What you have sounds like it works for you a

Re: checkstyle

2008-08-04 Thread Alexander Vaysberg
Hi, it's simple, you must regexp for this write. The text sample can you in maven checkstyle plugin see. Alexander Vaysberg. Dennis Lundberg schrieb: What is it you want? The license for the Checkstyle product? Morgovsky, Alexander (US - Glen Mills) wrote: Could someone please supply me a d

Re: tomcat webapp and eclipse

2008-08-04 Thread Istvan Devai
Hi Kalle, Thank you for your reply. Yesterday I spent a few hours tinkering with various setups and realized that mvn jetty:run basically works in the way you described below (classes from /target/classes, webapp resources from /src/main/webapp). This works nicely, and - as you kindly describ