RE: [m2] Xdoclet trial

2005-08-18 Thread Kevin McNamee
Hi Kenney, Ok now it downloads. Then I get the following exception Caused by: org.apache.maven.project.ProjectBuildingException: Failed to parse model from file '/home/kevin/.m2/repository/org/apache/maven/plugins/maven-xdoclet-plugin/1.

how to setup an ibiblio-upload-request for native code ?

2005-08-18 Thread Nicolas De Loof
Hello, I'd like to set an upload request for javadesktop JDIC : https://jdic.dev.java.net/ This toolkit allow me to setup a windows system-tray icon for my java application It requires 4 artifacts : - a common (portable) jar - a native stub jar - a native DLL - a tray specialized DLL On

[M2] How to specify a diferent resource directory in resource:resources plugin

2005-08-18 Thread Andrius Karpavicius
Hi Is there a way in pom.xml to pass a list instead of a string as a property value? I want to use a resources:resources plugin before war packaging, so it would filter a webapp directory. Problem is that resources expects a list, not a String. This is a section of pom.xml file. plugin

RE: [m2] Xdoclet trial

2005-08-18 Thread Kenney Westerhof
On Thu, 18 Aug 2005, Kevin McNamee wrote: Hi Kenney, Ok now it downloads. Then I get the following exception Caused by: org.apache.maven.project.ProjectBuildingException: Failed to parse model from file '/home/kevin/.m2/repository/org/apache/maven/plugins/maven-xdoclet-plugin/1.

Re: [M2] How to specify a diferent resource directory in resource:resources plugin

2005-08-18 Thread Edwin Punzalan
For lists, you should separate into elements like so: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId executions execution phasetest/phase configuration resources

Re: [M2] How to specify a diferent resource directory in resource:resources plugin

2005-08-18 Thread Andrius Karpavicius
Hi, Thanks, it doesn't complain anymore that it is not a list, however does not pay any attention to the resources parameter I specify. I added a printout in ResourcesMojo and the only directory it picks up is a default one - src/main/resources The rest of parameters - outputDirectory,

RE: [m2] Transitive Dependency Question

2005-08-18 Thread Allison, Bob
Is it a bug in the javadoc (not using the compile path) or the compiler (using a dependency it shouldn't)? The portal server we use already puts log4j into the app server's classpath, so we aren't actually adding that. I have not seen any docs regarding not putting log4j into a container.

RE: Maven 1.0.2, uberjar and properties problem

2005-08-18 Thread Levitt, David, Bookspan
It tried modifying the required maven version to 1.0.2, and now the plugin executes, but it did not generate a working bundled jar [MyPoints -test should just echo properties read from the application's config file] screen shot--- javaapp:jar: [unzip] Expanding:

[Maven_1.1-beta-1]

2005-08-18 Thread Faucher Aurélie
Hello! Is it possible to change the local repository of Maven? It's C:\Documents anb settings\login\.maven and I would llike to change it. Aurélie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Maven and Big Projects. Help and ideas.

2005-08-18 Thread Marcelo Alcantara
Hi Dan, Thank you very much for the reply. I still have some doubts and think that maybe you can help me. 1) web parent common war What would be contained inside the common and parent?? It would generate different wars?? 2) The whole big project (ear) would take some time to

Goal gridSphereDeployAll does not exist in this project.

2005-08-18 Thread Andersen, Bradley David
I am trying (for the first time) to deploy gridsphere 2.0.2 on ogce2. I have ant, maven, tomcat (and compat patch), j2sdk *seemingly running well. This is what I get when I build ant and deploy gridsphere: ## install: [echo]

Re: [Maven_1.1-beta-1]

2005-08-18 Thread Andy Glick
At 08:57 AM 8/18/2005, you wrote: Hello! Is it possible to change the local repository of Maven? It's C:\Documents anb settings\login\.maven and I would llike to change it. Aurélie - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: how to setup an ibiblio-upload-request for native code ?

2005-08-18 Thread David Jackman
I don't know if there is a standard for this type of artifact. Everything I've seen in Ibiblio is a jar. For our company's projects, we do have needs for DLL artifacts as well as DLLs that require additional configuration and data files. In our internal repository, we've standardized on a 'dll'

Re: Goal gridSphereDeployAll does not exist in this project.

2005-08-18 Thread Marcus A Christie
Andersen, Bradley David wrote: [EMAIL PROTECTED]:~/maven-1.0.2/bin$ ./maven gridSphereDeployAll Bradley, I'm a member of the OGCE project. The above line suggests to me that you ran this command from the maven/bin directory. Instead you want to add the maven/bin directory to your path and

[m1] war-resources filtering

2005-08-18 Thread Simon McClenahan
I have a need for filtering from ${maven.war.src}. Searching JIRA for war filter comes up with a few unresolved issues that I think are related: http://jira.codehaus.org/browse/MPWAR-46 http://jira.codehaus.org/browse/MPWAR-39 http://jira.codehaus.org/browse/MPWAR-37 The Maven documentation at

project.xml, maven-v3_0_0.xsd and xml aware editors

2005-08-18 Thread Levitt, David, Bookspan
Is there a standard way [a 'best practice'] for declaring a project for an XML aware editor? [using JEdit 4.2 with the XML plugin] I'm starting with: project xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: [Maven_1.1-beta-1]

2005-08-18 Thread dan tran
what you want is to override maven.repo.local to somewhere else. Where to put this property? http://maven.apache.org/reference/properties.html -D On 8/18/05, Andy Glick [EMAIL PROTECTED] wrote: At 08:57 AM 8/18/2005, you wrote: Hello! Is it possible to change the local repository of Maven?

[M1.1b1] xdoc plugin problems

2005-08-18 Thread Jim Dickinson
Here's a log of the problems I have been getting. I am building the site for a multiproject, and about a third of the lines printed are the log4j error. What is xdoc doing that is causing this error to display? It seems harmless, but I'd like to get it to go away so my log files would be

[m2] /repository/releases tag

2005-08-18 Thread Marcell Manfrin Barbacena
Hi, What is the meaning of releases tag inside reposity in the pom? repository idsnapshots/id nameMaven Central Development Repository/name urlhttp://snapshots.maven.codehaus.org/maven2/url releases enabledfalse/enabled /releases /repository Tnx.

RE : [M1.1b1] xdoc plugin problems

2005-08-18 Thread Pascal Larin
Jim, We also run Maven 1.1beta1. We have the same problem. Every time I run a multiproject:site, we get the same error log4j:ERROR Attempted to append to closed appender named [null]. We use Cruisecontrol and our log files grew from 1 MB to 9 MB!!! I'm not sure if it is an xdoc plugin bug. There

Re: [m2] /repository/releases tag

2005-08-18 Thread Emmanuel Venisse
This repository doesn't accept released artifacts, so, only snapshot. For a repository that accept only released artifacts, you use repository ... snapshot enabledfalse/enabled /snapshot /repository Emmanuel Marcell Manfrin Barbacena wrote: Hi, What is the meaning of releases tag

Re: [m2] /repository/releases tag

2005-08-18 Thread Trygve Laugstøl
On Thu, Aug 18, 2005 at 01:25:03PM -0300, Marcell Manfrin Barbacena wrote: Hi, What is the meaning of releases tag inside reposity in the pom? It is a hint to maven to say if the repository can contain releases or not. There is an equal snapshots tag indicating the same thing about snapshots.

Re: Maven and Big Projects. Help and ideas.

2005-08-18 Thread dan tran
On 8/18/05, Marcelo Alcantara [EMAIL PROTECTED] wrote: Hi Dan, Thank you very much for the reply. I still have some doubts and think that maybe you can help me. 1) web parent common war What would be contained inside the common and parent?? It would generate different

Re: [m1] war-resources filtering

2005-08-18 Thread Raphaël Piéroni
Hello, I proposed the modification of the war-war-resources for filtering (MPWAR-46) because we use a database for each developer and therefore we need not to have each one modify the configuration files using the ant filtering defining the filters using a pre-goal. The build system has

Create M1 sites in Continuum

2005-08-18 Thread Mayorgaadame, Alex [IT]
I have not been able to find information about how to add the maven site command when creating a new maven project through continuum. Do you know of any link that I can navigate to get more info? - To unsubscribe, e-mail:

Maven unattended build process ---?

2005-08-18 Thread Sanjay Choudhary
We currently use Maven 1.0.2 only for building a J2EE application. *Developers aren't using it as yet.* :-( Our current process is described below. We run this process everynight to create EAR and deploy them in Sandbox. I will appreciate everyone's suggestions and comments to improve the

Re: Create M1 sites in Continuum

2005-08-18 Thread Torsten Curdt
On 18.08.2005, at 23:58, Mayorgaadame, Alex [IT] wrote: I have not been able to find information about how to add the maven site command when creating a new maven project through continuum. Do you know of any link that I can navigate to get more info? Huh? under edit you can specify

Re: Maven unattended build process ---?

2005-08-18 Thread Thomas Van de Velde
Sanjay, You might want to look at continuous integration engines like CruiseControl, Anthill or Luntbuild, which take care of the tagging and are ideal for nightly builds. Maven would then just be used for build and packaging. CVS operations are handled by the build server. However, for

Using ESS-Model with Maven?

2005-08-18 Thread Mick Knutson
How can I generate UML documentation of my soruce in Maven? htmlDIV PIMG height=2 src=http://graphics.hotmail.com/greypixel.gif; width=100% vspace=9Thank YouBRSTRONGMick Knutson /STRONGBRBREMSr. Java/J2EE Consultant BR/EMSTRONGEMBASE logic, inc. BR/EM/STRONG(415) 648-1804 (S.F., CA) BRA

Re: project.xml, maven-v3_0_0.xsd and xml aware editors

2005-08-18 Thread Andy Glick
At 11:36 AM 8/18/2005, you wrote: Is there a standard way [a 'best practice'] for declaring a project for an XML aware editor? ... snip ... project xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://maven.apache.org/maven-v3_0_0.xsd; and

Re: Maven unattended build process ---?

2005-08-18 Thread Sanjay Choudhary
Hi Tom, Is your plug-in public or private? If its public, whats the name of your plug-in? On 8/18/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: Sanjay, You might want to look at continuous integration engines like CruiseControl, Anthill or Luntbuild, which take care of the tagging

Re: Maven unattended build process ---?

2005-08-18 Thread dan tran
Sanjay, beside from CI as Thomas suggested. If your have a night build fail. You should increment the build number and tag it again for the next build. However even with simple cron job to do scm:update and build every hour would reduce your chance of failed nightly build big time. It works

Maven/Spring Testing

2005-08-18 Thread Marcelo Alcantara
Friends, I am using spring in a J2EE project that is being build with maven. Somebody here have a good picture on how organizing different spring applicationContext.xml s for main and test?? To be more clear, in a production environment, my ejb will need to get one applicationcontext.xml. In

Re: [M2] How to specify a diferent resource directory in resource:resources plugin

2005-08-18 Thread Johnny R. Ruiz
Andrius, I'm not sure why your configuration is not working... but I have a work around to your problem. Try this. build resources resource directorysrc/main/webapp/directory /resource resource directorysrc/main/resources/directory

Re: Maven/Spring Testing

2005-08-18 Thread Carlos Sanchez
Hi, My approach is using classpath application contexts so the ones in src/test/resources override the ones in src/main/resources. You can check it out at http://oness.sourceforge.net On 8/18/05, Marcelo Alcantara [EMAIL PROTECTED] wrote: Friends, I am using spring in a J2EE project that is

Re: Maven/Spring Testing

2005-08-18 Thread Marcelo Alcantara
Hi Carlos, But how do the test ones override the main ones?? Having the same names?? Can you give me more hints about it?? This is just what I need. I will download the oness from home as I cannot go out with maven from the company proxy. Thanks a lot man. Marcelo On 8/18/05, Carlos Sanchez

Re: Maven unattended build process ---?

2005-08-18 Thread Sanjay Choudhary
Hi Dan, thanks for your comments and I tried it but it fails First Build 1. Bootstrap code for release 1.0.1 2. multiproject:prepare-release will Tag in CVS and project.xml gets updated with version 1.0.1 3. maven goal-name Second build 1. Bootstrap code. 2. mulitproject:prepare-release will

Re: Maven/Spring Testing

2005-08-18 Thread Carlos Sanchez
The test ones need to be in the classpath before the main ones. IIRC that's by default or maybe in the project.xml build section On 8/18/05, Marcelo Alcantara [EMAIL PROTECTED] wrote: Hi Carlos, But how do the test ones override the main ones?? Having the same names?? Can you give me more

Re: Maven unattended build process ---?

2005-08-18 Thread dan tran
Sanjay, you and I have the same build requirements ( tag daily build) but I dont use multiproejct:prepare-release. This is the different. In my case, I have a single version property defined at the root pom, and all subproject's version and dependency's version, except the thirdpary ones, reuse

Re: Maven/Spring Testing

2005-08-18 Thread Thomas Van de Velde
I give them a seperate name. In fact, in a unit test, you do not want to load your full production context as this may have a big performance impact (especially when using Hibernate). The best thing to do is 1) avoid loading application contexts where possible by using mock implementations for

Re: Maven unattended build process ---?

2005-08-18 Thread Sanjay Choudhary
Hi Dan, This makes perfect sense. Thanks for your help. In one of your steps you said tag the entire source source. How do you tag it? Do you use ant rtag or someother mechanism? Thanks, Sanjay On 8/18/05, dan tran [EMAIL PROTECTED] wrote: Sanjay, you and I have the same build

scm:checkout:

2005-08-18 Thread Michael McCrann
I am having a problem using scm:checkout: /c/michaels_projects/master_build maven scm:checkout -Dmaven.scm.cvs.module=project1 __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1 build:start: scm:find-connection:

Source code tar

2005-08-18 Thread Michael McCrann
Is it possible to get the Maven source code release beta1.1 in a tar file? It's not available in the Apache download area. NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of

Re: scm:checkout:

2005-08-18 Thread Brett Porter
the CVS module is not being used unless you also specify the root (but this is deprecated in 1.5). You can: a) include the module at the end of connection/ and developerConnection/ ie .../repository:project1 b) pass in the whole URL from the command line with

Re: Source code tar

2005-08-18 Thread Brett Porter
We haven't provided source code tarballs because the current build of Maven requires the plugins to be present, and tarring that up is a bit awkward given it releases with versions from different revisions. This is something we hope to rectify in the future. You should be able to obtain the code