Re: Properties/Variables in pom?

2006-11-09 Thread Gunther Popp
Hi! AFAIK, this only works _within_ the POM itself (i.e. in the configuration section of plugins). I don´t know if it works for the file-filtering stuff. CU, Gunther Gareth Tilley schrieb: Hi All, Gunther Popp-2 wrote: - All (platform-specific) Environment variables (Just add the

[ANN] New Maven 2 book (only available in German)

2006-10-28 Thread Gunther Popp
Hi! I just want to inform you that my new book "Konfigurationsmanagement mit Subversion, Ant und Maven" is now available. As you might have guessed from the title, the book is probably only interesting for the German-speaking members of the list (sorry for that, maybe a English translation wi

[M2] Repeatable builds and plugin versions

2006-05-17 Thread Gunther Popp
Hi! I've seen several threads in the archive discussing reproducible builds, but didn't find an answer to the following issue: A few days ago, a number of M2 plugins have been updated in the repository. One of those updates, the new site-plugin, broke my existing build. In V2.0-beta-4 one cou

Re: Plugin repository issue

2006-04-19 Thread Gunther Popp
How did you initialize your plugin repository? If you copied the files from your local repository, you have to rename the metadata-files in the plugin-repository. Details are described here: http://www.nabble.com/Re%3A-Internal-%28intranet%29-repositories-p3876819.html Gunther Mark Misurak

Re: use of proxies

2006-04-14 Thread Gunther Popp
RepositoryLists()). CU, Gunther Gunther Popp schrieb: You´re right, of course. The mirrors setting is stricter than adding just a new central-repository inside the pom. However, one can only define mirrors in settings.xml. This is, IMO, problematic. If a new developer joins the team, checks

Re: use of proxies

2006-04-14 Thread Gunther Popp
http://localhost/mvnrepos/lib central . . If you use in your pom instead of a mirror setting, maven will add your repo in the search list but won't replace repo1 by your own repo. Emmanuel Gunther Popp a écrit : Well, Hacks are sometimes the way to go ... :-) Maybe a fu

Re: use of proxies

2006-04-14 Thread Gunther Popp
only search my internal repo On 4/14/06, dan tran <[EMAIL PROTECTED]> wrote: Did i mention it is a hacked solution? :-) BTW, the way m2 shows build output is very confused, when an missing artifact occurs, it shows repo1 got searched first. -D On 4/14/06, Gunther Popp <[EMAIL PROT

Re: use of proxies

2006-04-14 Thread Gunther Popp
so I´m not sure if this is really better. Gunther dan tran schrieb: this is a hacked solution, fixup your hosts file and route repo1.apache.orgto your internal host -D On 4/14/06, Gunther Popp <[EMAIL PROTECTED]> wrote: Hmm, I´ve been monitoring this thread (and it´s predecessor

Re: use of proxies

2006-04-14 Thread Gunther Popp
g: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-javadoc-plugin/2.0-beta-3/maven-javadoc-plugin-2.0-beta-3.pom -Original Message- From: Gunther Popp [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 1:51 PM To: Maven Users List Subject: Re: use of proxies The first

Re: Remove mavern folder in META-INF

2006-04-13 Thread Gunther Popp
I had the same issue with jars and am currently using the 2.1-SNAPSHOT of the jar-plugin to exclude the pom.xml and pom.properties from the generated file. One problem with the included pom is that it contains a version number (in my case 1.2.0-SNAPSHOT). I am running an integration build every

Re: use of proxies

2006-04-13 Thread Gunther Popp
The first question is: why? Sorry, for jumping in here, but a common reason is to guarantee reproducible builds over a fairly long period of time. For example, the systems I´m engaged with have a typical lifetime of 15-20 years. When the software is considered stable after initial development

Re: Internal (intranet) repositories

2006-04-12 Thread Gunther Popp
- Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom But I can see this: http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom What am I doi

Re: Internal (intranet) repositories

2006-04-08 Thread Gunther Popp
I´m by far any expert in the Maven source code, but as far as I understand the implementation the repos defined in your pom will be checked first. If your pom contains no repo with the id "central", the default repos defined in the "Super-POM" pom-4.0.0.xml will be searched next. Then all repos

[M2] Replacing central repository doesn?t wo rk for certain plugins/components

2006-04-07 Thread Gunther Popp
Hi everybody, I successfully replaced the standard-repo of Maven with two internal repositories (one for plugins, one for "normal" dependencies). My own repositories both use the id "central" and overwrite the internal defaults defined in the super-pom. However, I noticed that sometimes arti

Re: [m2] Exceptions when executing the surefire-report-maven-plugin

2006-03-24 Thread Gunther Popp
Hi Thorsten! 0x8 is a control character (Backspace?) and not allowed in XML files. The only exception to this are tab (0x9), CR and LF. Check the XML file using a hex editor or XML Spy for the exact location of the invalid character. CU, Gunther ---

Re: Properties/Variables in pom?

2006-03-20 Thread Gunther Popp
Hi Andreas! Take a look at the Getting Started Guide (http://maven.apache.org/guides/getting-started/index.html), section "How do I filter resource files?". It explains how to reference the elements of the pom.xml/settings.xml using property-names. I´m currently working on a book that covers

Re: MAVEN_OPTS - Is there a overview page

2006-03-19 Thread Gunther Popp
Right, user.language and user.country are used by the Java Locale class (which is part of the JDK and hence not specific to maven. For details, take a look at http://java.sun.com/j2se/1.5.0/docs/api/java/util/Locale.html. CU, Gunther Andreas Guther schrieb: I see. Something like "MAVEN_OPT

Re: [m202] NumberFormatException when using the surefire report plugin

2006-03-15 Thread Gunther Popp
Hi Thorsten! This error is indeed caused by the german locale. Simply change the locale that Maven uses (on Windows): set MAVEN_OPTS=-Duser.language=en -Duser.country=US CU, Gunther - To unsubscribe, e-mail: [EMAIL PROTECTE