Re: How to debug transitive dependencies

2008-02-04 Thread Simon Kitching
In the recently-released version of the dependency plugin there is now the possibility to run mvn dependency:tree This should show you why those jars are being pulled in. You will need maven 2.0.8 for dependency:tree to run correctly. Regards, Simon Arash Bizhan zadeh <[EMAIL PROTECTED

Avoid version number in the build

2008-02-04 Thread amit kumar
Hi, How can I avoid version number in the build name and put it in Manifest file.? Which one is considered a better procedure? Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: build profiles

2008-02-04 Thread amit kumar
Thank you so much Allen. Been a great help. is not listed among them, but it is working for a single project that I tried to use different profiles. I would try with your suggestions and would let you know. Thanks and regards, Amit On Feb 5, 2008 2:11 AM, Allen, Daniel <[EMAIL PROTECTED]> wrote:

create extra folder on my own achetype layout

2008-02-04 Thread Zemian Deng
Hello list, Does anyone know how can I create a folder named "my-special-conf" in a custom archetype besides pom.xml and src? I don't see a way to do this using archetype.xml descriptor. Thanks, -Zemian Deng

Re: PMD pom example

2008-02-04 Thread raghu121
Thanks for the reply though. I should have mentioned that I had already read this. Unfortunately its giving me this when I executed site goal "PMD found no problems in your source code." But I do find lots of problems when I use the PMD eclipse plugin. I am attaching my pom.xml Dennis Lundbe

Re: How to debug transitive dependencies

2008-02-04 Thread Michael McCallum
make sure you 'mvn clean' after you remove the deps otherwise they are still sitting in the exploded war in target... On Tue, 05 Feb 2008 15:40:45 Arash Bizhan zadeh wrote: > I got the problem. Strangely myfaces and portlet APIs were ended up in my > war file. The problem was that I mentioned co

Re: eclipse:eclipse PDE version naming for incubator projects - changing a hyphen into a period, causing an error

2008-02-04 Thread Marshall Schor
Marshall Schor wrote: Carlos Sanchez wrote: you should look into the Apache Felix bundle plugin. It has a bundle:manifest goal that will generate the OSGi manifest, that's why the eclipse pluign class is deprecated Check "Adding OSGi metadata to existing projects without changing the packaging

Re: How to debug transitive dependencies

2008-02-04 Thread Arash Bizhan zadeh
I got the problem. Strangely myfaces and portlet APIs were ended up in my war file. The problem was that I mentioned commons-chaining in pom as a dependency, and it is depend on those jar files; I removed the explicit dependency to it and strangely, now I have it in my war file but not the depende

Re: Maven & java2wsdl...

2008-02-04 Thread Niall Pemberton
On Feb 5, 2008 2:25 AM, Fernando da Motta Hildebrand <[EMAIL PROTECTED]> wrote: > Well thanks anyway >From a quick glance - looks like the the name you've used in your "taskdef" is different from the one your trying to then use (taskdef name is "axis-jjava2wsdl" but your using "ant:axis-

Re: Resource plugin copying files which end up not being binary compatible

2008-02-04 Thread Cam
Found out why - i had property filtering on over the entire directory. Disable for the specific binary file and all works. Is this something the resources plugin should check for? Is there any use case when binary files would be able to be filtered? Cam Cam wrote: Hi, I'm using the maven r

Re: Maven & java2wsdl...

2008-02-04 Thread Fernando da Motta Hildebrand
Well thanks anyway 2008/1/28, Wayne Fay <[EMAIL PROTECTED]>: > > Perhaps try sending a new email here with [m1] in the subject. Then > people who are using Maven1 might be more likely to see it and reply. > > But as Daniel said, there's just not a whole ton of people using M1 > these days

Resource plugin copying files which end up not being binary compatible

2008-02-04 Thread Cam
Hi, I'm using the maven resources plugin to copy some binary files to the target directory however after copying the target file is not binary compatible with the original. I'm guessing this is because the resources plugin changes the character encoding, unfortunately i can't set the encoding

Re: Achiva and Proximity

2008-02-04 Thread Brett Porter
This should later be resolved by running through both the repository scan and the database scan processes though? On 05/02/2008, Heck, Joe <[EMAIL PROTECTED]> wrote: > That process (dropping in new directories to an archiva instance) is > exactly what I'm doing - works very nicely. One tidbit that

RE: Achiva and Proximity

2008-02-04 Thread Heck, Joe
That process (dropping in new directories to an archiva instance) is exactly what I'm doing - works very nicely. One tidbit that I noticed in version 1.0 is that if you have established an internal repository and then add *to it* after the fact, the artifacts don't always get indexed properly. I

Re: Updating Meta Data

2008-02-04 Thread Wendy Smoak
On Feb 4, 2008 6:57 PM, nadias <[EMAIL PROTECTED]> wrote: > What is the command that updates the metadata when we use Maven's > deploy:deploy? -DupdateReleaseInfo=true perhaps? http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html And you probably want 'mvn deploy' (the lifecycle

Updating Meta Data

2008-02-04 Thread nadias
What is the command that updates the metadata when we use Maven's deploy:deploy? Thanks. -- View this message in context: http://www.nabble.com/Updating-Meta-Data-tp15282046s177p15282046.html Sent from the Maven - Users mailing list archive at Nabble.com. -

RE: [c 1.1] issues with adding build definition....

2008-02-04 Thread Tawfik, Sameh E
To make Continuum always send an email at the end of the build cycle, do the following: 1. Edit \continuum-1.1\apps\continuum\webapp\WEB-INF\classes\META-INF\plexus\app lication.xml 2. Search for "alwaysSend" string, and change the value from "false" to "true" as follow: Original value: false

RE: Continuum renamed and moved my projects?

2008-02-04 Thread Tawfik, Sameh E
Wendy, I created two project groups "project group A" and "Project group B". In "project group A", I added a maven2 project "abc-r4", and in "Project group B", I added maven2 project "abc-r3". Both projects represent the same product, but each project represents different code, so project "abc-

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread nadias
Is the deploy plugin also using wagon? Or is it using something else to deploy? (Just trying to understand the inner workings of this...) Wendy Smoak-3 wrote: > > On Feb 4, 2008 5:50 PM, nadias <[EMAIL PROTECTED]> wrote: > >> Does maven-deploy-plugin also use Wagon internally, but file:/ ca

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread Wendy Smoak
On Feb 4, 2008 5:50 PM, nadias <[EMAIL PROTECTED]> wrote: > Does maven-deploy-plugin also use Wagon internally, but file:/ can be used? Yes, the deploy plugin can use file:// urls. -- Wendy - To unsubscribe, e-mail: [EMAIL PRO

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread nadias
Does maven-deploy-plugin also use Wagon internally, but file:/ can be used? Dennis Lundberg-2 wrote: > > I'm not sure that the file: protocol is supported. The plugin uses Maven > Wagon internally, and it makes scp calls to the target wagon. > > nadias wrote: >> I used: >> mvn stage:copy -Dv

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread nadias
Thanks. Does the maven-deploy-plugin use the wagon plugin as well (but can use file:/)? Wendy Smoak-3 wrote: > > On Feb 4, 2008 4:29 PM, nadias <[EMAIL PROTECTED]> wrote: >> >> I used: >> mvn stage:copy -Dversion=1.0-SNAPSHOT >> -Dsource="file:/path/to/local/repo/plugin" >> -Dtarget="file:/p

Re: Using Custom Developed Checkstyle Check Modules

2008-02-04 Thread Barrie Treloar
On Nov 19, 2007 9:30 PM, DanBarker85 <[EMAIL PROTECTED]> wrote: > > Thanks for your response. Adding the jar as an extension in the build was > the original option I chose, as was detailed in the Maven tutorial. I think > i've tried all combinations, but maybe it doesn't find the jar file I foun

Re: problem with custom check in checkstyle plugin

2008-02-04 Thread Barrie Treloar
On Sep 11, 2007 11:38 PM, Michael Fortin <[EMAIL PROTECTED]> wrote: > Hello. > I've been trying to get a custom check installed and can't get it run. > I've followed the directions from the maven site almost to the letter > but it keeps failing on the packagenames.xml. If I take my custom check >

Re: maven-plugin-management-plugin versions?

2008-02-04 Thread Tom Davies
On 05/02/2008, at 6:08 AM, Dennis Lundberg wrote: Where did you find this plugin? It is used for integration testing the maven-clover-plugin. The source lives here: http://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-plugin-management-plugin/ It looks out of date -- for ins

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread Dennis Lundberg
I'm not sure that the file: protocol is supported. The plugin uses Maven Wagon internally, and it makes scp calls to the target wagon. nadias wrote: I used: mvn stage:copy -Dversion=1.0-SNAPSHOT -Dsource="file:/path/to/local/repo/plugin" -Dtarget="file:/path/to/remote/repo/plugin2" Dennis Lu

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread nadias
It stops at the "Upload the zip file to the target repository" since I see the zipped file but the following steps are not completed: # # Unpack the zip file on the target machine # Delete the zip file from the target repository # Run the rename script on the target machine # Delete the rename sc

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread Wendy Smoak
On Feb 4, 2008 4:29 PM, nadias <[EMAIL PROTECTED]> wrote: > > I used: > mvn stage:copy -Dversion=1.0-SNAPSHOT > -Dsource="file:/path/to/local/repo/plugin" > -Dtarget="file:/path/to/remote/repo/plugin2" AFAIK it only supports copying from http:// to scp:// urls (but maybe something has changed.) h

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread nadias
I used: mvn stage:copy -Dversion=1.0-SNAPSHOT -Dsource="file:/path/to/local/repo/plugin" -Dtarget="file:/path/to/remote/repo/plugin2" Dennis Lundberg-2 wrote: > > What command line parameters did you use? We need more context to be > able to help you... > > nadias wrote: >> I'm getting the f

Re: Error Using Maven-Stage-Plugin

2008-02-04 Thread Dennis Lundberg
What command line parameters did you use? We need more context to be able to help you... nadias wrote: I'm getting the following error when trying to use the maven-stage-plugin (mvn stage:copy) and not sure what to make of it. Any help would be appreciated: . . . [INFO] Unpacking zip file on

Re: How to debug transitive dependencies

2008-02-04 Thread Martin Gainty
try mvn -npu -npu,--no-plugin-updates Suppress upToDate check for any relevant registered plugins which jars are being included that are not supposed to be included? M- - Original Message - From: "Michael McCallum" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Monday, February 04

Re: Sync problems with repo1.maven.org and ibiblio?

2008-02-04 Thread Carlos Sanchez
i'm looking into it On Feb 4, 2008 1:16 AM, thorque <[EMAIL PROTECTED]> wrote: > > Hello, > > If I take a look at > http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/1.5.4/ all > files are properly presents. But at > http://mirrors.ibiblio.org/pub/mirrors/maven2/org/codehaus/groovy/groo

Re: How to debug transitive dependencies

2008-02-04 Thread Michael McCallum
On Tue, 05 Feb 2008 10:03:56 Arash Bizhan zadeh wrote: > I am getting some strange unrelated jar files inside my war package. Could > somebody tell me how can I debug the transitive resolution process and > eliminate unrelated jar files? > > Thanks > Arash mvn dependency:resolve -X -- Michael Mc

Re: eclipse:eclipse PDE version naming for incubator projects - changing a hyphen into a period, causing an error

2008-02-04 Thread Marshall Schor
Carlos Sanchez wrote: you should look into the Apache Felix bundle plugin. It has a bundle:manifest goal that will generate the OSGi manifest, that's why the eclipse pluign class is deprecated Check "Adding OSGi metadata to existing projects without changing the packaging type" http://felix.apac

Error Using Maven-Stage-Plugin

2008-02-04 Thread nadias
I'm getting the following error when trying to use the maven-stage-plugin (mvn stage:copy) and not sure what to make of it. Any help would be appreciated: . . . [INFO] Unpacking zip file on the target machine. [INFO] [ERROR

RE: maven-war-plugin

2008-02-04 Thread Mark Struberg
I see 2 ways to avoid this problem. 1.) I assume that war A includes a kind of 'common logic', right? If so, this may also be extracted into a separate module, thus you have no dependency to a war anymore... 2.) You can use the exclude mechanism of the maven-war-plugin. LieGrü, strub --- tada

Re: Multiple environment build; old story for new comer

2008-02-04 Thread Arash Bizhan zadeh
Thanks for your reply. The point is having a handful of properties, managing them inside an xml file making it really long and difficult. Can't we simply load a property file for each profile and define the properties there? hi arash, as far as i am aware (i've only been using maven for about 6 m

maven-war-plugin

2008-02-04 Thread tadamski
I'm working with maven 2 and using the war plugin. In my project I have a module that depends on another module. So if module B depends on module A, when I run the package goal, nodule A's war structure is overlayed on module B's war. Is there anyway to stop this from occurring? There are unneces

Re: question about maven-rar-plugin

2008-02-04 Thread Tom Huybrechts
And all these other packagings are defined in maven-core too. http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core/src/main/resources/META-INF/plexus/components.xml?revision=522316&view=markup On Feb 4, 2008 10:13 PM, Olivier Lamy <[EMAIL PROTECTED]> wrote: > Hi, > Have

RE: Deploying Plugin to Other sites

2008-02-04 Thread nadias
I've checked out and built the maven-stage-plugin but now received the following error and not sure what to make of it. Any help would be appreciated: [INFO] Unpacking zip file on the target machine. [INFO] [ERROR] FATAL ER

conditional dependencies

2008-02-04 Thread Joerg Hohwiller
Hi there, I am using conditional dependencies in the form that I use variables in the dependencies and profiles to set these variables. Now I currently wonder what to do if a dependency is only required under specific situations. E.g. stax or jsr250 is included in java6 while you need dependen

Re: question about maven-rar-plugin

2008-02-04 Thread Olivier Lamy
Hi, Have try defining this in your pom rar ? rar packaging is define in maven core. -- Olivier 2008/2/4, Stephen Connolly <[EMAIL PROTECTED]>: > Why does this plugin not define a packaging of type rar? > > All the other JavaEE plugins: war, ear, ejb, etc define a packaging. > What was the rationa

RE: [m2.0.7] Null pointer exception with war:exploded

2008-02-04 Thread Allen, Daniel
Thanks, it works correctly now! I was afraid I'd found an actual internal error or something--glad it was just something small on my part. ~Dan Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Olivier Lamy Sent: Monday, February 04, 2008 4:00 PM To:

Re: War Overlays and resources filtering

2008-02-04 Thread Olivier Lamy
Overlay configuration has a filtered element. zipGroupId zipArtifactId scripts true If it doesn't work please load an issue. -- Olivier 2008/2/4, Rémy Sanlaville <[EMAIL PROTECTED]>: > Hi, > > I have multiple web applications who share common resources. > So I use the war overlays mec

question about maven-rar-plugin

2008-02-04 Thread Stephen Connolly
Why does this plugin not define a packaging of type rar? All the other JavaEE plugins: war, ear, ejb, etc define a packaging. What was the rational behind having this behave differently? Thanks, -Stephen - To unsubscribe, e-mai

How to debug transitive dependencies

2008-02-04 Thread Arash Bizhan zadeh
I am getting some strange unrelated jar files inside my war package. Could somebody tell me how can I debug the transitive resolution process and eliminate unrelated jar files? Thanks Arash -- You can not depend on your eyes when your imagination is out of focus.

Re: [m2.0.7] Null pointer exception with war:exploded

2008-02-04 Thread Olivier Lamy
Hi, Have a look at your configuration, directory element is missing : HERE PUT A DIRECTORYtrue *.xml -- Olivier 2008/2/4, Allen, Daniel <[EMAIL PROTECTED]>: > Hi, all. > > Thanks to everyone who helped me out with finding and configuring the > war plugin. I believe tha

[m2] Differences development / Deployment

2008-02-04 Thread Karl Heinz Marbaise
Hi there, i have got a little problem (or misunderstanding) with Maven 2: I have configured an entry for my issueManagement with an URL in the POM. Ok...so far so good... But i would like to have different URL's if i'm working on my development machine (local) and if i deploy/release a state to

[m2.0.7] Null pointer exception with war:exploded

2008-02-04 Thread Allen, Daniel
Hi, all. Thanks to everyone who helped me out with finding and configuring the war plugin. I believe that I have the settings correct to do what I need now. However, when I try and run "mvn -P dev clean package", I get a null pointer exception. The War plugin source is available only by Subversio

RE: build profiles

2008-02-04 Thread Allen, Daniel
Heh. I should take my own advice--when I was reviewing the profiles intro I linked you to, it says: Profiles in pom.xml On the other hand, if your profiles can be reasonably specified inside the POM, you have many more options. The trade-off, of course, is that you can only modify that project an

RE: build profiles

2008-02-04 Thread Allen, Daniel
I *think* properties straight from a POM override those from a profile. (Anyone more expert than myself, please correct me if I'm wrong) I would recommend moving the submodules' directory settings into a profile also, so that you can explicitly state at the command line which you want active. If t

Re: including content into apt files

2008-02-04 Thread Kallin Nagelberg
Oh, I thought when you said: >>>2. If I don't put that snippet on the first line of the file then it is >>>treated as text and not interpreted. >> >>IMO that's the expected behavior (even though I don't see where it's >>documented right now), as otherwise it would not be possible to >>distinguish

Re: build profiles

2008-02-04 Thread amit kumar
Actually the current setup is the most basic I guess. I was just trying to separate development environment(destination directory for the sub modules) an integration environment( the profile I want to use to specify a location which would get inherited by every sub module so that all of them could

RE: build profiles

2008-02-04 Thread Allen, Daniel
So... you're saying that your (profile1, according to your example command-line call below) is defined in/for the parent POM? I think I'm not 100% understanding your setup. Could you give me a more detailed explanation of what profiles and properties you have defined, where those are, and which o

Re: build profiles

2008-02-04 Thread amit kumar
Currently i am not using any profile(tag) for sub modules, I am just mentioning tag inside tag. Do i need to have separate profile to do that? regards, Amit On Feb 4, 2008 1:03 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote: > When I was doing profiles for the first time, I noticed that anything I

Re: Ant plugin fails after ugrading from maven 2.0.7 to 2.0.8

2008-02-04 Thread Niall Pemberton
Perhaps related, but still don't know how I resolve this or why it occurs after upgrading: http://jira.codehaus.org/browse/MANTRUN-68 Niall On Feb 4, 2008 6:51 PM, Niall Pemberton <[EMAIL PROTECTED]> wrote: > I've been working on an ant plugin here: >http://svn.apache.org/viewvc/commons/sand

Basic Repository Proxying settings

2008-02-04 Thread Doug Knesek
I find the settings in the documentation about repository proxying to be unclear. Here is what I'm trying to do: I want to force all my maven repository lookups to go through archiva - but I want it to behave just like a default maven installation except that I want my own deployments to be resi

Re: maven-plugin-management-plugin versions?

2008-02-04 Thread Dennis Lundberg
Where did you find this plugin? Tom Davies wrote: Hi, I'm using a snapshot build of this plugin to test my plugin. Is there going to be a non-snapshot release, or is this a deprecated way of testing plugins? Thanks, Tom -- ATLASSIAN - http://www.atlassian.com Our products help over 8,500

Re: PMD pom example

2008-02-04 Thread Dennis Lundberg
raghu121 wrote: Hi, Am looking for a PMD pom.xml example for Maven2 The first place I would look for this is the usage page for the PMD plugin: http://maven.apache.org/plugins/maven-pmd-plugin/usage.html It is considered good practice to read the documentation before asking questions on the

RE: [m2] Filtering web.xml?

2008-02-04 Thread Allen, Daniel
Ok, finally found the right page of the plugin docs with the info I needed. I do stand by my comment about the documentation, within the limited scope of the parameters page... a lot of them are documented like they're self-explanatory, but if you're not familiar with the workings of the plugin, th

RE: build profiles

2008-02-04 Thread Allen, Daniel
When I was doing profiles for the first time, I noticed that anything I put in profiles.xml was active by default, and that my dev profile overrode my live release profile. This may be your problem. Try adding: false to the dev profile that is currently overriding the other. In fact, this may

build profiles

2008-02-04 Thread amit kumar
Hi, I am trying to have different build profiles for my development environment and integration environment. All I want is to have different destination directories. My project has sub-modules and at the time of Integration when I run the maven build for the parent project, the destination director

Ant plugin fails after ugrading from maven 2.0.7 to 2.0.8

2008-02-04 Thread Niall Pemberton
I've been working on an ant plugin here: http://svn.apache.org/viewvc/commons/sandbox/commons-build-plugin/ It was working fine on maven 2.0.7 but after I upgraded to maven 2.0.8 it started throwing an IllegalArgumentException (see stack trace below) when I try to run any of the three goals. A

Re: Checking out and building on remote machine using continuum

2008-02-04 Thread Jesse McConnell
if you mean have continuum execute a build remotely on another machine the answer is no, continuum can't do that, though its been tossed around as a feature for the next major version of continuum supported natively that is...since your talking shellscripts then anything is possible if you want to

Re: Checking out and building on remote machine using continuum

2008-02-04 Thread new-user
Hi, Thanks for your response. I am able to check out the code from the SVN repository. I am particularly interested in using a remote build machine. Is it possible to do a remote build using Continuum? If so, could you kindly let me know how I can do this? Thanks a lot for your time. -Buvana

Re: .m2/settings.xml

2008-02-04 Thread amit kumar
Okay. actually that's the file I copied into .m2 folder thinking as of a temporary workaround.(now realise this is how it should be). Thanks. On Feb 4, 2008 12:22 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote: > There's also a sample settings.xml file in the directory that Maven > installs to, under

Re: .m2/settings.xml

2008-02-04 Thread amit kumar
Thanks a ton! On Feb 4, 2008 12:17 PM, Tomasz Pik <[EMAIL PROTECTED]> wrote: > > On Feb 4, 2008 7:00 PM, amit kumar <[EMAIL PROTECTED]> wrote: > > Hi, > > where is .m2/settings.xml? I saw this first in the maven plugin for > > eclipse. It keeps looking for %USER_HOME%/.m2/settings.xml. But I can >

RE: .m2/settings.xml

2008-02-04 Thread Allen, Daniel
There's also a sample settings.xml file in the directory that Maven installs to, under the /conf subdirectory. It contains pretty much everything you might need to put into your settings, in commented-out generic form. ~Dan Allen -Original Message- From: amit kumar [mailto:[EMAIL PROTECTE

Re: .m2/settings.xml

2008-02-04 Thread Tomasz Pik
On Feb 4, 2008 7:00 PM, amit kumar <[EMAIL PROTECTED]> wrote: > Hi, > where is .m2/settings.xml? I saw this first in the maven plugin for > eclipse. It keeps looking for %USER_HOME%/.m2/settings.xml. But I can > not find this file inside the .m2 folder. Do I have to create it > manually? Or it is s

Re: .m2/settings.xml

2008-02-04 Thread solprovider
On 2/4/08, amit kumar <[EMAIL PROTECTED]> wrote: > where is .m2/settings.xml? I saw this first in the maven plugin for > eclipse. It keeps looking for %USER_HOME%/.m2/settings.xml. But I can > not find this file inside the .m2 folder. Do I have to create it > manually? Or it is supposed to be g

Re: Maven Invoker Plugin help

2008-02-04 Thread Olivier Lamy
Yeap. It's a know issue in windoze env with mvn 2.0.7 (http://jira.codehaus.org/browse/MNG-2685). -- Olivier 2008/2/4, David Siefert <[EMAIL PROTECTED]>: > Okay, on one machine I am running maven-2.0.7 and when the i.t. project > fails, the main project still reports success. On another machine

.m2/settings.xml

2008-02-04 Thread amit kumar
Hi, where is .m2/settings.xml? I saw this first in the maven plugin for eclipse. It keeps looking for %USER_HOME%/.m2/settings.xml. But I can not find this file inside the .m2 folder. Do I have to create it manually? Or it is supposed to be generated at the time of .m2 folder gets created. Amit -

Re: Maven Invoker Plugin help

2008-02-04 Thread David Siefert
Okay, on one machine I am running maven-2.0.7 and when the i.t. project fails, the main project still reports success. On another machine I am using maven-2.0.8 and when the i.t. project fails, the main project build correctly reports failure. I am mentioning it here for anyone who searches the m

Re: What is the different between using ant tasks and antrun plugin?

2008-02-04 Thread Baz
Wayne, thanks. On 1/31/08, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Use ant-tasks if you want to integrate certain Maven functions into > your ant build.xml scripts. This is for people who want to keep using > Ant as their primary build tool. I don't think you want to do this. > > Use antrun plugi

Re: eclipse:eclipse PDE version naming for incubator projects - changing a hyphen into a period, causing an error

2008-02-04 Thread Carlos Sanchez
you should look into the Apache Felix bundle plugin. It has a bundle:manifest goal that will generate the OSGi manifest, that's why the eclipse pluign class is deprecated Check "Adding OSGi metadata to existing projects without changing the packaging type" http://felix.apache.org/site/maven-bundle

Re: eclipse:eclipse PDE version naming for incubator projects - changing a hyphen into a period, causing an error

2008-02-04 Thread Marshall Schor
This seems a bug. I opened a Jira issue http://jira.codehaus.org/browse/MECLIPSE-385, attached a patch and an updated test case. One issue may be the way I fixed it: I fixed a method getNormalizedVersion in EclipseOSGiManifestWriter, but that class is marked "deprecated" - so it may need to

Re: [c 1.1] issues with adding build definition....

2008-02-04 Thread Mick Knutson
1. Why does this ony start happening once I added then deleted another Build Definition? 2. How do turn notification on again? Here is my declaration: continuum http://rc-sun.ut.dentegra.lab:8080/continuum mail

Re: Achiva and Proximity

2008-02-04 Thread Brett Porter
Sure - since both use repositories stored in the file system you can configure Archiva to point at the disk location of the repositories when you add managed repositories. They'll be scanned and indexed after they are added. Archiva doesn't however have an option for importing configuration from P

RE: [m2] Filtering web.xml?

2008-02-04 Thread Allen, Daniel
Nevermind about the overlays; I found a docs page on that. -Original Message- From: Allen, Daniel Sent: Monday, February 04, 2008 11:08 AM To: Maven Users List Subject: RE: [m2] Filtering web.xml? Wayne: I thought having war in your pom.xml was a shortcut to calling war:war, with Maven

War Overlays and resources filtering

2008-02-04 Thread Rémy Sanlaville
Hi, I have multiple web applications who share common resources. So I use the war overlays mechanism ( http://maven.apache.org/plugins/maven-war-plugin/overlays.html) All seems ok except for common properties files that I want to filter when creating the web applications. For instance : My common

parent inheritence (site plugin)

2008-02-04 Thread Ritz, Martin
Hi User Group, I have a project with some submodules and generating the site of the whole project through executing of the parents level. I want to display the parent in the left navigation bar. I found the only way is to do this is the element "" in the parent which is inheritanced through the c

[m2] Listing of online repositories?

2008-02-04 Thread Allen, Daniel
Hi, all. The systems security people are being a bit of a pain in the ass about Maven, as it calls out to the internet at large. So, I was wondering where in the installation I can find a full listing of the repository mirrors that Maven knows about and checks by default. Also, if there is a way t

RE: [m2] Filtering web.xml?

2008-02-04 Thread Allen, Daniel
Wayne: I thought having war in your pom.xml was a shortcut to calling war:war, with Maven filling in the requried parameters. If I'm wrong about that, what's the difference? Just more elaborate customizability with war:war? Also, the plugin documentation is a little sparse, so I'm not sure which

Re: including content into apt files

2008-02-04 Thread Lukas Theussl
You can have as many as you want if you distinguish them with a unique id, see an example here: http://svn.apache.org/viewvc/maven/doxia/site/src/site/apt/book/index.apt?revision=574085&view=markup HTH, -Lukas Kallin Nagelberg wrote: Ok thanks for all the help. So, currently, it's impossibl

Re: including content into apt files

2008-02-04 Thread Kallin Nagelberg
Ok thanks for all the help. So, currently, it's impossible to have multiple includes throughout an apt file? On Feb 4, 2008 10:27 AM, Lukas Theussl <[EMAIL PROTECTED]> wrote: > > > Kallin Nagelberg wrote: > > I found out that configuring the dependency wasn't enough. I had to > > explicitly indi

Re: including content into apt files

2008-02-04 Thread Lukas Theussl
Kallin Nagelberg wrote: I found out that configuring the dependency wasn't enough. I had to explicitly indicate to use the latest site plugin in a plugin tag. That being said, there are still some issues: 1. Nothing is actually included. There is just an empty div. when I use: %{snippet|id=my

[m2] how to set log4j system properties for the axis2 maven plugin

2008-02-04 Thread Adrian Herscu
Hi all, I know that questions regarding setting log4j and system properties were asked many times, however I could not find anything that works for me. I am trying to make the axis2 plugin run during my build, and I am getting this error: [INFO] [axis2-wsdl2code:wsdl2code {execution: defaul

Re: including content into apt files

2008-02-04 Thread Kallin Nagelberg
I found out that configuring the dependency wasn't enough. I had to explicitly indicate to use the latest site plugin in a plugin tag. That being said, there are still some issues: 1. Nothing is actually included. There is just an empty div. when I use: %{snippet|id=myid|file=src/main/resources/h

Re: [maven-release-plugin] release-prepare does not update parent-SNAPSHOT-dependency. issue?

2008-02-04 Thread alexsil
Hi , have you already create a new issue in JIRA ??? Bye dhoffer wrote: > > I do/did understand you meant to say "release:prepare". > > I do however see this message when using 2.0.8 w/ release-plugin > 2.0-beta-7 and I do NOT have SNAPSHOT dependencies. What I do have are > dependencies us

Re: including content into apt files

2008-02-04 Thread Lukas Theussl
Please attach a small test project to jira (http://jira.codehaus.org/browse/DOXIA), it works for me. Just to be sure: the macro line is not indented in your apt source, right? (that would explain why the line is interpreted as an anchor). -Lukas Kallin Nagelberg wrote: Ok, so I added a depe

Re: including content into apt files

2008-02-04 Thread Kallin Nagelberg
Ok, so I added a dependency to site plugin 2.0-beta-6 and now i can use the file parameter like you suggested. However, the generated html is not including the file like I expect. Instead it is doing the following: %snippet|id=myid|file=src/main/resources/help/basichelp.txt given the apt: %{sni

Re: [m2] Filtering web.xml?

2008-02-04 Thread Insitu
Hello, I had similar problem with a webapp I developed few months ago, so I used this war filtering feature to add build number and deploy time and other informations to jsp files as comment tags filtered by maven. Regards, -- Arnaud Bailly, PhD OQube - Software Engineering http://www.oqube.com

Re: including content into apt files

2008-02-04 Thread Lukas Theussl
Which doxia version are you using? The file parameter was added in doxia-1.0-alpha-9 (ie site-plugin 2.0-beta-6). -Lukas Kallin Nagelberg wrote: Thanks Lukas, You know I tried that, but I keep getting the error that 'url' is a required parameters :S On Feb 4, 2008 5:32 AM, Lukas Theussl <[

Re: including content into apt files

2008-02-04 Thread Kallin Nagelberg
Thanks Lukas, You know I tried that, but I keep getting the error that 'url' is a required parameters :S On Feb 4, 2008 5:32 AM, Lukas Theussl <[EMAIL PROTECTED]> wrote: > Use the file parameter instead of url, eg: > > %{snippet|id=myid|file=src/main/resources/help/basichelp.txt} > > HTH, > -Lu

problem downloading dependencies of pom-type

2008-02-04 Thread aldana
hi, downloading jar's using archiva (as proxy) works fine (both release and snapshots). but downloading referenced pom (as ) fails. i had a look at 'Repository Scanning' menu and pom is included (**/*.pom). could this be a bug or do i need to set pom download somewhere else too? i am using archi

Re: ignoring test dependencies when you run maven with maven.test.skip=true

2008-02-04 Thread VUB Stefan Seidel
If you really wanted to not include the test dependencies, you could define a separate profile that is actived only when maven.test.skip is not true and then includes the dependencies. Stefan Rohnny Moland wrote: Thanks. maven.test.skip.exec=true is what I was looking for. Thanks again, Rohn

Re: bootstrapping repos

2008-02-04 Thread Simon Kitching
Lorenzo Bigagli <[EMAIL PROTECTED]> schrieb: > I put all the in a parent pom, but now of course all > children poms look for their father in the central (and fail)... > Am I doomed to bootstrap the info in the settings, too? Yep. At least the one repository that contains the parent is nee

bootstrapping repos

2008-02-04 Thread Lorenzo Bigagli
I put all the in a parent pom, but now of course all children poms look for their father in the central (and fail)... Am I doomed to bootstrap the info in the settings, too? I remember a thread about something similar, but I haven't been able to dig it out from the list archives... Could an

Re: disable default repository http://repo1.maven.org

2008-02-04 Thread aldana
stupid me, forgot to search correctly. i just need to override repository id 'central'. aldana wrote: > > i am trying to speed up builds with archiva (->caching of dependencies), > so lookup of them won't take so long. > problem is that default repository (http://repo1.maven.org) is still >

disable default repository http://repo1.maven.org

2008-02-04 Thread aldana
i am trying to speed up builds with archiva (->caching of dependencies), so lookup of them won't take so long. problem is that default repository (http://repo1.maven.org) is still directly included. is there a way to switch this off? direct connection is not neccessary because archiva is referenc

  1   2   >