Maven 3 + Gwt 2.1 project

2010-10-18 Thread Xavier Carpentier
Hey, I work to migrate Gwt project (2.1-SNAPSHOT version) to maven project and I have a problem on dependency. Exception : org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:1.2:compile (default) on project com.***.***.ui:

Re: Maven 3 + Gwt 2.1 project

2010-10-18 Thread kristian
is that your artifact-id ? artifactIdcom.***.***.sdk.ui/artifactId if yes than I would guess the ***.*** are the problem. regards, Kristian On Mon, Oct 18, 2010 at 2:50 PM, Xavier Carpentier x.carpent...@greenivory.com wrote:  Hey, I work to migrate Gwt project (2.1-SNAPSHOT version) to

Re: Maven 3 + Gwt 2.1 project

2010-10-18 Thread Olivier Lamy
Hi, This should more a question for mojo users. But I can answer here. The current gwt maven plugin need the gwt artifacts SNAPSHOT and this means the pom must contains a SNAPSHOT repository : https://oss.sonatype.org/content/repositories/google-snapshots/ But the mojo parent pom thru an enforcer

Re: Maven 3 + Gwt 2.1 project

2010-10-18 Thread Olivier Lamy
So I have added a temporary hack (until gwt 2.1.0 is released). gwt-maven-plugin 2.1-SNAPSHOT are now available in https://nexus.codehaus.org/content/groups/snapshots-group 2010/10/18 Olivier Lamy ol...@apache.org: Hi, This should more a question for mojo users. But I can answer here. The

Re: Maven 3 + Gwt 2.1 project

2010-10-18 Thread Ron Wheeler
Wrong version? groupIdcom.google.gwt/groupId artifactIdgwt-servlet/artifactId version${gwt.version}/version scoperuntime/scope groupIdcom.google.gwt/groupId artifactIdgwt-servlet/artifactId version${gxt.version}/version scoperuntime/scope Don't see 2.1.1 in Maven Central but do see 2.0.0 Is

Re: Maven 3 + Gwt 2.1 project

2010-10-18 Thread Xavier Carpentier
Hey, ${gxt.version} 2.1.1 it's GXT version : groupIdcom.extjs/groupId artifactIdgxt/artifactId version${gxt.version}/version typejar/type Not Gwt ! Bye, On 18/10/2010 13:53, Ron Wheeler wrote: Wrong version? groupIdcom.google.gwt/groupId artifactIdgwt-servlet/artifactId

RE: Maven 3.0 and checkstyle plugin

2010-10-18 Thread Thiessen, Todd (Todd)
Thanks Dennis. Its from the build section. More specifically, pluginmanagement. Thanks also for those links. I took a look at the compatibility matrix and for checkstyle there is this jira: http://jira.codehaus.org/browse/MCHECKSTYLE-123 Although it says it has been fixed as of 2.5. But the

Re: Error reading archetype catalog http://repo1.maven.org/maven2

2010-10-18 Thread Alexey Direct
Hi Marco. Did you have internet connection at this time? I'm tried your command on Maven 3 from box(without any user's config). It works fine. 2010/10/18 Marco Rossi mros...@gmail.com Hi, i'm newer with maven. I try to google but i don't fine the answer. Everytime i try a maven command,

Re: Error reading archetype catalog http://repo1.maven.org/maven2

2010-10-18 Thread Antonio Petrelli
2010/10/18 Alexey Direct alexeydir...@gmail.com: Hi Marco. Did you have internet connection at this time? And, are you behind a proxy? Did you set it in settings.xml? If yes, are you using an archetype plugin version prior to 2.0? The last question is about this bug:

Antwort: Re: RE: Maven *.ear build for SAP Web AS

2010-10-18 Thread torsten . reinhard
that´s our opinion too:-) But the problem still exists and the only way to fix that is using a sequence of ANT Tasks to manually repairt that.. Thanx anyway, Torsten Wayne Fay wayne...@gmail.com 10.09.2010 16:06 Bitte antworten an Maven Users List users@maven.apache.org An Maven

Re: Maven 3 + Gwt 2.1 project

2010-10-18 Thread Olivier Lamy
gwt.version2.1-SNAPSHOT/gwt.version which is in repositories !-- until gwt 2.1.0 gets final -- repository idgoogle-snapshots/id urlhttps://oss.sonatype.org/content/repositories/google-snapshots//url nameGoogle Web Toolkit Repository Snapshots/name releases

Re: Error reading archetype catalog http://repo1.maven.org/maven2

2010-10-18 Thread Marco Rossi
And, are you behind a proxy? Did you set it in settings.xml? Yes, i set it. Indeed i see my local repository increase If yes, are you using an archetype plugin version prior to 2.0? Honestly i don't know. I simply download maven 3.0, configure the proxy and try the simpler command mvn

clean then package error

2010-10-18 Thread 冯仁君
I'm new in using maven. when I try to package a helloworld maven program after I clean in the Eclipse IDE, it comes to an error. it says : [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project module: Compilation failure

Re: Error reading archetype catalog http://repo1.maven.org/maven2

2010-10-18 Thread Alexey Direct
Example: mvn help:describe -Dplugin=archetype, for more information : http://www.sonatype.com/books/mvnref-book/reference/installation-sect-help-plugin-install.html 2010/10/18 Marco Rossi mros...@gmail.com And, are you behind a proxy? Did you set it in settings.xml? Yes, i set it. Indeed i see

Re: Error reading archetype catalog http://repo1.maven.org/maven2

2010-10-18 Thread Marco Rossi
Ok, thanks. I have the version 2.0-alpha-5. Do you know how to update the release?

RE: Antwort: Re: RE: Maven *.ear build for SAP Web AS

2010-10-18 Thread Martin Gainty
Torsten I just took a quick glance at the cargo deployment containers and noticed SAP was missing Directory of $m2_home/src/main/java/cargo/trunks/core/containers: geronimo glassfish jboss jetty jonas orion resin

Re: clean then package error

2010-10-18 Thread MK Tan
Haven require jdk but you are refer to jre On Oct 18, 2010 8:46 PM, 冯仁君 frj1...@126.com wrote: I'm new in using maven. when I try to package a helloworld maven program after I clean in the Eclipse IDE, it comes to an error. it says : [ERROR] Failed to execute goal

Re: Error reading archetype catalog http://repo1.maven.org/maven2

2010-10-18 Thread Marco Rossi
Ok, now works (after reading the comments to http://jira.codehaus.org/browse/ARCHETYPE-202). It's amazing that's this bug is currently open (in the repository my version is the latest one [ http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/maven-archetype-plugin/ ]). Thanks

Re: Error reading archetype catalog http://repo1.maven.org/maven2

2010-10-18 Thread Antonio Petrelli
2010/10/18 Marco Rossi mros...@gmail.com: Ok, now works (after reading the comments to http://jira.codehaus.org/browse/ARCHETYPE-202). It's amazing that's this bug is currently open (in the repository my version is the latest one [

RE: Maven 3.0 and checkstyle plugin

2010-10-18 Thread Thiessen, Todd (Todd)
Solved it. The problem was I didn't include the configLocation tag in the build section. It was only included in the reporting section. Somehow, this used to work in 2.2.1. I guess Maven 3.0 is tighter in this regard ;-). -Original Message- From: Thiessen, Todd (Todd)

Maven and forked lifecycle

2010-10-18 Thread Luca DE PETRILLO
Hi, i would like to ask if there is some way to prevent a plugin to fork the Maven build without patch it. I ask this because, in some projects, I need to attach to the build phase some plugins that don't have the no-fork goals and, right now, them are forcing maven to re-executes whole build

overriding inherited properties: what's the semantics?

2010-10-18 Thread Stephan Herrmann
I've observed some unexpected behavior when a declaration in a parent pom uses a property that is overridden in a child pom. While waiting for parameterized mixins I'd love to know to what degree property overriding can actually simulate parameterization. Is this a FAQ? Were should I search

can clean plugin clean also local repository?

2010-10-18 Thread Daniele Dellafiore
Hi. It happens sometimes that something that should be broken in the build continue to work because use a old dependency in the repository. Btw works at half, but does not broke for the right reason or does not broke at all when it should. It happens for example after a refactoring of the

Re: can clean plugin clean also local repository?

2010-10-18 Thread Jesse Farinacci
Greetings, On Mon, Oct 18, 2010 at 11:14 AM, Daniele Dellafiore ilde...@gmail.com wrote: It should be nice to tell mvn clean plugin to clean the local reposotory as well. What do you think? There is a way to do this? If not, is a patch for it interesting?

Re: clean then package error

2010-10-18 Thread MK Tan
I should spell check before I sending this mail. Maven need jdk and not jre. And if possible please include environment variable called JAVA_HOME which point to your jdk installation directory 2010/10/18 MK Tan mktan...@gmail.com Haven require jdk but you are refer to jre On Oct 18, 2010

Re: Maven 3.0 and checkstyle plugin

2010-10-18 Thread Dennis Lundberg
Yes, I thought it might be something like that. It is actually the combination of Maven 3 and Maven Site Plugin 3 that is slightly different in how it handles a reporting plugin's configuration, as compared to Maven 2 and Maven Site Plugin 2.x. On 2010-10-18 15:29, Thiessen, Todd (Todd) wrote:

Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
Hi all, I got a quite strange problem with my tests. I have 3 tests that shall control some messages for the user. These messages contain some German umlauts (ä, ö, ü and ß). On my Ubuntu developer machine the tests run fine. On my SuSE integration server the tests fail. The assertions fail

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread per-henrik hedman
What are you running on your developer machine? Can you run it with Oracle JDK? Cheers, Per Hedman On Mon, Oct 18, 2010 at 8:51 PM, Andreas Simon andreas.si...@gmx.de wrote: Hi all, I got a quite strange problem with my tests. I have 3 tests that shall control some messages for the user.

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
Thank you for your reply! On my developer machine is Ubuntu 10.04. Same result when running Oracle JDK 1.6.0u21. What are you running on your developer machine? Can you run it with Oracle JDK? Cheers, Per Hedman On Mon, Oct 18, 2010 at 8:51 PM, Andreas Simonandreas.si...@gmx.de wrote:

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Anders Hammar
Have you verified that all Java files involved are in fact using UTF-8 char encoding (check on the machine where it fails!)? Check both source code and test code files. I don't think it's obvious that the are compiled with different encodings. The problem could maybe be that they are retrieved

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
I verified the source code and the test code file with Linux' file command. Both are identified as UTF-8 Unicode Java program text. I checked on the failing SuSE system. Am 18.10.2010 22:54, Anders Hammar wrote: Have you verified that all Java files involved are in fact using UTF-8 char

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread per-henrik hedman
Are you using property files in resources? Those could be stored differently. What are your default encoding on your machines? It could be that some of the behavior, eg the different configurations that you are using aren't used and then it falls back to default behavior. Another thing can be

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
The application is not internationalized, so I don't use property files in the test code or tested code. The $LANG variable is de_DE.utf8 on both machines. Sorry, I didn't catch your last point. Am 18.10.2010 23:30, per-henrik hedman wrote: Are you using property files in resources? Those

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread per-henrik hedman
If you encode/decode one too many times you could get some weird behavior, like Ü(default)- Ü(utf8) - Ü(utf8)(utf8) and this one could be unreadable. Does both shell/java read that variable? As I remember those parameters, $LANG, could be used differently on different linus-dists... Cheers, Per

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Andreas Simon
I thought that Maven simply compiles the source file to a class file, so it's one chance for re-encoding. I'm not so good at Linux internals. Is there another variable or setting that I could check? If you encode/decode one too many times you could get some weird behavior, like Ü(default)-

Re: Now seriously: how can I manage dependencies of own projects with maven

2010-10-18 Thread Zac Thompson
On Fri, Oct 15, 2010 at 6:34 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: I just set up a big fat aggrigator for each of the test everything together projects that I want to run CI over. I use svn:externals to check everything out and then two maven builders, first to update the

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread Wayne Fay
I'm not so good at Linux internals. Is there another variable or setting that I could check? mvn -X package (or compile, or another phase) might tell you more info about what Maven (and its various plugins) are doing. Wayne -

Re: clean then package error

2010-10-18 Thread 冯仁君
yes,I know. but I have set the JAVA_HOME pointing to the directory of JDK. and when I run package without clean before, it works well. if I run clean, and then package, it's error! -- From: MK Tan mktan...@gmail.com Sent: Monday, October 18, 2010

Re: clean then package error

2010-10-18 Thread Anders Hammar
You're doing tis from Eclipse/m2eclipe, right? Not command line? Is you're Eclipseset up to use a JDK? http://tech.karolzielinski.com/m2eclipse-eclipse-is-running-in-a-jre-but-a-jdk-is-required /Anders 2010/10/19 冯仁君 frj1...@126.com yes,I know. but I have set the JAVA_HOME pointing to the