Re: Help with the scm cvs plugin

2007-05-31 Thread Mohammad Nour El-Din
Thats good, but is there anyway to make the scm plugin or cvs itself to pass this password to the ssh so it does not prompt me for the password. I need to automate the checkout process during the build life cycle, and making someone waiting there to enter the password will make the whole process

Re: How to pass -Xmx to javac in maven 1.0.2?

2007-05-31 Thread Dion Gillard
I'm assuming you're forking the compile using a property, so that it runs in it's own JVM. See http://maven.apache.org/maven-1.x/plugins/java/properties.html and NB: maven.compile.memoryMaximumSize I think that's the right one. On 5/31/07, Karr, David [EMAIL PROTECTED] wrote: I'm testing a

Re: [m2] ear-plugin: web module context root problem

2007-05-31 Thread Stephane Nicoll
Well, ahem :) This is the value you want for the field of a Pojo. If it's not set, plexus does not set it hence it's null. I would suggest to use another pattern. HTH, Stéphane On 5/29/07, ertnutler [EMAIL PROTECTED] wrote: i'm using the maven-ear-plugin to generate my application.xml. the

Re: [m2] ear-plugin: web module context root problem

2007-05-31 Thread Jo Vandermeeren
Have you tried to set an escaped value for your variable in case you don't have a concrete value for it? Something along the lines of: foo.context.root\${foo.context.root }/foo.context.root Might just work.. Cheers Jo On 5/29/07, ertnutler [EMAIL PROTECTED] wrote: i'm using the

Re: SCM report?

2007-05-31 Thread jiangshachina
Hello, Thanks very much! I'll have a try. a cup of Java, cheers! Sha Jiang Dennis Lundberg-2 wrote: jiangshachina wrote: Hi, I want to get a report, which show all of modifications of my project from SVN every day. Does Maven (or its plugins) could provide the feature? Thanks in

maven 1.0.2 + Java 1.5 at Linux

2007-05-31 Thread Youngho Cho
Hello, So far I used maven 1.0.2 with Java 1.4 at linux machine. and 1.0.2 with java 1.5 at Windows marchine. Working is no problem at all. Now I updated linux machine java to 1.5. But maven 1.0.2 with Java 1.5 at Linux machine didn't work at all. Is there any way to solve it ? Thanks,

Re: maven 1.0.2 + Java 1.5 at Linux

2007-05-31 Thread Jo Vandermeeren
Be more specific if you want someone to answer your questions. What is not working, what are the error messages, etc. Cheers Jo On 5/31/07, Youngho Cho [EMAIL PROTECTED] wrote: Hello, So far I used maven 1.0.2 with Java 1.4 at linux machine. and 1.0.2 with java 1.5 at Windows marchine.

Not publishing source jars for certain modules?

2007-05-31 Thread Dirk Olmes
Hi, we have a complex maven2 build with lots of modules. Some of these modules simply produce binary artifacts, e.g. RARs without having any code themselves. How do I disable creating and publishing source jars for these modules? -dirk -- A: Maybe because some people are too annoyed by

Re: Ibiblio Issues

2007-05-31 Thread Siegfried Goeschl
Hi, what do you mean with issues - I had two times the problems that Maven tools were unable to process HTTP 302 indicating that the libraries were moved. Cheers, Siegfried Goeschl [EMAIL PROTECTED] wrote: Is anyone having issues connecting to ibiblio lately? Thanks, David

Re: maven 1.0.2 + Java 1.5 at Linux

2007-05-31 Thread Youngho Cho
Hello, I am so sorry, Here it is some detail. run maven with -X ... war:war-resources: [copy] [DEBUG] fileset: Setup scanner in dir /home/youngho/project/M-Project/src/webapp with patternSet{ includes: [**] excludes: [] } stop working any more So I have to kill the process

NullPointerException while creating site (using proxy with authentication)

2007-05-31 Thread Jansen Werner
Hallo everybody, yesterday, I wanted to create the site for my recently created project. But it failed. I suspect that using a proxy is source of the problem: The settings.xml contains the configuration for the proxy. This works well when downloading plugins (for compile, clean, deploy, and so

Re: Plugin order when all plugins have the same phase

2007-05-31 Thread Graham Leggett
On Wed, May 30, 2007 3:43 pm, Kenney Westerhof wrote: If you define 2 (different) plugins in the same phase, they should be executed sequentially (at least with maven 2.0.6). The only reason i can think of that only one of them executes is that you declared the same plugin twice, where the

Building files with different jdk versions

2007-05-31 Thread Piotr Skawinski
Hi, I need to build my project with the jdk1.5, but some of the files also need to be build with jdk1.4. Is it possible in a single pom.xml to specify the jdk version to be used to build the whole project and at the same time to specify other jdk version to be used to build only some files? If

Rsync Plugin?

2007-05-31 Thread Janning Vygen
Hello maven users, i am searching for a rsync plugin for maven. I found wagon which can scp, but not rsync. I saw the site plugin using rsync. background: For local testing i use jetty6 which is very fine, but sometimes i want to install it on the real server engine. I just want to rsync my

Re: Not publishing source jars for certain modules?

2007-05-31 Thread Dirk Olmes
Dirk Olmes wrote: Hi, we have a complex maven2 build with lots of modules. Some of these modules simply produce binary artifacts, e.g. RARs without having any code themselves. How do I disable creating and publishing source jars for these modules? In the wonderful tradition of answering

Building files with different jdk versions

2007-05-31 Thread Piotr Skawinski
Hi,I need to build my project with the jdk1.5, but some of the files also need to be build with jdk1.4. Is it possible in a single pom.xml to specify the jdk version to be used to build the whole project and at the same time to specify other jdk version to be used to build only some files? If not

best practices: the location of configuration files vs resources

2007-05-31 Thread Tom Lambrechts
Hello, I found a wiki page best practices: the location of configuration files vs resources , but it is empty. Can somebody define this best practice and explain what the standard way is to use the src/main/config. This dir is a part of the standard directory structure of maven 2 but nowhere it is

Building files with different jdk versions

2007-05-31 Thread Piotr Skawinski
Hi,I need to build my project with the jdk1.5, but some of the files also need to be build with jdk1.4. Is it possible in a single pom.xml to specify the jdk version to be used to build the whole project and at the same time to specify other jdk version to be used to build only some files? If not

Could this be an xdoclet-maven-plugin issue?

2007-05-31 Thread Jeff Mutonho
I'm generating some mapping files for my domain objects using the xdoclet-maven-plugin , which is configured as : plugin groupIdorg.codehaus.mojo/groupId artifactIdxdoclet-maven-plugin/artifactId executions execution idhbm-generation-with-xdoclet/id

RE: Bundling a particular set of files(Environment) inside War project

2007-05-31 Thread Arnaud Jeansen
Kiran, I have not used Castor myself with Maven2, so I will not be of much help. You will probably have to use the maven-antrun-plugin to achieve what you need, maybe someone on the list can give you further tips. Good luck, Arnaud -Original Message- From: [EMAIL PROTECTED]

Re: How to disable downloading of .pom from central repository.

2007-05-31 Thread Wayne Fay
Have you Googled for a Castor M2 plugin that would do the same thing? Wayne On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hey Wayne.. hope u r doing good.. I need one more help regarding castor classes generation using maven2.0.6. In maven1 we used to keep schemas in jar module.

Re: best practices: the location of configuration files vs resources

2007-05-31 Thread Robert Dale
On 5/31/07, Tom Lambrechts [EMAIL PROTECTED] wrote: Hello, I found a wiki page best practices: the location of configuration files vs resources , but it is empty. Can somebody define this best practice and explain what the standard way is to use the src/main/config. This dir is a part of the

save mvn parameters in pom

2007-05-31 Thread Jan Torben Heuer
Hi, I have a project with submodules. One of this modules is a tomcat servlet and I'd like to save the -Dwtpversion=1.5 parameter in the pom, if possible, so I can run mvn eclipse:eclipse in the root module and have only in my -http module the wtp extension enabled. Is that possible? Jan

Site:Staging

2007-05-31 Thread Jens Hohl
Hello, my Projekt have several Modules. And the 'Root' Project has an name like 'Some Example Name' (notice the whitespaces). Due to the bug in Maven Wagon Plugin (recursive upload) I tested the site:staging with an cron job from Another maschine which donwloads the generated Site.

Turning off default profile?

2007-05-31 Thread Chris Helck
Hi, Is there a way to turn off a default profile when a different profile is specified? Here's what I'd like to have happen: mvn # Use dev profile mvn -Pcert #Use cert profile -- do not use dev. If I activate dev with activeByDefault or in activeProfiles then dev is always on

Re: M2 Changelog plugin

2007-05-31 Thread Paul Spencer
Emmanuel, Any idea when the next release of the changelog plugin will be released? Per the JIRA, their are no blockers and all issued attached to version 2.1 are resolved. Paul Spencer Emmanuel Venisse wrote: The changelog plugin use Maven-SCM too but an old version. Next version of

Re: WSDL2Java execution failed

2007-05-31 Thread xiaojie han
I removed the folder .m2\repository\javax, add the dependency to pom.xml. here is what I got after run mvn install ** C:\maven-2.0.5\sample code\Code_Ch04\daytradermvn install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] DayTrader :: Performance

Re: WSDL2Java execution failed

2007-05-31 Thread Wayne Fay
I think your problem is in the configuration of the WSDL2Java, not the missing Jars. unknown protocol: c is why the plugin is failing to execute. We need to solve that problem. Perhaps show us your pom file, specifically the section where you are configuring WSDL2Java. Wayne On 5/31/07,

The mvn deploy:deploy-file command gives 409 Parent doesn't exist

2007-05-31 Thread damonrand
Hi, I have filed an issue with WebDAV here.. Have I missed anything obvious? http://jira.codehaus.org/browse/MRM-408 Damon. -- View this message in context: http://www.nabble.com/The-mvn-deploy%3Adeploy-file-command-gives-409-%22Parent-doesn%27t-exist%22-tf3846842.html#a10895032 Sent

Plugin acessing list of dependencies in target project

2007-05-31 Thread CasMeiron
Hi guys... Im trying to acess all dependencies in my target project, look what i did: /** * The set of dependencies for the web application being run. * * @parameter default-value = ${project.artifacts} * @required * @readonly */ private Set dependencies; But the

Re: save mvn parameters in pom

2007-05-31 Thread CasMeiron
Its simple, add/modify this plugin in your web-project/module: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration wtpversion1.0/wtpversion /configuration

Is it possible for a pom project to build a jar file?

2007-05-31 Thread Chris Helck
I have a parent pom which depends on a simple jar file containing configuration files (PMD config). I'm wondering if it is possible to combine these into one project? So I need packagingpom/packaging and to somehow cause a jar file to be build and deployed. How can I do this? Is it wise? Thanks,

Re: Building files with different jdk versions

2007-05-31 Thread Armin Ehrenfels
Piotr Skawinski wrote: Hi,I need to build my project with the jdk1.5, but some of the files also need to be build with jdk1.4. Is it possible in a single pom.xml to specify the jdk version to be used to build the whole project and at the same time to specify other jdk version to be used to

Re: Is it possible for a pom project to build a jar file?

2007-05-31 Thread Wendy Smoak
On 5/31/07, Chris Helck [EMAIL PROTECTED] wrote: I have a parent pom which depends on a simple jar file containing configuration files (PMD config). I'm wondering if it is possible to combine these into one project? So I need packagingpom/packaging and to somehow cause a jar file to be build

UnsupportedClassVersionError on unit test using java 1.5

2007-05-31 Thread Piotr Skawinski
Hi,I'm using java 1.4 for general build (and so my JAVA_HOME points to the jdk 1.4). But one subproject is build with java 1.5 and this is specified in its pom.xml file:plugingroupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactIdconfiguration

Re: UnsupportedClassVersionError on unit test using java 1.5

2007-05-31 Thread Wendy Smoak
On 5/31/07, Piotr Skawinski [EMAIL PROTECTED] wrote: Is it possible to specify in the pom.xml that unit test should also be executed by jdk 1.5 even though my JAVA_HOME points to jdk 1.4?? This might help...

RE: UnsupportedClassVersionError on unit test using java 1.5

2007-05-31 Thread Piotr Skawinski
I still get the same error -:( Date: Thu, 31 May 2007 08:49:33 -0700 From: [EMAIL PROTECTED] To: users@maven.apache.org Subject: Re: UnsupportedClassVersionError on unit test using java 1.5 On 5/31/07, Piotr Skawinski [EMAIL PROTECTED] wrote: Is it possible to specify in the pom.xml that

RE: Is it possible for a pom project to build a jar file?

2007-05-31 Thread Chris Helck
Yes, this is what I've done, but now I find I need another POM. Here's what I have A pom project called PARENT1 it contains developer and distManagement stuff. A jar project called PMD that contains the PMD config file. It inherits from PARENT1 A pom project called PARENT2 that inherits from

RE: UnsupportedClassVersionError on unit test using java 1.5

2007-05-31 Thread Siegmann Daniel, NY
Check out the options on the Surefire plugin. The jvm parameter seems to be what you want. See http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#jvm . -Original Message- From: Piotr Skawinski [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 12:09 PM To: Maven

Re: WSDL2Java execution failed

2007-05-31 Thread xiaojie han
the top pom.xml is as follows: project . dependencies dependency groupIdjavax.mail/groupId artifactIdmail/artifactId version1.4/version /dependency dependency groupIdjavax.activation/groupId artifactIdactivation/artifactId version1.1/version

Re: Is it possible for a pom project to build a jar file?

2007-05-31 Thread Wendy Smoak
On 5/31/07, Chris Helck [EMAIL PROTECTED] wrote: I'm also considering putting the configuration file in a well known location (http://mystuff/pmd.xml) the same way we do for JPEGs and getting on with life. A known URL for checkstyle config is what I went with for the open source projects I

RE: Is it possible for a pom project to build a jar file?

2007-05-31 Thread Chris Helck
Thanks. Saves me a lot of work documenting the extra level of POMs. BTW. I rarely say it but I appreciate the help that you and others on this list give. Thanks, Christopher -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 12:19 PM To: Maven

Re: WSDL2Java execution failed

2007-05-31 Thread Wayne Fay
I don't use this plugin myself, so I'm just shooting in the dark, but have you tried debugtrue/debugverbosetrue/verbose in the axistools configuration to hopefully get more information out of the plugin while its executing? There are other configuration items you can use listed on this page:

[ANN] Maven Stylus Skin 1.0.1 Released

2007-05-31 Thread Dennis Lundberg
The Maven team is pleased to announce the release of Maven Stylus Skin, version 1.0.1. Release Notes - Maven Skins - Version stylus-1.0.1 ** Bug * [MSKINS-1] - Images are missing that are referenced in maven-theme.css - The Maven Team

Site Distribution URL

2007-05-31 Thread Ben Tatham
I am having difficulty understanding how the site-deploy decides what url to use for the site deployment... I have my parent pom of all my projects set up like this: site idpenguin/id nameNanometrics Software Website/name url

Surefire 2.4-SNAPSHOT errors

2007-05-31 Thread mhargus
I'm getting an error during during the test compile phase after running 'mvn install'. I'm using the 2.4-SNAPSHOT version of Surefire, and it just started blowing up on me today. Here a snippet of the error: [WARNING] POM for

Re: Bad checksums in central repo?

2007-05-31 Thread Joon Chuah
I've cleaned out my local repo several times. I've also downloaded these files using a browser and manually run the checksums with the same results. My builds are actually succeeding just fine since these are only warnings, but they are disturbing warnings. I searched the user list, and

Re: Ibiblio Issues

2007-05-31 Thread Tamás Cservenák
Hi all, David made a few mistypes :) a) he was asking for repo1.maven.org b) he had a long running proximity instance, which could not access repo1.maven.org as remote repo a few days ago. Connection refused was the exception he saw in proximity logs. Since then, the problem has been solved

Re: [ANN] Maven Stylus Skin 1.0.1 Released

2007-05-31 Thread Wim Deblauwe
url of the website or the groupId/artifactId would be useful... regards, Wim 2007/5/31, Dennis Lundberg [EMAIL PROTECTED]: The Maven team is pleased to announce the release of Maven Stylus Skin, version 1.0.1. Release Notes - Maven Skins - Version stylus-1.0.1 ** Bug * [MSKINS-1] -

Re: Ibiblio Issues

2007-05-31 Thread Carlos Sanchez
it was changed, and an email was sent to the list On 5/31/07, Tamás Cservenák [EMAIL PROTECTED] wrote: Hi all, David made a few mistypes :) a) he was asking for repo1.maven.org b) he had a long running proximity instance, which could not access repo1.maven.org as remote repo a few days ago.

com/oracle/ojdbc14 where are Oracle driver jars?

2007-05-31 Thread SiSi'mon
Does anyone know why there are no jars under http://repo1.maven.org/maven2/com/oracle/ojdbc14/10.2.0.2.0/ also how would one go about getting 10.1.0.2.0 jars there? thanks Si'mon -- View this message in context:

Re: Ibiblio Issues

2007-05-31 Thread Jason van Zyl
On 31 May 07, at 2:22 PM 31 May 07, Tamás Cservenák wrote: Hi all, David made a few mistypes :) a) he was asking for repo1.maven.org b) he had a long running proximity instance, which could not access repo1.maven.org as remote repo a few days ago. Connection refused was the exception he

RE: com/oracle/ojdbc14 where are Oracle driver jars?

2007-05-31 Thread Trevor Spackman
I also am waiting for the appearance of these jars... Trevor -Original Message- From: SiSi'mon [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 12:41 PM To: users@maven.apache.org Subject: com/oracle/ojdbc14 where are Oracle driver jars? Does anyone know why there are no jars

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-05-31 Thread Carlos Sanchez
what about they are a commercial product that is not free On 5/31/07, SiSi'mon [EMAIL PROTECTED] wrote: Does anyone know why there are no jars under http://repo1.maven.org/maven2/com/oracle/ojdbc14/10.2.0.2.0/ also how would one go about getting 10.1.0.2.0 jars there? thanks Si'mon --

Re: Ibiblio Issues

2007-05-31 Thread Tamás Cservenák
Hi, Thank you both for the confirmation of this issue! Thanx for the list info, Jason! Have fun, ~t~ On 5/31/07, Jason van Zyl [EMAIL PROTECTED] wrote: Yes, subscribe to [EMAIL PROTECTED] if you want to stay up on what's changing. There's a new machine for the central repository with a new

Using Ant to test Maven Plugins

2007-05-31 Thread mraible
I'm using Ant to test a Maven Plugin (as well as archetypes). I tried using Maven Embedder, but was unable to get it to execute some of my extension plugins with version 2.0.4. Now I'm having issues getting Ant to fail properly when executing Maven fails. I'm sure this is probably more of an

Re: [ANN] Maven Stylus Skin 1.0.1 Released

2007-05-31 Thread Dennis Lundberg
Wim Deblauwe wrote: url of the website or the groupId/artifactId would be useful... There is no website for this skin. groupId:artifactId org.apache.maven.skins:maven-stylus-skin If you are using this skin you already have this configured in your site.xml file. regards, Wim 2007/5/31,

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-05-31 Thread SiSi'mon
Does Oracle run a maven2 repository we can get them from? thanks Si'mon Carlos Sanchez-4 wrote: what about they are a commercial product that is not free On 5/31/07, SiSi'mon [EMAIL PROTECTED] wrote: Does anyone know why there are no jars under

How to tell Maven where to find jar (specify classpath)

2007-05-31 Thread SiSi'mon
We have a product we wish to deliver that requires compliation. We have a pom.xml file that specifies all the dependencies but there is one dependency (Oracle jdbc jars) for which there is no repository so we must package the .jar files in a /lib/ directory under our application. Outside of

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-05-31 Thread Dennis Lundberg
SiSi'mon wrote: Does Oracle run a maven2 repository we can get them from? No, you need to download them and install them in your local repo. Please see: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html thanks Si'mon Carlos Sanchez-4 wrote: what about they are a

Re: How to tell Maven where to find jar (specify classpath)

2007-05-31 Thread Wendy Smoak
On 5/31/07, SiSi'mon [EMAIL PROTECTED] wrote: We have a product we wish to deliver that requires compliation. We have a pom.xml file that specifies all the dependencies but there is one dependency (Oracle jdbc jars) for which there is no repository so we must package the .jar files in a /lib/

Re: How to tell Maven where to find jar (specify classpath)

2007-05-31 Thread SiSi'mon
We do not have the ability to run a maven repository for customers to serve them and oracle.jar - too many headaches and approval and hoops to jump through with IT. Is there a way to tell maven about another jar? Or is there a maven repository out there with Oracle jars? thanks Si'mon

Re: How to tell Maven where to find jar (specify classpath)

2007-05-31 Thread Carlos Sanchez
On 5/31/07, SiSi'mon [EMAIL PROTECTED] wrote: We do not have the ability to run a maven repository for customers to serve them and oracle.jar - too many headaches and approval and hoops to jump through with IT. Is there a way to tell maven about another jar? no, only what people already told

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-05-31 Thread SiSi'mon
Yes, we have already done this (downloaded an put in local repository) and internally we are doing this in development. But we do not have the ability to serve as a Maven2 repository to customers we ship to so when they run the installer it will need to fetch the Oracle jars from somewhere.

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-05-31 Thread Wendy Smoak
On 5/31/07, SiSi'mon [EMAIL PROTECTED] wrote: Yes, we have already done this (downloaded an put in local repository) and internally we are doing this in development. But we do not have the ability to serve as a Maven2 repository to customers we ship to so when they run the installer it will

Maven surefire question

2007-05-31 Thread SiSi'mon
As I understand it, typically when a JUnit test fails, you want it to stop right there and report the error (and not continue running tests). However in some code I recently inherited using the Maven surefire plugin, a test fails and it keeps going, and going and going and in the end reports 40

Re: Ibiblio Issues

2007-05-31 Thread DavidWilliams
Tamas, Thanks for passing the updated news on!!! Jason, Thanks for the mailing list info!!! Where do you go to subscribe to this list. I did not see it on http://maven.apache.org/mail-lists.html. Thanks, David Tamás Cservenák [EMAIL PROTECTED] 05/31/2007 01:46 PM Please respond to

Re: Maven surefire question

2007-05-31 Thread Thierry Lach
Is each of these in a different testmethod within a single class, such as testFirst(), testSecond() ? If so, then this is the standard behavior of JUnit. Each method is considered to be a test and will fail, but the class may contain multiple tests. On 5/31/07, SiSi'mon [EMAIL PROTECTED]

Re: Maven surefire question

2007-05-31 Thread James Abley
On 31/05/07, SiSi'mon [EMAIL PROTECTED] wrote: As I understand it, typically when a JUnit test fails, you want it to stop right there and report the error (and not continue running tests). However in some code I recently inherited using the Maven surefire plugin, a test fails and it keeps

Re: Access to the full classpath when running under Surefire (WAS: [Maven 2])

2007-05-31 Thread James Abley
On 23/05/07, Lasse Koskela [EMAIL PROTECTED] wrote: Oops. Sorry about the ambiguous title in my previous post... I changed it to something more communicative. Lasse On 5/23/07, Lasse Koskela [EMAIL PROTECTED] wrote: Hi, I'm trying to convert the open source JUnit extension called JspTest

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-05-31 Thread Wayne Fay
If you plan to distribute Oracle's proprietary jars etc, make sure you have the proper licensing etc necessary to do so. (These issues are exactly why these jars are not already available in the Maven repo.) Wayne On 5/31/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 5/31/07, SiSi'mon [EMAIL

Re: M2 Changelog plugin

2007-05-31 Thread Dennis Lundberg
Paul Spencer wrote: Emmanuel, Any idea when the next release of the changelog plugin will be released? Per the JIRA, their are no blockers and all issued attached to version 2.1 are resolved. I'm working through the remaining JIRAs for this plugin. If we get feedback from the reporters

Maven 1 does not see jars in the local repo properly

2007-05-31 Thread mreko
I cannot get my project to build with Maven 1 (I have to use 1 for building for the version of confluence I have to use) because every time i build it tries to download jars and gets error downloading; status code was: 301 I had to manually hunt the jars down for over 30 different things and

Re: Maven 1 does not see jars in the local repo properly

2007-05-31 Thread Lukas Theussl
What's your maven.repo.remote setting? Did you read the news from 7 December 2006: http://maven.apache.org/maven-1.x/news.html ? And why do you think nobody can help you just because you're using maven 1? ... :) -Lukas mreko wrote: I cannot get my project to build with Maven 1 (I have

Re: Maven 1 does not see jars in the local repo properly

2007-05-31 Thread mreko
Oh wow.. that fixed everything. Thank you very much. I don't know why I thought I might not get maven 1 help. ltheussl wrote: What's your maven.repo.remote setting? Did you read the news from 7 December 2006: http://maven.apache.org/maven-1.x/news.html ? And why do you think

How to reset java.home value from inside a pom file?

2007-05-31 Thread Tawfik, Sameh E
Hi, I'm using Maven version: 2.0.6, and I've different versions of java sdk installed on my machine. Currently on my WindowsXP, JAVA_HOME is set to C:\j2sdk1.4.2_13, but when I run maven I need to have JAVA_HOME set to C:\Program Files\Java\jdk1.5.0_11 instead. I can reset the value of

Dependency and groupId?

2007-05-31 Thread Tawfik, Sameh E
Hi, I'm using Maven version: 2.0.6. My project has few modules; I created the parent pom.xml file, and pom.xml for each module. I'm able to compile the first module, but when I try to compile the second module that depends on the first module jar file, I get the following error: [INFO]

Re: invoke maven from java

2007-05-31 Thread 張旭
Thanks to Jiaqi Guo. But I also found maybe maven-embedder can give me some help (http://maven.apache.org/guides/mini/guide-embedding-m2.html). On 5/30/07, Jiaqi Guo [EMAIL PROTECTED] wrote: Check $M2_HOME/bin/mvn please. .. exec $JAVACMD \ $MAVEN_OPTS \ -classpath

Re: Dependency and groupId?

2007-05-31 Thread Wayne Fay
You pick your own groupId for all your own projects. We generally suggest the groupId be basically your domain backwards -- a.b.com becomes com.b.a. In this case, I would probably use com.fairisaac.mbpa as the groupId for my artifacts, as it seems like mbpa is perhaps your project name. Then I

Re: How to reset java.home value from inside a pom file?

2007-05-31 Thread Wayne Fay
Realistically, you should set the JAVA_HOME in Windows Control Panel etc so it is set to 1.5.0_11 permanently for all apps. Then you can set compiler configuration parameters in your pom to target/source a different Java version as needed. Alternatively, you can edit the mvn.bat file and set

How to access project dependencies inside plugin?!

2007-05-31 Thread CasMeiron
Its possible to do that?! I tried: /** * The set of dependencies for the web application being run. * * @parameter default-value = ${project.artifacts} * @required * @readonly */ private Set dependencies; But doenst work, the set is empty. tkz. -- Paulo Cesar

Re: Plugin acessing list of dependencies in target project

2007-05-31 Thread Eric Redmond
${project.dependencies} Where did you find project.artifacts? Eric On 5/31/07, CasMeiron [EMAIL PROTECTED] wrote: Hi guys... Im trying to acess all dependencies in my target project, look what i did: /** * The set of dependencies for the web application being run. * *

Re: Plugin acessing list of dependencies in target project

2007-05-31 Thread CasMeiron
i found in tomcat-maven-plugin[codehaus] source. Edited; it works, tkz! On 5/31/07, Eric Redmond [EMAIL PROTECTED] wrote: ${project.dependencies} Where did you find project.artifacts? Eric On 5/31/07, CasMeiron [EMAIL PROTECTED] wrote: Hi guys... Im trying to acess all dependencies in

Re: How to access project dependencies inside plugin?!

2007-05-31 Thread CasMeiron
done, closed, tkz! On 5/31/07, CasMeiron [EMAIL PROTECTED] wrote: Its possible to do that?! I tried: /** * The set of dependencies for the web application being run. * * @parameter default-value = ${project.artifacts} * @required * @readonly */ private

Re: Building files with different jdk versions

2007-05-31 Thread Eric Redmond
You probably should separate your project into different projects each containing the set of files you want, allowing each one to use it's own compiler: http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html Or if you can get away with it (which most

Re: Plugin acessing list of dependencies in target project

2007-05-31 Thread CasMeiron
one problem, how can i get the path of each dependency? the method getSystemPath always return null. tkz. On 5/31/07, CasMeiron [EMAIL PROTECTED] wrote: i found in tomcat-maven-plugin[codehaus] source. Edited; it works, tkz! On 5/31/07, Eric Redmond [EMAIL PROTECTED] wrote:

RE: com/oracle/ojdbc14 where are Oracle driver jars?

2007-05-31 Thread Murugan, Vellaichamy
Hi, I think we can download the jar from this url and install it manually in your repository. http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html Regard's Murugan -Original Message- From: SiSi'mon [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 1:02 AM To:

An undeploy plugin?

2007-05-31 Thread Wendy Smoak
I need to get things *out* of a repository, and would rather not touch the filesystem directly. What would maven-undeploy-plugin look like? Do we already have something that does this? -- Wendy - To unsubscribe, e-mail:

Module B can't find base test class from module A during compilation

2007-05-31 Thread Maarten Volders
All, I'm facing the following problem. I have a multi module project, one module (let's call it Module A) contains a base test class in moduleA/src/test/java/... Module B has some test classes which inherit from that base class in Module A but during compilation of the test class in Module B I