making a repository read-only

2010-06-29 Thread Jemos Infra
Hi all, I've got the requirement of providing different settings.xml files to different clients. Currently we've got different repositories: Third Party (TP), SNAPSHOTS and Releases. Each client has got different requirements. For instance, developers can only use all repositories as read-only,

Re: making a repository read-only

2010-06-29 Thread Jemos Infra
No, we don't use Nexus, just the file system. We've got a single account (sys_account) who is entitled to upload to this repository through ssh using an infrastructure given key, so also the possibility to use multiple usernames/passwords doesn't seem feasable. Any other suggestions? Regards,

Re: Maven Meetup Locations

2010-06-21 Thread Jemos Infra
London, we've got good beer :-) On Mon, 2010-06-21 at 15:55 -0400, Jason van Zyl wrote: The Maven Meetups Sonatype puts on have been very popular in the past. We're starting to take input from users on where they should be in the future: Sonatype’s coming to a city near you Thanks,

Re: Branch with Google guice?

2010-06-06 Thread Jemos Infra
like to know if the Maven 3 trunk builds already on top of the above, or if I need another URL with Guice support, and if this case I'd like a precise URL for it. Thanks for your time. M. On Sun, 2010-06-06 at 16:40 +0800, Stuart McCulloch wrote: On 6 June 2010 02:27, Jemos Infra jemos.in

Re: Branch with Google guice?

2010-06-06 Thread Jemos Infra
wrote: On 6 June 2010 17:22, Jemos Infra jemos.in...@googlemail.com wrote: Stuart, a couple of things re the below: 1) The first URL downloads spice-inject and the whole Guice. Question: was Guice extended for this compatibility layer? What actually is the compatibility layer

Re: Branch with Google guice?

2010-06-06 Thread Jemos Infra
On Sun, 2010-06-06 at 16:58 +0200, Olivier Lamy wrote: stuff is here : http://svn.apache.org/repos/asf/maven/maven-3/branches/guice-support/ Thanks ! Hi Oliver, I take it this branch contains everything that's needed, right? I mean Maven-3, the Plexus-Guice adapter and all required

Maven 3 and M2_HOME environment variable

2010-06-05 Thread Jemos Infra
Hi all, In Maven 3, will the Maven environment variable still be M2_HOME? Has this been done for backward compatibility? Regards, M. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,

Branch with Google guice?

2010-06-05 Thread Jemos Infra
Hi, Can somebody point me to the Maven 3 branch with Google guice? I undertsand that Google guice will replace Plexus classworlds, but the trunk still has Plexus in it. I'd like to have a look at what Maven 3 will look like when finished (from a code perspective). Thanks. M.

Re: Integrating persistence (sub)module into web app

2010-05-13 Thread Jemos Infra
Dan, I don't understand the requirement here. Why would you need the persistence.xml file in the WEBAPP/meta-inf folder? Why not to have the webapp which includes the persistence module as a dependency, thus the persistence module will be placed under webapp/lib and the classes will be available

Re: Automate build and test process in maven

2010-05-11 Thread Jemos Infra
Another way to test this is to create a WAR project, include your jar as dependency and use the jetty plugin. On Mon, 2010-05-10 at 20:16 -0700, AnshuGupta wrote: We are using Maven as the build automation tool. The build process generates a jar file. The requirement here is to start execution

Re: Advice: How do you setup your Maven project for Continuous Integration?

2010-05-11 Thread Jemos Infra
We use profiles per project and then setup integration test CI modules running those profiles. On Tue, 2010-05-11 at 13:03 +0930, Barrie Treloar wrote: I'm struggling to work out the best way to get my maven projects and continuous integration to play nicely together. Here's some

Re: mvn goal site - not generating project info pages

2010-05-09 Thread Jemos Infra
Have a look at https://cwiki.apache.org/confluence/display/MAVEN/Maven +3.x+and+site+plugin Regards, M. On Sat, 2010-05-08 at 23:44 +0200, Ralph Soika wrote: Hi, after I upgraded my m2eclipse plugin to version 0.10 the maven command site:site did no longer process reports nor the

Re: Maven filter and hsqldb mem hibernate.hbm2ddl.auto

2010-05-09 Thread Jemos Infra
Stephane, the pom doesn't show any filtering / hibernate plugin. Regards, M. On Sun, 2010-05-09 at 11:03 -0700, Stephane Eybert wrote: Hello, I have a pom.xml file with a filter for some data source properties. The filter works for the data source properties, that is, for:

Re: Maven filter and hsqldb mem hibernate.hbm2ddl.auto

2010-05-09 Thread Jemos Infra
I believe the following snippet (from http://maven.apache.org/pom.html#Resources) could solve your situation: resources resource targetPathMETA-INF/plexus/targetPath filteringfalse/filtering directory${basedir}/src/main/plexus/directory includes

Re: Maven filter and hsqldb mem hibernate.hbm2ddl.auto

2010-05-09 Thread Jemos Infra
This is a snippet from your message: [quote] Thanks for your reply. But I wonder how come the file in the target directory shows all the properties being filtered fine. A look at the file core/target/classes/spring-hibernate.xml shows the property place holders replaced by the corresponding

Re: Manipulating the build's classpath programmatically (in a custom mojo)

2010-05-07 Thread Jemos Infra
I think this question was answered recently in the list and involved using extensions. http://maven.apache.org/guides/mini/guide-using-extensions.html Regards, M. On Thu, 2010-05-06 at 22:29 -0700, Alex Ruiz wrote: Greetings, I know this is not the Maven way, but I need to add a bunch of

Re: Conveniently switch between settings

2010-05-07 Thread Jemos Infra
Gadre, I think it's assumed that your security configuration will remain stable per environment. So at work you will have a settings.xml with proxy settings and at home a file without proxy settings. Isn't this a one-off change? Or do you have any particular requirements for which you need to

Re: avoiding kludge when factoring common build steps into parent pom

2010-05-07 Thread Jemos Infra
It seems a good solution to me. M. On Fri, 2010-05-07 at 14:30 -0400, Marshall Schor wrote: I have a bunch of project that execute some common build steps. I factored these out into a parent-pom, and change the projects to specify this as their parent. My parent-pom is of package-type

RE: Log2j / Maven problem

2010-05-07 Thread Jemos Infra
The error suggests that this is an error in the test suite. I think more of a question for the log4j folks! M. -Original Message- From: Hadzic, Tarik [mailto:hadz...@wusm.wustl.edu] Sent: 07 May 2010 20:12 To: users@maven.apache.org Subject: Log2j / Maven problem I keep getting this on

Re: Ignoring distributionmanagement repositories and use only the settings.xml repository list to upload artifacts

2010-05-06 Thread Jemos Infra
You can create a super-parent POM, which defines only the distribution repositories. This is very unlikely to change therefore having all your projects to extend this one should be relatively safe. M. On Fri, 2010-05-07 at 05:00 +0530, Lahiru Gunathilake wrote: Hi Ron, In my case I have so

Re: Ignoring distributionmanagement repositories and use only the settings.xml repository list to upload artifacts

2010-05-06 Thread Jemos Infra
No, you can run deploy from any child project. meta information, such as dependencymanagement and distributionmanagement elements are just meta-data. Children inherit those information as these were declared in their POM. M. On Fri, 2010-05-07 at 05:38 +0530, Lahiru Gunathilake wrote: Yeah got