Re: Error transfering file

2007-07-10 Thread anbernas
I am having the exact same problem. When I copy and paste the link into the web browser I get: Error 404 Not Found Resource in error: http://trn-esv1:8080/archiva/repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom Exception details:

RE: Continuum Error : Cannot find parent

2007-07-10 Thread javijava
Hi; Have you tried to add the parent pom to continuum? It adds automatically all modules, at least it did it to me when i tried. Yes, I tried it, but i have the same problem,continuum can't find the modules: Could not download file:/C:/WINDOWS/TEMP/summit-1/../projectA/trunk/pom.xml:

Re: Continuum Error : Cannot find parent

2007-07-10 Thread Emmanuel Venisse
Where is your parent pom? In a remote repository? Emmanuel javijava a écrit : Hi; Have you tried to add the parent pom to continuum? It adds automatically all modules, at least it did it to me when i tried. Yes, I tried it, but i have the same problem,continuum can't find the modules:

Re: Continuum Error : Cannot find parent

2007-07-10 Thread javijava
If I try other structure,with poms in each level, continuum still can't add a project with more than one pom's level: repo | |-pom.xml | |-projectA | |-pom.xml | |-Trunk | |---pom.xml any one knows, how to add a project with

RE: Continuum Error : Cannot find parent

2007-07-10 Thread Raúl Arabaolaza Barquín
Are you uploading the parent pom? or using a url? -Mensaje original- De: javijava [mailto:[EMAIL PROTECTED] Enviado el: mar 10/07/2007 13:05 Para: continuum-users@maven.apache.org Asunto: Re: Continuum Error : Cannot find parent If I try other structure,with poms in each level,

RE: Continuum Error : Cannot find parent

2007-07-10 Thread javijava
Thats a good question!!! Uploading is only for single projects. using a url Continuum said: Missing artifact trying to build the POM. Check that its parent POM is available or add it first in Continuum. -- View this message in context:

Re: How to add projects with modules????

2007-07-10 Thread Emmanuel Venisse
is it Trunk or trunk ? javijava a écrit : Hi to all, I want add a M2 project to Continuum , the project..is some like this repo | |-pom.xml | |-projectA | |-pom.xml | |-Trunk | |---pom.xml If I try to add the super pom,

Re: How to add projects with modules????

2007-07-10 Thread javijava
is it Trunk or trunk ? trunk -- View this message in context: http://www.nabble.com/How-to-add-projects-with-modules-tf4055384.html#a11520534 Sent from the Continuum - Users mailing list archive at Nabble.com.

Re: RE: Continuum Error : Cannot find parent

2007-07-10 Thread javijava
My svn repository is available on http. I add at the end..two projects, one have dependences with the other, I add the bottom level pom, http://localhost/repo/projectA/trunk/pom.xml. when I try to do a Build, continuum can't fiond the parent [INFO] Failed to resolve artifact. GroupId: groupid

Default java source version

2007-07-10 Thread Severin Ecker
Hi, i was wondering if i can change de default java source and target version for the compiler plugin to let's say 1.5 oder 1.6 globally in the settings.xml (or somewhere else), and only override it in the pom file if i need an older version. thanks! cheers, severin

Re: Default java source version

2007-07-10 Thread Jochen Wiedmann
On 7/10/07, Severin Ecker [EMAIL PROTECTED] wrote: i was wondering if i can change de default java source and target version for the compiler plugin to let's say 1.5 oder 1.6 globally in the settings.xml (or somewhere else), and only override it in the pom file if i need an older version.

Re: Cannot download parent pom from specified remote repository

2007-07-10 Thread Rémy Sanlaville
Can we see you setting.xml ? It seems that you have not a mirror of central. Rémy

Re: Cannot download parent pom from specified remote repository

2007-07-10 Thread Daniele Dellafiore
Here it is. But I do not see the point: how is the mirror involved? It seems that maven tries to download from repo1 and not from my company repo, where it is supposed to try first. Anyway, maybe I am missing some point here :) Thanks. On 7/10/07, Rémy Sanlaville [EMAIL PROTECTED] wrote: Can

Re: Continuum Error : Cannot find parent

2007-07-10 Thread javijava
No, I have a directory (working copy) called Repo ok inside, in the same level, i have the two projects and the parent directory with the superPom each project have a subdirectory trunk with their Pom repo | | |-projectA | |-Trunk | |---pom.xml

Re: Cannot download parent pom from specified remote repository

2007-07-10 Thread Rémy Sanlaville
Hi, As I mentioned in my first post, try to add this in your setting.xml mirrors mirror idCorporate Proxy/id mirrorOfcentral/mirrorOf namemy corporate repository/name urlurl to your maven 2 proxy/url /mirror /mirrors This indicates to maven 2 to look at your maven 2

Re: Maven deploy problem

2007-07-10 Thread ossi petz
Hallo are you using webdav to deploy the file into the repository? if so has there been another deployment of that file from another location? 409 indicates versioning issues in webdav. but may not be related to webdav at all. i would try using file:// instead of the url or using the

Re: Checkstyle report fails on release, not site

2007-07-10 Thread ossi petz
hallo well parent poms and relative paths. a long story. have you issued the site command from the sub-modules? but the release is done from the parent pom? it seems the checkstyle plugin is not aware of that difference and is looking at the wrong location. i do both site and release from

Re: Site-related question ... change default index.html

2007-07-10 Thread Andrew Williams
You could just use xdoc directly without the velocity pre-processing... (i.e. src/site/xdoc/index.xml). Andy On 8 Jul 2007, at 15:35, Giovanni Azua wrote: Hi all, I was trying to get the same effect as maven 2 website where there is a portlet on the right side including some adds and news

Re: New maven user: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found

2007-07-10 Thread Andrew Williams
And make sure you don't have any bad mirrors configured in your settings.xml :) Andy On 10 Jul 2007, at 02:29, Maria Odea Ching wrote: Hi Robert, Try cleaning out your repo by deleting all versions of the maven- archetype-plugin (including metadata and pom files). Then execute

Re: Cannot download parent pom from specified remote repository

2007-07-10 Thread Andrew Williams
You may have indeed identified a problem there, but I do not see information about which maven version you are using (please forgive me if I missed it). Are you on the latest (2.0.7)? Andy On 9 Jul 2007, at 14:55, Daniele Dellafiore wrote: I know, there are a lot of dependencies that are

Manifest customization: Where to find the docs?

2007-07-10 Thread Gisbert Amm
Hi list, I want to know what is possible in manifest customization. I found examples on http://maven.apache.org/guides/mini/guide-manifest.html and http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html This latter page says For more info see the

RE: Default java source version

2007-07-10 Thread Ferguson, Jason M TSgt 375 CSPTS/SCE
This particular bit of configuration is your friend. Put it in the plugins section of your POM: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source

Re: Checkstyle report fails on release, not site

2007-07-10 Thread Jon Strayer
On 7/10/07, ossi petz [EMAIL PROTECTED] wrote: hallo well parent poms and relative paths. a long story. have you issued the site command from the sub-modules? but the release is done from the parent pom? Yes, the site is from the sub-modules, but the release is also from the sub modules.

Re: How to generate resources in test and include them into release JAR?

2007-07-10 Thread Eugeny N Dzhurinsky
On Mon, Jul 09, 2007 at 05:31:16PM +0300, Eugeny N Dzhurinsky wrote: Hello! In my application some tests are performing lookup for test (sample) data, create and manage some mapping tables, which tables are verified by another tests and then needed to be included into main JAR file,

Re: Maven deploy problem

2007-07-10 Thread Alexandre Nshimiyimana
Hello! We are using sometimes webdav. we tried another name for group and artifactId. Thanks. 2007/7/10, ossi petz [EMAIL PROTECTED]: Hallo are you using webdav to deploy the file into the repository? if so has there been another deployment of that file from another location? 409 indicates

Re: Default java source version

2007-07-10 Thread Severin Ecker
hi jason, yes i know that and i have that section in my POM. what i want is to override the default of java 1.3 so i don't have to do that in all my project POM files which is tedious. that's why i was asking for a way to configure it in the settings.xml. i suppose 1.3 is not hardcoded and

RE: Continuum Error : Cannot find parent

2007-07-10 Thread javijava
Ah!, the repository where is placed the project is a subversion repository. The option URL is only for maven2 repositories? thanks -- View this message in context: http://www.nabble.com/Continuum-Error---%3A--Cannot-find-parent-tf4049310.html#a11521127 Sent from the Continuum - Users mailing

Re: Checkstyle report fails on release, not site

2007-07-10 Thread ossi petz
well after reading along in the docs: http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html kinda solves this issue :) (havent tested it yet but it looks good) Jon Strayer schrieb: On 7/10/07, ossi petz [EMAIL PROTECTED] wrote: hallo well parent poms

Re: Default java source version

2007-07-10 Thread Thierry Lach
What about creating a global parent pom containing the 1.5 config? On 7/10/07, Severin Ecker [EMAIL PROTECTED] wrote: hi jason, yes i know that and i have that section in my POM. what i want is to override the default of java 1.3 so i don't have to do that in all my project POM files which is

RE: Default java source version

2007-07-10 Thread Trevor Spackman
We handled this problem by creating a parent POM that all of our projects inherit from with the following: plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin Then in the

How to download source code to repos?

2007-07-10 Thread Ren
I'm just wondering, how to use 'mvn install' command to also download the source code of a package? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to use dependency:purge-local-repository

2007-07-10 Thread Trevor Spackman
I don't know if this will help, but I never use the dependency plugin to clean out the local repo... I always just delete the ~/.m2/repository/ folder (or some subfolder in it). HTH, Trevor -Original Message- From: Erez Nahir [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 12:55

Re: How to download source code to repos?

2007-07-10 Thread Jochen Wiedmann
On 7/10/07, Ren [EMAIL PROTECTED] wrote: I'm just wondering, how to use 'mvn install' command to also download the source code of a package? Do you mean upload, rather than download? Configure the maven-source-plugin in your POM with the property attached (may also be attach, written from

Re: How to download source code to repos?

2007-07-10 Thread Ren
Actually, I mean download, thanks On 7/11/07, Jochen Wiedmann [EMAIL PROTECTED] wrote: On 7/10/07, Ren [EMAIL PROTECTED] wrote: I'm just wondering, how to use 'mvn install' command to also download the source code of a package? Do you mean upload, rather than download? Configure the

Re: How to download source code to repos?

2007-07-10 Thread Tomislav Stojcevich
mvn dependency:sources - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Continuum Error : Cannot find parent

2007-07-10 Thread javijava
The parents Pom don't have SCM because only are used to solve dependency Between projects.The lowest Pom is the project byself. (continuum can't add a pom without SCM) repo | |-pom.xml | |-projectA | |-pom.xml | |-Trunk |

How to filter webapp files (not resources!)

2007-07-10 Thread Michael Böckling
Hi! Is there a way to filter files below the webapp directory, e.g. web.xml or context.xml? I don't want to externalize them into a separate ressources directory. Basically, what i'm looking for is setting filtering to true for webappDirectoryWebRoot/webappDirectory. Thanks for any help!

Re: Checkstyle report fails on release, not site

2007-07-10 Thread Jon Strayer
That should work for you, but it doesn't work for me. My other projects aren't modules of a parent project. The just inherit the pom to standardize things. On 7/10/07, ossi petz [EMAIL PROTECTED] wrote: well after reading along in the docs:

Re: Checkstyle report fails on release, not site

2007-07-10 Thread ossi petz
did i post that link? :) those instructions will create a cyclic reference for the mentioned 'build-tools' project. better do it this way: http://maven.apache.org/plugins/maven-checkstyle-plugin/tips.html works :) ossi petz schrieb: well after reading along in the docs:

Re: Continuum Error : Cannot find parent

2007-07-10 Thread Emmanuel Venisse
All your POMs in your scm must have scm informations and must be in your Continuum or at least in your maven repository. javijava a écrit : The parents Pom don't have SCM because only are used to solve dependency Between projects.The lowest Pom is the project byself. (continuum can't add a

Re: Checkstyle report fails on release, not site

2007-07-10 Thread ossi petz
hallo well that should not matter. the checkstyle plugin dependency is resolved by its groupId/artifactId. as long as that jar is 'somewhere' it should be possible to include it as normal dependency without creating modules. so the plugin section for the checkstyle plugin gets a

Re: Lifecyle Question

2007-07-10 Thread Eric Redmond
It is a known issue with the way the reactor currently bundles projects. It's being worked on - but definitely cannot be fixed before 2.1. Eric On 7/9/07, Mykel Alvis [EMAIL PROTECTED] wrote: So why doesn't a multi-module build collect the test-jars into the reactor classpath? Is this a

Re: Lifecyle Question

2007-07-10 Thread Eric Redmond
Sorry - not bundles projects but artifact resolution - meant to say projects need to be resolved beforehand - made sense in my head :) Eric On 7/10/07, Eric Redmond [EMAIL PROTECTED] wrote: It is a known issue with the way the reactor currently bundles projects. It's being worked on - but

Re: Manifest customization: Where to find the docs?

2007-07-10 Thread Wayne Fay
What exactly do you want to do in the manifest? What kind(s) of customization(s)? Wayne On 7/10/07, Gisbert Amm [EMAIL PROTECTED] wrote: Hi list, I want to know what is possible in manifest customization. I found examples on http://maven.apache.org/guides/mini/guide-manifest.html and

New Archetype Plugin

2007-07-10 Thread Clifton
I've heard through the grapevine that a new Archetype plugin is soon going to be available. Does anyone know when that is? How can I find out when it is released? Do I have to periodically run the plugin and look at the output to see a new version downloaded? How does this (notification) work for

Re: [m2] ejbModule artifact not a project dependency?

2007-07-10 Thread Mick Knutson
When I remove: modules ejbModule groupIdorg.delta.esp-dap.utilities .services/groupId artifactIdlogging-mdb/artifactId uri/uri /ejbModule

RE: New Archetype Plugin

2007-07-10 Thread Trevor Spackman
Whether or not you get a new plugin will depend on how you have your plugins defined in your pom -- if you've specified a specific version (probably a good idea) then you'll never get a newer one. If you don't specify a version, then you'll automatically get the latest version whenever it comes

RE: Default java source version

2007-07-10 Thread Trevor Spackman
Sent to the list... -Original Message- From: Severin Ecker [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 10:59 AM To: Trevor Spackman Subject: Re: Default java source version yes i could do that. thing is, many of my/our projects are unrelated and shouldn't have a common

Problem during Ant Plugin development

2007-07-10 Thread Anton Ananich
Dear All! I'm investigating this manual about Developing Ant Plugins for Maven 2.x: http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html I try to create the easiest HelloWorld plugin. As described in this manual: 1) I create Ant script 2) I create mojo 3) I create pom 4) I

Re: Manifest customization: Where to find the docs?

2007-07-10 Thread Dave Levitt
Folks stuck using ATG Dynamo need to customize manifest contents, as ATG stores 'module' configuration and dependency information there. On 7/10/07, Wayne Fay [EMAIL PROTECTED] wrote: What exactly do you want to do in the manifest? What kind(s) of customization(s)? Wayne On 7/10/07, Gisbert

Re: Default java source version

2007-07-10 Thread Severin Ecker
hi, sry trevor, i mis-replied there ;) Heinrich Nirschl wrote: Severin, it's generally not a good idea to separate this information from the POM. It would make it harder to reproduce a build. Each member of the development team would get different results if not all have the same settings

RE: Use native CVS by default

2007-07-10 Thread Siegmann Daniel, NY
Ah, thanks. I hadn't looked at that section. I found the property setting here: http://maven.apache.org/scm/cvs.html Might want a pointer on that page to the advanced features page. Thanks again. -- Daniel Siegmann FJA-US, Inc. 512 Seventh Ave., New York, NY 10018 (212) 840-2618 ext. 139

Re: Manifest customization: Where to find the docs?

2007-07-10 Thread Wayne Fay
OK let's get a little more explicit... What are you currently getting out of Maven? What do you want to get out of Maven? What have you tried which did not work as you required? The final work-around is simply to write your own static Manifest file and tell Maven where it is, and it will use it

Can Maven do this?

2007-07-10 Thread Russell Gold
I have a complex of projects that I want to manage. Essentially, it consists of a number of master projects, each of which in turn consists of a number of builds. A rule that I need to follow is that if any two builds refer to the same artifact, they must use the same version - even if they do

Re: Manifest customization: Where to find the docs?

2007-07-10 Thread Greg Thompson
Wayne Fay wrote: OK let's get a little more explicit... What are you currently getting out of Maven? What do you want to get out of Maven? What have you tried which did not work as you required? This, like many responses I've seen on this mailing list, is venturing into smarmy territory.

Re: Can Maven do this?

2007-07-10 Thread Alan D. Salewski
On Tue, Jul 10, 2007 at 03:41:23PM -0400, Russell Gold spake thus: I have a complex of projects that I want to manage. Essentially, it consists of a number of master projects, each of which in turn consists of a number of builds. A rule that I need to follow is that if any two builds refer

Re: Manifest customization: Where to find the docs?

2007-07-10 Thread Wayne Fay
Sorry, I don't consider this smarmy... Let me refer to ESR's How to ask questions the smart way: http://www.catb.org/~esr/faqs/smart-questions.html If people won't provide the information needed to provide an answer, the only way you can get it is by explicitly asking for it... which is what I

Re: How to filter webapp files (not resources!)

2007-07-10 Thread Nathan Maves
Yes this is possible. I admit it was not easy to figure it out :) http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html Is a great place to start. Here is my config... plugin groupIdorg.apache.maven.plugins/groupId

Re: Problem using custom announcement with changes plugin

2007-07-10 Thread Dennis Lundberg
That is a very good question. I'm afraid I don't know the answer to it. Since the changes-plugin is still in beta, I think that it would be possible to change the default location for the templates. The normal plugin behavior when it comes to configuration, is to start out from ${basedir}.

Re: How to get a plugin to see my log4j.xml

2007-07-10 Thread Dennis Lundberg
A log4j configuration should be in src/main/resources for the plugin - not your own project. If xfire-maven-plugin uses log4j for logging it should provide some kind of configuration for it. You could build the plugin yourself and add a suitable logging configuration when you build it. Ryan

Source XREF generation puzzle !

2007-07-10 Thread Jerome Thibaud
Hi, I got a legacy project where tests and application sources are under the same directory /src/com/... /test/... Enters maven-jxr-plugin. Which is called twice during site generation, once for the (app) sources and once for the tests. And I want to filter out src/test during the (app)

Re: Checkstyle report fails on release, not site

2007-07-10 Thread Dennis Lundberg
ossi petz wrote: did i post that link? :) those instructions will create a cyclic reference for the mentioned 'build-tools' project. better do it this way: http://maven.apache.org/plugins/maven-checkstyle-plugin/tips.html This is an old page that shouldn't be used any more. Is the info on

Re: Cannot download parent pom from specified remote repository

2007-07-10 Thread Daniele Dellafiore
On 7/10/07, Andrew Williams [EMAIL PROTECTED] wrote: You may have indeed identified a problem there, but I do not see information about which maven version you are using (please forgive me if I missed it). Are you on the latest (2.0.7)? yes, 2.0.7 I will try tomorrow solutions proposed by

beginner to maven- problem with maven eclipse!!

2007-07-10 Thread pinky88
hi, i'm very new to maven, i'm trying to create a servlet using maven eclipse to deploy on the tomcat container. However when i tried to import my maven project into eclipse, i got the following errors: unbound classpath variable unbound classpath container the project cannot be built until

Re: [ANN] Maven Stylus Skin 1.0.1 Released

2007-07-10 Thread Srepfler Srgjan
Dennis Lundberg wrote: Wim Deblauwe wrote: url of the website or the groupId/artifactId would be useful... There is no website for this skin. groupId:artifactId org.apache.maven.skins:maven-stylus-skin If you are using this skin you already have this configured in your site.xml file.

Re: beginner to maven- problem with maven eclipse!!

2007-07-10 Thread Thorsten Heit
Hi, hi, i'm very new to maven, i'm trying to create a servlet using maven eclipse to deploy on the tomcat container. However when i tried to import my maven project into eclipse, i got the following errors: unbound classpath variable unbound classpath container the project cannot be

Re: beginner to maven- problem with maven eclipse!!

2007-07-10 Thread pinky88
Thanks very much for the reply :), I've added this now, but it hasn't solved the problem.. However i noticed something, when i started up eclipse, i got a warning saying Mylyn was installed but requires Java 5 or later to run, Please download and install the latest Java version and restart.

Maven Netbeans

2007-07-10 Thread Ryan Cuprak
Hello, I was just curious if it is possible to take an existing project in Netbeans and 'maven-ize' without starting from one of the archetypes and pasting my existing code into that project (as well as trying to figure out the dependencies and reverse engineer the project settings)? I