Re: Profiles and filtering - global files

2007-12-13 Thread heimlich
Thanks a lot, Mick. That ought to do the trick. One question though, is there any way to avoid having a hardcoded path as projectRoot? What I'm looking for is some way of defining the top-level pom directory (e.g. ${toplevel.project.dir} that points to the directory where I started my mvn command)

Errror while running the target mvn:archetype

2007-12-13 Thread Aneena
I'm getting the following error please help me to solve this D:\Annhunts>mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates fro

Re: [assembly] add all dependency jars to lib folder in a "bin" assembly

2007-12-13 Thread Erik Drolshammer
Richard Chamberlain wrote: Hi. I use the following: /lib false runtime It puts all the dependencies into lib. Any idea how to add the contents of lib to classpath? (I have an executable jar file and when I add the dependencies to the lib folder the main class cannot be

[c-1.1] Need to understand hot to set MyProject_HOME for continuum

2007-12-13 Thread Mick Knutson
In my normal Manen build, I have a variable called MyProject_HOME set to * C:\opt\MyProject* and I use that throughout my build. Now I want to understand where to set that in order to still run Continuum? Am I going to set a another system variable to * /opt/contiuum/workingDirectory/* -- Tha

Re: using resources from a jar file

2007-12-13 Thread Insitu
Hello, If you extract your XML files into target/classes, this may mean that you want to load them through your classpath loading mechanism. You could use the jars as is in your final assembly/application,adding them to your loaded classpath. That could simplify your pom. But there may be other re

Re: using resources from a jar file

2007-12-13 Thread Wayne Fay
Check dependency:unpack. Wayne On 12/13/07, Márcio Moraes <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'd like to know if there is some way to extract a resource from a jar file > ... > > For example: > > I have a jar file with some XMLs files inside it. > > When my app is packaged i wanna to e

Re: Pre-release Testing Best Practices?

2007-12-13 Thread Kalle Korhonen
In your situation, whenever you think you are ready for a release, I'd just run release:prepare to create the tag, but not run release:perform immediately. Then check out the tag, and run your manual regression etc. testing suites against it. If minor things - like configuration or versions are wro

using resources from a jar file

2007-12-13 Thread Márcio Moraes
Hi everyone, I'd like to know if there is some way to extract a resource from a jar file ... For example: I have a jar file with some XMLs files inside it. When my app is packaged i wanna to extract the XMLs files from the dependency (jar file) to target/classes I wrote a plugin to do it for m

Re: Using build number in Maven antlib?

2007-12-13 Thread Hervé BOUTEMY
Le jeudi 13 décembre 2007, Dees, Ian (GE Healthcare) a écrit : > Is there a way to retrieve the Maven build number using the Maven antlib > plugin? I'd like to append the build number to the file name for some of > our Ant tasks. > > Thanks > Ian > >

Re: Ant tasks to deploy a jar

2007-12-13 Thread Hervé BOUTEMY
No problem here, it works as explained in http://maven.apache.org/ant-tasks.html. Can you send the Ant build fragment you're using? Hervé Le mercredi 12 décembre 2007, Paul Gier a écrit : > Has anyone successfully deployed a jar file to a maven repository using the > ant task? I tried using t

Re: [assembly] add all dependency jars to lib folder in a "bin" assembly

2007-12-13 Thread deckrider
On Dec 13, 2007 10:11 AM, Daniele Dellafiore <[EMAIL PROTECTED]> wrote: > it works! > The only problem is that include the main artifact in lib folder. I > just want the dependencies jars. > Now I have: > > > >/lib >false >runtime > > arte* >

bad JSF rendering when using mvn jetty:run

2007-12-13 Thread Christofer Jennings
I'm not sure where to post this question. It might be a JSF thing but the problem I have only happens when I run mvn jetty:run. For some reason when I use mvn jetty:run my JSF pages render wierd. The JSF components render outside the tag. If I build a war and deploy it to jetty or tomcat the page

Re: bad JSF rendering when using mvn jetty:run

2007-12-13 Thread Christofer Jennings
-- FIXED -- Turned out that a dependency in my Maven POM caused the trouble. I had this... jsf-impl jsf-impl 1.2.04 compile and for some reason taking it out fixed my problem. A bizarre side note is that I was the only one on my tea

RE: Refresh local repository SNAPSHOTS every morning

2007-12-13 Thread EJ Ciramella
One thing to keep in mind when it comes to the transition from ant to maven is maven works really really well when your codebase is highly modularized and not so well when you try to make maven work just like ant. -Original Message- From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] Sen

[ANN] Maven Remote Resources Plugin 1.0-beta-1 released

2007-12-13 Thread Daniel Kulp
The Maven team is proud of announcing the new release of the Maven Remote Resources Plugin 1.0-beta-2 for Maven 2. Release Notes - Maven 2.x Remote Resources Plugin - Version 1.0-beta-2 ** Bug * [MRRESOURCES-26] - NPE in remote-resources:process while sorting orgs * [MRRESOUR

Re: Configuring Archiva to proxy a Proximity instance

2007-12-13 Thread Brett Porter
the bug can be filed at: http://jira.codehaus.org/browse/MRM The configuration would be added inside the relevant in archiva.xml (the website has details on where to find that): inhouse After restarting, you should see it appear in the configuration page. Cheers, Brett On 14/12/2007, Jac

RE: Configuring Archiva to proxy a Proximity instance

2007-12-13 Thread Jackson, Brian R
The property is repositoryId=inhouse. What would be the correct xml for the archiva.xml? Where do I file a bug? Here's the full stacktrace from the console: jvm 1| WARNING: /archiva/admin/editProxyConnector!commit.action: jvm 1| java.lang.ClassCastException: [Ljava.lang.String; cannot b

Re: [m2] issue activating profiles. NEED HELP PLEASE

2007-12-13 Thread Mick Knutson
So I keep getting: [WARNING] Overriding profile: 'documentation' (source: pom) with new instance from source: profiles.xml [WARNING] Overriding profile: 'dev-' (source: pom) with new instance from source: profiles.xml I have tried with an without: dev-

Re: WAGON ERROR: Unknown parser type: NETWARE Type: L8

2007-12-13 Thread houzecl
we have identified this as a bug (missing feature ?) in the wagon-ftp component (FtpWagon class) . the FTPClient within must be configured as: FTPClientConfig conf = new FTPClientConfig(FTPClientConfig.SYST_UNIX); ftp.configure(conf); plus, the NOVELL FTP server must be configure to be UNIX comp

Re: Refresh local repository SNAPSHOTS every morning

2007-12-13 Thread Tomislav Stojcevich
mvn dependency:resolve should do the trick, add -U to force the update if you want to use it again after maven did it's daily check - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Configuring Archiva to proxy a Proximity instance

2007-12-13 Thread Brett Porter
Can you file a bug? What is the property that is required? Perhaps it can be put into your configuration file by hand. - Brett On 14/12/2007, Jackson, Brian R <[EMAIL PROTECTED]> wrote: > All, > > I'm having trouble configurating Archiva to proxy an instance of > Proximity because I'm required t

Configuring Archiva to proxy a Proximity instance

2007-12-13 Thread Jackson, Brian R
All, I'm having trouble configurating Archiva to proxy an instance of Proximity because I'm required to set a property on the proxy connector. Unfortunately Archiva 1.0 bombs when I try to save a proxy connector with a property: HTTP ERROR: 500 [Ljava.lang.String; cannot be cast to java.lang

Re: Maven Repository: FTP DOWNLOAD

2007-12-13 Thread houzecl
for those who may have the same problem, the answer is: yes, you need to add jars in the maven/lib directory. These jars are (today): wagon-ftp-1.0-beta-2.jar commons-net-1.4.1.jar: oro-2.0.8.jar However there is still a bug with the beta-2 if the ftp server is on a novell machine. I discuss t

Re: [assembly] add all dependency jars to lib folder in a "bin" assembly

2007-12-13 Thread Daniele Dellafiore
it works! The only problem is that include the main artifact in lib folder. I just want the dependencies jars. Now I have: /lib false runtime arte* where arte-0.1.jar and "arte" is the name of the artifact I am assembling is the name of

Using build number in Maven antlib?

2007-12-13 Thread Dees, Ian (GE Healthcare)
Is there a way to retrieve the Maven build number using the Maven antlib plugin? I'd like to append the build number to the file name for some of our Ant tasks. Thanks Ian - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: Refresh local repository SNAPSHOTS every morning

2007-12-13 Thread Blue.Thomas
It's not a problem as much as a curiosity. We just moved from Ant to Maven, and I want to reduce any increase of build times to ease the transition for the team - most of which have yet to migrate from the Ant branches of the projects to the new Maven-ized main line. Building our main ear pulls d

Re: Refresh local repository SNAPSHOTS every morning

2007-12-13 Thread Wayne Fay
You could probably use "mvn dependency:go-offline"... but as you said, it will act on all dependencies, not just SNAPSHOTs. (Why is this a problem for you?) Wayne On 12/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there a way to refresh the SNAPSHOTS in your local reposito

Re: Pre-release Testing Best Practices?

2007-12-13 Thread Eric Minick
Thanks Marco, I also tend to agree here as well and I think this would be a no-brainier if I was going to production quarterly. This particular project has minor updates going into production every week or three. That's border-line insane, but that matches the business needs. I've been at a number

RE: Refresh local repository SNAPSHOTS every morning

2007-12-13 Thread Mark Struberg
humm, I'm not sure, but this sounds like $> mvn dependency:go-offline could do the job for you. LieGrü, strub --- [EMAIL PROTECTED] schrieb: > Hi all, > > Is there a way to refresh the SNAPSHOTS in your local repository? We > have nightly builds for all of our projects, and every morning th

Refresh local repository SNAPSHOTS every morning

2007-12-13 Thread Blue.Thomas
Hi all, Is there a way to refresh the SNAPSHOTS in your local repository? We have nightly builds for all of our projects, and every morning there are new SNAPSHOTS in our internal repository to pull down, whether they contain changes or not. I'd like to be able to update all of my local SNAPSHOTS

RE: [assembly] add all dependency jars to lib folder in a "bin" assembly

2007-12-13 Thread Richard Chamberlain
Hi. I use the following: /lib false runtime It puts all the dependencies into lib. Rich -Original Message- From: Daniele Dellafiore [mailto:[EMAIL PROTECTED] Sent: 13 December 2007 12:19 To: Maven Users List Subject: [assembly] add all dependency ja

Steps involved in migrating to maven 1.1 from maven 1.0.2

2007-12-13 Thread ganji
Hi all, We have a requirement to migrate from maven 1.0.2 to maven 1.1 in our application. Can anyone share the knowledge on "Steps involved in do so" for the smoother and easier migration.? I appreciate your suggestions. tx, ganji -- View this message in context: http://www.nabble.com/Steps-

Re: own plugin without need for pom.xml

2007-12-13 Thread Mark Struberg
Peter, just out of curiosity: How do you decide which groupId, artifactId and versionId you should take for each jar? txs, strub --- Wayne Fay <[EMAIL PROTECTED]> schrieb: > Peter, I hope you will consider donating this plugin to the Mojo > project. A number of people have asked about this exac

RE: own plugin without need for pom.xml

2007-12-13 Thread Peter Fischer
Hello, struberg wrote: > > Simply add > > @requiresProject false > > to your mojo. > > An example of this usage can e.g. be found in the maven-archetype-plugin. > > > LieGrü, > strub > This works fine. Thank you! regars, Peter -- View this message in context: http://www.nabble.com/ow

Re: own plugin without need for pom.xml

2007-12-13 Thread Wayne Fay
Peter, I hope you will consider donating this plugin to the Mojo project. A number of people have asked about this exact thing on this list in the last year or so. Wayne On 12/13/07, Mark Struberg <[EMAIL PROTECTED]> wrote: > Simply add > > @requiresProject false > > to your mojo. > > An example

Re: maven non proxy settings

2007-12-13 Thread Wayne Fay
Generally, unless you have a corporate proxy/firewall in between you and the Internet, you won't need to configure anything in settings.xml. The two logins you have on your computer have nothing to do with Maven (one is into Windows, and one is into your ISP, I guess). Just give it a try with no p

Re: license-report

2007-12-13 Thread Wayne Fay
While the POM has a place for licenses, not everyone fills it out. So I think the idea of an automated system for this is still a dream, for now at least. You could always file bugs with your various dependencies to ask them to add the license element to their pom file. So the next time they push

RE: own plugin without need for pom.xml

2007-12-13 Thread Mark Struberg
Simply add @requiresProject false to your mojo. An example of this usage can e.g. be found in the maven-archetype-plugin. LieGrü, strub --- Peter Fischer <[EMAIL PROTECTED]> schrieb: > > Hello, > > I want to write my own deploy-plugin, which takes a directory and deploys > all contained ja

Problem with surefire-reports in Continuum 1.1 final

2007-12-13 Thread Diego
Hi, I am using Continuum 1.1 final, Maven 2.0.7, Java 1.5.0_06 and WindowsXP I added a M2 project in Continuum, but in result of build I got: + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]

Re: Coverage report of web application integration test with cobertura-maven-plugin

2007-12-13 Thread Arnaud HERITIER
Thus you'll have my help ;-) On Dec 13, 2007 4:29 PM, Jeff MAURY <[EMAIL PROTECTED]> wrote: > I would prefer extending the current one. > > Jeff > > > On Dec 13, 2007 4:26 PM, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > > > another cobertura plugin or an extension of the current one ? > > otherw

Re: Error 500 accessing snapshots in repository

2007-12-13 Thread Julien CARSIQUE
Hello, We use Archiva 1.0. I have to restart it every one or two days; if not, archiva becomes unstable : * main page and admin section are accessible and work fine, * archiva/browse/ function is dead : Proxy Error The proxy server received an invalid response from an upst

own plugin without need for pom.xml

2007-12-13 Thread Peter Fischer
Hello, I want to write my own deploy-plugin, which takes a directory and deploys all contained jars. In this scenario, I don't need a pom.xml like for "mvn deploy:deploy-file ...". But if I use my own plugin, maven shows me the error: [INFO] Cannot execute mojo: bundlesdeploy. It requires a pro

Re: Coverage report of web application integration test with cobertura-maven-plugin

2007-12-13 Thread Jeff MAURY
I would prefer extending the current one. Jeff On Dec 13, 2007 4:26 PM, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > another cobertura plugin or an extension of the current one ? > otherwise you have my +1 to have the possibility to include integration > tests in reports > > Arnaud > > On Dec 1

Re: Coverage report of web application integration test with cobertura-maven-plugin

2007-12-13 Thread Arnaud HERITIER
another cobertura plugin or an extension of the current one ? otherwise you have my +1 to have the possibility to include integration tests in reports Arnaud On Dec 13, 2007 3:58 PM, Jeff MAURY <[EMAIL PROTECTED]> wrote: > Richard, > > I have the same problem and I think this is not feasible wit

Custom lifecycle and pomless plugin issue

2007-12-13 Thread Arnaud Bailly
Hello, I want to do some complex operations as part of the production build of a system, and I am trying to embed these operations in maven. What I did boils down to the following: - create 3 mojos: mount, umount and launch - mount and umount does some magic before and after build with SCM

Re: Coverage report of web application integration test with cobertura-maven-plugin

2007-12-13 Thread Jeff MAURY
Richard, I have the same problem and I think this is not feasible with the current design of the Cobertura Maven2 plugin design as it is today. It does only address the test phase and not the integration-test phase. I plan to work on another Cobertura plugin (inspired from the philosophy of the Cl

Coverage report of web application integration test with cobertura-maven-plugin

2007-12-13 Thread Brewster, Richard
I want to produce a coverage report for the integration test phase of a web application (war packaging). My integration tests are run by the Cargo maven plugin launching JBoss 4.0.5. I've been using the 2.0 version of the cobertura-maven-plugin (and will try the upgrade to 2.2). I have a modular

Re: distributionManagement - deployment to 3rd party and release repository

2007-12-13 Thread Wendy Smoak
On Dec 13, 2007 2:31 AM, Shazia Bashir <[EMAIL PROTECTED]> wrote: > i am setting up our company repositories. I have made 3 repositories (3rd > party repo, snapshots repo, releases repo) . I want to make it available to > the users to deploy archives to all 3 repositories. To make the repositorie

RE: How to deploy corporate-pom?

2007-12-13 Thread nicklist
This is not good. The other developers won't get the change. And if other projects (and especially their tags) rely on this and you change it, you got not reproducible builds. Also not good. Just update the other versions when needed. It's the most clean thing to do. With regards, Nick Stolwij

RE: How to deploy corporate-pom?

2007-12-13 Thread Boeckli, Dominique
I just do it this way for the company pom (-DperformRelease=true) because it would be pain if the version number for the company pom has been increased and all other projects defining this one as parent has to be edited. When i edit and doing "mvn clean deploy -DperformRelease=true -U -X" for the

[assembly] add all dependency jars to lib folder in a "bin" assembly

2007-12-13 Thread Daniele Dellafiore
Hi all. I am trying to accomplish this task. My target is to create a compressed archive with the jar of my app and all the jars it depends upon in a subfolder called lib. I am trying to customize the standard bin descriptor so I have

RE: maven + eclipse server adapter

2007-12-13 Thread Sachse, Holger
Two things: 1. M2eclipse supports both versions of maven project dependencies * all in one big project with the modules as subfolders, in this case some of the functionalities of Eclipse do not work. Up to now I did not see any project like your packaging combination in this category.

Re: Scheduler bug, Continuum 1.1 (MySQL)

2007-12-13 Thread Ingo Siebert
Ups. :) Thank you. Ingo Emmanuel Venisse schrieb: Yes, your cron expression is invalid :) It must be : 0 0/30 8-18 ? * MON-FRI The doc say this: "Pay attention to the effects of '?' and '*' in the day-of-week and day-of-month fields!" http://www.opensymphony.com/quartz/api/org/quartz/CronTrig

RE: Access is denied when running mvn release:prepare (Help!)

2007-12-13 Thread Boeckli, Dominique
or a virus scanner still holding his fingers on it! i disable all virus scanner threads during development. -Original Message- From: Heinrich Nirschl [mailto:[EMAIL PROTECTED] Sent: Monday, November 12, 2007 05:52 PM To: Maven Users List Subject: Re: Access is denied when running mvn rel

Re: [m2] Any suggestion to include pom root in eclipse workspace

2007-12-13 Thread nicolas de loof
I myselft use this process : - check out with command line svn outside eclipse - run mvn eclipse:eclipse - in eclipse : right clic / import existing projects into workspace - create a new "simple" (non java) project at the project root Europa supports having multiple projects in workspace that ov

RE: Re: [m2] Any suggestion to include pom root in eclipse workspace

2007-12-13 Thread Boeckli, Dominique
what i do: check out multi project. check out sub projects as needed. that's all. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Yann Albou Sent: Monday, December 03, 2007 11:07 PM To: users@maven.apache.org Subject: Re: [m2] Any suggestion to include pom root in

RE: Pre-release Testing Best Practices?

2007-12-13 Thread Beelen, M. - SPLXL
Eric, When I read your email I think it's more an issue for source code management and versioning, then that it should be for maven. If you start the process of releasing a module, you could create a branch for that version and then release some beta or milestones (M1, M2, M3, ., M10) from th

Re: state of maven support for Google Web Toolkit ?

2007-12-13 Thread nicolas de loof
The plugin http://code.google.com/p/gwt-maven/ is not developped but simply HOSTED by google code. The plugin at codehaus is currently in mojo sandbox. Maybe you could merge your code with this one to make it more efficient ? Providing support for the gwt shell

distributionManagement - deployment to 3rd party and release repository

2007-12-13 Thread Shazia Bashir
Hi, i am setting up our company repositories. I have made 3 repositories (3rd party repo, snapshots repo, releases repo) . I want to make it available to the users to deploy archives to all 3 repositories. How do i in my company.pom state this in the distributionmanagement, as it doesnt let me se

Re: license-report

2007-12-13 Thread Julien Graglia
If i'm right, maven-remote-resources-plugin just allow to include some "bundles" in all generated ja : it can be used to include a LICENSE or NOTICE file. But I think that Andreas is looking for a plugin that will generate a "License reports" listing all licenses used in his project (dependenci

maven-changelog-plugin 2.1 + SVN : generate changeslog between 'lastversion' and trunk

2007-12-13 Thread Julien Graglia
Hi, I'am using the maven-changelog-plugin v2.1 successfully with SVN. I use the default configuration and I got 3 reports : change log, dev activity, file activity. I 'am quite happy with that! Those reports use a timespan of 30 days by default. But I want to get the changes beetwen my curren

Re: setting compiler options for all modules

2007-12-13 Thread Jeff MAURY
Define root/pom.xml as the parent for your sub poms. Jeff On 12/10/07, Kevin TierOne <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm looking for a way to set compiler options for all of my modules. > My application structure looks something like this. > > > root/pom.xml > root/app1/pom.xml > root