RE: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread Randall Fidler
Hi David, Not sure if you saw the earlier post by myself and another person but the same situation happened with Perforce SCM; upgraded to the latest beta and nothing works since. It seems like it just doesn't execute the actual scm commands properly in this latest version. Regards,

jpox/jdo stuff in continuum 1.1-beta

2007-08-08 Thread Cla Emanuel Monsch
hi i've two questions about 1.1-beta-1 * does anybody know how to activate the logging for jpox? * in continuum 1.0.3 within the application.xml configuration file i was able to adjust the jpox/jdo configuration by changing some properties. for example the table prefix. property

RE: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread dvicente
no i haven't seen your earlier post but it seems the same problem with Synergy. Thanks you for your answer Randall Fidler wrote: Hi David, Not sure if you saw the earlier post by myself and another person but the same situation happened with Perforce SCM; upgraded to the latest

Re: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread dvicente
I think that the problem is in SynergyCheckOutCommand class and getWorkingProject method of SynergyUtil class. The correct command must be : ccm sync -r -p %displayname owner='MTP001' and status='working' and type='project' and has_predecessor('VignetteOffre~01_00_00:project:1') i think that

Re: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread Emmanuel Venisse
Why do you project already exists? Maybe you can patch the checkout command to run an update if the project already exists dvicente a écrit : I think that the problem is in SynergyCheckOutCommand class and getWorkingProject method of SynergyUtil class. The correct command must be : ccm sync

Re: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread dvicente
i do the 2 types of Continuum integration. - add a local pom.xml to Continuum and let Continuum to check-out the project - check-out the project before and add this specific pom.xml to Continuum i have the same result. And when Continuum works, it's not me which decide what is the scm command

Re: Java for Continuum 1.1-beta-2

2007-08-08 Thread Morgovsky, Alexander (US - Glen Mills)
Yes..1.5.12 resulted in a tools.jar not found error, after which I went back to 1.1-alpha-2. Sent by Good Messaging (www.good.com) -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 12:10 PM Central Standard Time To:

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-08 Thread fherrerav
Yes the NPE is when i click the save button. LAMY Olivier wrote: Just to be sure Add installation (jdk1.6.0) - Add profile (JDK1.6)-Edit profile-Add the new installation from list Here you click on save button ? If yes the NPE is fixed in trunk and will be in beta-2. --

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
When will 1.1-beta-2 be released? -Original Message- From: fherrerav [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 2:39 PM To: continuum-users@maven.apache.org Subject: RE: Continuum 1.1-beta-1 profile does not seem to work Yes the NPE is when i click the save button.

Re: Continuum build has out of memory exceptions but wont die

2007-08-08 Thread SkipWalker
With no solution forthcoming, here's an update. I let the server alone while I went to lunch. When I came back, it's still running the build. We're up to 3 hours now. Attempting to delete the build from continuum doesn't work. The delete just hangs and never completes. I assume its

RE: [***POSSIBLE SPAM***] - Re: How to increase the memory usage for mvn? - Email has different SMTP TO: and MIME TO: fields in the email addresses

2007-08-08 Thread William Ferguson
That' should be fine. Mvn.bat is just a batch file. So as long as you don't override them in there (which Maven doesn't by default) you'll be ok. William -Original Message- From: Baz [mailto:[EMAIL PROTECTED] Sent: Wednesday, 8 August 2007 2:05 PM To: Maven Users List Subject:

Making provided scope dependencies available

2007-08-08 Thread William Ferguson
What lifecycle phase needs to have run in order to get provided scope dependencies made available in a plugin. http://maven.apache.org/ref/current/maven-project/apidocs/org/apache/mav en/project/MavenProject.html#getArtifacts() In my plugin during the package phase, ${project.artifacts} doesn't

Maven SVN Integration

2007-08-08 Thread Steven Crosley
I'm pretty new to Maven, but I've created some sample multi-project applications successfully in the last couple of weeks. I'm a bit stuck as to how SVN integration works. This is kind of a 2-part question. 1.) I've added the dependency in my top-level pom.xml like so:

Re: Maven SVN Integration

2007-08-08 Thread Insitu
Steven Crosley [EMAIL PROTECTED] writes: mvn scm:checkin -Dmessage=This is a test I get a successful build, but the svn executes a file command instead of sending it to my repository: [INFO] [scm:checkin] [INFO] Executing: svn --non-interactive commit --file /tmp/maven-

Re: file based profile activation - best practice ?

2007-08-08 Thread nicolas de loof
Based on your link, I don't need a profile but a (plugin) dependency to antcontrib to use the if tag. My POM will the look more and more like an ant script. Maven is supposed to use profiles for such use cases. Why is there a limitation NOT to support ${basedir} property in profile activation ? I

FW: WebLogic Deployment ok from child, fails from parent ?

2007-08-08 Thread Anton Schoultz
Hi Scott, After some battling I have managed to do a sort of a work around... I only include the weblogic deployment plugin in those projects that need it, and I bind that plugin to the install phase. : executions execution goalsredeploy/goals!-- undeploy / deploy / redeploy as needed --

RE: Auto incrementing a build identifier

2007-08-08 Thread Artamonov, Juri
Hi Guys, Here is the plugin I wrote and use to distinguish two different snapshots. The properties I get and put into projectProperties can be used for example in Manifest.mf file storing build number or any other useful information. I would be glad if it helps you on your items. package

Problems with Java 5 imports

2007-08-08 Thread Insitu
Hello, While writing a plugin, I had problems with the following statements: - import static foo.bar.*; - public enum Toto { } The qdox engine choked on these. Is this a known problem ? Shall I file an issue with qdox ? maven-plugin-plugin ? both ? Regards, -- OQube software engineering \

modules with native resources

2007-08-08 Thread Dan Corneanu
Hi, I have a module comprising of java source files and some DLL shared libraries. Clients using this module must have the DLLs in a regular folder, on the classpath, not packed in an archive. What package type can I use for this module? Using a jar package type will make the DLLs unusable. Using

updating snapshots

2007-08-08 Thread DCVer
Hello, I have such a problem: I want to force maven to update the snapshot jar to download it again to the local repository. The problem is i have no access to the local repository (don't have priviledges), so i can't delete the old snapshot jar. The option -U isn't working (i use mvn install

Re: Container not set in plexus DefaultArchiverManager

2007-08-08 Thread Dave Mellors
Thanks Brian, that did the trick. I was previously looking at an older version of the dependency plugin that did not have the exclusions in the pom, so I was confused for a while. Once again, the help is greatly appreciated. On 8/8/07, Brian E. Fox [EMAIL PROTECTED] wrote: You need to exclude

Re: file based profile activation - best practice ?

2007-08-08 Thread nicolas de loof
your suggestion works fine. Thanks to helping me solving this issue. Nico. 2007/8/8, nicolas de loof [EMAIL PROTECTED]: Based on your link, I don't need a profile but a (plugin) dependency to antcontrib to use the if tag. My POM will the look more and more like an ant script. Maven is

RE: Auto incrementing a build identifier

2007-08-08 Thread Antony Stubbs
Hi Juri, This is great - but you may need to clarify legally how you are releasing this code (if at all), if it's to be considered for Maven (i.e. Apache commons license etc - could someone clarify what it would have to be?). If not, it's food for thought - thanks! :) Artamonov, Juri wrote:

Re: {m2] Error specifying phase for ant-run

2007-08-08 Thread Hervé BOUTEMY
ok did you try mvn compile? did you try to bind your antrun to process-classes instead? can you give us the output of a failing run? Le mercredi 8 août 2007, Mick Knutson a écrit : No. I have the ant run plugin running, but there is no maven compile first. It skips the compile altogether.

RE: how to auto replace jar name in resource file?

2007-08-08 Thread wanyna
Thanks. A further question: If a file I don't want to put into jar but only want to filtering, how to write pom file? hermod.opstvedt wrote: Hi Try using filtering Hermod -Original Message- From: wanyna [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 9:38 AM

Re: Maven SVN Integration

2007-08-08 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steven Crosley wrote: I'm pretty new to Maven, but I've created some sample multi-project applications successfully in the last couple of weeks. I'm a bit stuck as to how SVN integration works. This is kind of a 2-part question. 1.) I've added

Custom packaging question

2007-08-08 Thread Insitu
Hello, While creating a custom packaging, I ran into slight problems with configuring the components.xml for plexus. I would like to understand what are the roles/differences of the various configuration elements for an artifact and how to define them properly. I can see from maven-core's samples

[continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread david vicente
Hi all, I used Continuum 1.0.3 with Synergy (with maven-SCM-api-1.0-beta-4.jar and maven-SCM-provider-synergy-1.0-beta-4.jar in my \ lib) and all works fine. I have just continuum-1.1-beta-1 and nothing works since. it does not manage to extract the sources. In Continuum.log, I have that :

Re: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread Emmanuel Venisse
As we don't have lot of Synergy users and we don't have it to test, I think you'll need to look at maven-scm code (I don't think it's a continuum pb) to resolve this issue. sorry. Emmanuel david vicente a écrit : Hi all, I used Continuum 1.0.3 with Synergy (with maven-SCM-api-1.0-beta-4.jar

maven-clover-plugin

2007-08-08 Thread Andy Aspell-Clark
Does anyone know when this will be updated to use the new license file format? Andy Aspell-Clark Software Engineer (: + 44 (0)1633 637649 +: [EMAIL PROTECTED] WebSite - www.eadsdsuk.com For and on behalf of EADS Defence and Security Systems Limited. Registered Office: Meadows Road , Queensway

Generating zip o tar with the javadocs

2007-08-08 Thread Martin Alejandro Villalobos
Hello, I need generate the .zip o .tar or some kind of package with the javadocs of my proyect at release time. Please, somedoby know how I can do it? Thanks for all. Cheers. Martin. - To unsubscribe, e-mail: [EMAIL

Re: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread Emmanuel Venisse
Randall, David, What is your OS? dvicente a écrit : no i haven't seen your earlier post but it seems the same problem with Synergy. Thanks you for your answer Randall Fidler wrote: Hi David, Not sure if you saw the earlier post by myself and another person but the same situation

RE: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread Randall Fidler
Emmanuel, We've got Continuum running on Ubuntu Linux. Regards, Randall -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 5:49 AM To: [EMAIL PROTECTED] Subject: Re: [continuum-1.1-beta-1] pb with Synergy SCM Randall, David,

Re: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread dvicente
Windows 2000 Advanced Server ;-(( Emmanuel Venisse wrote: Randall, David, What is your OS? dvicente a écrit : no i haven't seen your earlier post but it seems the same problem with Synergy. Thanks you for your answer Randall Fidler wrote: Hi David, Not sure if you saw the

Re: jpox/jdo stuff in continuum 1.1-beta

2007-08-08 Thread Emmanuel Venisse
It is always in application.xml but the location of this file isn't the same. The new location is apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml Emmanuel Cla Emanuel Monsch a écrit : hi i've two questions about 1.1-beta-1 * does anybody know how to activate the

jspc plugin

2007-08-08 Thread John Coleman
I want to compile jsps but the jspc-maven-plugin doesn't seem to handle jsp methods declared in a containing jsp. Is there some way to fix this? TIA John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in

Re: [continuum-1.1-beta-1] pb with Synergy SCM

2007-08-08 Thread Emmanuel Venisse
It isn't a problem with the command execution process because all other commands (mvn, ant, svn, cvs...) works fine. Maybe it's a change in maven-scm done between maven-scm 1.0-beta-4 and 1.0 final David, can you explain this message? Exception: Cannot checkout sources. Exception while

problems with felix 308 patch and log4j

2007-08-08 Thread Arash Amiri
Hi, Sorry for posting again and again about the same issue, but I just have problems getting it done. I fixed a couple of things in my pom file now using the patch of the bundle plugin (felix 308). I did set up a very simple maven project (basically a simple artifact), imported log4j as

Re: Generating zip o tar with the javadocs

2007-08-08 Thread Wayne Fay
This is described on the maven-javadoc-plugin website: http://maven.apache.org/plugins/maven-javadoc-plugin/usage.html Wayne On 8/8/07, Martin Alejandro Villalobos [EMAIL PROTECTED] wrote: Hello, I need generate the .zip o .tar or some kind of package with the javadocs of my proyect at

Re: file based profile activation - best practice ?

2007-08-08 Thread Eric Redmond
I hope you understand that antrun is meant to be a stop-gap solution - a way to ensure your ant code works in your project. Now that you have your project working you should really consider creating a plugin:goal using the script so you can extract ant from your pom. -- Eric Redmond

Re: Problems with Java 5 imports

2007-08-08 Thread Eric Redmond
QDox has been fixed on this for a while, but Maven plugins use the older version (1.6) and still do not support Java 5 (unless you want to manually install the code in trunk). -- Eric Redmond http://blog.propellors.net On 8/8/07, Insitu [EMAIL PROTECTED] wrote: Hello, While writing a plugin,

Re: modules with native resources

2007-08-08 Thread Eric Redmond
Have you checked out NAR? http://java.freehep.org/freehep-nar-plugin/intro.html -- Eric Redmond http://blog.propellors.net On 8/8/07, Dan Corneanu [EMAIL PROTECTED] wrote: Hi, I have a module comprising of java source files and some DLL shared libraries. Clients using this module must

Re: Making provided scope dependencies available

2007-08-08 Thread Eric Redmond
I don't say this often, but this is a good question for the dev list - or hop on IRC. -- Eric Redmond http://blog.propellors.net On 8/7/07, William Ferguson [EMAIL PROTECTED] wrote: What lifecycle phase needs to have run in order to get provided scope dependencies made available in a plugin.

Re: problems with felix 308 patch and log4j

2007-08-08 Thread Stuart McCulloch
On 08/08/07, Arash Amiri [EMAIL PROTECTED] wrote: Hi, Sorry for posting again and again about the same issue, but I just have problems getting it done. I fixed a couple of things in my pom file now using the patch of the bundle plugin (felix 308). I did set up a very simple maven project

Re: file based profile activation - best practice ?

2007-08-08 Thread nicolas de loof
I agree about being better to create a plugin. Will just have to find time for doing it, and good arguments to spend time on a project that builds fine ;-) I just found http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html so this will be a nice way to package my antrun script

Re: file based profile activation - best practice ?

2007-08-08 Thread nicolas de loof
this will be a nice way to package my antrun script as a mojo but according to http://www.mail-archive.com/users@maven.apache.org/msg61137.html, there is no support for classpath defined in the plugin pom to setup ant taskdefs. That would be a quick and simpel way to setup a maven2 plugin

Re: continuum-1.1-beta-1: Build succeeded or failed ???

2007-08-08 Thread Poli García
This worked just fine, thanks! On 8/7/07, Madsen,Bryan [EMAIL PROTECTED] wrote: It is a known issue in 2.0.7. http://jira.codehaus.org/browse/MNG-3084 You can update the bat file in your local install as described in the bug and it will start working. Bryan -Original Message-

Re: Maven SVN Integration

2007-08-08 Thread Emmanuel Venisse
Steven Crosley a écrit : I'm pretty new to Maven, but I've created some sample multi-project applications successfully in the last couple of weeks. I'm a bit stuck as to how SVN integration works. This is kind of a 2-part question. 1.) I've added the dependency in my top-level pom.xml

Re: problems with felix 308 patch and log4j

2007-08-08 Thread Arash Amiri
would you actually suggest switching to spring-osgi? does spring-osgi already use the maven-bundle-plugin? greetings, arash Stuart McCulloch schrieb: On 08/08/07, Arash Amiri [EMAIL PROTECTED] wrote: Hi, Sorry for posting again and again about the same issue, but I just have problems

Questions on multi-module management

2007-08-08 Thread Zarick Lau
Dear Users and Developers, I'm using maven for a multi module project, my current layout is: / /module-a /module-b /ejb /ear /web-a /web-b /tools-a /tools-b The module-a / module-b is common module shared by other ejb/web/tools module. And module-b is depends on module-a. Building all modules

Referring to custom properties from the settings.xml file

2007-08-08 Thread Vihung Marathe
I seem to recall reading that it is possible to use a custom property in a settings.xml file. For example I should be able to have; settings ... localRepository${workarea}/repository/localRepository ... /settings and then invoke maven with mvn

RE: Tests fail (class not found) when running against non-standard local repository location

2007-08-08 Thread Vihung Marathe
The problem appears to be when the custom location is a relative path. As soon as I change the localRepository value in my settings.xml to an absolute path - in any form* - it seems to work. Any ideas? Is this a bug - possibly with Surefire? All the other goals work fine with a relative

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-08 Thread fherrerav
I get the same NPE Add installation (jdk1.6.0) - Add profile (JDK1.6)-Edit profile-Add the new installation from list - NPE Server: Red Hat Client Browser: Opera Note: Only 1 profile and 1 installation defined java.lang.NullPointerException at

Re: Questions on multi-module management

2007-08-08 Thread Insitu
Zarick Lau [EMAIL PROTECTED] writes: Approach II: My another solution is using a tricks with profile. I declare the the parent pom with en empty modules list: modules /modules If profile X is activated, module-a /module-b is added in the modules list. With this particular profile, maven

Re: Continuum 1.1-beta-1 profile does not seem to work

2007-08-08 Thread Emmanuel Venisse
Fixed in trunk fherrerav a écrit : I get the same NPE Add installation (jdk1.6.0) - Add profile (JDK1.6)-Edit profile-Add the new installation from list - NPE Server: Red Hat Client Browser: Opera Note: Only 1 profile and 1 installation defined java.lang.NullPointerException at

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-08 Thread LAMY Olivier
Just to be sure Add installation (jdk1.6.0) - Add profile (JDK1.6)-Edit profile-Add the new installation from list Here you click on save button ? If yes the NPE is fixed in trunk and will be in beta-2. -- Olivier -Message d'origine- De : fherrerav [mailto:[EMAIL PROTECTED]

Re: Problems with Java 5 imports

2007-08-08 Thread Insitu
Eric Redmond [EMAIL PROTECTED] writes: QDox has been fixed on this for a while, but Maven plugins use the older version (1.6) and still do not support Java 5 (unless you want to manually install the code in trunk). What do you mean ? Providing a patch ? -- OQube software engineering \

Java for Continuum 1.1-beta-2

2007-08-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
Which version of Java 1.5 should I use with Continuum 1.1-beta-2? Thank you. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this

Re: Generating zip o tar with the javadocs

2007-08-08 Thread Pascal Thivent
Hi, On 8/8/07, Martin Alejandro Villalobos [EMAIL PROTECTED] wrote: Hello, I need generate the .zip o .tar or some kind of package with the javadocs of my proyect at release time. Please, somedoby know how I can do it? I think the -DperformRelease=true is what you need. Using this property

Re: Problems with Java 5 imports

2007-08-08 Thread Eric Redmond
No, I mean currently Maven doesn't fully support jdk1.5-based plugins - but it is available in trunk (2.1 dev) http://docs.codehaus.org/display/MAVEN/Java+5+Annotations+for+Plugins Note that this is mainly to provide Java 5 annotations, however, it also supports full jdk1.5 syntax. -- Eric

Re: Tests fail (class not found) when running against non-standard local repository location

2007-08-08 Thread Wayne Fay
I don't consider it to be a bug. Settings.xml is supposed to have values that apply to all projects, so by definition, relative paths should not be acceptable. Wayne On 8/8/07, Vihung Marathe [EMAIL PROTECTED] wrote: The problem appears to be when the custom location is a relative path. As

Relationship of resources and testResources

2007-08-08 Thread Ryan Moquin
If I have this in my pom: build resources resource directorysrc/main/resources/directory /resource /resources testResources testResource directory/src/test/resources/directory /testResource /testResources /build If I have a file such

Flex Bison Plugin?

2007-08-08 Thread Thomas Jackson
Does anyone know of any plug-ins for Maven that will generate files using flex and bison? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Flex Bison Plugin?

2007-08-08 Thread Eric Redmond
There is a jflex artifact out there http://repo1.maven.org/maven2/de/jflex/jflex/1.4.1/ , which QDox uses, but unfortunately, last I knew there was no plugin - so U had to use antrun to call it instead. If you find any, please post them. It's be nice to have a list of Maven supported

Re: Relationship of resources and testResources

2007-08-08 Thread Eric Redmond
testResources files get copied to the testOutputDirectory. Using surefire, the testOutputDirecotry files should take precedence. -- Eric Redmond http://blog.propellors.net On 8/8/07, Ryan Moquin [EMAIL PROTECTED] wrote: If I have this in my pom: build resources resource

Re: updating snapshots

2007-08-08 Thread Eric Redmond
Create a settings.xml file and put it in your home account's ~/.m2/settings.xml settings localRepository/a/dir/you/can/access/localRepository !-- ... whatever else you want... -- /settings Maven (quite rightly) assumes you have write access to your local repo. -- Eric Redmond

[m2] How to get access to test resources?

2007-08-08 Thread Mick Knutson
In my unit test, I have a call to get a test.txt file that live in src/test/resources/test.txt byte[] test = AES.file2byte(test.txt); But it never finds the file Any help? -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com

Re: Relationship of resources and testResources

2007-08-08 Thread Ryan Moquin
Interesting, when I remove the file in the src/main/resources then the one in src/test/resources gets picked up... I've been playing with it for an hour and a half.. checking and double checking and it appears as though main resources is overriding the test resources. I never had this problem

Re: Custom packaging question

2007-08-08 Thread Eric Redmond
I wrote a little bit about it here - though I suppose it wouldn't hurt going into more depth. http://www.sonatype.com/book/repository.html#tips_and_tricks Please read, and request any clarifications so I can fix the book. Thanks :) -- Eric Redmond http://blog.propellors.net On 8/8/07, Insitu

Confluence Maven Plugin

2007-08-08 Thread Jason Dillon
Hiya, just a quick note... I've started to whip up a simple plugin to interact with an Atlassian Confluence server from Maven 2. I've merged in my HokeyPokey cli tool and put it all up in the mojo-sandbox here: https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/confluence-

[m2] Cobertura issue

2007-08-08 Thread Mick Knutson
I have a project that has sub-sub-modules like: ./pom.xml ./utilties/pom.xml ./utilities/common-jar/pom.xml Now when I run mvn clean site:site @ ./utilities, I get my expected Cobertura report that is NOT 100% coverage. But when I run it at the ./utilities/common-jar level, everything is 100%

Re: [m2] Cobertura issue

2007-08-08 Thread Dennis Lundberg
Sounds like this issue: http://jira.codehaus.org/browse/MCOBERTURA-61 Mick Knutson wrote: I have a project that has sub-sub-modules like: ./pom.xml ./utilties/pom.xml ./utilities/common-jar/pom.xml Now when I run mvn clean site:site @ ./utilities, I get my expected Cobertura report that

Re: [m2] Cobertura issue

2007-08-08 Thread Mick Knutson
I found a solution: http://jira.codehaus.org/browse/MCOBERTURA-61 But this does not work if I am at ./utilties/common-jar/pom.xml level trying to run this... On 8/8/07, Mick Knutson [EMAIL PROTECTED] wrote: I have a project that has sub-sub-modules like: ./pom.xml ./utilties/pom.xml

Re: Relationship of resources and testResources

2007-08-08 Thread Max Bowsher
Eric Redmond wrote: testResources files get copied to the testOutputDirectory. Using surefire, the testOutputDirecotry files should take precedence. Actually, no. In Maven 2.0.7 and below, the main output directory takes precedence. In Maven 2.0.8-SNAPSHOT, this has been fixed. Compare the

Re: Relationship of resources and testResources

2007-08-08 Thread Ryan Moquin
Ah thanks... man that was really frustrating. I think I have been bitten by this before with my persistence.xml and just assumed it was hibernates fault. Now I'm thinking it was this as well. Thanks for getting this off my mind. On 8/8/07, Max Bowsher [EMAIL PROTECTED] wrote: Eric

Re: Relationship of resources and testResources

2007-08-08 Thread Eric Redmond
Ah, was not aware. Glad it's gotten fixed - I tend to run 2.1 anymore. On 8/8/07, Max Bowsher [EMAIL PROTECTED] wrote: Eric Redmond wrote: testResources files get copied to the testOutputDirectory. Using surefire, the testOutputDirecotry files should take precedence. Actually, no. In

Re: [m2] Cobertura issue

2007-08-08 Thread Mick Knutson
That is not the full fix. There seems to be an issue when I get into sub-SUB-modules Now when I went back to version 2.0, it works fine... On 8/8/07, Mick Knutson [EMAIL PROTECTED] wrote: I found a solution: http://jira.codehaus.org/browse/MCOBERTURA-61 But this does not work if I am at

Re: [m2] How to get access to test resources?

2007-08-08 Thread Insitu
Mick Knutson [EMAIL PROTECTED] writes: In my unit test, I have a call to get a test.txt file that live in src/test/resources/test.txt byte[] test = AES.file2byte(test.txt); But it never finds the file You should access the file using classloader, as the resources are put on your

What is the best way to consolidate the site from a multi-project project

2007-08-08 Thread ChuckC
I have my site generating for a multi-project project, but the top level pom report does not properly link into the sub-level pom reports. Ideally, I would like the site to be in a single destination. Is there a way to get the sites to link together as a single site. This is very similar to the

[ANN] Maven DOCCK Plugin 1.0-beta-2 Released

2007-08-08 Thread Dennis Lundberg
The Maven team is pleased to announce the release of Maven DOCCK Plugin, version 1.0-beta-2. http://maven.apache.org/plugins/maven-docck-plugin/ Release Notes - Maven 2.x DOCCK Plugin - Version 1.0-beta-2 ** Bug * [MDOCCK-8] - NTLM proxy problems: Authentication state already initialized

Re: [mojo-dev] Confluence Maven Plugin

2007-08-08 Thread David Blevins
On Aug 8, 2007, at 1:45 PM, Jason Dillon wrote: Hiya, just a quick note... I've started to whip up a simple plugin to interact with an Atlassian Confluence server from Maven 2. I've merged in my HokeyPokey cli tool and put it all up in the mojo-sandbox here:

Re: [mojo-dev] Confluence Maven Plugin

2007-08-08 Thread Jason Dillon
Mostly because Groovy's dynamic invocation makes it relatively simply to support any API calls. And also I had already implemented it for HokeyPokey to help Hernan man months ago. But also because the Groovy code is relatively small and IMO easy to understand:

RE: Making provided scope dependencies available

2007-08-08 Thread Brian E. Fox
In order for the plugin to receive the dependencies, you need to specify @requiresDependencyResolution [scope] in your mojo annotation. This will tell maven to ensure everything is resolved and then you will get the objects you want. -Original Message- From: William Ferguson

Re: Relationship of resources and testResources

2007-08-08 Thread Ryan Moquin
Oh you run 2.1? Do you build it from source? I tend to try to stay away from non-stable builds unless there is a feature I really need, so that I avoid problems like the one I'm describing. I absolutely love Maven though and am very very tempted to try out the newer stuff early :) On 8/8/07,

How to include the artfact/extraFiles/dependency in assembly (single module)

2007-08-08 Thread Zarick Lau
Dear users and developers, I have a single module project, is it possible to create an assembly such that, it include the normal project artifact, extra files (scripts/sql) and dependency in the assembly output? I can use an descriptor to include the scripts and dependencies included in the

Re: problems with felix 308 patch and log4j

2007-08-08 Thread Stuart McCulloch
On 09/08/07, Arash Amiri [EMAIL PROTECTED] wrote: would you actually suggest switching to spring-osgi? if you already use Spring and want to move your application to OSGi then it's worth trying does spring-osgi already use the maven-bundle-plugin? yes, Spring-OSGi already uses the

Re: [mojo-dev] Confluence Maven Plugin

2007-08-08 Thread David Blevins
On Aug 8, 2007, at 4:55 PM, Jason Dillon wrote: Mostly because Groovy's dynamic invocation makes it relatively simply to support any API calls. And also I had already implemented it for HokeyPokey to help Hernan man months ago. But also because the Groovy code is relatively small and IMO

Re: [mojo-dev] Confluence Maven Plugin

2007-08-08 Thread Jason Dillon
Aighty, well I'll have a looksy and see what I can do ;-) --jason On Aug 8, 2007, at 10:13 PM, David Blevins wrote: On Aug 8, 2007, at 4:55 PM, Jason Dillon wrote: Mostly because Groovy's dynamic invocation makes it relatively simply to support any API calls. And also I had already

Re: [CREATE:ARCHETYPE - MAVEN EMBEDDER]

2007-08-08 Thread Maria Odea Ching
Hi Joao, I'm not sure what the problem is.. the configuration below seems to be correct. -Deng João Kreuzberg wrote: Maria, I tried the user.dir within the command line and it works just fine. When I try to execute it using maven-embedder it just ignores the base directory. Here is how

Re: Questions on multi-module management

2007-08-08 Thread Zarick Lau
On 8/9/07, Insitu [EMAIL PROTECTED] wrote: Zarick Lau [EMAIL PROTECTED] writes: Approach II: My another solution is using a tricks with profile. I declare the the parent pom with en empty modules list: modules /modules If profile X is activated, module-a /module-b is added in the

Re: [CREATE:ARCHETYPE - MAVEN EMBEDDER]

2007-08-08 Thread Brett Porter
I think that the embedder might re-set user.dir to the location of the POM (though you seem to be setting that yourself to the same location, so I'm not sure why that would be a problem...) Not sure that helps, just a thought. - Brett On 09/08/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Hi

Comparing Apache Continuum to CruiseControl

2007-08-08 Thread Huang, Yan
Hello, Anyone knows inside regarding Apache Continuum by comparing with widely popular CruiseControl? Why is Apache using Continuum for continuous integration? Thanks Yan - To unsubscribe, e-mail: [EMAIL PROTECTED] For