RE: Admin account locked

2008-04-07 Thread MATHUS Baptiste
Hi, I'm stuck once more with this problem. Restarting archiva doesn't help. This might be because I'm not restarting it using standard run script (no wrapper for my platform : IBM Aix). As I directly use plexus.sh script to start, I have to kill archiva when I want to restart it... Do you

RE: Admin account locked

2008-04-07 Thread MATHUS Baptiste
OK, For the record: after killing Archiva (btw, if you have a better alternative than killing it, I'd be delighted to know about it. I have to use the exactly same approach to manage continuum...), go to $ARCHIVA_HOME/data/ recursively delete any .lck did the trick. $ rm -i `find data/ -name

Add Custom Pages

2008-04-07 Thread Doron Solomon
Hi, I'm wondering if there's a way to add custom pages to archiva, including adding links to such pages in the left-side menu. The pages don't necessarily need any functionality, just to be able to display information to users (e.g. help, about pages). If this is possible, how is it done? If

Re: out put from POM

2008-04-07 Thread Aleksander Valtyshev
Some debug information(like whether particular phases are executed or not), I've noticed one of the plugins uses fail/fail, but I just need something like log/log. I'm having slight problems learning maven... On 7 Apr 2008, at 07:52, Wayne Fay wrote: I suppose you could do something with

Re: Best practices for java version?

2008-04-07 Thread Milos Kleint
On Tue, Apr 1, 2008 at 1:54 AM, Dirk Olmes [EMAIL PROTECTED] wrote: Milos Kleint wrote: On Mon, Mar 31, 2008 at 2:57 AM, Dirk Olmes [EMAIL PROTECTED] wrote: Milos Kleint wrote: check the toolchains proposal that is supposed to address this issue.

How change location of settings.xml

2008-04-07 Thread author
Now settings.xml is in {maven.folder}/conf. Yjw can i change this default locations? Thanks!!! -- View this message in context: http://www.nabble.com/How-change-location-of-settings.xml-tp16535853s177p16535853.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: How change location of settings.xml

2008-04-07 Thread Dirk Olmes
author wrote: Now settings.xml is in {maven.folder}/conf. Yjw can i change this default locations? mvn -s /new/settings/location/settings.xml -dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Release:prepare and orphaned goals

2008-04-07 Thread Lukasz Guminski
Hello, I need to add a custom action executed during release:prepare and _only_ then. (What I actually want to do is generating a meta-data file containing information on the latest released version and upload it to some location). I did some research, and it seems I could run additional

Repository search

2008-04-07 Thread Martin von Gagern
Hi! The maven repositories, like those mentioned below, are sure a great thing and massively useful. However, so far I found no way to search these repositories on line. These are the repositories I'd like to search, at the very least: http://repo1.maven.org/maven2/

Re: Repository search

2008-04-07 Thread Stuart McCulloch
On 07/04/2008, Martin von Gagern [EMAIL PROTECTED] wrote: Hi! The maven repositories, like those mentioned below, are sure a great thing and massively useful. However, so far I found no way to search these repositories on line. you mean like: http://www.mvnrepository.com there's also

Re: How change location of settings.xml

2008-04-07 Thread author
I use this command, but it is not work. C:\mvn -s C:\work\repository\set tings.xml [INFO] Scanning for projects... [INFO] [ERROR] BUILD FAILURE [INFO]

Re: How change location of settings.xml

2008-04-07 Thread Aaron Metzger
author wrote: I use this command, but it is not work. C:\mvn -s C:\work\repository\set tings.xml [INFO] Scanning for projects... [INFO] [ERROR] BUILD FAILURE [INFO]

Re: How change location of settings.xml

2008-04-07 Thread Dirk Olmes
author wrote: I use this command, but it is not work. C:\mvn -s C:\work\repository\set tings.xml [INFO] Scanning for projects... [INFO] [ERROR] BUILD FAILURE [INFO]

Re: Release:prepare and orphaned goals

2008-04-07 Thread Lukasz Guminski
Actually I want the generated files with meta data to be uploaded to server on release:perform (not release:prepare as I said before) but this is a detail that doesn't affect my question, which stays valid. Lukasz Guminski pisze: Hello, I need to add a custom action executed during

Clover and multimodules jbi projects

2008-04-07 Thread Oscar Picasso
Hi, I have a multimodule jbi project where some of the submodules do not have java sources. This generate and error with clover : *** ERROR: No source files specified USAGE: com.cenqua.clover.CloverInstr [OPTIONS] PARAMS [FILES...] Is there a way to prevent the clover plugin to generate an

How should one handle 3rd party libraries in Maven2..

2008-04-07 Thread Arne Styve
Hi, A question I'm sure have been on the mailing-lists before (but I could not find it) regarding how to handle 3rd party JARs: I am using some 3rd party JARs which does not exsist in the global Maven2 repository ( http://repo1.maven.org/maven2/). I've found some references on the web to using

RE: [2.0.9 RC8] Release Candidate testing

2008-04-07 Thread Brian E. Fox
Thanks everyone for the testing. Nothing has turned up in several days so we'll move forward with the official release. --Brian -Original Message- From: Erez Nahir [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 1:51 AM To: Maven Users List Subject: Re: [2.0.9 RC8] Release

RE: Compiling for API compliance

2008-04-07 Thread Brian E. Fox
Because of the way maven uses an unnamed execution for command line and lifecycle bound plugins, you can't specify multiple fields for compile to use during the different executions. You'll want to watch MNG-3203 and MCOMPILER-15 -Original Message- From: Martin von Gagern [mailto:[EMAIL

multi module project and Eclipse - fsutil

2008-04-07 Thread Bernard Lupin
Hi all, I'm using maven with my favorite ide, Eclipse. One of the problems is that there is nothing within Eclipse to host the parent pom of my multi-module application : As explained in http://maven.apache.org/plugins/maven-eclipse-plugin/examples/multi-module-projects.html, we always have to

Re: Repository search

2008-04-07 Thread Martin von Gagern
Stuart McCulloch wrote: you mean like: http://www.mvnrepository.com Yes, that looks pretty much what I wanted, although I miss information about that site itself, like what repositories it has indexed. That's a minor issue, though. there's also the Nexus indexing tool, as used by

Re: integration tests, packaging type pom and the maven-eclipse-plugin

2008-04-07 Thread Kalle Korhonen
Just change the packaging type temporarily from pom to jar and run mvn eclipse:eclipse. That said; we keep our integration tests with the modules and use naming conventions to differentiate between them and pure unit tests. Kalle On Mon, Apr 7, 2008 at 6:22 AM, Martin Höller [EMAIL PROTECTED]

is there a way of adding metadata to a dependency

2008-04-07 Thread Ittay Dror
I want to be able to write in the project something like dependency properties some.keysome value/some.key /properties /dependency (or any other layout, maybe configuration instead of properties) So that my plugin can use the metadata to

Re: Repository search

2008-04-07 Thread Paul MERLIN
You can try http://searchj.org too Paul Le Monday 07 April 2008 12:02:39 Martin von Gagern, vous avez écrit : Hi! The maven repositories, like those mentioned below, are sure a great thing and massively useful. However, so far I found no way to search these repositories on line. These

Re: Repository search

2008-04-07 Thread Wayne Fay
As a customer of these repos, you have every right to ask for an index file. It is pretty easy for them to generate the file, and I think if you find the right person and ask nicely, they will do it. Ideally they'd add a cron job or something to autogenerate an updated list every day/week. Then

Re: is there a way of adding metadata to a dependency

2008-04-07 Thread Wayne Fay
Tell us more about what you want to do and why, and perhaps someone will have a better response to your question. Wayne On 4/7/08, Ittay Dror [EMAIL PROTECTED] wrote: I want to be able to write in the project something like dependency properties

Classpath Loader Differences between Surefire 2.3 and 2.4 causes tests to fail

2008-04-07 Thread Andreas Guther
Hi, We see a difference in classpath loading between Surefire 2.3 and 2.4. If we run the attached test against Surefire 2.3 and TestNG 5.1 we get the following output: mvn test -Pthree --- T E S T S

classloader testing

2008-04-07 Thread Jason Nerothin
I've written a basic ClassLoader and can test it to my satisfaction by flipping the attribute for project/src/main/java to test source (in my IDE) so that the test-configured ClassLoader can get to the classes I need to test. Later on, I use my IDE to set it back to plain old source when all of

RE: classloader testing

2008-04-07 Thread Andreas Guther
Did you try to use different profiles? Andreas -Original Message- From: Jason Nerothin [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 12:14 PM To: users@maven.apache.org Subject: classloader testing I've written a basic ClassLoader and can test it to my satisfaction by

[ANN] maven-alfresco-extension-archetype 1.0.0 released

2008-04-07 Thread Gabriele Columbro
Hi devs, hi users, my first post on maven lists (after several months in read only mode) to announce the release under Apache2 license of an archetype to build Alfresco [1] customizations with maven2. It was developed within Sourcesense [2] and provides the framework with a full m2 based

Downloading Apache Maven Repositories : Proxy Workaround

2008-04-07 Thread Edward Song
For demo purposes, I wanted to show the benefits of Apache Maven to a few others. There is a firewall and proxy over here that will not allow Maven to go get artifacts from the central maven repository and the networking guy will not provide the necessary authentication info to allow Maven to

Re: is there a way of adding metadata to a dependency

2008-04-07 Thread Ittay Dror
The question was supposed to be general, since I think it's a generic issue that plugins may need. My scenario is this: I'm using the NAR plugin. This plugin packages native libraries and headers so they can be used as dependencies. Everything works great when generating the artifact. I can

Re: Multiple Executions with Hibernate3 Plugin

2008-04-07 Thread Alan Gutierrez
Wayne You could either include the full plugin config in the plugin or just a property value, whatever makes the most sense. Did you mean... You could either include the full plugin config in the *profile* or just a property value, whatever makes the most sense. Okay. So, there are

Re: Downloading Apache Maven Repositories : Proxy Workaround

2008-04-07 Thread Wayne Fay
Just connect to the Maven repo before your demo and let it update. You may want to run with -o for offline so it doesn't try to update again during the demo. Or perhaps consider running Archiva locally (on the same laptop that you're demo'ing Maven with). That sounds easiest to me. You'll want to

maven2 pom help

2008-04-07 Thread Urooj Khan
hi guys i'm very very new at this and i am having a bit of a problem getting things off the ground.. i'm just trying to create jar using maven2 and this is what i have in the build section build plugins plugin artifactIdmaven-jar-plugin/artifactId configuration

read scm connection url using svn info?

2008-04-07 Thread Ken Liu
Hi all - Is there any way that the scm connection URL can automatically be read using svn info instead of putting it into the pom? For example, instead of writing: scm connectionscm:svn:http://my.svn.server/trunk/connection /scm You could just write something like: scm

Re: maven2 pom help

2008-04-07 Thread Wayne Fay
Start over from scratch. Put all Java source files in main/src/java. You do not need to configure the jar plugin. If you cannot restructure your project, you will make things WAY harder than they need to be. So from my perspective, this is not an option for a new user. Restructure your project,

Re: [ANN] Maven Eclipse Plugin 2.5.1 Released

2008-04-07 Thread Arnaud HERITIER
I just see that the doc isn't up-to-date but you have a wtpversion=2.0 for newest versions of eclipse For yur others projects you can have a look at the workspace property which allow the plugin to read your current parameters. On Sat, Apr 5, 2008 at 7:51 PM, Zemian Deng [EMAIL PROTECTED] wrote:

Re: Use assembly and deploy togeather

2008-04-07 Thread Luke Daley
On 07/04/2008, at 11:14 PM, Michael Mühlebach wrote: I want to create an assembly and deploy it but I have some troubles with it. I tried it with the command: mvn assembly:single deploy I got almost what I expected except: All artifacts from my project, including the one I executed maven

[m2] jetty through cargo just as tomcat?

2008-04-07 Thread Mick Knutson
I have the following working with tomcat 5.5, and I want to know if I can use the same declaration as my tomcat: plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId

Class Path Test Problem.

2008-04-07 Thread Chris_Graham
Hello All. I am having an issue in attempting to set up a consolidated dependencies POM. I am trying to set up a single POM that represents the DB2 Universal Drivers, which for me, basically consists of three different jars. Each of the three jars have been added into

Re: is there a way of adding metadata to a dependency

2008-04-07 Thread Ittay Dror
Ok, now I really need this mechanism. I want to be able to specify, per platform, the type of artifact to use. With properties, this would mean mapping each platform (aol in NAR lingo) to a type specifier. But with just 'type', I can't do that. Ittay Ittay Dror wrote: The question was

Re: is there a way of adding metadata to a dependency

2008-04-07 Thread Ittay Dror
And also I now discovered that if I use type, then it has to be specified for the artifact both in dependencies and dependencyManagement. If I could use metadata, I would have expected to be able to define it in dependencyManagement and optionally override it in dependencies Ittay Dror