Question on adding a dependency

2007-08-08 Thread Farhan Sarwar
Got a simple question if someone could respond. All the dependencies that we add in a project's pom are in the form of groupid ,artifactid and version, so what in case we have some propriety product/jar for which the maven structure (or let's say the pom) is yet not defined, so in that case we'

Re: Database lifecycle in Maven

2007-08-08 Thread Dion Gillard
We do this in our internal maven 1.x 'db' plugin. We have goals like: db:create db:create-schema db:drop-schema db:delete db:clean db:load-dataset db:unload-dataset etc... On 8/8/07, Eric Redmond <[EMAIL PROTECTED] > wrote: > > This may be a good suggestion for JIRA. I am not against the additi

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 additiona

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

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: > > > > > > > > If profile X is activated, module-a /module-b is added in

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 I

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 imp

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: 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 maven-

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 outpu

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, Er

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 [mailto:[EMAIL

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: https://svn.codehaus.or

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: https://svn.codehaus.org

[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

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

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 o

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

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,

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 Red

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 ge

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

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 is

[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%

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- maven-pl

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 <

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 befo

[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 http://www.mys

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 /a/dir/you/can/access Maven (quite rightly) assumes you have write access to your local repo. -- Eric Redmond http://blog.propellors.net On 8/8/07, DCVer <[EMAIL PROTECTED]> wrote: > > > Hello, > > I have su

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: > > > > > > src/main/r

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 lexer/parsers

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]

Relationship of resources and testResources

2007-08-08 Thread Ryan Moquin
If I have this in my pom: src/main/resources /src/test/resources If I have a file such as hibernate.cfg.xml in both locations, but with different parameters... which one will take precedence during unit tests? >From I can see

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. > >

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 Redm

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 pr

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 messa

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 engineer

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] En

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 o

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: > > > > If profile X is activated, module-a /module-b is added in the modules > list. With this particular profile, maven will

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 org.apache.maven.continuum.web.action.

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 repositor

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; ... ${workarea}/repository ... and then invoke maven with mvn -Dworkarea=/home/myuser/development/myproj clean package and expect my build to use

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 a

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 gett

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 like

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 Messag

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 f

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 a

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

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 plu

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 m

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 plu

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 http://blog

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 r

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 depen

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 executin

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 E-

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 loggin

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, >>> >>>

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, W

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 hap

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 PROTEC

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 Mea

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

[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 : 339

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 t

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 a

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

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: 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: 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 tag. > > My POM will the look more and more like an ant script. Maven is s

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 exclud

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 --b

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

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 \ g

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 com.fus

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. : redeploy install : I can then go to the 'parent' and issue mvn install. All pr

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 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 un