Snapshots with and without timestamps

2008-01-28 Thread Dietrich Schulten
, but maven-dependencies does not understand that the latest snapshot is already in the local repository, it insists on the xx-SNAPSHOT naming. My second question: should it be archiva's task to provide a copy of the latest timestamped snapshot named xx-SNAPSHOT? Cheers Dietrich -- Dietrich

Blocking unauthorized repository access through web interface

2007-10-08 Thread Dietrich Schulten
account and self-registration, however this seems impossible. Any hints? -- Dietrich Schulten Project Manager Email: [EMAIL PROTECTED] SIC! Software GmbH Ferdinand-Braun-Str. 1 D-74074 Heilbronn Mobil: (+49) 0176 12191201 Telefon: (+49) 07131 9199110 Telefax: (+49) 07131 9199435 www.sic

Missing repository in trunk build

2007-10-05 Thread Dietrich Schulten
Hi, I could not build because jta and connector were missing. I added http://download.java.net/maven/2/ to the main pom repositories, and it works. Regards Dietrich -- Dietrich Schulten Project Manager Email: [EMAIL PROTECTED] SIC! Software GmbH Ferdinand-Braun-Str. 1 D-74074

Re: Archiva build failure on missing archiva applet

2007-10-05 Thread Dietrich Schulten
also have a Continuum instance set up to build / test archiva when new code is detected in the subversion repository. Now, as for the HTTP 507 issue. That's been fixed in the past 2 weeks in archiva/trunk. See http://jira.codehaus.org/browse/MRM-243 - Joakim Dietrich Schulten wrote: I'm

Re: Archiva build failure on missing archiva applet

2007-10-05 Thread Dietrich Schulten
Stupid indeed... http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html Dietrich Schulten schrieb: Sorry for the stupid question - how can I force mvn to build with an installed JDK 5 in spite of an installed JDK 6 and a current JRE 6? I mean without

Forced login

2007-10-05 Thread Dietrich Schulten
Hi, I want to disallow repository browsing through the archiva webinterface for users which are not logged in. I tried to take away the guest role from guest, but that does not work. How do I force users to log in? Regards Dietrich -- Dietrich Schulten Project Manager Email: [EMAIL

Re: Forced login

2007-10-05 Thread Dietrich Schulten
Oh well, and of course how do I disable self-registration? Dietrich Schulten schrieb: Hi, I want to disallow repository browsing through the archiva webinterface for users which are not logged in. I tried to take away the guest role from guest, but that does not work. How do I force users

Archiva build failure on missing archiva applet

2007-10-04 Thread Dietrich Schulten
/maven/2/), central (http://repo1.maven.org/maven2) -- Dietrich Schulten Project Manager Email: [EMAIL PROTECTED] SIC! Software GmbH Ferdinand-Braun-Str. 1 D-74074 Heilbronn Mobil: (+49) 0176 12191201 Telefon: (+49) 07131 9199110 Telefax: (+49) 07131 9199435 www.sic-software.com

Re: Can a Mojo configure another Mojo?

2006-12-04 Thread Dietrich Schulten
Just to close this thread, I managed to configure the compiler plugin from within my initialize-phase Mojo like so: Xpp3Dom dom = null; List plugins = project.getBuildPlugins(); Plugin plugin = null; if ( plugins != null) { for ( Iterator iterator = plugins.iterator(); iterator.hasNext(); )

Re: Testing Harness Exception

2006-12-04 Thread Dietrich Schulten
The first parameter to lookupMojo() must be a goal, not an artifact - in your case generate should get your Mojo. HTH Dietrich Ole Ersoy schrieb: Hi, I'm trying to use the testing harness and I get this exception: org.codehaus.plexus.component.repository.exception.ComponentLookupException:

Can a Mojo configure another Mojo?

2006-12-02 Thread Dietrich Schulten
Hi, is it possible to change the configuration of one Mojo from another Mojo which runs earlier in the build process? What I want to do is to set the bootclasspath of the compiler Mojo dynamically for the J2ME plugin, using the Unified Emulator Interface (UEI) to determine the current

Can a Mojo configure another Mojo?

2006-12-02 Thread Dietrich Schulten
Hi, is it possible to change the configuration of one Mojo from another Mojo which runs earlier in the build process? What I want to do is to set the bootclasspath of the compiler Mojo dynamically for the J2ME plugin, using the Unified Emulator Interface (UEI) to determine the current

Cannot add groupId org.springframework for relocated springframework

2005-11-30 Thread Dietrich Schulten
Hi, I have problems referring to springframework. Springframework is being moved on ibiblio. Two problems: 1. The old version-specific poms on ibiblio have been changed, they now only contain a relocation section instead of the dependencies. However, they do not contain a modelVersion, so mvn

Where do I find a war dependency

2005-11-25 Thread Dietrich Schulten
Hi, we want to write httpunit tests for a deployed war file. How should we proceed? Obviously we cannot put the tests into the project that creates the war artifact since we cannot test without the war file, and with failing tests the war cannot be created. We came up with the idea to create

Setting an arbitrary property for a plugin within its configuration

2005-11-22 Thread Dietrich Schulten
Hi, I always need to run the eclipse plugin with a certain profile (some common resources must be ignored). We defined a build profile that does not define this resource and activate it using a role property on the commandline, like so: mvn eclipse:eclipse -Drole=eclipse Is it possible to

Blame mechanism

2005-11-22 Thread Dietrich Schulten
Hi, where can I find more information about continuum's blame mechanism? What exactly does it achieve and how do I have to configure it? Regards, Dietrich

[M2] Using a common file for all child projects with Eclipse

2005-11-16 Thread Dietrich Schulten
Hi, we try to use one log4j.properties for all subprojects of a master pom in such a way that it also works with the eclipse plugin. We have this in the master pom: build resources resource directory..//directory includes includelog4j.properties/include /includes /resource /resources ... The

[M2] Deploying maven-proxy war into Continuum?

2005-11-11 Thread Dietrich Schulten
Hi, I'm new to maven-proxy. I have a maven-proxy that runs standalone and pointed to it in the repositories section of the POM. This works, but I want to try and run maven-proxy as web application. Im trying to avoid several independent server processes on the machine: a continuum jetty and a

[M2] eclipse-plugin: whitespace in servlet container entry breaks eclipse configuration

2005-11-10 Thread Dietrich Schulten
Hi, mvn eclipse:eclipse always killed my servlet container configuration in Eclipse, now I know why. For wtp you must set the following plugin configurations: classpathContainers java.lang.String org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat

[M2] Probs with war:inplace and eclipse wtp

2005-11-10 Thread Dietrich Schulten
I observed two problems with war:inplace and eclipse in a multi-project, that lead a) to concurrent jar versions in the .deployables webapp context. b) to webapp folders in projects that are no webapps at all a) I always run eclipse:eclipse from the top level, so the dependencies are added as

Re: mvn site for parent does not create site info for children?

2005-11-08 Thread Dietrich Schulten
parent and modules is due for 2.0.1 : http://jira.codehaus.org/browse/MNG-661 Regards, Yann --- Dietrich Schulten [EMAIL PROTECTED] a écrit : Hi, does the site plugin only work for single projects or can I use it with a parent POM to create a site for the whole project tree? mvn site

[M2] How to add generation-only dependencies like junitdoclet

2005-11-08 Thread Dietrich Schulten
Hi, some dependencies are used as external tools for generation only, for instance junitdoclet. They are not needed in the distribution. The scopes compile, test, runtime do not suffice as it seems. What is best-practice to use such tools with Mvn? Regards, Dietrich

mvn site has problems with invalid pom for runtime dependency

2005-10-31 Thread Dietrich Schulten
When I run mvn site on my project, it stops with a fatal error: [INFO] Can't find a valid Maven project in the repository for the artifact [comm ons-dbcp:commons-dbcp:1.2.1]. [INFO] - --- [INFO] Trace

Children cannot find master pom in local repo

2005-10-28 Thread Dietrich Schulten
Hi, I have several projects and try to build them with a master POM containing an artifactId proj-master. The master contains module entries for each of the children. The children POMs point back to the master in a parent element. All projects have the same groupID. I used mvn install on the

Re: Children cannot find master pom in local repo

2005-10-28 Thread Dietrich Schulten
Below you find the output, the master pom and the child pom. Johnny R. Ruiz schrieb: Hi, Please post the build results, it will be easier to see what's causing the error. The build output within a sub-project: $ mvn compile [INFO] Scanning for projects... [INFO]

Re: [M2] Eclipse WTP Web app libraries

2005-10-21 Thread Dietrich Schulten
I've made some progress, see below: Dietrich Schulten schrieb: Hi Fabrizio, thank you for your quick reply. Comments inline. Fabrizio Giustina schrieb: On 10/18/05, Dietrich Schulten [EMAIL PROTECTED] wrote: how does the m2 eclipse plugin determine the path where it looks for web app

Re: [M2] Eclipse WTP Web app libraries

2005-10-18 Thread Dietrich Schulten
Hi Fabrizio, thank you for your quick reply. Comments inline. Fabrizio Giustina schrieb: On 10/18/05, Dietrich Schulten [EMAIL PROTECTED] wrote: how does the m2 eclipse plugin determine the path where it looks for web app libraries when used for dynamic web projects? if you run m2 eclipse

[M2] Eclipse WTP Web app libraries

2005-10-17 Thread Dietrich Schulten
Hi, how does the m2 eclipse plugin determine the path where it looks for web app libraries when used for dynamic web projects? I have the problem that eclipse complains about a missing WEB-INF/classes classes folder, which seems to come from a Web app library [artifact] containing a