Antwort: RE: Antwort: RE: Antwort: RE: Proxy settings

2006-12-05 Thread Aaron . Digulla
Mohni, Daniel [EMAIL PROTECTED] schrieb am 05.12.2006 07:28:36: - Generic proxy (so the POMs can't mess with your mirror settings). from my point of view this has nothing to do with archiva, this is a maven problem. I don't know if you can setup a generic proxy in your settings.xml as I

[m2] Build number plugin

2006-12-05 Thread ben short
Hi, Im trying to use the build number plugin to work. I can get it to create a jar file with the build number in the name but when i try to install or deploy the jar maven removes the build number. Heres the mvn output. [INFO] Scanning for projects... [INFO]

RE: Continuum Clearcase

2006-12-05 Thread Robert Langridge
Hi All, I have a project that uses clearcase for scm. The viewstore location is not the default so I created a .scm folder in the location of the pom.xml file and added a clearcase-settings.xml file with the location of the viewstore as instructed by the maven site. However when I come to run

RE: Proxy settings

2006-12-05 Thread Mohni, Daniel
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 9:43 AM To: archiva-users@maven.apache.org Subject: Antwort: RE: Antwort: RE: Antwort: RE: Proxy settings Mohni, Daniel [EMAIL PROTECTED] schrieb am 05.12.2006 07:28:36:

Creating Archetypes

2006-12-05 Thread Deluigi Marcus
Hi Is it possible to create an archetype with sub-projects? You can imagine that I want to create nested archetypes: the end-user should obtain a project that contains sub-projects. Thanks for any help! Greetings Marcus

504 in maven, works everywhere else

2006-12-05 Thread Aaron . Digulla
Hello, All of a sudden, archiva doesn't like maven anymore (or the other way 'round): Caused by: java.io.IOException: Server returned HTTP response code: 504 for URL: http://m2proxy:8080/archiva/repository/snapshot/org/apache/maven/plugi ns/maven-deploy-plugin/2.3-SNAPSHOT/maven-metadata.xml

RE: 504 in maven, works everywhere else

2006-12-05 Thread Mohni, Daniel
Hello Aaron you need to provide some information about what is in your settings.xml sometimes it also helps to use mvn -U ... to update the dependencies regards Daniel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 11:19

Re: Antwort: RE: Antwort: RE: Proxy settings

2006-12-05 Thread Carlos Sanchez
On 12/4/06, Mohni, Daniel [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] My position is that the POMs which come from the main sites can (and will) contain anything (even illegal XML, broken checksums, etc). The proxy has to handle

RE: Continuum Clearcase - RESOLVED

2006-12-05 Thread Robert Langridge
I managed to resolve the problem stated below. If you want to use a clearcase-setings.xml for continuum you must place it in the following directory: C:\continuum-1.0.3\bin\win32\.scm\clearcase-setings.xml From here continuum will pick up your viewstore location and work correctly! Cheers.

site deploy and ftp

2006-12-05 Thread Nathan Coast
Hi, apologies for the newbie question but I'm having trouble with site:deploy and ftp. my site dir is generated fine by mvn site, however the site:deploy docs state that a zip will be created, uploaded to remote and unzipped.

site deploy and ftp

2006-12-05 Thread Nathan Coast
apologies, previous email sent half written. I'm having trouble with site:deploy and ftp. My site dir is generated fine by mvn site, however the site:deploy docs state that a zip will be created, uploaded to remote and unzipped.

RE: Proxy settings

2006-12-05 Thread Aaron . Digulla
You can use * as mirror id to mactch all servers since maven 2.0.5 (not yet released) or Maestro 1.1 that you can get from http://www.mergere.com/ 1. How can I get maven 2.0.5? Or maven 2.1? Should I checkout from Subversion or is there a download? 2. Which proxy supports this? In Archiva, I

Google Web Toolkit Tests

2006-12-05 Thread Bob Allison
Has anyone been able to run JUnit tests on GWT sources from within Maven? I have hacked the GWT plugin to make tests work (the version of the plugin I have built works as part of a WAR project instead of as a GWT-only project), but it is real ugly since I strictly follow the sample command

Re: Maven2 with VSS: Has maven scm plugin implemented scm:checkout for VSS?

2006-12-05 Thread Emmanuel Venisse
scm:checkout is supported for VSS but not in the release version, only in our svn. We'll release a new version in few days. Emmanuel [EMAIL PROTECTED] a écrit : try command line mvn scm:checkout following error found, Embedded error: No such command 'checkout' Anyone can help? Thanks!

Eclipse with Maven

2006-12-05 Thread bjorn.de.bakker
I'm still experiencing some trouble with the mvn eclipse:eclipse command. I'm probably misusing this particular command, so maybe people can help me :). I've installed Eclipse Callisto, with the plugins for J2EE development. Now, what I do is the following. I create a project with mvn

Re: Creating Archetypes

2006-12-05 Thread Wendy Smoak
On 12/5/06, Deluigi Marcus [EMAIL PROTECTED] wrote: Is it possible to create an archetype with sub-projects? You can imagine that I want to create nested archetypes: the end-user should obtain a project that contains sub-projects. Things may have changed since I last tried, but I wasn't able

[M2] problems with site:deploy and PuTTy

2006-12-05 Thread McGarr, Joseph M
I am having trouble getting Maven's site:deploy to properly utilize PuTTy's plink. I am not sure what is going on, but it seems to use pscp just fine, but then it fails while executing the following command: Executing command: ssh -o BatchMode yes ... This fails because I do not have any

[M2] checkstyle plugin - correct groupid?

2006-12-05 Thread CodingPlayer
hi, i just found out about the existence of two checkstyle plugins: http://mirrors.ibiblio.org/pub/mirrors/maven2/maven/maven-checkstyle-plugin/ http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/ i found (a relative) new version for both: maven:

[M2] How to run a testng singletest with surefire ?

2006-12-05 Thread Alexandre Touret
hello, I have described my problem recently in a post but I have had no response. So I that s one of my prioblems: I m trying to run maven-surefire-plugin with testng. I specified a testsuite in a xml file. Unfortunately, I have the following problem: When I try to run only one testcase

Re: [M2] checkstyle plugin - correct groupid?

2006-12-05 Thread Wendy Smoak
On 12/5/06, CodingPlayer [EMAIL PROTECTED] wrote: i just found out about the existence of two checkstyle plugins: http://mirrors.ibiblio.org/pub/mirrors/maven2/maven/maven-checkstyle-plugin/ http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/ i

Mojo Dev question: Binding to phases?

2006-12-05 Thread Eric Miles
When you bind to a phase, when does it gets executed? Are all goals belonging to a phase executed in parallel? Or is there an order? For instance, I have 2 mojos and I'd like one executed before testing begins (and after test-compile completes) and after testing ends (before the next phase

Re: Resources with different encoding

2006-12-05 Thread Robert Reiner
Hi Franz! Thank you for your reply. Your solution looks very cool! I tried what you mentioned, but it seems I'm using a different version of maven (2.0.4). When I examine the schema (http://maven.apache.org/POM/4.0.0) I use to validate my POM, I get an error telling me that there is no element

Properties in profiles

2006-12-05 Thread Laura Hinojosa
Hi all! I'm trying to create a pom for my project that has two different deployment environments, which are mutually exclusive, but I need to have one by default. I tried using properties but even when maven-help-plugin tells me the correct profile gets activated and the effective pom is

Central settings.xml file

2006-12-05 Thread Morgovsky, Alexander \(US - Glen Mills\)
I would like to create several profiles in a settings.xml file which I would like to store in the company-wide shared Maven repository which we have. Is there a way that I could do this? This message (including any attachments) contains confidential information intended for a specific

Projects with empty modules

2006-12-05 Thread Christian Goetze
Maybe a JIRA issue... I've been setting up a project framework with no code in the modules yet, but with dependencies, and I notice that running mvn from the top causes the empty module to be skipped and subsequent dependency failures, but running mvn from within the empty project will cause

Merging vs Overriding Settings?

2006-12-05 Thread Christian Goetze
I'm not clear on the algorithm used for inheritance of pom settings. It would seem that some settings are merged (obvious example: dependencies), whereas others seem to override. Is there any consistent rule about this or is it just whatever was deemed appropriate by whomever writing that

[m2] error using maven with windows vista 64

2006-12-05 Thread Andrew Birchall
Hello, I'm trying to run Maven 2.0.4 with Windows 64-bit Vista but it throws the following error when it starts downloading the artifacts after running 'mvn compile' on a project: [INFO] [INFO]

Re: [m2] error using maven with windows vista 64

2006-12-05 Thread Dan Tran
this is your error message: [INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one. did you run it in a directory with an existing pom.xml? -D On 12/5/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hello, I'm trying to run

Getting the ArtifactRepository with the Test Harness

2006-12-05 Thread Ole Ersoy
Hi, I have a mojo that gets the ArtifactRepository injected by Maven. The mojo works fine when I run it, but when I use the method: MyMojo.getArtifactRepository() inside my Test-Harness test I get null. Anyone know if this is just something that's not supported by the test harness? Thanks, -

JSR for SCM

2006-12-05 Thread Dan Tran
Hello everyone, I do understand that maven has maven-scm-api. However, is there a JSR for this the effort of standardizing SCM works? THanks -Dan

Re: Projects with empty modules

2006-12-05 Thread Christian Goetze
Christian Goetze wrote: Maybe a JIRA issue... I've been setting up a project framework with no code in the modules yet, but with dependencies, and I notice that running mvn from the top causes the empty module to be skipped and subsequent dependency failures, but running mvn from within the

Re: JSR for SCM

2006-12-05 Thread Carlos Sanchez
we should probably implement the JCR api On 12/5/06, Dan Tran [EMAIL PROTECTED] wrote: Hello everyone, I do understand that maven has maven-scm-api. However, is there a JSR for this the effort of standardizing SCM works? THanks -Dan -- I could give you my word as a Spaniard. No good.

Re: Maven with XDoclet - Failing to generate code

2006-12-05 Thread Leonardo Postacchini
There is none yet, I configured the project and tryied to build it with no code yet, the only java files are ones without any xdoclet tags. I was trying to see if I got the maven-xdoclet stuff right. At first maven complained that it was not finding the XDoclet stuff in the repository, I found

module builds but doesn't install

2006-12-05 Thread Christian Goetze
I have a situation where a module with packaging jar builds, i.e. it produces a .jar file, but it doesn't install if maven is run from the parent project directory. No indication by mvn why. It will install if I run maven from the module directory. Any ideas how I can debug this? -- cg

Error in running mvn

2006-12-05 Thread Dheeraj Agrawal
Hi, I just downloaded the bin tar ball for maven. Extracted it and now trying to run it. But I am getting the following error. [EMAIL PROTECTED]:~/maven-2.0/bin$ ./mvn Exception in thread main java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher I had installed this earlier also

Build fails with maven-cobertura-plugin and projects without Java sources

2006-12-05 Thread Christian Sauer
Hi everyone, I faced the problem with the current release of the maven-cobertura-plugin 2.0 that the cobertura.ser file could not be found in case of projects that do not contain Java source code - one project for parent pom and one for the multimodule build of my application. As far as I know

Anyone seen a M2 XSTLC plugin?

2006-12-05 Thread Wayne Fay
Just curious if anyone has seen or created a Maven2 XSLTC plugin? I googled but didn't find anything. I've recently decided to try compiling the XSLTs in our WAR in hopes of improving the performance of our webapp. I got things to work from the command line and I think this is a good approach,

Ant-Contrib foreach in Maven 2

2006-12-05 Thread Morgovsky, Alexander \(US - Glen Mills\)
I am trying to create an Ant task using the maven-antrun-plugin in Maven 2. I would like to use the optional task foreach. In Ant, I did this by declaring the Ant-Contrib jar in a taskdef object in the build.xml. How may I do this in Maven 2? Thanks. This message (including any attachments)

Re: [M2] How to run a testng singletest with surefire ?

2006-12-05 Thread Petar Tahchiev
On 05/12/06, Alexandre Touret [EMAIL PROTECTED] wrote: hello, I have described my problem recently in a post but I have had no response. So I that s one of my prioblems: I m trying to run maven-surefire-plugin with testng. I specified a testsuite in a xml file. Unfortunately, I have the

Re: Ant-Contrib foreach in Maven 2

2006-12-05 Thread Haroon Rafique
On Today at 11:30am, MAUGM=Morgovsky, Alexander (US - Glen Mills)...: AM I am trying to create an Ant task using the maven-antrun-plugin in AM Maven 2. I would like to use the optional task foreach. In Ant, I AM did this by declaring the Ant-Contrib jar in a taskdef object in the AM

Re: Ant-Contrib foreach in Maven 2

2006-12-05 Thread Alexander Sack
Ah crap, beat me too itwhat he said! :D! I use ant-contrib too for other projects as well (exactly for the foreach target). -aps On 12/5/06, Haroon Rafique [EMAIL PROTECTED] wrote: On Today at 11:30am, MAUGM=Morgovsky, Alexander (US - Glen Mills)...: AM I am trying to create an Ant

Re: Ant-Contrib foreach in Maven 2

2006-12-05 Thread Wendy Smoak
On 12/5/06, Haroon Rafique [EMAIL PROTECTED] wrote: I have the following in the dependencies section of my pom dependency groupIdant-contrib/groupId artifactIdant-contrib/artifactId version0.6/version scopeprovided/scope

Re: Ant-Contrib foreach in Maven 2

2006-12-05 Thread Haroon Rafique
On Today at 5:05pm, HR=Haroon Rafique [EMAIL PROTECTED] wrote: HR I have the following in the dependencies section of my pom HR HR dependency HR groupIdant-contrib/groupId HR artifactIdant-contrib/artifactId HR version0.6/version HR

Workaround: module builds but doesn't install

2006-12-05 Thread Christian Goetze
Christian Goetze wrote: I have a situation where a module with packaging jar builds, i.e. it produces a .jar file, but it doesn't install if maven is run from the parent project directory. No indication by mvn why. It will install if I run maven from the module directory. By removing all

RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-12-05 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 2:15 PM To: Maven Users List Subject: Re: MAVEN_INSTALL_DIR/conf/settings.xml On 12/4/06, Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) [EMAIL PROTECTED] Perhaps I

Python xmlrpc scripts

2006-12-05 Thread kkrikor
What is the status of the python scripts are they functional. I downloaded them from subversion but no documentation on how to be used even the one that says use the help is not clear. So has anybody gotten those to work I am trying to make those work so I can use it in the subversion hooks.

Re: Python xmlrpc scripts

2006-12-05 Thread Jesse McConnell
I think the xmlrpc interface is a bit of a work in progress at the moment...we have had a raft of changes in things regarding project groups and stuff and I would like to see these api's cleaned up and consolidated to use the project group and project keys mentioned in another thread. I know

DefaultArtifactRepository subversion location?

2006-12-05 Thread Ole Ersoy
Hi, Does anyone have a link to the Subversion DefaultArtifactRepository.java? I looked all over in the various maven-artifact directories... If I could find it, I could probably figure this out. Here's what I'm trying to figure out just in case you have know. I created a testcase with a

Re: DefaultArtifactRepository subversion location?

2006-12-05 Thread Max Cooper
[EMAIL PROTECTED]:~/svn/apache/maven$ find . -name DefaultArtifactRepository.java ./components/maven-artifact-manager/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java -Max Ole Ersoy wrote: Hi, Does anyone have a link to the Subversion

Re: DefaultArtifactRepository subversion location?

2006-12-05 Thread Ole Ersoy
Oooh - Very Cool - I'll definitely be putting find to good use in the future. Thanks, - Ole --- Max Cooper [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~/svn/apache/maven$ find . -name DefaultArtifactRepository.java

I need help with multi-module project site generation.

2006-12-05 Thread Christian Goetze
So I have a multi-module project and I would like to generate a site which includes javadoc and jxr. What am I supposed to do? I would be extremelty grateful to anyone who can provide an example which has a shot at working... If I generate the default site according to the mergere book, I

Re: I need help with multi-module project site generation.

2006-12-05 Thread Wendy Smoak
On 12/5/06, Christian Goetze [EMAIL PROTECTED] wrote: If I generate the default site according to the mergere book, I get essentially a useless cover page with a navigation menu that lists the modules, but without links I've seen that happen too. Most of my projects have a custom site.xml

Re: delete a directory by maven-antrun-plugin?

2006-12-05 Thread jiangshachina
Currently, I delete the directory via command rm -rf the_directory. But I'll search the problem continuously. a cup of Java, cheers! Sha Jiang jiangshachina wrote: Dear Wayne, As your said, the trouble is very strange. I created a build.xml, project basedir=. default=delete

Re: Error in running mvn

2006-12-05 Thread Neeraj Bisht
you have not set java_home or maven home On 12/6/06, Dheeraj Agrawal [EMAIL PROTECTED] wrote: Hi, I just downloaded the bin tar ball for maven. Extracted it and now trying to run it. But I am getting the following error. [EMAIL PROTECTED]:~/maven-2.0/bin$ ./mvn Exception in thread main

Re: I need help with multi-module project site generation.

2006-12-05 Thread Yann Albou
Wendy Smoak wrote: On 12/5/06, Christian Goetze [EMAIL PROTECTED] wrote: If I generate the default site according to the mergere book, I get essentially a useless cover page with a navigation menu that lists the modules, but without links I've seen that happen too. Most of my projects have

Re: DefaultArtifactRepository subversion location?

2006-12-05 Thread Petar Tahchiev
On 06/12/06, Ole Ersoy [EMAIL PROTECTED] wrote: Oooh - Very Cool - I'll definitely be putting find to good use in the future. Thanks, - Ole --- Max Cooper [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~/svn/apache/maven$ find . -name DefaultArtifactRepository.java

RE: Eclipse with Maven

2006-12-05 Thread bjorn.de.bakker
Ok, I've discovered a way to create a webapp with Maven. The problem is that if I run Eclipse and choose to import an existing project into workspace everything goes fine, but when I want to run the whole thing on the server I receive The selection did not contain anything that can be run on a

Re: DefaultArtifactRepository subversion location?

2006-12-05 Thread Tom Huybrechts
http://www.google.com/codesearch?hl=enlr=q=DefaultArtifactRepository.javabtnG=Search On 12/6/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, Does anyone have a link to the Subversion DefaultArtifactRepository.java? I looked all over in the various maven-artifact directories... If I could find it,

Re: JSR for SCM

2006-12-05 Thread Trygve Laugstøl
Dan Tran wrote: Hello everyone, I do understand that maven has maven-scm-api. However, is there a JSR for this the effort of standardizing SCM works? Not that I know of and it might be useful to have a simple API to access SCMs from Java as there are a number of applications that's built on