ClassNotFoundException with maven and axis2 plugin

2007-07-23 Thread tindor
Hi, I'm having problems creating a webservice using the axis plugin. I'm trying to compile the file and everything is okay, the class file is where it should be, but the plugin (axis2-java2wsdl-maven-plugin) does not seem to find it. Here's the pom file : http://maven.apache.org/POM/4.0.0"; xmlns:

war packaging creates an extra folder

2007-07-23 Thread zahy
Hello, Using maven2 and a pom.xml war I successfully create the war in place but I create an extra regular folder (not war,jar, other) with my webapp. why is that? http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="h

Julia Vilke/Moscow/Canon/FI is out of the office.

2007-07-23 Thread Julia . Vilke
I will be out of the office starting 16.05.2007 and will not return until 08.01.2008. I'm on maternity leave till January 2008. In case of Canon Consumable business, please contact Mikhail Popov, in case of Paper business - Maria Bondarenko.

maven logging issue

2007-07-23 Thread Dmitry
I've been working on several log4j related projects with Maven recently and I've started having errors during site generation start occurring on projects that had been working. The symptom is: Error loading report org.apache.maven.plugin.jxr.JxrReport - AbstractMethodError: canGenerateReport()

RE: Maven: Unable to create a WAR package due to web.xml

2007-07-23 Thread Kiran Kodlady
hey.. u can also this also .. org.apache.maven.plugins maven-war-plugin relative path for web.xml starting from root of war module -- Kiran Kodlady Vaidya, Supriya A (US - Chicago) wrote: > > Th

Re: maven-dependency-plugin: Checks for updates for released artifacts?

2007-07-23 Thread Barrie Treloar
On 7/24/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: That goal relies on Maven to do the resolution (@requiresDependencyResolution test). If you're seeing some new behavior, have you updated Maven itself recently? I don't know if it is new behaviour. We are using 2.0.7, its just something I hav

RE: Type in documentation on "Dependency scope"?

2007-07-23 Thread Brian E. Fox
Can you file a jira so this can be investigated further? -Original Message- From: Davy Toch [mailto:[EMAIL PROTECTED] Sent: Sunday, July 22, 2007 2:01 PM To: users@maven.apache.org Subject: Type in documentation on "Dependency scope"? In the section "Dependency Scope" of http://maven.ap

RE: repositories

2007-07-23 Thread Brian E. Fox
If you are just interested in dependencies, you can also use the dependency:resolve goal. The go-offline also attempts to resolve named plugins and their dependencies. It currently doesn't get the standard plugins unless they are mentioned in your pom (or parents). -Original Message- From:

RE: maven-dependency-plugin: Checks for updates for released artifacts?

2007-07-23 Thread Brian E. Fox
That goal relies on Maven to do the resolution (@requiresDependencyResolution test). If you're seeing some new behavior, have you updated Maven itself recently? -Original Message- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 7:20 PM To: Maven Users List Subje

Re: Accessing current date/time during build

2007-07-23 Thread Dirk Olmes
Paul G wrote: > How is it possible to get the value of the current date and time within maven > so i can use it in the jar name of a build? The buildnumber plugin (http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html) would help here. -dirk -- A: Maybe because some people are

maven-dependency-plugin: Checks for updates for released artifacts?

2007-07-23 Thread Barrie Treloar
Has anyone else noticed that maven-dependency-plugin:copy-dependencies:2.0-alpha-4 checks for updates (at least daily) for new versions of released artifacts? I haven't taken the step to see if this is the problem. I wanted to find out if anyone else had noticed the problem first? Cheers -

Re: Subscribe to mailing list

2007-07-23 Thread Wayne Fay
See http://maven.apache.org/mail-lists.html More specifically, send an email to [EMAIL PROTECTED] to subscribe. Wayne On 7/23/07, Barun Yadav <[EMAIL PROTECTED]> wrote: Hi, I want ot subscribe to this mailing list Thanks Barun --

Subscribe to mailing list

2007-07-23 Thread Barun Yadav
Hi, I want ot subscribe to this mailing list Thanks Barun

Re: Help Needed: Tomcat & Archiva Woes

2007-07-23 Thread Joakim Erdfelt
Joakim Erdfelt wrote: We have been getting many reports of issues with Tomcat and Archiva. We need your help to track down what is causing these issues. Please goto http://jira.codehaus.org/browse/MRM-333 and file your details. When reporting details, please include the following 1. J

Accessing current date/time during build

2007-07-23 Thread Paul G
How is it possible to get the value of the current date and time within maven so i can use it in the jar name of a build? Cheers Paul -- View this message in context: http://www.nabble.com/Accessing-current-date-time-during-build-tf4132633s177.html#a11753414 Sent from the Maven - Users mailing

Help Needed: Tomcat & Archiva Woes

2007-07-23 Thread Joakim Erdfelt
We have been getting many reports of issues with Tomcat and Archiva. We need your help to track down what is causing these issues. Please goto http://jira.codehaus.org/browse/MRM-333 and file your details. When reporting details, please include the following 1. Java version? (specifics p

Problems with manifest classpath

2007-07-23 Thread Larry Suto
Hi, I am having a problem where a dependent jar(the jar is called nlsorm and is in the ipeservice jar) is being added to the manifest classpath of one ejb(the mdb in this case) and not the other...the ejb in this case: I am a bit puzzled as I have the ejb plugin configured the same way in both..

Re: Problem to deploy by WebDAV to Archiva 1.0 alpha 2 running on Tomcat 5.5

2007-07-23 Thread Joakim Erdfelt
We have many reports of issues with Tomcat (especially the combo of Tomcat + Windows) Please provide some details on your environment to help us reproduce these problems. See http://jira.codehaus.org/browse/MRM-333 - Joakim Libor Kramoliš wrote: Hello. I have problem to run Maven Archiva 1

RE: Packaging a release of a jar with dependencies

2007-07-23 Thread Paul G
Thanks for that Andrew, looks like what I was thinking I would have to do, thanks once again for saving me a couple of hours of trying to work it. Cheers Paul Andrew Boyer wrote: > > Paul, > > I used the dependency and assembly plugins. Something like: > > > maven-assembly-plugin > >

Thanks everyone!

2007-07-23 Thread Brett Porter
Hi, Just a short note to say thanks to everyone who takes time out to reply to others on this list (whether it's 1 message or 500 messages, it's all valuable!) I recently had cause to take a closer look at what makes this list so successful, and realised there are a bunch of people doing more st

RE: Maven: Unable to create a WAR package due to web.xml

2007-07-23 Thread Vaidya, Supriya A (US - Chicago)
Thanks Patrick! I included the following in my pom.xml, and now I can work with the 'web' directory - org.apache.maven.plugins maven-war-plugin 2.0 src\main\web Thanks for your help! -Original Message- From: Patrick Sc

RE: Packaging a release of a jar with dependencies

2007-07-23 Thread Andrew Boyer
Paul, I used the dependency and assembly plugins. Something like: maven-assembly-plugin src/main/assembly/dist.xml maven-dependency-plugin copy-dependencies package copy-dependencies ${basedir}/ta

Re: Maven: Unable to create a WAR package due to web.xml

2007-07-23 Thread Patrick Schneider
See the default for the warSourceDirectory option in maven-war-plugin: http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#webappDirectory 'webapp' is the default. Patrick On 7/23/07, Vaidya, Supriya A (US - Chicago) <[EMAIL PROTECTED]> wrote: I fixed this by changing my 'web' di

RE: Maven: Unable to create a WAR package due to web.xml

2007-07-23 Thread Vaidya, Supriya A \(US - Chicago\)
I fixed this by changing my 'web' directory to 'webapp' - just the name. Why is this necessary though? Or did I miss something?!?! From: Vaidya, Supriya A (US - Chicago) Sent: Monday, July 23, 2007 3:16 PM To: users@maven.apache.org Subject: Maven: Unable to crea

Maven: Unable to create a WAR package due to web.xml

2007-07-23 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: This is very strange... I have the following (legacy!) project structure: src | | main | | config spring java com my package web |

Packaging a release of a jar with dependencies

2007-07-23 Thread Paul G
I would like to know the best way to create a release artifact such as a zip which contains my jar file along with all it's dependency jars in a bin directory of the zip. I have used the assembly plugin to create wars with external configs files and docs. But have not found any easy examples of ho

Re: properties injection issue

2007-07-23 Thread Michael Meyer
Stupid question but is the profile activated? What is the result of: 'mvn help:active-profiles' and 'mvn help:effective-pom'? In the output of 'mvn help:effective-pom' your properties should be replaced with the version number. Cheers, michael Aaron Morand schrieb: Good day all, I am having

properties injection issue

2007-07-23 Thread Aaron Morand
Good day all, I am having an issue with a project failing, because a dependant project isn't using properties defined in my settings.xml file. I have my settings.xml file in ~/.m2/setttings.xml and also symlinked it to /usr/local/maven/conf/settings.xml just so the default locations are covere

Re: Cobertura reports not in the staged site

2007-07-23 Thread Rodolphe Beck
Perfect ! I applied the patch, it works now. 2007/7/23, Dennis Lundberg <[EMAIL PROTECTED]>: Rodolphe Beck wrote: > Hello, > > I tried to generate a website for my project. All the reports work fine > except cobertura: report result is generated into target/site/cobertura but > not copied in th

Re: pom inheritence and multi-module pom do not complement

2007-07-23 Thread kapilanand
Tim, thanks for providing the detailed explanation. I am aware of the things that you explained. What I wanted to put across was that there are two use-cases that are not met by current support of inheritance and aggregation: 1) implicit or explicit inheritance of the container (aggregating pom)

scantargets and scanTargetPatterns in Jetty Maven config

2007-07-23 Thread nmall
Hi, I have set up ScanTargets and scanTargetPatterns for Jetty in the maven config file. However, this is not working for me. If I change the sources in any of these scantarget directories, it does not automatically compile or reflect it in the web page display. Any ideas on what else needs to

Re: Parent and relativePath

2007-07-23 Thread Max Bowsher
Plotnicki, Grzegorz wrote: > Hi, > > I'm curious if it would be possible/feasible/in-line with maven > philosophy to be able to specify in the tag ONLY > tag or at least, if the is present be > able to skip the tag? It would be impossible, because the pom.xml needs to remain valid when deploy

Parent and relativePath

2007-07-23 Thread Plotnicki, Grzegorz
Hi, I'm curious if it would be possible/feasible/in-line with maven philosophy to be able to specify in the tag ONLY tag or at least, if the is present be able to skip the tag? That is, in the multi-module project, all the modules have to refer to the parent pom with groupId, artifactId and v

how to configure projects using maven2

2007-07-23 Thread Kiran Kodlady
hello all, can somebody tell me how can we just configure projets using Maven2?? Like while doing development of a jar module i want all jars should be referred from my local repository. So that compile time errors will be avoided.. In maven1, we do have a goal like "configure" . Once we run

Re: Maven Source filtering issue

2007-07-23 Thread Steven Rowe
Hi Dmitry, Dmitry wrote: > I want to be able to interpolate ${pom.version} in Java source code > before compilation. How can I do this (Eclipse IDE)? > > I see that there is a simple way to turn on resource filtering, but that > does not appear to be applicable to source code. > > I also see tha

Re: Maven dependencies issues

2007-07-23 Thread Steven Rowe
Hi Dmitry, Dmitry wrote: > My application is a jar file and when I run mvn package it generates my > jar ok. > > But I need to distribute my app with all the related jar dependencies so > I wonder how could I do it with maven2.. > > Actually, I did an ant task that at package cycle copy my proje

Re: Cobertura reports not in the staged site

2007-07-23 Thread Dennis Lundberg
Rodolphe Beck wrote: Hello, I tried to generate a website for my project. All the reports work fine except cobertura: report result is generated into target/site/cobertura but not copied in the stage directory the command I use is: site:stage -DstagingDirectory=C:\work\site Here is the stateme

Re: Generate Version class

2007-07-23 Thread Steven Rowe
Hi Francois, Francois Fernandes wrote: > for some time now I've been looking for a easy way to generate a simple > class containing version information of our artifact. I know that it is > possible to filter resources. But to avoid any resource loading issues I > would like maven to generate such

Cobertura reports not in the staged site

2007-07-23 Thread Rodolphe Beck
Hello, I tried to generate a website for my project. All the reports work fine except cobertura: report result is generated into target/site/cobertura but not copied in the stage directory the command I use is: site:stage -DstagingDirectory=C:\work\site Here is the statement in my superpom:

Re: Problem Site uploading

2007-07-23 Thread Jo Vandermeeren
Specify your transport protocol as in: "url - The url of the location where website is deployed, in the form protocol://hostname/path." cf. http://maven.apache.org/ref/2.0.6/maven-model/maven.html#class_site On 7/23/07, Mac-Systems <[EMAIL PROTECTED]> wrote: > > Sorry it me agaqin :) > > I have a

Problem Site uploading

2007-07-23 Thread Mac-Systems
Sorry it me agaqin :) I have another issue: On my linux box i have tomcat maven and continuum running under same user. Also my POM contains a site section : someurl.org ${user.home}/tomcat/webapps/mavensite

Parameter Change - the whole projekt cannot be build (stack trace included)

2007-07-23 Thread Mac-Systems
Hello, Continuum seems to be very unstable :( i changed the Parameter for Build Definitions from : --batch-mode --non-recursive into : --batch-mode --non-recursive -e which caused by following error: ognl.MethodFailedException: Method "buildProject" failed for object [EMAIL PROTECTED]

Re: non-recursive parameter to multi module Projekt

2007-07-23 Thread Emmanuel Venisse
Mac-Systems a écrit : That means i have to remove any subproject so far by hand ? Actually, yes if you don't want subprojects Bye the way: What about an Checkbox which selects any project i want to remove. Actually i have 15 Subprojects removing all by hand is stupid work .. It will b

Maven blacklisted when using continuum

2007-07-23 Thread John Coleman
I made some small changes to my project and removed an unwanted repository and now get errors. My settings points to a local repository that looks like it contains all the dependencies, and the hosting server has no internet access, so I manage them manually. Online report : http://localhost:80

Re: commons-io-1.3.2 repository

2007-07-23 Thread �rico
I'm soory I already installed in my local repository []s --- Érico Teixeira <[EMAIL PROTECTED]> wrote: > Hi > > I'm configuring a new workstation and installed > maven > a few minutes ago > > I'm trying to compile a project of mine in this new > workstation > > It downloaded all deps from

Re: Deleting Projekts - Server hangs

2007-07-23 Thread Napoleon Esmundo C. Ramirez
Hello Jens, Maybe you can provide us with some more information. Steps on how you encountered it, and the output (a stacktrace would be very helpful) will give us a clue. :) Cheers! Nap On 7/23/07, Mac-Systems <[EMAIL PROTECTED]> wrote: Hello, i test Continuum. If i remove an Projekt is see

commons-io-1.3.2 repository

2007-07-23 Thread �rico
Hi I'm configuring a new workstation and installed maven a few minutes ago I'm trying to compile a project of mine in this new workstation It downloaded all deps from repostories except common-io 1.3.2 I tryied to install manually but I get an error : [0] inside the definition for plugin: 'm

Re: WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-23 Thread Ian Springer
What manifest classpath are you referring to? The war plugin does not add a classpath to the manifest - it only adds dependencies to WEB-INF/lib. It's the jar plugin that will add classpaths to manifests. Then the ear plugin will copy any jars in the manifest classpaths of each of its modules

Problem to deploy by WebDAV to Archiva 1.0 alpha 2 running on Tomcat 5.5

2007-07-23 Thread Libor Kramoliš
Hello. I have problem to run Maven Archiva 1.0 Alpha 2 on Apache Tomcat (5.5.23). I can not deploy artifact to Archiva by webdav. I followed instructions at and . But when

Re: [m2] release:prepare writes my password into the pom

2007-07-23 Thread Michael Meyer
Hi Antonio, works great. Thanks a lot. Like this I can even use my properties in the maven-release-plugin configuration section. Cheers, michael Antonio Petrelli wrote: 2007/7/23, Michael Meyer <[EMAIL PROTECTED]>: Hi In my pom.xml file I have the following scm url: scm:cvs:pserver:${cvs.u

Re: any tag for customized path ejb-jar.xml?

2007-07-23 Thread Dennis Lundberg
I haven't used that plugin myself, so I'm afraid I can't help you Did you check the documentation: http://maven.apache.org/plugins/maven-ejb-plugin/ If it's not there please file a request for it in JIRA, unless there's one already in there: http://jira.codehaus.org/browse/MEJB Kiran Kod

Re: any tag for customized path ejb-jar.xml?

2007-07-23 Thread Kiran Kodlady
Dennis.. thanks for replying back.. i am using ejb plugin.. and when i keep ejb-jar.xml in other than src/main/resources/META-INF path it fails to build. I want to know is there any specific tag for ejb-jar.xml, so that i can keep wherever i can.. Hope u got my query?? looking forward to get ur

Re: [m2] release:prepare writes my password into the pom

2007-07-23 Thread Antonio Petrelli
2007/7/23, Michael Meyer <[EMAIL PROTECTED]>: Hi In my pom.xml file I have the following scm url: scm:cvs:pserver:${cvs.username}:[EMAIL PROTECTED]:/cvs/:project The properties cvs.username and cvs.password are defined in my settings.xml file. After executing mvn release:prepare my scm url loo

Re: Generate Version class

2007-07-23 Thread Mark Derricutt
I've used JRelease in the past under ant to do this sort of thing - it generates a class with your version info (can't seem to find a website for it now thou..) On 7/23/07, Dirk Olmes <[EMAIL PROTECTED]> wrote: Another idea would be to use the maven-exec-plugin as part of the build process to

Re: any tag for customized path ejb-jar.xml?

2007-07-23 Thread Dennis Lundberg
Kiran Kodlady wrote: Hello, can anyone tell me - is there any tag for customized path for ejb-jar.xml?? Default value is - src/main/resources/META-INF.. Thanks in advance, Kiran Kodlady What are you trying to do? Which plugin do you need to configure? -- Dennis Lundberg --

Re: Generate Version class

2007-07-23 Thread Dirk Olmes
Francois Fernandes wrote: > Yes, you're right. But the problem is that our jar is not the only one > on the classpath. That means that it is hard to ensure that we're > loading the right manifest file to read the version. (btw. we're placing > version information already inside this jar.) > Loading

[m2] release:prepare writes my password into the pom

2007-07-23 Thread Michael Meyer
Hi In my pom.xml file I have the following scm url: scm:cvs:pserver:${cvs.username}:[EMAIL PROTECTED]:/cvs/:project The properties cvs.username and cvs.password are defined in my settings.xml file. After executing mvn release:prepare my scm url looks like this: scm:cvs:pserver:my-username:[E

Re: XML Schema for site.xml?

2007-07-23 Thread Lukas Theussl
http://jira.codehaus.org/browse/MSITE-118 -Lukas William Ferguson wrote: I'm creating customized sites for our projects and I was wondering: Is there an XML schema for site.xml? If so where can I find it? William - To unsubs

Re: Generate Version class

2007-07-23 Thread Francois Fernandes
Yes, you're right. But the problem is that our jar is not the only one on the classpath. That means that it is hard to ensure that we're loading the right manifest file to read the version. (btw. we're placing version information already inside this jar.) Loading resources even inside files caus

Re: repositories

2007-07-23 Thread Heinrich Nirschl
On 7/23/07, John Coleman <[EMAIL PROTECTED]> wrote: Hi, Is there a simple way to get all dependencies required for a project into the local repository? Something like rsync. The dependency:go-offline goal can be used for that: http://maven.apache.org/plugins/maven-dependency-plugin/go-offli

Re: dependency scope - provided and test

2007-07-23 Thread Maria Odea Ching
Hi Frederick, Try looking at Selenium, maybe you could use it for UI testing a portlet. Also, there is also a maven plugin available for it. For examples on how to use it, see Continuum's continuum-webapp-test module which you could checkout here: https://svn.apache.org/repos/asf/maven/contin

Re: repositories

2007-07-23 Thread Antonio Petrelli
2007/7/23, John Coleman <[EMAIL PROTECTED]>: In a networked multi-user environment, what is the best way of managing a common project repository? I think we all still need a local repo so that people can run while roaming, but we also need a sort of common central repository, should we just use d

Re: repositories

2007-07-23 Thread Maria Odea Ching
Hi, The ideal way is probably to setup repositories that is available in your local network. You can set up a local mirror of the central in which you could get your jars instead. Try looking at Archiva (available here http://maven.apache.org/archiva/), its a repository manager that is aimed

Re: plugin with resource dependency

2007-07-23 Thread Arnaud Bailly
"Martin Testrot" <[EMAIL PROTECTED]> writes: > Hello, > > is it possible to load a non-java resource from the classpath with: > > if (!new File(pResource).exists() && > ClassLoader.getSystemResource(pResource) == null){ > System.out.println (pResource + " not fo

repositories

2007-07-23 Thread John Coleman
Hi, Is there a simple way to get all dependencies required for a project into the local repository? Something like rsync. In a networked multi-user environment, what is the best way of managing a common project repository? I think we all still need a local repo so that people can run while

WARs: Including a dependency in WEB-INF/lib but not in the manifest classpath

2007-07-23 Thread Ryan Nelson
Hello everyone, I'm trying to build an EAR with multiple "skinny" WARs that look to the EAR for their common libraries. The maven-war-plugin site has some good examples on how to do this, but there is one use case that I need, that apparently is not supported. The manifest guide says: "Note t

Type in documentation on "Dependency scope"?

2007-07-23 Thread Davy Toch
In the section "Dependency Scope" of http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html it is indicated that a transitive dependency C declared with 'runtime' scope (4th column) will be set to scope 'provided' if transitively retrieved through an explicit dep

XML Schema for site.xml?

2007-07-23 Thread William Ferguson
I'm creating customized sites for our projects and I was wondering: Is there an XML schema for site.xml? If so where can I find it? William - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: any tag for customized path ejb-jar.xml?

2007-07-23 Thread Teody Cue Jr.
Hi Kiran, I'm not sure what you are trying to do here but I guess you want to put your ejb-jar.xml somewhere else aside from src/main/resources/META-INF.. and be copied to the right path in the war file. You can put it anywhere you want to and just add it under the tag. It will be automatic

plugin with resource dependency

2007-07-23 Thread Martin Testrot
Hello, is it possible to load a non-java resource from the classpath with: if (!new File(pResource).exists() && ClassLoader.getSystemResource(pResource) == null){ System.out.println (pResource + " not found!"); throw new FileNotFound