AW: maven archetype

2008-09-29 Thread Matthias Dorfner
Thx you, or is there a possibility by using this command to integrate source/projects report information? Mvn archetype:create -DarchetpeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-site \ -DgroupId=com.mycompany \

Maven schemaspy plugin with MSSql

2008-09-29 Thread Sench
Hi all, Has anyone used before maven schemaspy plugin to generate DB schema site from MSSql? I'm trying to configure schemaspy plugin as described in http://maven.wakaleo.com/mojo/maven-schemaspy-plugin/usage.html http://maven.wakaleo.com/mojo/maven-schemaspy-plugin/usage.html as folows

repository for youtube api

2008-09-29 Thread Angelo Chen
Hi, I need to use youtube api in my 'mavenized' app, is there a youtube dependency somewhere? thanks. A.C. -- View this message in context: http://www.nabble.com/repository-for-youtube-api-tp19719346p19719346.html Sent from the Maven - Users mailing list archive at Nabble.com.

reactor plugin Embedded error: Roots differ

2008-09-29 Thread Jorg Heymans
Hi, I'm trying to get the reactor plugin to work for our project structure (simplified version): project-root/ /modules pom.xml /A /api /impl

Multi module Setup / release:prepare

2008-09-29 Thread Karl Heinz Marbaise
Hi there, i have a little problem with the release:prepare running in Maven. I have a mutli module setup which seemed to be ok parent +--- Module A (depends on C) (result in tar.gz) +--- Module B +--- Module C +--- Module WAR +--- Module D (Tomcat with .war from Module WAR as a

Re: Multi module Setup / release:prepare

2008-09-29 Thread Martin Höller
Hi Karl Heinz! On 29 Sep 2008, Karl Heinz Marbaise wrote: i have a little problem with the release:prepare running in Maven. I have a mutli module setup which seemed to be ok parent +--- Module A (depends on C) (result in tar.gz) +--- Module B +--- Module C +--- Module WAR

Cobertura plugin doesn't generate XML

2008-09-29 Thread Lewis, Eric
Hi I'm trying to generate an XML report using the Cobertura plugin (2.2 apparently). I configured the plugin according to the documentation: plugin groupIdorg.apache.maven.plugins/groupId artifactIdcobertura-maven-plugin/artifactId configuration formats formatxml/format

Re: Cobertura plugin doesn't generate XML

2008-09-29 Thread Nick Stolwijk
I can think of two things, that could go wrong: 1. Did you configure this under the reporting section or under the build section of your pom file? It should be under the build section afaik. 2. Otherwise, what version of the cobertura plugin are you using? Hth, Nick Stolwijk ~Java Developer~

RE: Cobertura plugin doesn't generate XML

2008-09-29 Thread mac-systems
Hello, may you can try the configuration in your reporting section of the POM. - jens Hi I'm trying to generate an XML report using the Cobertura plugin (2.2 apparently). I configured the plugin according to the documentation: plugin groupIdorg.apache.maven.plugins/groupId

Travel Assistance to ApacheCon US 2008 - 3 days to apply!

2008-09-29 Thread Brett Porter
The Travel Assistance Committee is taking in applications for those wanting to attend ApacheCon US 2008 between the 3rd and 7th November 2008 in New Orleans. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon US 2008 who need some financial

AW: Cobertura plugin doesn't generate XML

2008-09-29 Thread Lewis, Eric
Answering the questions of Jens (later post) and yourself: 1. I had the plugin in the reporting section. If I put it into the build section, Maven tells me that the plugin can't be downloaded (we use an internal Archiva server, which should load unknown stuff from the official Maven repos). 2.

mirrors, oh mirrors

2008-09-29 Thread szczepiq
Hi all, Mirrors are giving me headache recently. See this: mirrors mirror idcorporate-repo/id namecorporate-repo-backup/name url.../url mirrorOf*/mirrorOf /mirror mirror idcorporate-repo-backup/id namecorporate-repo-backup/name url.../url

RE: mirrors, oh mirrors

2008-09-29 Thread Jörg Schaible
szczepiq wrote: Hi all, Mirrors are giving me headache recently. See this: mirrors mirror idcorporate-repo/id namecorporate-repo-backup/name url.../url mirrorOf*/mirrorOf /mirror mirror idcorporate-repo-backup/id

Re: Cannot run program env

2008-09-29 Thread greeklinux
Hello, thanks for the reply. I tried a 2.0.9 version and the 2.1 preview releases, but the error still show up. Error getting environment vars for profile activation java.io.IOException: Cannot run program env: java.io.IOException: error=12, Cannot allocate memory I read in other posts, that

Maven @ ApacheCon US; Discounted rate until Fri Oct 3

2008-09-29 Thread Brett Porter
For those thinking of attending ApacheCon US in New Orleans, these are the Maven sessions this year: * Brett Porter: Apache Maven, End-to-end (full-day training) http://us.apachecon.com/c/acus2008/sessions/89 * Brett Porter: More Apache Maven Best Practices (Presentation)

Re: Cannot run program env

2008-09-29 Thread Brett Porter
Can you try running it under a different user account? - Brett 2008/9/29 greeklinux [EMAIL PROTECTED]: Hello, thanks for the reply. I tried a 2.0.9 version and the 2.1 preview releases, but the error still show up. Error getting environment vars for profile activation

Accessing project version number from Java

2008-09-29 Thread Dominic Mitchell
What's the easiest way to get at the version number in the POM from Java? I've been using getResourceAsStream('META-INF/maven/groupId/artifactId/ pom.properties'); But this doesn't work while I'm developing in Eclipse (only when using the built jar file). Ideally, I'd like to somehow

Re: Accessing project version number from Java

2008-09-29 Thread Brett Porter
2008/9/29 Dominic Mitchell [EMAIL PROTECTED]: What's the easiest way to get at the version number in the POM from Java? I've been using getResourceAsStream('META-INF/maven/groupId/artifactId/pom.properties'); But this doesn't work while I'm developing in Eclipse (only when using the built

Re: Accessing project version number from Java

2008-09-29 Thread Mark Hobson
2008/9/29 Dominic Mitchell [EMAIL PROTECTED]: What's the easiest way to get at the version number in the POM from Java? I've been using getResourceAsStream('META-INF/maven/groupId/artifactId/pom.properties'); But this doesn't work while I'm developing in Eclipse (only when using the built

Re: Accessing project version number from Java

2008-09-29 Thread Dominic Mitchell
On 29 Sep 2008, at 13:08, Brett Porter wrote: 2008/9/29 Dominic Mitchell [EMAIL PROTECTED]: What's the easiest way to get at the version number in the POM from Java? I've been using getResourceAsStream('META-INF/maven/groupId/artifactId/ pom.properties'); But this doesn't work while I'm

Re: Accessing project version number from Java

2008-09-29 Thread Dominic Mitchell
On 29 Sep 2008, at 13:22, Mark Hobson wrote: 2008/9/29 Dominic Mitchell [EMAIL PROTECTED]: What's the easiest way to get at the version number in the POM from Java? I've been using getResourceAsStream('META-INF/maven/groupId/artifactId/ pom.properties'); But this doesn't work while I'm

Re: repository for youtube api

2008-09-29 Thread Baptiste MATHUS
Hi, Have you already chosen the youtube API you're gonna use? Maven can't replace that. You won't choose a given library because it's available in some maven repo. You'll choose it 'cause it matches your needs. And if it's well-known, then there's chances that it's already present in some repo.

Re: Problems with path in pom (windows)

2008-09-29 Thread Mick Knutson
I actually set my local repo in my settings.xml to C:\opt\.m2 to avoid spaces. On Sun, Sep 28, 2008 at 7:52 AM, Wendy Smoak [EMAIL PROTECTED] wrote: On Sun, Sep 28, 2008 at 4:28 AM, Matthias Dorfner [EMAIL PROTECTED] wrote: I tried to integrate umlgraph to my pom. It looks as following:

copy libraries to classpath

2008-09-29 Thread Norbert Lazzeri
Hi, is it possible to let maven copy all dependencies to my classpath? my jar-configuration looks like: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive

Re: Cannot run program env

2008-09-29 Thread Mick Knutson
Does maven have enough memory allocated? Looks like the virtual server does not have the minimum for maven to run. 128mb is the min I think. On Sun, Sep 28, 2008 at 8:10 AM, greeklinux [EMAIL PROTECTED] wrote: Hello, I am using maven, and I setup an CI system on a virtual server. When

how to set '/' as root context for war?

2008-09-29 Thread Mick Knutson
I want to set my war to have a root context of '/' instead of 'mywarname/' I can't remember how to set this and would appreciate a refresher. -- --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine:

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Baptiste MATHUS
Rsync'ing the whole repository seems a real bad idea to me, I guess you could be blacklisted doing that. It's far better to do the downloading on demand and caching it by using a common maven repo manager (archiva, nexus...). In fact, if you mirror the whole repository, I guess you're just going

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Baptiste MATHUS
First might be that you privately ask Jason if you are concerned by http://blogs.sonatype.com/jvanzyl/2008/08/28/1219948661495.html If so, then beg his pardon and promise you won't do it again, never :-). But before annoying Jason, obviously try wget'ing something from repo1.maven.org from your

Re: how to set '/' as root context for war?

2008-09-29 Thread Brett Porter
This is a deployment option, dependent on your container. Unless you are referring to the Jetty Maven plugin, I don't believe there's anything in the WAR packaging process in Maven that affects this. - Brett 2008/9/27 Mick Knutson [EMAIL PROTECTED]: I want to set my war to have a root context

Re: how to set '/' as root context for war?

2008-09-29 Thread Geoffrey Wiseman
On Fri, Sep 26, 2008 at 7:29 PM, Mick Knutson [EMAIL PROTECTED]wrote: I want to set my war to have a root context of '/' instead of 'mywarname/' I can't remember how to set this and would appreciate a refresher. That's configuration in the application server, usually -- completely unrelated

Re: copy libraries to classpath

2008-09-29 Thread Norbert Lazzeri
using the maven-dependency-plugin with: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId executions execution idcopy-dependencies/id

Re: mirrors, oh mirrors

2008-09-29 Thread szczepiq
The point of mirrors is to provide an alternate location for the content. I'd like mirrors to provide multiple alternate locations. I put the improvement request here: http://jira.codehaus.org/browse/MNG-3772 Cheers, Szczepan On Mon, Sep 29, 2008 at 1:41 PM, Jörg Schaible [EMAIL PROTECTED]

Re: Plugin inheritance

2008-09-29 Thread Stephen Connolly
There is an attribute that you can specify to indicate that you are appending elements rather than replacing... if only I could remember it! 2008/9/29 tjunak [EMAIL PROTECTED] I've checked it again - every time a whole list is overriden not elements on the list. I have made few tries on

Re: Plugin inheritance

2008-09-29 Thread Nick Stolwijk
You would do something like this: configuration items combine.children=append itemthree/item /items /configuration See http://www.ejlife.net/blogs/buildchimp/2007/06/07/1181254122408.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl

Re: copy libraries to classpath

2008-09-29 Thread Nick Stolwijk
I think the outputDirectory is ignored because of the ArtifactItem (whatever that may be... ;) ) From the documentation: outputDirectory : Default location used for mojo unless overridden in ArtifactItem * Type: java.io.File * Since: 1.0 * Required: No * Expression:

Re: copy libraries to classpath

2008-09-29 Thread Norbert Lazzeri
yeah i red that too. but i thought this would refer to the configuration-section of the plugin :-S cheers norbert Nick Stolwijk schrieb: I think the outputDirectory is ignored because of the ArtifactItem (whatever that may be... ;) ) From the documentation: outputDirectory : Default

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Stephen Connolly
I second that. We used to rsync the whole repo... but after the second time our internal mirror server ran out of disk space we gave up and switched to nexus... the whole thing is a lot more stable than the rsync nightmare... plus we're not hitting 1/100 as much bandwith, and since we

creating a project

2008-09-29 Thread Matthias Dorfner
Hi guys, I use this command from the archetype plugin: Mvn archetype:create -DarchetpeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-site \ -DgroupId=com.mycompany \ -DartifactId=my-site It

RE: how to set '/' as root context for war?

2008-09-29 Thread Edelson, Justin
Geoffrey Wiseman wrote: On Fri, Sep 26, 2008 at 7:29 PM, Mick Knutson [EMAIL PROTECTED]wrote: I want to set my war to have a root context of '/' instead of 'mywarname/' I can't remember how to set this and would appreciate a refresher. That's configuration in the application server,

RE: Are we blocked by central Maven repo?

2008-09-29 Thread Beyer,Nathan
What would you suggest then? Anything that requires customized maven installs or modifying 'settings.xml' post install is not feasible in our environment - development is too distributed. In the long-run I believe the rsync approach does reduce bandwith, but more importantly, the concurrent

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Daniel Kulp
One thing I keep thinking about doing is creating a public mirror that is synced from central (it's a public mirror, thus, they would allow that), but provide rsync acess on some sort of paid agreement. Maybe $5/month or possibly just a ontime $100 setup fee or similar. Basically, enough

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Stephen Connolly
Here is a quick set up for you. On your local machine that you were using for the internal mirror: 1. Install Apache httpd 2.2 with mod_proxy_ajp 2. Install Nexus 3. Front Nexus through ajp on the Apache httpd 4. Use a rewrite rule for /maven2 to /nexus/content/repositories/central/ 5. Change

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Jason van Zyl
On 29-Sep-08, at 10:21 AM, Beyer,Nathan wrote: What would you suggest then? Anything that requires customized maven installs or modifying 'settings.xml' post install is not feasible in our environment - development is too distributed. So how do you used your rsync'd repository? How do you

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Jason van Zyl
There is no rsync access to central. But the crawling is doing the equivalent amount of damage. There is no upside to using rsync over a repository manager. On 29-Sep-08, at 10:51 AM, Daniel Kulp wrote: One thing I keep thinking about doing is creating a public mirror that is synced from

RE: Are we blocked by central Maven repo?

2008-09-29 Thread Beyer,Nathan
Does anyone have anecdotal proof that Nexus can handle significant loads? In my experience, it hasn't been able to scale beyond a small group of users (less than 25). I'm aware of this option, but none of the repository managers, in my experience, have been able to scale as well as a Apache

RE: Are we blocked by central Maven repo?

2008-09-29 Thread Beyer,Nathan
Rsync - http://maven.apache.org/guides/mini/guide-mirror-settings.html (see 'Creating your own mirror') We aren't crawling. -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 10:00 AM To: Maven Users List Subject: Re: Are we blocked by

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Daniel Kulp
On Monday 29 September 2008 10:59:48 am Jason van Zyl wrote: There is no rsync access to central. But the crawling is doing the equivalent amount of damage. I was suggesting creating a new public mirror that would be listable on http://maven.apache.org/guides/mini/guide-mirror-settings.html as

RE: Are we blocked by central Maven repo?

2008-09-29 Thread Beyer,Nathan
As I mentioned in an earlier email, we rsync periodically, and override our internal DNS to redirect 'repo1.maven.org'. All internal developers automatically use the local copy. We don't crawl the repository. You may know people using Nexus for over a year that can't live without it. We've

JAR resources and WAR creation

2008-09-29 Thread Jean-Pierre Fiset
I am interested in creating components that are made of Java classes packaged along with CSS and Javascript files. Components have dependencies between themselves. In the end, components are used to create web applications. I am thinking Maven is perfect for this, but I can not settle on the file

Re: Maven schemaspy plugin with MSSql

2008-09-29 Thread Brad Szabo
Hello, I am using Oracle and ran into this same issue when I tried to run the Maven SchemaSpy Plugin. I have looked at the source code briefly and it appears that it is not passing along some required arguments for certain databases (like the -port argument you have mentioned). There are also

[ANN] Maven Invoker Plugin 1.3 Released

2008-09-29 Thread Olivier Lamy
The Maven team is pleased to announce the release of the Maven Invoker Plugin, version 1.3. http://maven.apache.org/plugins/maven-invoker-plugin/ You should specify the version in your project's plugin configuration: plugin groupIdorg.apache.maven.plugins/groupId

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Jason van Zyl
I'm not saying you are. It's the hundreds of other people trying it. You cannot sync against the central repository, you are syncing against ibiblio. Not the same thing. On 29-Sep-08, at 11:34 AM, Beyer,Nathan wrote: Rsync - http://maven.apache.org/guides/mini/guide-mirror- settings.html

Re: Cannot run program env

2008-09-29 Thread greeklinux
Hi, after finishing my previous message I startet maven again, and got the error and maven stops again :confused: The behaviour is the same for root and my tomcat6 user account. I tried to give maven more memory, but did not help. (there are no min. mem. requirements for maven) Brett Porter

javadoc plugin fails during mvn release:perform ?

2008-09-29 Thread Tobias Gierke
Hi, How come the javadoc plugin fails with a 'cannot find symbol XYZ' error when running 'mvn release:perform' but 'mvn site' works fine ? Since compilation works I would assume my pom.xml contains all required dependencies. Maven version: 2.0.9 (i386 Linux) JDK version: 1.5 (tested with

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Jason van Zyl
On 29-Sep-08, at 11:54 AM, Daniel Kulp wrote: On Monday 29 September 2008 10:59:48 am Jason van Zyl wrote: There is no rsync access to central. But the crawling is doing the equivalent amount of damage. I was suggesting creating a new public mirror that would be listable on

Re: reactor plugin Embedded error: Roots differ

2008-09-29 Thread Dan Fabulich
Jorg Heymans wrote: The root-pom/pom.xml contains a modules section that just references the project modules modules module../modules/module /modules Yup, this is a known bug MREACTOR-1 http://jira.codehaus.org/browse/MREACTOR-1 It'll be pretty tough to fix it, I think. :-( -Dan

AW: creating a project

2008-09-29 Thread Matthias Dorfner
Hi, I can now answer the question myself. If you want to create an skeleton with site structure for a already existing project, you have to run e.g. the archetype quickstart plugin first, second the e.g. maven-archetype-site-simple plugin. Of course both with same group and artifact Id. But

Re: javadoc plugin fails during mvn release:perform ?

2008-09-29 Thread Brad Szabo
Hi Tobias, Some more details about your project would probably help. Do your missing symbols happen to be related to types created by source code generation? I had run into a similar problem with one of my builds a couple months ago, so let me share what I found. I had a multi-module project

ConversionException

2008-09-29 Thread Dmitry Beransky
Hi, what could be causing this exception (in maven 2.0.9)? [INFO] Trace com.thoughtworks.xstream.converters.ConversionException: dependenciesInfo : dependenciesInfo Debugging information message : dependenciesInfo : dependenciesInfo cause-exception :

Re: reactor plugin Embedded error: Roots differ

2008-09-29 Thread Dan Fabulich
Dan Fabulich wrote: Jorg Heymans wrote: The root-pom/pom.xml contains a modules section that just references the project modules modules module../modules/module /modules Yup, this is a known bug MREACTOR-1 http://jira.codehaus.org/browse/MREACTOR-1 It'll be pretty tough to fix it, I

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Ed Hillmann
2008/9/30 Dan Tran [EMAIL PROTECTED]: repo1.maven.org has a new IP Address, so if you hardcoded repo1.maven.org in your /etc/hosts you will have this problem. Sorry if this s a repeat. -D We're having this exact same problem. Our Nexus repository suddenly over the weekend couldn't access

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Jason van Zyl
We could start publishing a feed, but depending on the IP of the machine is probably not the best idea. Given that we've installed a load balancer the IP you get is going to be a whatever you get. On 29-Sep-08, at 6:59 PM, Ed Hillmann wrote: 2008/9/30 Dan Tran [EMAIL PROTECTED]:

Re: Accessing project version number from Java

2008-09-29 Thread Lee Meador
I use this little snippet inside ant build.xml target named versionProperties to generate a Java file that gets compiled and provides a constant (as ProgramVersion.VERSION): property name=generated.src.dir location=${basedir}/target/generated-sources/java / echo

Re: Are we blocked by central Maven repo?

2008-09-29 Thread Ed Hillmann
On Tue, Sep 30, 2008 at 9:38 AM, Jason van Zyl [EMAIL PROTECTED] wrote: We could start publishing a feed, but depending on the IP of the machine is probably not the best idea. Given that we've installed a load balancer the IP you get is going to be a whatever you get. Thanks for the info.

Re: Site deployment to sourceforge.net broken

2008-09-29 Thread Jiaqi Guo
Is there an official answer for Marat's question? Can site plugin be configured to deploy file by file instead of zip/unzip? Thanks. http://sourceforge.net/community/forum/topic.php?id=3518pagereplies=1 Regards -Jiaqi Guo SourceForge Marat Radchenko wrote: After last changes in sf.net

Re: Maven schemaspy plugin with MSSql

2008-09-29 Thread Sench
Hi Brad, Thanks for your reply. I needn't to download source, I'll wait still normal version would be released. Thanks! -- View this message in context: http://www.nabble.com/Maven-schemaspy-plugin-with-MSSql-tp19719190p19736091.html Sent from the Maven - Users mailing list archive at

Re: Maven schemaspy plugin with MSSql

2008-09-29 Thread Wayne Fay
Perhaps you should consider using the jdbcUrl parameter instead? That should let you pass the port info, I would assume. *Note: I've never used this plugin, just glanced at the docs. Wayne On Mon, Sep 29, 2008 at 9:45 PM, Sench [EMAIL PROTECTED] wrote: Hi Brad, Thanks for your reply. I

Re: YUICompressor plugin going ape

2008-09-29 Thread Milos Kleint
additionally I would try running the build with command line maven (is settable in project's properties) In fact the command line maven execution will be default in netbeans 6.5 as the embedded build is encountering many problems. Incompatibility with the latest released bits, bugs, not having