Re: Failed attempts to download POMs

2005-10-23 Thread Brett Porter
It's a known issue we'll look to fix in 2.0.1. You can alleviate it by using the main maven2 repository for artifacts that already exist there, and creating short poms for anything else. - Brett On 10/22/05, Trey Moore [EMAIL PROTECTED] wrote: How do I prevent Maven 2 from attemping to

M2 basic question about generate-sources and xdoclet

2005-10-23 Thread Pete
1) I'm using the xdoclet plugin to generate the EJB .java files for Home, Remote etc, these are currently going in the ejb JAR as .java files, surely the .class files should go in the .jar file. The only .class file in my EJB jar is the Bean.class that has my xdoclet tags on it. 2) Where

RE: Sample plugin.

2005-10-23 Thread Daniel Or
My mistake. I didn't double check myself. The source location was missing. __ Daniel Or _._._._._._._._._. From: Daniel Or Sent: Sunday, October 23, 2005 11:57 AM To: users@maven.apache.org Subject: Sample plugin. Hi. I followed the

Re: [M2] deployment : session is down

2005-10-23 Thread Piotr Bzdyl
Hi, We upgraded to a jsch that was supposed to have fixed it, but it seems to have gotten worse. The main workaround at this point is to use scpexe:// or ftp:// instead. http://maven.apache.org/guides/mini/guide-deploy-ftp.html details using ftp - the steps for scpexe (wagon-ssh-external) are

Cargo plugins support M2 ?

2005-10-23 Thread Pete
Hi there, I would like to use cargo to start my app server / deploy via maven ? I'm guessing that the cargo maven plugin support will allow this ? But I'm using M2, is the plugin M2 compatible ? Any advice greatfully received ? e.g. any examples of how to configure/use the cargo maven goals ?

Re: Cargo plugins support M2 ?

2005-10-23 Thread Mark Hobson
On 23/10/05, Pete [EMAIL PROTECTED] wrote: Hi there, I would like to use cargo to start my app server / deploy via maven ? I'm guessing that the cargo maven plugin support will allow this ? But I'm using M2, is the plugin M2 compatible ? Any advice greatfully received ? e.g. any examples of

M2 with oc4j

2005-10-23 Thread Pete
Has anyone out there got any suggestions of how to integrate a M2 build with Oracle's oc4j J2EE container. I'm looking to be able to start the oc4j container, deploy, run incontainer JUnitEE tests etc, from M2. - To unsubscribe,

Re: Re: [m2] Fatal error trying mvn site

2005-10-23 Thread Wim Deblauwe
The issue in JIRA (http://jira.codehaus.org/browse/MNG-1216) states that it has been fixed in 2.0, but I was running the released 2.0 of Maven. Is the fix version of the bug wrong in JIRA? regards, Wim 2005/10/22, Brett Porter [EMAIL PROTECTED]: It is in JIRA, we'll try and get a fix out as

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Wim Deblauwe
Cool, hopefully the idea plugin will take advantage of this soon! (and the documentation of maven will mention how to generate such artifacts) regards, Wim 2005/10/22, Brett Porter [EMAIL PROTECTED]: In Maven2, yes, it is standardised (-src and -javadoc) and they can be published to the

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Milos Kleint
well, javadocs culd be published easily in maven 1.x but AFAIK it was almost completely unused (try searching the ibiblio.org http://ibiblio.orgrepository) So to get the feature useful, there should be a more aggressive policy IMHO. Like when uploading to remote repository always upload javadocs

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Ralph Pöllath
On 23.10.2005, at 14:08, Milos Kleint wrote: well, javadocs culd be published easily in maven 1.x but AFAIK it was almost completely unused (try searching the ibiblio.org http:// ibiblio.orgrepository) So to get the feature useful, there should be a more aggressive policy IMHO. Like when

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Wim Deblauwe
Wow, I was unaware of that being possible. How do you do it? regards, Wim 2005/10/23, Ralph Pöllath [EMAIL PROTECTED]: On 23.10.2005, at 14:08, Milos Kleint wrote: well, javadocs culd be published easily in maven 1.x but AFAIK it was almost completely unused (try searching the

Re: Re: [m2] Fatal error trying mvn site

2005-10-23 Thread Brett Porter
I think this was a jira miscommunication. It's just waiting for a release of the plugin for a fix, these have their own release cycles. We're still trying to determine the most useful technique for doing this in JIRA. - Brett On 10/23/05, Wim Deblauwe [EMAIL PROTECTED] wrote: The issue in JIRA

Re: Pulling API and SRC Jars from Repos

2005-10-23 Thread Brett Porter
We are going to add this to the recommended upload request, and it is by default in m2 using the release plugin. Just using deploy without the profile activated does not do it, but this is because we don't want to build them for snapshots and development builds due to the time involved. We'll get

Re: Re: [m2] Fatal error trying mvn site

2005-10-23 Thread Arik Kfir
Hi, Seems to me that each m2 plugin should reside in its own project, or, create more *versions* in JIRA that pertain to plugin-issues only. Currently, it's impossible to track the roadmap/changelog for plugin releases. Quickest route imo: leave everything as is, but create more versions in the

Testing a M2 plugin ??

2005-10-23 Thread mattias.olofsson
Hi, I’m trying to migrate my m1 plugins to m2, and have some questions before I get started. In m1 there was a directory structure and a specific goal to test the plugin. How should I test a plugin in m2. If the answer to 1. is to junit test it using surefire. How would I then populate my

Re: M2 basic question about generate-sources and xdoclet

2005-10-23 Thread Pete
I haven't solved by using :- ejbdoclet destdir=${project.build.directory}/generated-sources/xdoclet although I notice the output .jar file has both the generated .class files and the .java is this able to be corrected ? On 23/10/05, Pete [EMAIL PROTECTED] wrote: 1) I'm using the xdoclet

Re: M2 basic question about generate-sources and xdoclet

2005-10-23 Thread Pete
Meant to say I HAVE solved by using :- ejbdoclet destdir=${project.build.directory}/generated-sources/xdoclet although I notice the output .jar file has both the generated .class files and the .java is this able to be corrected ? On 23/10/05, Pete [EMAIL PROTECTED] wrote: I haven't solved

error while make my first maven project

2005-10-23 Thread Rico (privat)
Hi all, I've made my first maven project with Maven 2.0 and got following error while I've done described steps on getting started page with: mvn archetype:create -DgroupId=com.cando.app -DartifactId=budget [INFO] Failed to resolve artifact. GroupId: org.apache.maven.archetypes ArtifactId:

RE: Re: [m2] Fatal error trying mvn site

2005-10-23 Thread Vincent Massol
-Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: dimanche 23 octobre 2005 20:19 To: Maven Users List Subject: Re: Re: [m2] Fatal error trying mvn site Interesting idea, but not very scalable (there are already a large number of plugins). I wonder if

Cannot get mvn site:site to work

2005-10-23 Thread Greg
Hello, I am running Java 1.5 and Windows 2000 Pro. I have just installed Maven2 and created a test web application by typing in the following: mvn archetype:create -DgroupId=com.mycompany.myapp.app -DartifactId=myapp-webapp -DarchetypeArtifactId=maven-archetype-webapp This produced a

Re: error while make my first maven project

2005-10-23 Thread Brett Porter
Was there any additional information about why it failed to find the latest version? This might correct itself if you try again (perhaps using -U to force an update check). - Brett On 10/23/05, Rico (privat) [EMAIL PROTECTED] wrote: Hi all, I've made my first maven project with Maven 2.0 and

Re: Cannot get mvn site:site to work

2005-10-23 Thread Brett Porter
Everything here indicates that it successfully created the site in target/site, and followng your commands works for me. - Brett On 10/23/05, Greg [EMAIL PROTECTED] wrote: Hello, I am running Java 1.5 and Windows 2000 Pro. I have just installed Maven2 and created a test web application by

Re: Cannot get mvn site:site to work

2005-10-23 Thread Greg
DOP !!! -- Homerism I was looking for it in the src/site directory - like it is here : http://maven.apache.org/maven2/site.html I also did a search for it on my hard drive looking for an index.apt file but I guess the documentation is a bit out of date or I misread it. Thanks for the clue

maven2 and uberjar

2005-10-23 Thread Kevin Galligan
This might be a stupid question. I'm new to maven in general. I learned 1.1b2, then tried switching to v2. I've built a simple jar project with a couple dependencies. I'd like to make one big jar, or at least copy all dependencies to one directory. Any easy way to do that? In v1 it looks

Re: org.apache.maven.plugins:maven-compiler-plugin. Reason: Cannot resolve plugin dependencies

2005-10-23 Thread cheethus
Here is the version info of the IBM JDK... java version 1.4.2 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20041210 (JIT enabled: jitc)) Thanks, Kris. Brett Porter wrote: It's not a known issue. Is there a way we can

Re: maven2 and uberjar

2005-10-23 Thread Brett Porter
The assembly plugin can do this (but doesn't do the auto-unpack on execution that uberjar did, which was absurdly slow). - Brett On 10/23/05, Kevin Galligan [EMAIL PROTECTED] wrote: This might be a stupid question. I'm new to maven in general. I learned 1.1b2, then tried switching to v2.

Re: Cannot get mvn site:site to work

2005-10-23 Thread Brett Porter
:) The docs are right: Generating the site is very simple, and fast! m2 site:site The resulting site will be in target/site/... src/site is where you put the files you want to add to the site. - Brett On 10/23/05, Greg [EMAIL PROTECTED] wrote: DOP !!! -- Homerism I was looking for it in

RE: M2 with oc4j

2005-10-23 Thread Vincent Massol
Hi Pete, -Original Message- From: Pete [mailto:[EMAIL PROTECTED] Sent: dimanche 23 octobre 2005 13:47 To: Maven Users List Subject: M2 with oc4j Has anyone out there got any suggestions of how to integrate a M2 build with Oracle's oc4j J2EE container. I'm looking to be able to

Re: generate dependancies

2005-10-23 Thread Brill Pappin
Jason van Zyl wrote: On Tue, 2005-10-11 at 14:49 -0400, Brian E. Fox wrote: Kindof. We are moving from ANT and have a lib folder with 100+ jars. I'd like to visually see which ones we directly depend on and then have a tree that shows what those depend on. I experimented with Jdepend, but it

submitting patches in JIRA

2005-10-23 Thread Jason van Zyl
Howdy, For anyone supplying patches here's a little blurb that will make it easier for us to process patches: http://blogs.codehaus.org/projects/maven/archives/001200_how_to_deal_with_submitted_patches_effectively_using_jira.html Most people already put patch somewhere in the text, but now

RE: Where should configuration files go?

2005-10-23 Thread Jason van Zyl
On Sat, 2005-10-22 at 14:05 +0200, Vincent Massol wrote: Hi Robert, -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: samedi 22 octobre 2005 14:03 To: users@maven.apache.org Subject: Where should configuration files go? Greetings, I'm a recent

Re: [M2] Docbook support

2005-10-23 Thread Jason van Zyl
On Fri, 2005-10-21 at 13:27 +0200, Jose Gonzalez Gomez wrote: Thanks a lot, I'll try to take a look at it as soon as possible. Anyway, I've been taking a look at the head revision of org.codehaus.doxia.module.docbook.DocBookParser.java, and I doubt that this parser is going to generate

[M2]How to change the m2's defalut webapp dir to my own webroot dir?

2005-10-23 Thread Hong Xing
Hi all, In my previous projects, I have the following project layout: my-webapp |-- pom.xml |-- WebRoot | |-- index.jsp | `-- WEB-INF | `-- classes | `-- lib `-- src When I used mvn package to package my war, it can't find my WebRoot and failed. So how can I change the m2's

Re: [M2]How to change the m2's defalut webapp dir to my own webroot dir?

2005-10-23 Thread Brett Porter
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html warSourceDirectory is the configuration element to set to WebRoot. On 10/23/05, Hong Xing [EMAIL PROTECTED] wrote: Hi all, In my previous projects, I have the following project layout: my-webapp |-- pom.xml |-- WebRoot |