Re: Experience with maven-proxy.rb

2006-01-10 Thread Jason Dillon
FYI, I have been testing out Proximity today... And I noticed that it can get quite slow with many repositories listed. I also ran into some strange missing dependencies... That would go away and come back every other build or so. Might be better to let Maven 2 handle aggregation... Dunno.

Re: [m2] outputDirectory

2006-01-10 Thread Henry Isidro
Dmitry Beransky wrote: worked like a charm! I ended up putting the following into the profile section: ${java.io.tmpDir}/maven/${pom.artifactId} now the settings file is portalble among different platforms. Very cool, indeed. Thanks Dmitry I was thinking in the lines of using pro

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread John Casey
There are two requirements for versioning in this case: 1. The parent POM has to have a valid element (no expressions here). 2. Each child POM must specify a element that refers to the parent POM explicitly, including the version declared in the parent POM (again, no expressions here). O

Re: [m2] outputDirectory

2006-01-10 Thread Dmitry Beransky
worked like a charm! I ended up putting the following into the profile section: ${java.io.tmpDir}/maven/${pom.artifactId} now the settings file is portalble among different platforms. Very cool, indeed. Thanks Dmitry I was thinking in the lines of using profiles in settings.xml or

Re: [m2] possible to invoke multiple goals for a single lifecycle phase?

2006-01-10 Thread Maria Odea Ching
Hi Chris, It's possible to invoke multiple goals for a single phase in the lifecycle. You must bind your mojos to the specific phase first, then configure the plugin in your pom as shown below so that when you execute the phase, it would also run the goal(s) you specified pom.xml: ... sampl

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Sanjay Choudhary
Thanks for taking time to reply. Let me ask my question in different way Parent Project currentversion 4.0 project 1 - extends parent project project 2 - extends parent project project 3 - extends parent project and depends on project 1 and project 2 .. .. project 35 - extends parent project

RE: [m2 dependency plugin] updated dependency not copied

2006-01-10 Thread Brian E. Fox
This is because the dependency plugin looks for the existing file before copying over. We originally had the ability to force an overwrite but took it out before release. The reasoning was that artifacts should be non-mutatable in the repo. Ie if we get v1 copied, we shouldn't copy v1 again. This p

Re: [m2] child-level transitive dependency builds?

2006-01-10 Thread Edwin Punzalan
This is definitely an enhancement request. Although, I have to say, when you did some changes on P4, you should be building it anyway, right? Because you'll need to run the tests, etc. and make sure that everything's still fine. And when you build P4, you can just type "mvn install" and that

Re: [m2] outputDirectory

2006-01-10 Thread Henry Isidro
Rinku wrote: I don't see an specified under element for in the pom descriptor. http://maven.apache.org/maven-model/maven.html Not sure if its an 'error of omission' in online docs or if a does (or does not) supports overriding the build > outputDirectory? You might want to give it a s

Re: [m2] assembly: How do I set the base directory for creating the zip

2006-01-10 Thread Edwin Punzalan
The assembly plugin by default saves the packages to your project.build.directory folder or ... path-here ... You can have assembly plugin use a different setting by setting the plugin parameter to your desired directory More info about the assembly plugin can be found here: http

Re: [m2] outputDirectory

2006-01-10 Thread Rinku
Yep, that would address a specific scenario where Compiler plugin is being invoked. But, what happens if user wants the set for more than just the compiler plugin ? ;-) My understanding from M1 was that all the plugins derived the build output directory value from 'maven.build.dir' proper

Re: [m2] outputDirectory

2006-01-10 Thread Napoleon Esmundo Ramirez
Hello, According to the schema (http://maven.apache.org/maven-v4_0_0.xsd), is indeed not defined in the section. But I think, by configuring the compiler plugin, you can set the path in under the section of . Cheers! Nap On 1/11/06, Rinku <[EMAIL PROTECTED]> wrote: > > > I don't see an sp

Re: Need help with ibiblio problems

2006-01-10 Thread Brett Porter
fixed. Not sure why it was working for other jars before with a leading slash, but it is now working for them all. - Brett On 1/11/06, Brett Porter <[EMAIL PROTECTED]> wrote: > That's quite odd. The rule is there, but is not being picked up. I'll > continue investigating. > > - Brett > > On 1/11/

Re: [m2] outputDirectory

2006-01-10 Thread Rinku
I don't see an specified under element for in the pom descriptor. http://maven.apache.org/maven-model/maven.html Not sure if its an 'error of omission' in online docs or if a does (or does not) supports overriding the build > outputDirectory? You might want to give it a shot though - I'

Re: [m2] not sure if I am able to connect through my proxy

2006-01-10 Thread Alexandre Poitras
I think it's because you have included http in your host entry. Try " app-proxy.warnu.net" instead. On 1/10/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > Here is my settings.xml: > > > > > defaultWamuNetProxy > true > http > * > * > http:/

Re: [m2] outputDirectory

2006-01-10 Thread Henry Isidro
Dmitry Beransky wrote: Hi, I'm trying to migrate for the first time one of my projects to Maven2. In Maven 1, I used to have the following line in the user level configuration file: maven.build.dir=c:/temp/maven/${pom.artifactId} this was for Windows-based workstations; on a server, th

[m2] outputDirectory

2006-01-10 Thread Dmitry Beransky
Hi, I'm trying to migrate for the first time one of my projects to Maven2. In Maven 1, I used to have the following line in the user level configuration file: maven.build.dir=c:/temp/maven/${pom.artifactId} this was for Windows-based workstations; on a server, the build directory would

Re: [m2] Possible to create a zip/tar that includes my ear, and other misc resources

2006-01-10 Thread Brett Porter
By set of resources, you mean the ear + some more? You can either have another project that depends on the ear and includes the resources, or do it from within the ear project itself. - Brett On 1/11/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > This looks like what I want, but I have a question

RE: [m2] Maven2 building Eclipse plugins, features, and update si tes

2006-01-10 Thread Treloar, Barrie (SAPOL)
> Eclipse does provide some ant tasks, but they require that Eclipse is > running. They have a way to run in headless mode, but you need to use a > script that invokes Eclipse, and then tell Eclipse to run its antRunner > process. As far as I can tell, there is no way to have ant run these > Ecli

Re: [m2] APT question

2006-01-10 Thread Brett Porter
That will make it bold. It's actually not part of the spec, but I added it anyway in confluence style. With the snapshot you can do: || header 1 || header 2 || header 3 || I'll add it to the docs. - Brett On 1/11/06, Allan Ramirez <[EMAIL PROTECTED]> wrote: > Hi John, > > I'm not sure if this

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Allan Ramirez
Oops. Sorry, I thought you were referring to the versions of the dependency.. Please disregard my answer. :) Allan Ramirez wrote: Hi there, Try to use the element. http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html Regards, -allan Sanjay Choudhary wro

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Napoleon Esmundo Ramirez
Hello, I just checked your pom's. Your parent pom seems to be okay. But I think your second pom isn't. When declaring parent projects in child projects (modules) you should explicitly define the version. Try setting it with 1.0-8, and let's see what happens. I hope it works this time. :) Chee

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Allan Ramirez
Hi there, Try to use the element. http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html Regards, -allan Sanjay Choudhary wrote: I tried using ${project.version} but got the following error [INFO] Trace org.apache.maven.reactor.MavenExecutionException: POM '

Re: Passing dependencies to Maven 2.0 plugin

2006-01-10 Thread Napoleon Esmundo Ramirez
Hello, The dependencies of a project may be passed to a plugin by declaring it as an annotation. For example, in your case, you could do: /** * The project dependencies. * @parameter expression="${project.dependencies}" */ private List dependencies; The List will hold

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Sanjay Choudhary
I tried using ${project.version} but got the following error [INFO] Trace org.apache.maven.reactor.MavenExecutionException: POM ' org.emember:org_kp_eme mber' not found in repository: org.kp.emember:org_kp_emember:pom:${project.version} > http://maven.apache.org/POM/4.0.0"; >xmlns:xsi="ht

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Napoleon Esmundo Ramirez
Hello, Please try ${project.version}. Cheers! Nap On 1/11/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > I have parent pom.xml as below > > http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.

[m2] Using variables from parent pom.xml - like version etc.

2006-01-10 Thread Sanjay Choudhary
I have parent pom.xml as below http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.emember org_emember pom 1.0-8 Maven Quick Start Arch

Passing dependencies to Maven 2.0 plugin

2006-01-10 Thread Steve Kuo
I have a need to iterate through the dependencies in pom.xml. I created a plugin and tried to passed ${dependencies} in pom.xml as a parameter to the plugin. Unfortunately, ${dependencies} is passed in as a String instead of a List of objects. How does one do that? Also, is there a way to print

Re: [m2] APT question

2006-01-10 Thread Allan Ramirez
Hi John, I'm not sure if this is what you are looking for. Try adding <> on your table. *+-- *--+ <>| <> | <> *+---*--+ cell1 | cell1 | cell3 *---

Re: Not possible to add multiple test resources

2006-01-10 Thread Allan Ramirez
Here is the link for the model http://maven.apache.org/maven-model/maven.html -allan Bengt-Erik Fröberg wrote: Hi again! I’ve developed a taste for this mailing list… Is it really true that this is not possible!? src/test/resources src/main/webapp/WEB-INF M2 chokes on it... k

Re: [m2] junit-test-reports with surefire-report:report

2006-01-10 Thread Brett Porter
The regular surefire text reports are fine. The problem is related to generating HTML reports which has not received the attention it deserves. - Brett On 1/11/06, Jens Zastrow <[EMAIL PROTECTED]> wrote: > Some idea when this fill be fixed? > Running unit-tests as simple as possible - like >mvn t

Re: [m2] junit-test-reports with surefire-report:report

2006-01-10 Thread Brett Porter
http://jira.codehaus.org/browse/MOJO-107 On 1/11/06, Yann Le Du <[EMAIL PROTECTED]> wrote: > Brett, > > I failed to find the issue in JIRA. Which one is it ? > > Thx, > -- > Yann > > 2006/1/10, Jens Zastrow <[EMAIL PROTECTED]>: > > > > Some idea when this fill be fixed? > > Running unit-tests as s

Re: Tomcat plugin?

2006-01-10 Thread Brett Porter
A full release, with active developers. Mark is actually active, but on holidays. I'm meeting with him in Sydney this week :) BTW, if you are interested working with Mark to move it to the Tomcat itself, that would be great to give it a wider community of people able to look after it. I think plug

Re: Need help with ibiblio problems

2006-01-10 Thread Brett Porter
That's quite odd. The rule is there, but is not being picked up. I'll continue investigating. - Brett On 1/11/06, Helck, Christopher <[EMAIL PROTECTED]> wrote: > I have issues > > If I browse to http://www.ibiblio.org/maven/jaxen/jars/ I can see my jar > file. If I click on it I get a 404 err

Re: Overwriting a goal in subproject

2006-01-10 Thread Henry Isidro
Dixit, Sandeep (ProSource Solutions) wrote: How would that allow selective on and off? Wouldn't it set one value for all (parent and child projects)? Thanks, Sandeep Yup, sorry about that, I didn't fully understand your question. Have you tried overriding the property in the child pom? -

Re: accessing environment variable in settings.xml or pom.xml

2006-01-10 Thread John Casey
Sorry to top-reply, but I'd like to address the original question. Maven 2.0.1 and later should support OS-shell environment variable references from settings.xml and pom.xml using the following syntax: If you would use "echo $HOME" in your shell script, you would use ${env.HOME} in your pom.x

Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Brett Porter
pluginManagement is applied to plugins already found: as part of the lifecycle, or in another build > plugins element. build > plugins downloads and introduces the plugin and its dependencies. For a prefix (jetty6) to be known, one of the following must be true: a) the plugin is in one of th eplug

Re: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-10 Thread Brett Porter
Hi Jim, Sorry I hadn't answered your other Q's yet, but this is what I meant. There is an assembly:attached goal in the next release of the assembly plugin that will enable you to do what javadoc and sources do. In the mean time, you need to use assembly:assembly install to generate and install bo

Re: [m2] Jetty 6 Plugin does not recognize custom webapp source directory

2006-01-10 Thread Brett Porter
Hi Matt, Check out the Jetty docs: http://jetty.mortbay.org/jetty6/maven-plugin/howto.html You can configure the web resources path. Unfortunately, we haven't enabled a mechanism for the war plugin to share its configuration. - Brett On 1/11/06, Matt Raible <[EMAIL PROTECTED]> wrote: > I decide

Re: [m2] copy contents of maven.runtime.classpath for packaging

2006-01-10 Thread Yann Le Du
Hi Darren, Maybe you can use http://mojo.codehaus.org/dependency-maven-plugin/ in a phase before the one where you run your ant-run ? HTH, -- Yann 2006/1/10, Darren Hartford <[EMAIL PROTECTED]>: > > Hey all, > I have an ant-run task that helps to package a jar in a specific way. I > would like

RE: [M2] profiles use case: compilation based off of jdk version

2006-01-10 Thread Ruel Loehr
I'll follow up on this with a method which worked for me (although still not the best solution: The basis for this is a particular project with a src tree in the following fashion: /src /orgfoo.java /org.others.java /src15 /org.foo.java Depending on the jdk being us

RE: Need help with ibiblio problems

2006-01-10 Thread Helck, Christopher
I have issues If I browse to http://www.ibiblio.org/maven/jaxen/jars/ I can see my jar file. If I click on it I get a 404 error. If I click the other jar files on the page they seem ok. I'm not sure which jaxen file you special cased. Thanks, Christopher -Original Message- From: Bre

[m2] copy contents of maven.runtime.classpath for packaging

2006-01-10 Thread Darren Hartford
Hey all, I have an ant-run task that helps to package a jar in a specific way. I would like to include all the runtime libs defined in the pom.xml into the /lib location (flattened) of the jar. How can I do this? When I make references to maven.runtime.classpath in build.xml, it's a type constr

Re: [m2] Possible to create a zip/tar that includes my ear, and other misc resources

2006-01-10 Thread dan tran
what about http://maven.apache.org/plugins/maven-ear-plugin/? -D On 1/10/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > This looks like what I want, but I have a question about my project: > I am using modules to break up my project, but my final product is an ear. > > Now what I want to use th

Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Rinku
I think it was specified in when I looked at it this morning. Curious now - how we could avoid changes to settings.xml ? Brett, can you please explain a bit more how this (plug-in resolution) works without changes to settings.xml, and what is/are the situations suited to make changes to se

Re: [m2] Possible to create a zip/tar that includes my ear, and other misc resources

2006-01-10 Thread Mick Knutson
This looks like what I want, but I have a question about my project: I am using modules to break up my project, but my final product is an ear. Now what I want to use this assembly plugin for is to add a set of resources to a tar file. Where would I put this directory of resources as they are no

[m2] Maven 2 and Eclipse RCP

2006-01-10 Thread Rinku
Hi everyone, Is anyone on this list developing Eclipse RCP apps with Maven 2? Are there any resources available for it? Appreciate any pointer/links to resources. Cheers, Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Need help with ibiblio problems

2006-01-10 Thread Brett Porter
The changes should be transparent. jaxen was one of the JARs I had special cased, but it was for a version of 1.0-FCS. This should be fixed now. Please let us know if there are any other issues. - Brett On 1/11/06, Helck, Christopher <[EMAIL PROTECTED]> wrote: > What's happened to ibiblio/maven

Re: Need help with ibiblio problems

2006-01-10 Thread haginow2001-nabble
I'm constantly having timeouts and download errors with iBiblio. I recommend to use a mirror instead. Chris "Helck, Christopher" <[EMAIL PROTECTED]> wrote: What's happened to ibiblio/maven? Maven is unable to download jaxen-1.0-FCS-full.jar. Yet when I browse to the ibiblio it seems to be there

Need help with ibiblio problems

2006-01-10 Thread Helck, Christopher
What's happened to ibiblio/maven? Maven is unable to download jaxen-1.0-FCS-full.jar. Yet when I browse to the ibiblio it seems to be there and other jars download ok. I gather there is a restructuring of ibiblio going on for maven 2. Is this the issue? Is there a description of the changes anywhe

Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Srepfler Srgjan
It was my mistake, I've declared the plugin under build>pluginManagement>plugins>plugin instead it should go to build>plugins>plugin cheers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[m2] assembly: How do I set the base directory for creating the zip

2006-01-10 Thread haginow2001-nabble
How can I set the base directory from which the zip file should be created when using the assembly plugin? My descriptor looks like: zip target/mhave xdocs/** My plugin config looks like:

Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Brett Porter
The plugin group isn't required if you have it in the POM. I am using the Jetty6 plugin without the plugin repository or settings.xml changes. Where is the plugin specified in your build? Is it in or ? - Brett On 1/11/06, Srepfler Srgjan <[EMAIL PROTECTED]> wrote: > Srepfler Srgjan wrote: > >

[m2] Strange javadoc error

2006-01-10 Thread Mick Knutson
I get this only when I run site, but I compile fine: [INFO] Error during report generation Embedded error: Exit code: 1 - C:/opt/local/yoursos/projects/common-jar/src/main/java/com/baselogic/BaseObject.java:3: package org.apache.commons.lang .builder does not exist import org.apache.common

RE: [M2] Integration tests location

2006-01-10 Thread Vincent Massol
> -Original Message- > From: Alexandre Poitras [mailto:[EMAIL PROTECTED] > Sent: mardi 10 janvier 2006 21:12 > To: Maven Users List > Subject: [M2] Integration tests location > > Hi, > > I was just wondering where I should put my integration tests if I want to > keep them separate from

Re: [m2] Possible to create a zip/tar that includes my ear, and other misc resources

2006-01-10 Thread dan tran
maven-assembly-plugin -D On 1/10/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > Is it Possible to create a zip/tar that includes my ear, and other misc > resources? > > > > --- > Thank You > Mick Knutson > > Sr. Java/J2EE Consultant > BASE logic, inc. > (415) 648-1804 (S.F., CA) > http://www.BA

Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Srepfler Srgjan
Srepfler Srgjan wrote: I've resolved the issue by adding to the settings.xml: org.mortbay.jetty thanks to rinku on irc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Isn't

Re: Experience with maven-proxy.rb

2006-01-10 Thread Pablo Muñiz García
Thanks Jason, Proximity was in the queue. I'll see if I can install it sucessfully. Greetings, Pablo. Jason Dillon wrote: >I just got Proximity setup yesterday and so far I'm happy with it. Works for >m1 and m2... And is much easier to style IMO. > >Sorry no URL... But google for "proximity

RE: NullPointerException while running mvn site:site

2006-01-10 Thread Dixit, Sandeep (ProSource Solutions)
Yes, upgrading maven-project-info-reports-plugin resolved the NPE error. Thanks, Sandeep -Original Message- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 2:50 PM To: Maven Users List Subject: Re: NullPointerException while running mvn site:site as request

Re: Experience with maven-proxy.rb

2006-01-10 Thread Jason Dillon
I just got Proximity setup yesterday and so far I'm happy with it. Works for m1 and m2... And is much easier to style IMO. Sorry no URL... But google for "proximity maven" and you'll find it. For the record I've never heard of maven-proxy.rb so I can't say how they compair. --jason

[M2] Integration tests location

2006-01-10 Thread Alexandre Poitras
Hi, I was just wondering where I should put my integration tests if I want to keep them separate from my unit tests wich are of course under /src/test/java. Any idea? Thank! -- Alexandre Poitras Québec, Canada

[m2] Possible to create a zip/tar that includes my ear, and other misc resources

2006-01-10 Thread Mick Knutson
Is it Possible to create a zip/tar that includes my ear, and other misc resources? --- Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com Washington Mutual (WAMU) (Emeryville, California) ---

Experience with maven-proxy.rb

2006-01-10 Thread Pablo Muñiz García
Hi all! Lately I've been trying to find an alternative to codehaus maven-proxy that work with maven 2. After some "Googling" maven-proxy.rb (an script wirtten in Ruby) appeared. I've followed instructions detailed in the script, but I haven't been able to get it work under Apache. Anyone has e

Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Srepfler Srgjan
I've resolved the issue by adding to the settings.xml: org.mortbay.jetty thanks to rinku on irc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: NullPointerException while running mvn site:site

2006-01-10 Thread Hervé BOUTEMY
as requested, you installed maven-plugin-plugin : good but I made a stupid mistake : what you needed was maven-project-info-reports-plugin instead (it's another plugin, placed at the same directory level as maven-plugin-plugin) then you'll have to do the same commands with it : svn checkout, th

RE: forced build exception

2006-01-10 Thread Michael Fiedler
Sorry, that is important. Continuum 1.0.2 on W2K, sp4, 1.7 GHz, 1 GB RAM Michael -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 12:24 PM To: continuum-users@maven.apache.org Subject: Re: forced build exception What is your continuum

unit testing MOJOs

2006-01-10 Thread Michael Fiedler
Hi, I would like to unit test my MOJO (Maven2 plugin). I could add a setter for each private instance variable, but I would like to have them injected (like when they run). What is the recommended way to unit test MOJOs? public class Instr extends AbstractMojo { /**

RE: NullPointerException while running mvn site:site

2006-01-10 Thread Dixit, Sandeep (ProSource Solutions)
I am not clear on this... From this url, I got the code and then used mvn install. Do I need to do anything else? I thought mvn install should put the latest plug-in in my local repository. Thanks, Sandeep -Original Message- From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Sent: Tuesday,

[m2] not sure if I am able to connect through my proxy

2006-01-10 Thread Mick Knutson
Here is my settings.xml: defaultWamuNetProxy true http * * http://app-proxy.wamu.net 8080 *.wamu.net Here is the error I get: = [INFO] Searching repository for plugin with prefix: 'idea'. [INFO]

Re: NullPointerException while running mvn site:site

2006-01-10 Thread Hervé BOUTEMY
whoops, why did I ask you to recompile maven-plugin-plugin since you're in trouble with maven-project-info-reports-plugin ? please try again with maven-project-info-reports-plugin... and yes, as you saw, plugins have moved since they have been published the last time : you're looking at the rig

Re: Doing a CVS checkout from within a Maven 1.0 script

2006-01-10 Thread dan tran
define a maven goal: . http://maven.apache.org/maven-1.x/reference/plugins/scm/properties.html But I may want to get scm:bootstrap to drive your build maven scm:bootstrap -Dmave.scm.=. -D On 1/10/06, Michael Thomsen <[EMAIL PROTECTED]> wrote: > > Could you

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-10 Thread dan tran
btw http://www.ibiblio.org/maven2/plugins/ is wrong it is http://www.ibiblio.org/maven2 On 1/10/06, dan tran <[EMAIL PROTECTED]> wrote: > > glad it works for you. > > and no you dont need to specify maven central plugin repo. Just add your > maven-proxy entry in > your pluginRepository in your

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-10 Thread dan tran
glad it works for you. and no you dont need to specify maven central plugin repo. Just add your maven-proxy entry in your pluginRepository in your root pom. Or in your settings.xml as part of default profile. -D On 1/10/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > > hi Dan, > > Thanks so mu

Re: Not possible to add multiple test resources

2006-01-10 Thread Doug Douglass
I'm not using m2 in production yet, but with m1 you would define another resource (testResource in your case), one directory per resource. I don't think this model has changed. In other words: src/test/resources src/main/webapp/WEB-INF Perhaps check the POM model. Doug Ben

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-10 Thread Man-Chi Leung
hi Dan, Thanks so much. !! everything works fine now. I am so excited today! M2+Maven-Proxy are what I have been dreaming to have for long. Cool! I cannot wait to develop my next project based on this environment! frankly, I was nearly given up on maven-proxy some time ago but I came back fo

Re: Exception with Maven under MacOS X 10.4

2006-01-10 Thread Man-Chi Leung
I am running PB with 10.4 too but I do not have problem like yours my java -version: java version "1.5.0_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-64) Java HotSpot(TM) Client VM (build 1.5.0_05-43, mixed mode, sharing) I am able to execute this without a problem $ mvn

[m2] APT question

2006-01-10 Thread John Wells
How do I get the top line of a table to be "headers" for that column (for example, when explaining what the goals of a plugin are?) I can't seem to figure out from the APT document how this is done??? John Wells (Aziz) [EMAIL PROTECTED] --

Re: forced build exception

2006-01-10 Thread Emmanuel Venisse
What is your continuum version? Michael Fiedler a écrit : Fyi. This build is for a maven2 plug-in used by other modules in the build. javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO PROJECTDEPENDENCY (PROJECTDEPENDENCY_ID,ARTIFACT_ID,VERSION,GROUP_ID) VALUES (?,?,?,?)

RE: [m2] Using array types in mojo configuration

2006-01-10 Thread John Wells
It seems the trick I was missing is the following: 1. Make the variable in the Java file be plural (end in "s"). 2. Then use the singular multiple times wrapped in the plural tag value This really should be documented somewhere. All the documentation says today is that you can use multiple tag

Re: Trouble in generating source files

2006-01-10 Thread Karthik V
Ohh.. makes sense now.. thank u so much. On 1/10/06, Allison, Bob <[EMAIL PROTECTED]> wrote: > > For an example, let's say you have a Java source at > src/main/java/com/junk/JunkBean.java > > For it to compile correctly, it needs to have a "package com.junk;" in > it, right? > > When XDoclet walk

Re: Dependency and POM's with 3rd party Jars in maven 2

2006-01-10 Thread dan tran
did you use deploy:deploy-file ( still in SVN) to deploy your artifacts to your internal remote repository? did you add your internal repository entry into your root pom? -D On 1/10/06, Todd Nine <[EMAIL PROTECTED]> wrote: > > I am having some trouble managing an internal repository usilizing

[M2] profiles use case: compilation based off of jdk version

2006-01-10 Thread Ruel Loehr
I have a use case which I am trying to flesh out, but so far I can Only come up with "kludgy" solutions. Perhaps someone else has a better idea of how to accomplish this. For a particular project I wish to build it differently based upon the jdk version which is used. Use Case: Java14: 1

Re: [m2] junit-test-reports with surefire-report:report

2006-01-10 Thread Yann Le Du
Brett, I failed to find the issue in JIRA. Which one is it ? Thx, -- Yann 2006/1/10, Jens Zastrow <[EMAIL PROTECTED]>: > > Some idea when this fill be fixed? > Running unit-tests as simple as possible - like >mvn test - is an > important aspect why i use maven1/2, > so its a little bit difficult

RE: Trouble in generating source files

2006-01-10 Thread Allison, Bob
For an example, let's say you have a Java source at src/main/java/com/junk/JunkBean.java For it to compile correctly, it needs to have a "package com.junk;" in it, right? When XDoclet walks the source starting at "src/main", it find a source file that identifies itself as being in package "com.ju

Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Srepfler Srgjan
Ralph Pöllath wrote: On 10.01.2006, at 16:56, Srepfler Srgjan wrote: I'm having problems in using jetty, I've declared it in the pom: org.mortbay.jetty maven-jetty6-plugin 1.0 10

Re: M2 - add custom classpath to plugin compiler:compile

2006-01-10 Thread Stephen Duncan
Well, generally I'd prefer to put the jars into a shared internal m2 repository, and then just refer to them with provided scope as I mentioned. This allows your pom and build to be shared more easily. I haven't used system scope or systemPath personally. But I assume it works like this: the

Not possible to add multiple test resources

2006-01-10 Thread Bengt-Erik Fröberg
Hi again! I’ve developed a taste for this mailing list… Is it really true that this is not possible!? src/test/resources src/main/webapp/WEB-INF M2 chokes on it... kinda' takes the greatness out of XML, don't you think? I need to add another directory to the test classpath h

Re: Trouble in generating source files

2006-01-10 Thread Karthik V
weird, but i found the answer myself ... changed the line to and it worked. What I dont understand is, why doesnt the line search inside the main folder and locate the source files? Does it really make a difference when I add the subfolder "java" when I use **/** ? On 1/10/06, Karthik V <

forced build exception

2006-01-10 Thread Michael Fiedler
Fyi. This build is for a maven2 plug-in used by other modules in the build. javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO PROJECTDEPENDENCY (PROJECTDEPENDENCY_ID,ARTIFACT_ID,VERSION,GROUP_ID) VALUES (?,?,?,?) at org.jpox.store.rdbms.request.InsertRequest.execute(Ins

Re: Embedded error: Could not create task or type of type: scriptdef.

2006-01-10 Thread Yann Le Du
Hi Hassan, If this is not the case, try and move your to : ~ ~ ~ maven-antrun-plugin ~ ... ~ ~ ~ bsf ~ bsf ~ 2.3.0 ~ ~... -- Yann 2006/1/10, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hi > > I'm trying to use a non-standa

Dependency and POM's with 3rd party Jars in maven 2

2006-01-10 Thread Todd Nine
I am having some trouble managing an internal repository usilizing maven2. Below is an outline of what I would like to do. 1. Import 20 3rd party jars for the datalex program into our internal repository 2. Set up a dependency so that pom of the main datalex jar will contain all of its required j

Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Ralph Pöllath
On 10.01.2006, at 16:56, Srepfler Srgjan wrote: I'm having problems in using jetty, I've declared it in the pom: org.mortbay.jetty maven-jetty6-plugin 1.0 10 /

Problem with C# and M2

2006-01-10 Thread Stevenson, Chris
Gents, I wanted to address this to you directly as is a bit of a difficult problem which I'd really like to solve. Its currently blocking my finishing touches to the dotnet support for maven whcih I'd really like to get out and working. I've filed a bug

Re: [m2] Using array types in mojo configuration

2006-01-10 Thread dan tran
since you have OsgiManifest and Paths are at the same level it should be like this . your down bean's attribute here one two -D On 1/10/06, John Wells <[EMAIL PROTECTED]> wrote: > > Lets say I have a mojo with something like this: > > /** > * @parameter > */ >

Re: Maven 2 and Ant classpath issue

2006-01-10 Thread hassan . h . sajjad
Hi Chris Had my first go at the lists, but hasn't been very lucky there :( I first tried this: It didn't work, so now I'm directly embedding my ant script inside the pom.xml. Which is:

Re: Exception with Maven under MacOS X 10.4

2006-01-10 Thread Romain Rouvoy
I updated my environment to remove dots, spaces and carriage returns but the exception is still raised: $ export declare -x ANT_HOME="/Users/rouvoy/Developer/ant" declare -x HOME="/Users/rouvoy" declare -x JAVA_HOME="/Users/rouvoy/Developer/java" declare -x M2_HOME="/Users/rouvoy/Developer/maven

[m2] RE: Trying to write a java packaging mojo but...

2006-01-10 Thread John Wells
Sorry this was a stupid user error. Turned out I had the plugin defined twice in my build section, and the first one seems to be the one that wins (and of course, I had been modifying the second one). I basically have this working now, but I still have a problem with array properties in the refer

[m2] Using array types in mojo configuration

2006-01-10 Thread John Wells
Lets say I have a mojo with something like this: /** * @parameter */ private OsgiManifest osgiManifest; Furthermore, lets say in osgiManifest I have the following: /** * @parameter */ private String path[]; public void setPath(String[] paths) { this.path = path; } public String[] getPath()

Trouble in generating source files

2006-01-10 Thread Karthik V
Below is a snippet from my m2 project pom. I used this fine in m1 (in the form of project.properties) and generated source using xdoclet. But now, I dont get a single java file, though I get some required xml files. generate-sources xdoclet

[m2] child-level transitive dependency builds?

2006-01-10 Thread Christopher Cobb
Is it expected/preferred that (all?) builds are normally be done from the top level? It doesn't seem that this works very well for situations where I have a specific plugin which should only be used for certain children. Even if I configure the plugin at the top level, it may not make sense/not w

  1   2   >