Re: [m2] Memory errors using CMD but not with CYGWIN

2006-02-22 Thread dan tran
windows has a limit 256 fullpath file name. Do you have any? -D On 2/22/06, Michael McCrann <[EMAIL PROTECTED]> wrote: > > Hi, > > I use both DOS CMD and CYGWIN to run Maven2. I have a large project > (869) files. > > I have discovered a stange thing: If my project is in a directory with a > lo

[m2] Memory errors using CMD but not with CYGWIN

2006-02-22 Thread Michael McCrann
Hi, I use both DOS CMD and CYGWIN to run Maven2. I have a large project (869) files. I have discovered a stange thing: If my project is in a directory with a long pathname, when I use Maven2 in a CMD window to compile the project I get OutOfMemory errors. However, if I do the compile from the sa

Re: [m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Wayne Fay
Oh wow, so the license acceptance etc is built into the Maven-retrieve-dependencies bit? So from the cli, I type "mvn clean package" and it asks "Do you agree with Sun EJB license... (Y/N)" and when you hit Y, it pulls it down just like any other dependency? That's a great idea! Wayne On 2/22/06

Re: eclipse maven multiproject

2006-02-22 Thread Manoj Kumar
hi i have try to reproduce your problem, i got an error of workspace overlapping, if u also have the same problem then you have to copy your project that is under trunk dir directly to workspace loc where .metadata dir resides hope it will work there is no need at all to copy your project in work

Re: [m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Alexandre Poitras
There will be one where you can accept the license before downloading the dependency. I think they are planning it for 2.1. On 2/22/06, Anthony Kong <[EMAIL PROTECTED]> wrote: > My guess is there will not be a global maven repo solution for sun's jars... > > > You may take a look at this document

Re: Can I invoke (execute) a parent pom within a child pom

2006-02-22 Thread Napoleon Esmundo Ramirez
Hello, I have a hunch that you need the functionality that ${ project.parent.relativePath} provides. This element works when the parent described by ${project.parent.groupId}, ${project.parent.artifactId} and ${ project.parent.version} is not in the local repo. In your child pom, you'll have to

Re: Get system/environment variable into MOJO help

2006-02-22 Thread Napoleon Esmundo Ramirez
Hello, AFAIK, system properties doesn't have expressions like project properties do. Using System.getProperty() will work, but you'd be better off passing parameters (just like how you mentioned) as the advantages are: you could inject the values thru the command line and you could specify the pa

Re: Changelog error linking to scm url

2006-02-22 Thread Brian Burridge
Had to change some of it for obvious reasons. ** **scm:cvs:ext:[EMAIL PROTECTED]:/noc/cvs/:webapps/appname** **scm:cvs:ext:[EMAIL PROTECTED]:/noc/cvs/:webapps/appname** **http://www.domain.com/cgi-bin/viewcvs.cgi/webapps/appname/** ** Brian On 2/22/06, Denni

Ant Script Path & Repository Variable

2006-02-22 Thread Alex Eagar
Where should Ant scripts ideally be placed within a Maven 2.x project? I have placed them in /src/main/resources/ant. Is there anywhere more maven-conventional? How should I reference the local repository from an Ant script in my project? There are custom Ant tags within a jar that has been dow

RE: [m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Anthony Kong
My guess is there will not be a global maven repo solution for sun's jars... You may take a look at this document here: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html Cheers, AK -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, 23 Februar

Re: [m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Wayne Fay
Oh, that would work just fine, too. ;-) Was just hoping for a global Maven repo solution. Wayne On 2/22/06, Anthony Kong <[EMAIL PROTECTED]> wrote: > You can setup an in-house repository. I setup mine using apache. Then > download the jars from sun and store them in your inhouse repo. > > Then

Re: Ant FTP task in 1.1

2006-02-22 Thread Jon Strayer
On 2/22/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > > you need to add this dependency in the root classloader > you can have a look at the site plugin dependencies. Thanks, that fixed it. Arnaud > > On 2/23/06, Jon Strayer <[EMAIL PROTECTED]> wrote: > > > > I've got a plugin that uses the

RE: [m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Anthony Kong
You can setup an in-house repository. I setup mine using apache. Then download the jars from sun and store them in your inhouse repo. Then add this to your pom.xml ... library library http://mywebserver/maven Ch

[m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Wayne Fay
Obviously I can download the Sun official EJB 2.0 interface jars myself and install them into my local repo etc. But I'd prefer to find something in ibiblio that can satisfy this requirement with a simple statement so my coworkers and our continuous integration server etc can get this with no hass

Re: Setting pom properties in mojo

2006-02-22 Thread Sachin Patel
Nope that didn't work. - sachin On Feb 22, 2006, at 6:27 PM, Alexandre Poitras wrote: I have no idea if it has something to do with it but have you tried to get ride of the @readonly annotations on the project property? On 2/22/06, Sachin Patel <[EMAIL PROTECTED]> wrote: How can I set a pr

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Alexandre Poitras
Weird because your pom seems alright. Have you run clean:clean before package or install? On 2/22/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: > That is the I meant too. Still I added it but no changes. Still no > classpath in my manifest. > > On 2/23/06, Alexandre Poitras <[EMAIL PROTECTED]> wro

RE: [m2] Logging level

2006-02-22 Thread Brian E. Fox
I don't believe there is a way. If you did around in the maven2 code, you'll find a log implementation that logs everything to stdout. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 7:17 AM To: users@maven.apache.org Subject: [m2]

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Kees de Kooter
That is the I meant too. Still I added it but no changes. Still no classpath in my manifest. On 2/23/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > I mean in the project.packaging element not the one in the dependency section. > > On 2/22/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: > > That

Re: Strange scp error

2006-02-22 Thread Alexandre Poitras
Please post the whole stack trace so we can see the source exception. On 2/21/06, Larry Feigen <[EMAIL PROTECTED]> wrote: > I'm trying to use scp to deploy from one Linux machine to another and > I'm seeing an inexplicable error. Maybe someone here can "explic" it. :-) > > Looking on the server,

Re: How to activate Plugin Repository?

2006-02-22 Thread Alexandre Poitras
Have you installed the plugin on the repository or just copied it? Because you need to install the Mojo to have it registered in the repository plugin registery. On 2/22/06, Dixit, Sandeep (ProSource Solutions) <[EMAIL PROTECTED]> wrote: > In my settings.xml, I have the following: > > myCo

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Alexandre Poitras
I mean in the project.packaging element not the one in the dependency section. On 2/22/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: > That is the default isn't it? > > On 2/23/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > And is your packaging set to Jar? > > > > --

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Kees de Kooter
That is the default isn't it? On 2/23/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > And is your packaging set to Jar? > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Alexandre Poitras
And is your packaging set to Jar? On 2/22/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote: > I'm not really sure what's wrong. Your POM seems to be correct. Do you > have dependencies that do not have a "provided" scope? These are excluded > from the classpath. Otherwise I'm not sure what's wrong.

Re: Setting pom properties in mojo

2006-02-22 Thread Alexandre Poitras
I have no idea if it has something to do with it but have you tried to get ride of the @readonly annotations on the project property? On 2/22/06, Sachin Patel <[EMAIL PROTECTED]> wrote: > How can I set a property in a mojo so that it is accessible in a pom? > > For example I have a dependency... >

Re: Ant FTP task in 1.1

2006-02-22 Thread Arnaud HERITIER
you need to add this dependency in the root classloader you can have a look at the site plugin dependencies. Arnaud On 2/23/06, Jon Strayer <[EMAIL PROTECTED]> wrote: > > I've got a plugin that uses the Ant FTP task. I just upgraded to > MAven 1.1Beta 2 and now it's getting the following error:

Re: [m2] dependency is not fetched from local repository

2006-02-22 Thread Alexandre Poitras
There is a typo in your pom, you wrote SNAPSHORT instead of SNAPSHOT. > 1.0-SNAPSHORT On 2/22/06, Evguenia Krylova <[EMAIL PROTECTED]> wrote: > Hello, > I have a very simple pom.xml that has a dependency on a jar > that build as a separate module and is installed in the local repositor

Ant FTP task in 1.1

2006-02-22 Thread Jon Strayer
I've got a plugin that uses the Ant FTP task. I just upgraded to MAven 1.1Beta 2 and now it's getting the following error: taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found I added a dependency on the ant-commons-net but that didn't seem to help. Any other ideas? -- E

[m2] dependency is not fetched from local repository

2006-02-22 Thread Evguenia Krylova
Hello, I have a very simple pom.xml that has a dependency on a jar that build as a separate module and is installed in the local repository. 4.0.0 edu.wisc.east course-guide war 1.0-SNAPSHOT Course Guide . edu.wisc.east shared 1.0-SNAPSHORT The dependen

Re: getting subversion revision number

2006-02-22 Thread Julian Wood
Yes that would be a nice improvement. We also talked about an additional option to use a sequence generator, for which there already exists a plugin. http://jira.codehaus.org/browse/MNG-719 Maybe I'll just stick in a small amount of config to allow you to choose whether you want to use scm

j2ee:appserver-stop

2006-02-22 Thread rturnbull
Hello to all, I'm looking for a way to stop and start a java application server (oroin) from the maven.xml. Thought I could use j2ee:appserver-stop which says I should be able to use this goal. However I'm not sure how to use any of the j2ee plugin stuff, any help, links, or documents on

Can I invoke (execute) a parent pom within a child pom

2006-02-22 Thread Leasck, Andrew G. (STL)
I have a parent-pom.xml that defines multiple and common working as expected, such that when I invoke the install goal I get my versioned module jars published to my local repository. I have a child pom (pom.xml) that is used to create my war, the is defined and it has on the modules defined i

Re: tests are running 3 times when i generate my site

2006-02-22 Thread Brett Porter
On 2/22/06, David Sag <[EMAIL PROTECTED]> wrote: > > > unfortunately cobertura is not working again as it now demands maven 2.0.3to > run and breaks my builds. Sorry, that was the only way to resolve the issue. i was at home last night so had access to svn, checked out the latest maven2 > from

Re: [m2] ant tasks and SNAPSHOTs

2006-02-22 Thread Brett Porter
"localCopy" is because you've installed your own version which will be used until the version update is next forced. If it is updating the build number but still using the installed version, that is a bug to be filed. - Brett On 2/23/06, Christian Piccardi <[EMAIL PROTECTED]> wrote: > > Brett Por

Re: [m2] Secure Passwords in the settings.xml

2006-02-22 Thread Brett Porter
System properties are not substituted into settings.xml at the moment. Depending on the protocol being used, you may be able to omit the password and be prompted for it (I think only scp supports this at the moment). - Brett On 2/23/06, Thomas Van de Velde <[EMAIL PROTECTED]> wrote: > I found th

Get system/environment variable into MOJO help

2006-02-22 Thread Thanh T.
Hi all, I was able to get the POM properties and project into mojo thanks to Dan Tran and Alexandre Poitras for the help. Now I couldn't get the environment variables into mojo. Here's my question where can I get a list parameter expression. For example if I want to pass in the project build folder

[m2] Multi-project plugin inheritence

2006-02-22 Thread Matt McGill
I'm sure this has been answered before, and I apologize for not being able to find the solution on my own. The only information I was able to locate referred to [m1], and I am not familiar enough with either incarnation of maven to pick out what's useful. I have a mutli-project build, organ

how to create web project for eclipse using maven eclipse plugin

2006-02-22 Thread Amit Khurana
Hi Guys I am using maven eclipse plugin to create projects compatible for eclipse. It works fine for simple java projects but not for web project. Running mvn eclipse:eclipse for web project creates following enteries in .project search-app org.eclipse.wst.common.modulecore

Re: Check out from subversion with maven 2.0

2006-02-22 Thread Emmanuel Venisse
mvn scm:checkout -DconnectionUrl=your_scm_url Emmanuel [EMAIL PROTECTED] a écrit : I have been following the book, "Pragmatic Project Automation", Chapter 3. The recommendation a build process is: 1. Delete the last build 2. Check out the current project 3. Run the build Is there a mave

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Mang Jun Lau
I'm not really sure what's wrong. Your POM seems to be correct. Do you have dependencies that do not have a "provided" scope? These are excluded from the classpath. Otherwise I'm not sure what's wrong. Anyone else have any ideas? _Mang Lau "Kees de Kooter" <[EMAIL PROTECTED]> 02/22

Check out from subversion with maven 2.0

2006-02-22 Thread thenew05
I have been following the book, "Pragmatic Project Automation", Chapter 3. The recommendation a build process is: 1. Delete the last build 2. Check out the current project 3. Run the build Is there a maven 2.0 solution to checking out the code from the repository. I know I can have the pom

Re: Maven2 plugin for validating XML?

2006-02-22 Thread Wayne Fay
Validating XML as in... Well formed test? XML data compiles with DTD test? XML schema complies with defined XSD test? another test? What **exactly** are you looking for? Wayne On 2/22/06, Tim Dysinger <[EMAIL PROTECTED]> wrote: > Is there such a thing? > > > -

Re: [m2] Secure Passwords in the settings.xml

2006-02-22 Thread Thomas Van de Velde
I found the issue in jira (http://jira.codehaus.org/browse/MNG-553) Is there a workaround for this so that we can at least use Maven for non automated builds? I've tried to pass a password on the command line using -Dpassword= and made the following change to settings.xml:

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Kees de Kooter
I have a _lot_ of dependencies in my POM. But nothing is appearing in my manifest. On 2/22/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote: > The addClasspath tag only adds a class-path entry to the manifest file if > you have dependencies specified in your POM. > > > _Mang Lau ---

Maven2 plugin for validating XML?

2006-02-22 Thread Tim Dysinger
Is there such a thing? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SPAM: Strange scp error

2006-02-22 Thread John Wells
Except we are using 2.0.2?!? John Wells (Aziz) [EMAIL PROTECTED] -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 4:09 AM To: Maven Users List Subject: Re: SPAM: Strange scp error What is your maven version? This problem was fixed

Setting pom properties in mojo

2006-02-22 Thread Sachin Patel
How can I set a property in a mojo so that it is accessible in a pom? For example I have a dependency... eclipse org.eclipse.wst.server.core ${version} I have a mojo that needs to dynamically set the versions of my dependencies so I tried adding... /** * @para

Re: [m2] Secure Passwords in the settings.xml

2006-02-22 Thread Thomas Van de Velde
What's the status on securing passwords? Has this been implemented? Cheers, Thomas On 7/16/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > It is actually planned, and there is a partial implementation using a > JKS keystore lying around but there is more work to be done. > > There still needs to

Help with the Mevenide Plugin

2006-02-22 Thread Matteo Melani
I am running eclipse 3.1 with the Mevenide plugin but the POM synchronization feature does not seems to work. In the POM Synchronization window Mevenide just shows a part of the project.xml (POM) file, the dependencies. The node is shown as a type resource and not as type source. Here is my p

Re: [m2] Trouble accessing test resources after moving to Maven2 from Ant

2006-02-22 Thread Wayne Fay
Thanks Emmanuel. I knew it was something simple like that. Wayne On 2/22/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > test resources must be in src/test/resources > > You can load your resources with this code : > > getClass().getResource( "com/myproject/util/test.txt" ); > or > getClass().

Re: Changelog error linking to scm url

2006-02-22 Thread Dennis Lundberg
Brian, Can you post the scm section of your POM here? -- Dennis Lundberg Brian Burridge wrote: What I meant was that in CVS the source code is in the src directory. I've already set the src code path in the POM. But in cvs its in a /src directory, to the SCM link isn't working. It links to the

Re: How add url link to dependencies

2006-02-22 Thread raghurajan . x . gurunathan
Thanks for your reply, Can u give some example for this? Please Thanks, Raghu "Yann Le Du" <[EMAIL PROTECTED]> 02/21/2006 07:31 PM Please respond to "Maven Users List" To: "Maven Users List" cc: Subject:Re: How add url link to dependencies Hi

Re: [m2] Trouble accessing test resources after moving to Maven2 from Ant

2006-02-22 Thread Emmanuel Venisse
test resources must be in src/test/resources You can load your resources with this code : getClass().getResource( "com/myproject/util/test.txt" ); or getClass().getResourceAsStream( "com/myproject/util/test.txt" ); or public static File getTestFile( String path ) { return new Fi

RE: pmd : how to use custom ruleset ?

2006-02-22 Thread Giles, Nick
I have the same problem, and it's a bug in the core grammar of PMD (http://sourceforge.net/tracker/index.php?func=detail&aid=1339470&group_id=56262&atid=479921). It doesn't look like it's getting fixed any time soon, but there's a patch at http://jira.codehaus.org/browse/MPMD-16 that works with

[m2] Trouble accessing test resources after moving to Maven2 from Ant

2006-02-22 Thread Wayne Fay
I am trying to convert a multi-module project that we have traditionally used Ant to build and run tests into Maven2. I've already done this successfully for some other internal projects and been very happy with it. However, I'm running into a new problem with this particular project. Several of

pmd : how to use custom ruleset ?

2006-02-22 Thread François-Xavier Busch
Hi, I try to use the pmd plugin for maven2 but it fails with the error : Embedded error: Failure executing PMD for: ... MyClass.java Encountered "{ variable =" at line 13, column 3. Was expecting one of: "abstract" ... "boolean" ... My class looks like that : public class MyClass exten

Re: Declaration of an array in project.properties file

2006-02-22 Thread Doug Douglass
GREAT!!! FYI: I see in the doco for forEach that the items attribute accepts a comma-separated String. I've never tried it, but it could save you a line of jelly. Cheers, Doug rturnbull wrote: Thanks Doug, I was able to figure it out EXCELLENT! Ryan -

Re: Declaration of an array in project.properties file

2006-02-22 Thread rturnbull
Thanks Doug, I was able to figure it out EXCELLENT! Ryan Doug Douglass wrote: Ryan, Sounds like you're using maven 1...lists/arrays are not directly supported. Instead, specify the property value as a delimited string (e.g., foo.property=1,2,3,4,5) and use the jelly util:tokenize[1]

Re: Declaration of an array in project.properties file

2006-02-22 Thread rturnbull
Thanks Doug! So from my code snippet would this be correct?? project.properties file testing.array.list=1,2,3,4,5 maven.xml items="${testing.array.list}"> value="${currentDeployHost}" /> ${deploy.host}

Re: Declaration of an array in project.properties file

2006-02-22 Thread Doug Douglass
Ryan, Sounds like you're using maven 1...lists/arrays are not directly supported. Instead, specify the property value as a delimited string (e.g., foo.property=1,2,3,4,5) and use the jelly util:tokenize[1] tag to split the property into a variable based on a delimiter (e.g., comma). Then you

Declaration of an array in project.properties file - More information on what I'm doing

2006-02-22 Thread rturnbull
Here is a code snippet from the maven.xml file that I have created where I'm trying to use the array xmlns:j="jelly:core"> value="${currentDeployHost}" /> ${deploy.host} So with the code above... I'

Re: Proxy settings question

2006-02-22 Thread Yann Le Du
Open your proxy.pac . It goes through some rules - probably depending on IPs - and eventually returns the proxy host and port, e.g. ' return "PROXY 20.140.15.83:3128"; ' --> host = 20.140.15.83 ; port = 3128 - Yann 2006/2/22, Dave Hoffer <[EMAIL PROTECTED]>: > > I understand that if I need to ru

Re: Proxy settings question

2006-02-22 Thread Emmanuel Venisse
.pac files aren't supported yet. You must download and edit your .pac file. Your proxy host/port is defined in it. Emmanuel Dave Hoffer a écrit : I understand that if I need to run maven2 from behind a proxy I need to configure the following section in my settings.xml file: true

Re: [M2 : site] Newbie question on how to generate site with test errors

2006-02-22 Thread Yann Le Du
http://jira.codehaus.org/browse/MOJO-107 2006/2/22, Michael Masters <[EMAIL PROTECTED]>: > > How can I get the site to generate when there are unit test failures? When > there are failures it doesn't generate the site and stops after running > the > test. > > thanks, > Mike > >

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Mang Jun Lau
The addClasspath tag only adds a class-path entry to the manifest file if you have dependencies specified in your POM. _Mang Lau "Kees de Kooter" <[EMAIL PROTECTED]> 02/22/2006 10:51 AM Please respond to "Maven Users List" To "Maven Users List" cc Subject Correct usage of addClasspath

Declaration of an array in project.properties file

2006-02-22 Thread rturnbull
Hello to all, I'm trying to make a variable in the project.properties file that an array. This array will then be looped through with a forEach from the jelly:core library. Is it possible to declare or even use arrays in the project.properties file?? Please let me know as I have the code

Proxy settings question

2006-02-22 Thread Dave Hoffer
I understand that if I need to run maven2 from behind a proxy I need to configure the following section in my settings.xml file: true http proxy.somewhere.com 8080 proxyuser somepassword www.google.com|*.somewhere.com I am not clear what I need to use f

Re: ODP: WSAD5 to JBoss

2006-02-22 Thread ian . roughley
On the same topic of J2EE and JBoss, I have been trying to obtain the plugin's to create EJB3 and PAR files. I see that MOJO-98 & MOJO-99 (http://jira.codehaus.org/browse/MOJO-98 & http://jira.codehaus.org/browse/MOJO-99) say they are fixed in version 2.0.1 (I am running 2.0.2). But when I tr

overwrite when changing profile

2006-02-22 Thread Wouter de Vaal
Hi, In my project I have created several profiles for different environments like env-local env local

Re:ODP: WSAD5 to JBoss

2006-02-22 Thread Bertrand Tignon
Thank you for reply. If you have some links where it describes the files to change, it would be great. [ else, I'll ask my friend google ;o) ] Bertrand. -- Initial Header --- >From : "Piotr Smolinski" [EMAIL PROTECTED] To : "Maven Users List" users@maven.apache.o

How to activate Plugin Repository?

2006-02-22 Thread Dixit, Sandeep (ProSource Solutions)
In my settings.xml, I have the following: myConfig-dev true always warn true always warn central Central Repository ft

Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Kees de Kooter
Anyone? This is my current setup: org.apache.maven.plugins maven-jar-plugin true nl.boplicityOrderBuilderWorkbench true It does not have any effect on th

Re: getting subversion revision number

2006-02-22 Thread Wouter de Vaal
Neat! Works like a charm, thank you very much. Wouter On 2/21/06, Julian Wood <[EMAIL PROTECTED]> wrote: > OK I just went over this plugin and there were some snapshot problems > remaining, which are now solved. Now all you need to do is place the > plugin in your pom and add the pertinent snapsh

ODP: WSAD5 to JBoss

2006-02-22 Thread Piotr Smolinski
Hi, Maven here is not necessary. WAS and JBoss are both J2EE servers. You can do development using WSAD and deploy aplication to any compliant server. Of course, you must create additional deployment descriptors, because those you click in WSAD forms are aplicable to WAS only (ibm-*-ext.xmi and

RE: Why Continuum?

2006-02-22 Thread Johnson, Jonathan
Continuum checks for changes and builds on a time based schedule. An alternate (and better) approach would be to build after changes have been applied. Continuous integration tools have the ability to listen or get notified by the SCM system when changes have been made. You can configure the bui

[M2 : site] Newbie question on how to generate site with test errors

2006-02-22 Thread Michael Masters
How can I get the site to generate when there are unit test failures? When there are failures it doesn't generate the site and stops after running the test. thanks, Mike

[m2] Logging level

2006-02-22 Thread hermod.opstvedt
Hi I have searched around, and I can't find any place where I can specify the logging level of Maven 2 - That is the output from maven2. Currently it is logging from INFO, but I want to turn it down to ERROR. Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

WSAD5 to JBoss

2006-02-22 Thread Bertrand Tignon
Hi ! I'm a Maven newbie. My project is developped with WSAD5, and I'd like to test the deployment of my project. Unfortunately, I don't have any access to a WAS. I've been told JBoss deployement is close to WAS deployment. So questions are : - is it possible to deploy a J2EE application develop

eclipse plugin hiding source of compilation error

2006-02-22 Thread Jake Pezaro
the project in question does not fail when run from the command line, however when run from eclipse it produces the following error: is there a way to get the eclipse pluging to show what the error is or do run it in debug mode? Compiling 918 source files to C:\dev\workspace\CheltenhamWeb-2-2-1\t

Resources target directory and eclipse:eclipse

2006-02-22 Thread Paul Hepworth
For our project, we need to have some properties files that are external to our ejb-jar that we deploy. We also need to apply filtering to these files in the standard resource manner. I have the following in my pom.xml src/main/external-resources true ../external-resources

Configuring schedules in pom

2006-02-22 Thread Michael Böckling
Hi! Is there a way I an specify the default schedules to use in my project POM, instead of having it to configure in Continuum for every project that I import? Maybe even in a parent POM? That would be great! Bye, Michael -- Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel P: +

Re: [m2] how to use in pom ?

2006-02-22 Thread Nicolas De Loof
Sorry, du to PATH error I was running maven 2.0, not 2.0.2 It works fine now. Stephen Duncan a écrit : What version of Maven are you using? There are bugs about this, but they all appear to have been resolved prior to 2.0.2. -Stephen On 2/22/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:

RE: How to setup FTP-based internal repository ?

2006-02-22 Thread Dixit, Sandeep (ProSource Solutions)
Okay. After lot's of trial and error, I was able to move forward one step. Below is what I did: 1. copied wagon-ftp-1.0-alpha-6.jar, oro-2.0.8.jar and commons-net-1.4.1.jar to MAVEN_HOME/lib folder 2. Per the repository setup created a central Central Repository

RE: Re: getting subversion revision number

2006-02-22 Thread Brian E. Fox
I would be more likely to use the build date althought I might consider the scm version also. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet Sent: Wednesday, February 22, 2006 8:32 AM To: users@maven.apache.org Subject: Re: getting subversion revisio

Re: getting subversion revision number

2006-02-22 Thread Geoffrey De Smet
Maybe it can be made it more generic to also include the buildDate? All these properties should be namespaced I believe, like ${build-helper.buildDate} ${build-helper.buildNumber} etc The buildDate might depend on a mojo property buildDateFormat, defaulted to " MM dd hh:mm" -- With kind rega

Re: [m2] ant tasks and SNAPSHOTs

2006-02-22 Thread Christian Piccardi
Brett Porter gmail.com> writes: > > It's missing the timestamp, indicating to me that jar.pom might be > turning off the build numbering? In which case it is correct to always > use -SNAPSHOT but is a bug if that isn't being redownloaded when it > changes. > > - Brett > > On 10/25/05, Dave Br

RE: WAS5 / WAS6 / Maven2

2006-02-22 Thread hermod.opstvedt
Hi We are currently working on an ant plugin using these, and will submit them to the community when we feel they are fit for it. Hermod -Original Message- From: Denis Fuenzalida [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 6:56 PM To: Maven Users List Subject: Re: WAS5 /

Re: [m2] Broken source repository link

2006-02-22 Thread Wendy Smoak
On 2/22/06, Adrian Herscu <[EMAIL PROTECTED]> wrote: > http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-compiler-plugin > from the compiler plugin > (http://maven.apache.org/plugins/maven-compiler-plugin/source-repository.html) > is broken. > > What is the right URL? h

[m2] Broken source repository link

2006-02-22 Thread Adrian Herscu
Hi all, I am trying to find the plugin sources and I am receiving 404 errors when following the online source repository links. E.g. http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-compiler-plugin from the compiler plugin (http://maven.apache.org/plugins/maven-compiler

Re: Can anyone help with this error?

2006-02-22 Thread Punkin Head
We're using it on an XP machine...although we're planning on moving to Solaris eventually. On 2/22/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > Hmm, that's weird. We have some problems with jdo/jpox and in your case, i > don't know if it's a pb > with jdo/jpox or with derby. > > What is you

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-22 Thread andrew cooke
thanks. however, it seems the plugin is too restrictive still - http://mojo.codehaus.org/jdbc-maven-plugin/introduction.html andrew Wayne Fay wrote: > Looks like there's also a maven-jdbc-plugin that you could potentially > use. But I've never used it myself. > > This email thread has some more

Re: [m2] Newbie dependency question

2006-02-22 Thread Alexandre Poitras
whoops I pushed send by accident here the true email On 2/22/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > On 2/21/06, Dave Hoffer <[EMAIL PROTECTED]> wrote: > > Alexandre, > > > > I have some further questions below... > > > > > > -Original Message- > > From: Alexandre Poitras [mailt

Re: [m2] Newbie dependency question

2006-02-22 Thread Alexandre Poitras
On 2/21/06, Dave Hoffer <[EMAIL PROTECTED]> wrote: > Alexandre, > > I have some further questions below... > > > -Original Message- > From: Alexandre Poitras [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 21, 2006 9:52 PM > To: Maven Users List > Subject: Re: [m2] Newbie dependency que

eclipse maven multiproject

2006-02-22 Thread Manisha Sur
Hi , I have a maven multiproject with the following directory structure under a trunk folder: maven subproject1 maven subproject2 maven subproject3 .. maven subprojectN maven.xml project.xml project.properties 1) I have copied this trunk folder under the eclipse workspace folder i.e. c:\ecli

Re: Multi-project woes

2006-02-22 Thread Du,Guo
You may add your internal repository defination to all the poms so you could always resolve the dependency and it doesn't depends on the local settings. You can easily build all the project any where inside your company. This would also works well for m2eclipse because it cannot read local setti

Re: Multi-project woes

2006-02-22 Thread Stephen Duncan
No, it's not incorrect. It's just how I do it. My internal repsoitory is just a repository of my stuff, not a mirror of central. I don't know of any reason your stuff shouldn't be working. If your parent POM is in your repository, it should download it and use it. Could you send the output of

Re: Multi-project woes

2006-02-22 Thread Alexandre Poitras
A proxy is not a repository, you need to define a repository to be able to deploy to your internal repository but you can always do some test using your local repository. I think you are trying to define a super pom from what I understand. I have never tried it myself but what you are trying to ac

Re: site plug-in error if src folders do not exist

2006-02-22 Thread Igor Bljahhin
Hello, I have the same problem. There is no src folder in my EAR subproject and PMD report fails on it. Igor On 2/13/06, Shukla, Sanjay <[EMAIL PROTECTED]> wrote: > I am wondering if this is a know error for the site plug-in, throws an > error if src folders do not exist. Src folders are absent

RE: Multi-project woes

2006-02-22 Thread Koranda Matthew James
I have a mirror in my settings.xml as follows: maven-proxy Maven-Proxy Mirror http://mydomain:/repository/ central This points to my internal repository which is served by maven-proxy. The poms and jars are deployed to this

Re: Maven 2.0: Referring to another projects classes using maven

2006-02-22 Thread Du,Guo
You may install your jar files of Project B and C to local repository and then add the dependency in your project A. http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html Kind regards, Du, Guo - Original Message - From: "Gerard Garrigan" <[EMAIL PROTECTED]> To:

RE: Maven 2.0: Referring to another projects classes using maven

2006-02-22 Thread Gerard Garrigan
Hello, I took some advice and added the jars from the external projects (B and C) as dependencies in project A. I'm still getting the same problem as before when I create a jar of project A. The required classes from projects B and C are not available when I run project A. Using Ant you can just s

  1   2   >