Re: [m2] slow filtered resources

2005-07-18 Thread Kenney Westerhof
On Tue, 19 Jul 2005, Brett Porter wrote: Filtering is indeed off by default. My 2 cents: I've been pondering how to exclude resources from filtering. All that I could think of was to apply some includes/excludes mechanism (that would apply to all defined), or to add the tag to a tag to allow

Re: [m2] slow filtered resources

2005-07-18 Thread Brett Porter
I think filtering should be off by default (not sure if this is the case), and you should introduce your own resources directories with patterns and attributes if you want filtering, though the below solution is also a good one. I'd like to see what others think. - Brett On 7/19/05, John Fallow

[m2] slow filtered resources

2005-07-18 Thread John Fallows
If there are a lot of resources in a JAR, say images, and one text file that requires filtering, then filtering is still enabled with a global switch on the maven-reources-plugin, right? This seems to be causing a significant slow down in file copying. Perhaps all files are being put through the

Re: Assembly plugin error

2005-07-18 Thread Brett Porter
The assembly plugin requires a descriptor that describes how to assemble the distribution. There are some builtin ones (descriptorId of bin, src, jar-with-dependencies), or you can create your own and specify it with descriptor. Examples: http://svn.apache.org/repos/asf/maven/components/trunk/mave

Re: How to include dependencies when building/installing a .jar ???

2005-07-18 Thread Brett Porter
Sort of. The assembly plugin emulates javaapp from maven-plugins.sf.net as well as dist from maven. It can package like uberjar, but doesn't have the autoextract and classloader construction that uberjar did. I don't think people used that, however as it was appallingly slow. If there is demand f

Assembly plugin error

2005-07-18 Thread Eric Weiss
Maven2 java 1.5x I am trying to use the Assembly plugin to build an "uber" jar, or any other archive type, that contains all of my classes, resources and dependencies. Once I move the archive file to the deployment server I need to do some manual things including extracting everything and mo

Re: How to include dependencies when building/installing a .jar ???

2005-07-18 Thread Johnny Ruiz
Hi guys, Is there an uberjar plugin already for M2? Or is someone working on the plugin for M2? I'm actually working on duplicating the uberjar plugin of M1 to M2. Cheers, Johnny Ruiz Marc Attiyeh wrote: How about Uberjar? http://maven.apache.org/reference/plugins/uberjar/index.html

Re: [m2] plugin as module?

2005-07-18 Thread Brett Porter
http://jira.codehaus.org/browse/MNG-326 I need to note the plugin as a dependency requirement. - Brett On 7/19/05, John Fallows <[EMAIL PROTECTED]> wrote: > On 7/16/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > I think you had a pretty good handle on everything else in here, but > > on this po

Re: [m2] plugin as module?

2005-07-18 Thread John Fallows
On 7/16/05, Brett Porter <[EMAIL PROTECTED]> wrote: > I think you had a pretty good handle on everything else in here, but > on this point: > > On 7/8/05, John Fallows <[EMAIL PROTECTED]> wrote: > > But, the reactor does not seem to notice that one of the modules is > > actually a plugin that is u

Re: [m2] deploy and release information

2005-07-18 Thread John Fallows
On 7/16/05, Brett Porter <[EMAIL PROTECTED]> wrote: > It should work. Please file a JIRA issue. Done, filed issue MNG-606. http://jira.codehaus.org/browse/MNG-606 Kind Regards, John Fallows. - To unsubscribe, e-mail: [EMAIL PRO

Re: Legacy 1.x Remote Repository to Maven 2 Repo

2005-07-18 Thread Eric Weiss
Thx Brett for the quick reply. We are experiencing the obvious issue that not everyone is ready/willing/able to switch to Maven2 (either now or when it is prod). That means we need to keep two enterprise wide repos. This is not preferrable, but certainly workable. Is there a good way to au

[m1] is it possible to get ${pom.resources} as an

2005-07-18 Thread Rinku
Hi, Can I retrieve all resources defined within tags in a POM as an . Can this be accomplished with Jelly? Cheers, Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: EJBDoclet in Maven

2005-07-18 Thread Dennis Geurts
Hi Ken, I did a quick scan of your mail, and noticed the dependency to the jmx-module isn't there... I think this dependency is needed for ejbdoclet to work. please try a 'maven -X' to see a more verbose output. hope it helps, if you need more help, just ask. Dennis On 7/18/05, Ballard, Ken <

Re: adjustable SCM urls

2005-07-18 Thread Trygve Laugstøl
On Mon, Jul 18, 2005 at 02:59:20PM +0200, Tomasz Pik wrote: > During Continuum evaluation I've found following problem: > in some cases I've to define repository/connection elements using properties: > > > scm:cvs:pserver:${scm1.server}:/root/to/repo:module > > > because CVS is available th

EJBDoclet in Maven

2005-07-18 Thread Ballard, Ken
Anyone, I can't get ejbdoclet to work in Maven. I think I've seen every post out there and I still seem to be missing something. I have hibernatedoclet working without any problems, but ejbdoclet doesn't generate anything. It's the same code that I was using ejbdoclet to generate classes and de

Re: EJBDoclet in Maven

2005-07-18 Thread Dennis Geurts
mmhh, let's not forget the j2ee interfaces... it is also recommended to let generated source files be created in the target directory instead of creating them alongside your own source files... Dennis On 7/18/05, Ballard, Ken <[EMAIL PROTECTED]> wrote: > > Thanks, but it still isn't working

RE: [M2] Manifest.mf

2005-07-18 Thread Bennett, Timothy (JIS/Applications)
> -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Friday, July 15, 2005 11:55 PM > To: Maven Users List > Subject: Re: [M2] Manifest.mf > > I'd be interested to see what you are doing here, and whether > an osgi-bundle plugin could be created to assist in this.

Local repository

2005-07-18 Thread Milene Fiorio
Hi, I´m trying to configure a local repository with a shared directory from a machine called projeto05. After this, in an other machine, I wrote the following line into the build.properties file: maven.repo.remote=file:///projeto05/maven/repository. It works more or less, because the download

RE: problems generating documentation pages with docbook and site

2005-07-18 Thread Sean Hennessy
Katharina, I beg your pardon. Please excuse the transposition error in prior email. Best Regards, Sean -Original Message- From: Sean Hennessy [mailto:[EMAIL PROTECTED] Sent: Monday, July 18, 2005 10:45 AM To: Maven Users List Subject: RE: problems generating documentation pages with doc

Re: [m2a3] Ignoring groupId for custom plugins

2005-07-18 Thread Brett Porter
I think you're original was correct, and the bug has been fixed in beta-1. On 7/18/05, Vasyl Stashuk <[EMAIL PROTECTED]> wrote: > Hi, Allan! > > Thanks for your reply. > > When I change parent POM group id it says: > > [WARNING] Unable to get resource from repository http://repo1.maven.org/mave

RE: problems generating documentation pages with docbook and site

2005-07-18 Thread Sean Hennessy
Kahtarina, Yes, phase two integration of the resulting html and pdf into the maven generated site is still to be determined (TBD). I see output generated in target\docs\docbook, \target\generated-docbooks\html, and \target\generated-docbooks\pdf I gather that the addition of a unique goal is requ

ajax request

2005-07-18 Thread Maksimenko Alexander
Hi! I have to make ajax request which affect to many components in the page. For example, consider mail web application. It has list of messages (data table) and tree of folders(tree). When user clicks on message which is unread after ajax request we should 1) change style of the corresponding

RE: EJBDoclet in Maven

2005-07-18 Thread Ballard, Ken
Thanks, but it still isn't working, although it builds successfully. Here's the output form running maven -X xdoclet:ejbdoclet: [DEBUG] Finding class xjavadoc.DefaultXTag [DEBUG] Class xjavadoc.DefaultXTag loaded from ant loader [DEBUG] Class java.lang.IllegalArgumentException loaded from parent

RE : [M2] Sample Site Not Working

2005-07-18 Thread ah2 sur communication-langages-et-systemes.com
Hi, [ERROR] VM #menuItem: error: ... I used to have this error at the begining. I don't anymore. I think it is since I got the last snapshot of M2 in SVN. See : http://maven.apache.org/maven2/building.html for how to get it. [ERROR] RHS of #set statement is null. I still get this error... Plent

RE: EJBDoclet in Maven

2005-07-18 Thread Ballard, Ken
I fixed a small mistake (I didn't have a target/xdoclet/ejbdoclet dir). Now I get: [DEBUG] Class xjavadoc.JavaDocReader loaded from ant loader [DEBUG] Class java.lang.System loaded from parent loader [DEBUG] Class java.util.ArrayList loaded from parent loader [DEBUG] Class java.util.LinkedList loa

Re: "provided" dependency scope

2005-07-18 Thread Brett Porter
"provided" is correct, but I think this is a bug. It should be available to compile test code. I will put it in JIRA. - Brett On 7/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > My dilemma is pretty simple. I have a jar that meets the following > criteria: > > 1. The jar is needed

Re: Legacy 1.x Remote Repository to Maven 2 Repo

2005-07-18 Thread Brett Porter
Yes, we have an undocumented app that we use to do the conversion. Apparently it needs some tweaks to build right now. We will have it usable by 2.0 final. Search for repoclean in the users list mail archives and that should give you some help getting started with it. Cheers, Brett On 7/19/05, E

Re: EJBDoclet in Maven

2005-07-18 Thread Dennis Geurts
>Caused by: srcdir >"C:\workspaces\dfs\poc-v0018-middletier\dfs\ear\target\xdoclet >\ejbdoclet" does not exist! in the preGoal, create the target directory On 7/18/05, Ballard, Ken <[EMAIL PROTECTED]> wrote: > > Okay, I changed maven.xdoclet.ejbdoclet.destDir to be > ${maven.build.dir}/xdo

Directory Structure conventions for multiprojects

2005-07-18 Thread Ballard, Ken
Maven team, We're adopting Maven and I want to set up my directory structure with strict adherence to Maven conventions. We're in the early phases of a project, so I'm thinking that that will save us the most time in the future. I found "Maven: A Developer's Workbook" and the conventions page [htt

RE: EJBDoclet in Maven

2005-07-18 Thread Ballard, Ken
Okay, I changed maven.xdoclet.ejbdoclet.destDir to be ${maven.build.dir}/xdoclet/ejbdoclet in project.properties. And I have this for the j2ee dependency: jboss jboss-j2ee 4.0.0DR4 When I run maven -X java:compile, I get: [DEBUG] Registering SubTask homeinterfac

RE: How to include dependencies when building/installing a .jar ???

2005-07-18 Thread Marc Attiyeh
How about Uberjar? http://maven.apache.org/reference/plugins/uberjar/index.html -marc -Original Message- From: Eric Weiss [mailto:[EMAIL PROTECTED] Sent: Monday, July 18, 2005 2:40 PM To: Maven Users List Cc: users@maven.apache.org Subject: Re: How to include dependencies when building/

Re: problems generating documentation pages with docbook and site

2005-07-18 Thread Katharina Hahn
Hi Sean, thanks for you help. Though I don't get the expected output since I don't quite understand phase 2. Running sdocbook generates plain html-pages of the project's documentation. What exactly do I have to do next, to integrate this plain html into the maven based generated site? Best

Re: How to include dependencies when building/installing a .jar ???

2005-07-18 Thread Eric Weiss
Thx all for the responses. Yes, it does sound like an .ear/.war, but I don't have a web.xml file and it is not a web based app destined for a container. Actually, I am trying to deploy an app to an Apache JAMES server. I need a bunch of my own classes as well as many dependent jars put into

Re: [m2] NPE in maven-javadoc-plugin

2005-07-18 Thread John Fallows
On 7/16/05, Brett Porter <[EMAIL PROTECTED]> wrote: > On 7/12/05, John Fallows <[EMAIL PROTECTED]> wrote: > > I just noticed a NPE in the Maven2 Javadoc Report that occurs when > > ... is not present in the > > POM. > > > > Do I just file this bug against MNG/maven-reports on JIRA? Done, issue MNG

RE: problems generating documentation pages with docbook and site

2005-07-18 Thread Sean Hennessy
Katharina, Work in progress: Maven [M1] Docbook project artifacts transformation. Phase one transformation of Docbook XML based project documentation is accomplished with maven sdocbook plugin and Win command line used here. Phase two TBD will integrate these project documentation and design artif

problems generating documentation pages with docbook and site

2005-07-18 Thread Katharina Hahn
Hi all, I have a problem whose solutions seems to be quiet easy but still I cannot figure out how to solve it. Maybe someone can help me: I would like to use docbook-files for project documentation and integrate those docbook-files into the projects html-page generated by the goal 'site'.

[M2] Sample Site Not Working

2005-07-18 Thread Michael Owen
Hi, When using Maven2 and trying to create the site as specified at http://maven.apache.org/maven2/site.html I get the following error: [ERROR] VM #menuItem: error: too few arguments to macro. Wanted 1 got 0 ... [ERROR] RHS of #set statement is null. Context will not be modified. org/apach

Re: [m2] Eclipse dependencies

2005-07-18 Thread Trygve Laugstøl
On Mon, Jul 18, 2005 at 12:18:41PM +0200, Kenney Westerhof wrote: > On Mon, 18 Jul 2005, Jose Gonzalez Gomez wrote: > > Hi, > > Properties are not supported in M2. > I've created a patch for the maven-eclipse-plugin to create dependencies > on 'workspace' projects if they are available. The patch

[M2] ClassCastException for Marmalade script

2005-07-18 Thread Michael Owen
Hi, When I run the following Marmalade script through a custom Maven2 plugin I get the following error: java.lang.ClassCastException at org.codehaus.marmalade.compat.ant.model.AntAdapterTag.buildAntObject(AntAdapterTag.java:138) etc. etc. Just wondering if anybody has any clues what the

Re: [M1] Adding tools.jar

2005-07-18 Thread Martin Burger
Marc Jambert schrieb am 18.07.2005 15:16: Hello Martin, Thanks for answering. the only problem is that I am using Maven2 and it appears there is no sun groupid in the m2 repo... Sorry, my email was intended as question, not as answer. Regards, Martin --

Re: [M1] Adding tools.jar

2005-07-18 Thread Marc Jambert
Hello Martin, Thanks for answering. the only problem is that I am using Maven2 and it appears there is no sun groupid in the m2 repo... Martin Burger wrote: Hello, I added JDK's tools.jar as follows: project.properties: === snip === maven.jar.override=on maven.jar.tools=${java.home}/../li

Re: [m2a3] Ignoring groupId for custom plugins

2005-07-18 Thread Vasyl Stashuk
Hi, Allan! Thanks for your reply. When I change parent POM group id it says: [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 Downloading: http://devel.priocom.com:/repository/com.priocom.test/poms/maven-plugin-parent-2.0-alpha-3.pom [WARNING] Unable to get res

[M1] Adding tools.jar

2005-07-18 Thread Martin Burger
Hello, I added JDK's tools.jar as follows: project.properties: === snip === maven.jar.override=on maven.jar.tools=${java.home}/../lib/tools.jar === snap === project.xml === snip === sun tools jar === snap === That solution taken from the

[M2] JDK tools.jar dependency

2005-07-18 Thread Marc Jambert
Hi all, I would like to know what is the *cleanest* way, if any, to add tools.jar library (from the JDK/lib) as a dependency of my project ? I cannot find it in the m2 repository and I would prefer not to add it in a local repository. Thanks Marc ---

RE: "provided" dependency scope

2005-07-18 Thread JWiegman
My dilemma is pretty simple. I have a jar that meets the following criteria: 1. The jar is needed to compile my source code 2. The jar is needed to compile my test code 3. The jar is supplied by my container, so I don't want it packaged up with the artifact that gets generated. If I set the de

Re: [M2] Marmalade script using JUnit

2005-07-18 Thread Michael Owen
That's great. Thanks for your help. Seems obvious now you say. :-) I'm using Ant 1.6.2 so I have the dependency for ant-launcher 1.6.2 ie: ant ant-launcher 1.6.2 I'm now getting: java.l

Re: [M2] Marmalade script using JUnit

2005-07-18 Thread Kenney Westerhof
On Mon, 18 Jul 2005, Michael Owen wrote: You need to include ant-launcher as a dependency. Btw, you might find that ${a-b} is evaluated as an expression (not sure if this is an issue in Marmalade, but this was a problem with jelly - just thought i might warn you). > Hi, > > As surefire in Maven2

[M2] Marmalade script using JUnit

2005-07-18 Thread Michael Owen
Hi, As surefire in Maven2 doesn't create HTML reports yet, I'm trying to temporary get around the problem by writing a Marmalade plugin script that uses Ant tasks to do this. So far I'm just trying to get JUnit working through the Marmalade. This is the execute part of my script so far:

Umlaut Translation not Working

2005-07-18 Thread Daniel Frey
Hello I would expect the maven:site (and therein maven:xdoc) command to correctly translate umlauts into their corresponding HTML entities when executed. Instead I get them one-to-one in my html site, which leads to problems for some web server configurations. I do not override maven.docs.outpute

Re: [m2] Eclipse dependencies

2005-07-18 Thread Kenney Westerhof
On Mon, 18 Jul 2005, Jose Gonzalez Gomez wrote: Hi, Properties are not supported in M2. I've created a patch for the maven-eclipse-plugin to create dependencies on 'workspace' projects if they are available. The patch has not been comitted yet, but I hope it will be soon (you can vote for it): h

[m2] Eclipse dependencies

2005-07-18 Thread Jose Gonzalez Gomez
Hi there, With Maven 1.x you could add the following to get the eclipse plugin generate a dependency for another project in the workspace: true If I try to do the same in m2 I get the following error: [INFO]

Maven plugin for IntelliJ IDEA Inspections

2005-07-18 Thread Wim Deblauwe
Hi, When you use the IntelliJ IDEA plugin, there is a possibility to let IDEA do inspections of your code. You can do this from within the GUI or using a tool called inspection.exe. I started to write a maven plugin to allow these inspections to be integrated in a maven build. Currently it is v

Hi!!!

2005-07-18 Thread NIRMALA Manivasagam
Hi All, Iam new to maven.Iam now using maven to download the source and compiling and deploying For this what arev the environment to set...and what are the xml files i should include...Pls clarify With Regrads, Nirmala Confidentiality Statement: This message is intended only for the

Re: M2: Configuring Test Folders

2005-07-18 Thread Emmanuel Venisse
Actually, all test classes must be in target/test-classes. Create a jira issue for this. Emmanuel Michael Owen wrote: Hi, Firstly, I'm using Maven2. I'm trying to configure where test classes are placed, and where the test reports are placed. I'm trying to do this by changing my pom.xml fi

M2: Configuring Test Folders

2005-07-18 Thread Michael Owen
Hi, Firstly, I'm using Maven2. I'm trying to configure where test classes are placed, and where the test reports are placed. I'm trying to do this by changing my pom.xml file to have: build/testclasses and also: org.apache.maven.plugins

Re: How can i get the parent directory when i run Maven

2005-07-18 Thread rahul murthy
thanks Brett that was all i was looking for... thanks once again. rahul. --- Brett Porter <[EMAIL PROTECTED]> wrote: > > ... > ${f.parent} > ... > > (f is a java.io.File, so f.parent is the equivalent > of f.getParent()) > > - Brett > > On 7/18/05, rahul murthy <[EMAIL PROTECTED]> > wro

maven1.0.2 - jar Java Source attachment

2005-07-18 Thread Anthony Kong
Hi, all, In eclipse, we can specify in each library in the workbench the location of Source Attachment or JavaDoc Location. How can I define these attribute in maven? Cheers, AK

Re: Problems with dependencies (Digester) of self written plugin

2005-07-18 Thread Brett Porter
Yes, they are separated from each other and only inherit minimal Maven and Plexus specific classes form Maven itself. On 7/18/05, Martin Burger <[EMAIL PROTECTED]> wrote: > Brett Porter schrieb am 16.07.2005 06:51: > > >Unfortunately you are stuck here. The version in MAVEN_HOME/lib is > >used ab

Re: Problems with dependencies (Digester) of self written plugin

2005-07-18 Thread Martin Burger
Brett Porter schrieb am 16.07.2005 06:51: Unfortunately you are stuck here. The version in MAVEN_HOME/lib is used above the others due to the classloader hierachy in use and the fact that plugins are not separated. What about upcoming 2.0? Will the plugins be separated (with respect to the c