Re: Maven repository on SourceForge file system

2011-06-11 Thread Barrie Treloar
I know its not what you asked for, but for sites you can follow http://maven.apache.org/plugins/maven-site-plugin/examples/site-deploy-to-sourceforge.net.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: skip a single junit test from command line

2011-05-16 Thread Barrie Treloar
On Mon, May 16, 2011 at 11:24 PM, eyal edri eyal.e...@gmail.com wrote: Hi, Is there a way to skip a single junit test while running from command line (without changing the java code or pom.xml?) mvn install -DskipTests - this will work for all tests so something like mvn install

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Barrie Treloar
On Tue, May 17, 2011 at 3:04 AM, Benson Margulies bimargul...@gmail.com wrote: Or if you quietly put a copy of Archiva or Nexus for those purposes on your own machine :-) Running a repository manager locally is a smart idea if you are on a laptop. Saves you the pain of reconfiguring maven when

Re: maven-eclipse-plugin:to-maven

2011-05-14 Thread Barrie Treloar
On Sun, May 15, 2011 at 12:54 AM, Stefan Eder stefan.e...@ebuconnect.de wrote:  Hi, First: Thanks! I am using Maven since years and my enthusiasm is still growing, on an already very high level. Very fine work, great software, makes software development a pleasure. On of the things I

Re: How to skip phases?

2011-05-11 Thread Barrie Treloar
On Thu, May 12, 2011 at 5:20 AM, EJ Ciramella ecirame...@casenetinc.com wrote: Starting and stopping maven like that will be slower than just doing a mvn clean install to begin with. Yeah, but I've seen odd behaviour doing them in one step. I can't recall the details, it may be something to do

Re: How to skip phases?

2011-05-10 Thread Barrie Treloar
On Wed, May 11, 2011 at 8:13 AM, Eric Jain eric.j...@gmail.com wrote: I may just have run `mvn compile` and now want to run `mvn test` (and later perhaps `mvn install`) without having Maven go through all the preceding phases again -- even if it is smart enough to figure out e.g. that nothing

Re: maven-remote-resources-plugin with Eclipse feature builds

2011-05-03 Thread Barrie Treloar
On Wed, May 4, 2011 at 12:31 AM, Greg Babcock greg.babc...@testadvantagesoftware.com wrote: I use Tycho to build an Eclipse RCP project and use the remote resources plugin to insert license file into all of the jar files produced.  This works correctly for plugins, but does not work for

Re: collecting dependent artifacts

2011-05-03 Thread Barrie Treloar
On Wed, May 4, 2011 at 10:33 AM, Eric Kolotyluk eric.koloty...@gmail.com wrote: Well, still no luck. I added my common-module as a dependency in the service-module, but when I build the package I get [ERROR] Failed to execute goal on project intersystem-service: Could not resolve

Re: collecting dependent artifacts

2011-05-03 Thread Barrie Treloar
On Wed, May 4, 2011 at 1:20 PM, Eric Kolotyluk eric.koloty...@gmail.com wrote: I am not a fan of flat multimodule projects and don't use them. I know that things generally work OK with them but I would not be surprised if you run into issues. I'm not a fan either, but it was the only way to

Re: mvn eclipse plugin for multimodule proyect

2011-04-26 Thread Barrie Treloar
Its always helpful to be over-specific in emails. I'm having to make assumptions about your environment that are likely incorrect and so the advice is not as good as it could be. In your original email you say it doesn't create any. referring to eclipse project files (like .project, .classpath,

Re: mvn eclipse plugin for multimodule proyect

2011-04-20 Thread Barrie Treloar
On Wed, Apr 20, 2011 at 10:24 PM, Fernando Wermus fwer...@odeasrl.com.ar wrote: [del] I am trying to run mvn eclipse:eclipse in parent pom.xml without any success. I am not sure if pom.xml for constructing developer environment run mvn eclipse:eclipse in pom.xml parent or in itself. I am

Re: How to model dependency from Unit Test Source to a another Projects Source

2011-04-19 Thread Barrie Treloar
On Tue, Apr 19, 2011 at 4:40 PM, Sailer, Richard richard.sai...@cassidian.com wrote: Hello all, I solved the problem it was not a dependency it was compilation problem. So thanks for your help. Richard You sure? Can you post how you solved it for the archives? Unit test code is not

Re: Ho do I include test jars in an assembly?

2011-04-19 Thread Barrie Treloar
On Tue, Apr 19, 2011 at 9:24 PM, Rupert Smith rupertlssm...@googlemail.com wrote: I should also add. There seem to be 3 issues here: * Adding a :test classifier to a module set include, should include the test jar. * The syntax of the artifact vector needs to be clarified in documentation,

Re: maven eclipse plugin

2011-04-18 Thread Barrie Treloar
On Mon, Apr 18, 2011 at 11:48 PM, Fernando Wermus fwer...@odeasrl.com.ar wrote: Hi all,    I am trying to set up code styles, work space and so on, but it doesn't work. Does anybody know if maven plug in eclipse is working for these kind of set up? I am using eclipse helios If you are talking

Re: Arranging Modules on the File System

2011-04-18 Thread Barrie Treloar
On Tue, Apr 19, 2011 at 8:17 AM, Eric Kolotyluk eric.koloty...@gmail.com wrote: I apologize if this is a newbie question, but I'm looking for a quick answer... I'm using Sonatype Maven plug-in for Eclipse and I have set up a project with several modules. The way the plug-in arranged them on

Re: SVN can not revert - VISTA can not copy it

2011-04-18 Thread Barrie Treloar
On Mon, Apr 18, 2011 at 9:23 PM, Stadelmann Josef josef.stadelm...@axa-winterthur.ch wrote: If I would be a maven developer I would make this path a bit more longer to really see others go into problems as well as I do on my Vista PC; Error restoring text for

Re: [eclipse-plugin] Dependency to workspace projects

2011-04-10 Thread Barrie Treloar
On Sat, Apr 9, 2011 at 7:54 PM, Jörg Schaible joerg.schai...@gmx.de wrote: Ludwig Magnusson wrote: Hello! I know that the maven-eclipse-plugin somehow can figure out that a dependency actually exists as a project in workspace and therefore add that project to the build path instead of

Re: Making a report

2011-03-30 Thread Barrie Treloar
On Wed, Mar 30, 2011 at 9:33 PM, Benson Margulies bimargul...@gmail.com wrote: OK, let me try to state this more clearly. Reporting plugins like checkstyle and pmd and javadoc look for the output of their corresponding build plugins. If they don't find it, they fork a build lifecycle to build

Re: Making a report

2011-03-29 Thread Barrie Treloar
On Wed, Mar 30, 2011 at 9:50 AM, Benson Margulies bimargul...@gmail.com wrote: I want to create a report which presents some results from a build. There is no way to recreate the data in the reporting context; the report must come from the build proper. Is the thing to do here to make the

Re: Extra dependency added to eclipse projects

2011-03-25 Thread Barrie Treloar
On Sat, Mar 12, 2011 at 5:26 AM, John Lussmyer john.lussm...@amdocs.com wrote: We have a large project hierarchy, and use mvn eclipse:eclipse to generate Eclipse projects for it. In 3 of the projects, maven adds a dependency to spring-2.0.3.jar - which we don't use, and don't have. This

Re: redirecting source/javadoc

2011-03-21 Thread Barrie Treloar
On Tue, Mar 22, 2011 at 7:12 AM, Benson Margulies bimargul...@gmail.com wrote: I'm pushing Apache Batik jars to maven. Batik uses an ant build. By using various ant patterns, it subdivides the source directory into 6 compiles and make 6 (different) jars. The ant build already sets up poms

Re: redirecting source/javadoc

2011-03-20 Thread Barrie Treloar
On Mon, Mar 21, 2011 at 1:08 PM, Benson Margulies bimargul...@gmail.com wrote: Consider an ant build that creates 1/2-dozen jars from a single source hierarchy. It wants to be 6 maven artifacts. But there's no easy way to make six different jars of javadoc and sources. Is there any way for the

Re: Multi-module project dependency resolution

2011-03-17 Thread Barrie Treloar
On Thu, Mar 17, 2011 at 10:04 AM, Deepesh Damodaran deeps...@gmail.comwrote: Hi, I have a multi module project with two modules(mod1 and mod2). mod2 depends on mod1 so added this as a dependency to the mod2/pom.xml. I have a couple of plug-ins (maven-enforce-plugin) enabled in individual

Re: Extra dependency added to eclipse projects

2011-03-16 Thread Barrie Treloar
On Thu, Mar 17, 2011 at 12:37 AM, John Lussmyer john.lussm...@amdocs.comwrote: So, Dependency Resolution has problems - and isn't that the whole REASON to use Maven? No wonder I keep wondering what the point of Maven is... Dependency resolution is HARD. You only have to look at OSGi and SAT

Re: Extra dependency added to eclipse projects

2011-03-15 Thread Barrie Treloar
On Tue, Mar 15, 2011 at 7:33 PM, Dirk Olmes d...@xanthippe.ping.de wrote: On 03/15/2011 05:45 AM, Jason Nerothin wrote: I mean the following suggestion in all seriousness (because I think it might work to help find your problem). 1. Download IntelliJ Idea 10, ultimate edition. You'll get

Re: Extra dependency added to eclipse projects

2011-03-14 Thread Barrie Treloar
On Tue, Mar 15, 2011 at 1:34 AM, John Lussmyer john.lussm...@amdocs.comwrote: So, I ran: mvn -X eclipse:eclipse And sorted through the output. There are NO occurrences of spring-2.0.3. There are NO occurrences of 2.0.3 We are using Spring 3.0.2 - Which is spread through a dozen jars, and

Re: Extra dependency added to eclipse projects

2011-03-13 Thread Barrie Treloar
On Sat, Mar 12, 2011 at 5:26 AM, John Lussmyer john.lussm...@amdocs.comwrote: We have a large project hierarchy, and use mvn eclipse:eclipse to generate Eclipse projects for it. In 3 of the projects, maven adds a dependency to spring-2.0.3.jar - which we don't use, and don't have. This .jar

Re: reading maven user settings xml in eclipse

2011-02-24 Thread Barrie Treloar
On Fri, Feb 25, 2011 at 6:56 AM, Qian, Yi yq...@ku.edu wrote: Hello, list We are using archiva as our local maven repository and by following the instructions on archiva web site, I set up archiva authentication against our LDAP server. We installed IAM plugin to enable maven in eclipse.

Re: uniqueVersion false doesn't help

2011-02-19 Thread Barrie Treloar
2011/2/20 Ondřej Světlík ond...@svetlik.info Dne 19.2.2011 20:58, Wayne Fay napsal(a): uniqueVersionfalse/uniqueVersion Let me guess -- you're using Maven 3, right? From the Maven 3 compatibility notes: Non-unique Snapshot Deployments The

Re: Tracking down a dependency mystery

2011-02-18 Thread Barrie Treloar
On Sat, Feb 19, 2011 at 2:01 AM, Benson Margulies bimargul...@gmail.comwrote: OK, mystery solved. I found the relevant dependencyManagement statement in a distant parent, leftover from long ago. Can you see if there is already a bug filed that says we should do more to help the user track

Re: eclipse:eclipse maven 3.0.1 not adding dependency

2011-02-17 Thread Barrie Treloar
On Thu, Feb 17, 2011 at 5:14 PM, Mathias Nilsson wicket.program...@gmail.com wrote: My problem now is that even if I have added my project as reference Spring won´t recognize my beans. Is there a change with this for 2x and 3x? Why isn't my project added as a var as it always has on the pc?

Re: eclipse:eclipse maven 3.0.1 not adding dependency

2011-02-17 Thread Barrie Treloar
On Fri, Feb 18, 2011 at 2:54 AM, Mathias Nilsson wicket.program...@gmail.com wrote: Ok I will try to explain in more detail and hope someone can help me. I have 2 dependencies to projects build by me. When clicking properties in eclipse these projects show up in the java build

Re: eclipse:eclipse maven 3.0.1 not adding dependency

2011-02-16 Thread Barrie Treloar
On Tue, Feb 8, 2011 at 8:13 PM, Mathias Nilsson wicket.program...@gmail.com wrote: Hi again, I have fixed this now but it didn't help with just mvn clean:clean install to get it in the local repository. I also needed to mvn eclipse:eclipse on all referencing projects to get it to work.

Re: eclipse:eclipse maven 3.0.1 not adding dependency

2011-02-16 Thread Barrie Treloar
On Wed, Feb 16, 2011 at 2:44 AM, Mathias Nilsson wicket.program...@gmail.com wrote: I still can't build my applications. My dependency to my own project is not included! It will be included if I build it to repository and delete it from eclipse! Did you follow my original advice? Stop

Re: Topologically sorting dependencies?

2011-02-15 Thread Barrie Treloar
On Tue, Feb 15, 2011 at 5:12 AM, Laird Nelson ljnel...@gmail.com wrote: Hello; I apologize if my terminology is off. (I've never understood the difference between a dependency and an artifact in the innards of Maven; happy to be educated.) I have to write a Maven plugin that, in order to

Re: Eclipse Plugin - how to remove M2_REPO classpath variable (re-post)

2011-02-12 Thread Barrie Treloar
On Thu, Feb 10, 2011 at 5:55 AM, Wayne Fay wayne...@gmail.com wrote: CL sent this to me privately, forwarding back to the list, I have nothing to add... -- Forwarded message -- Date: Tue, Feb 8, 2011 at 4:33 PM Subject: RE: Eclipse Plugin - how to remove M2_REPO classpath

Re: Missing goal eclipse:m2eclipse in version 2.8 of the Maven Eclipse plugin

2011-01-16 Thread Barrie Treloar
On Mon, Jan 17, 2011 at 6:22 AM, John Patrick nhoj.patr...@gmail.com wrote: On 18 December 2010 05:08, Barrie Treloar baerr...@gmail.com wrote: On Thu, Dec 16, 2010 at 9:39 PM, Stefan Eder stefan.e...@ebuconnect.de wrote:  Hi, since quite a while I am using Maven and Eclipse together

Re: eclipse:eclipse maven 3.0.1 not adding dependency

2011-01-06 Thread Barrie Treloar
On Thu, Jan 6, 2011 at 11:52 PM, Mathias Nilsson wicket.program...@gmail.com wrote: Hi, I have dependencies to my own projects and they are not added in the library eclipse( helios mac ) but only as /path in the .classpath. I have to remove my projects in eclipse and after that the project

Re: Assembly Plugin adventures - further review

2010-12-31 Thread Barrie Treloar
On Sat, Jan 1, 2011 at 12:22 AM, Steve Cohen sco...@javactivity.org wrote: Well, all I can say is that I was doing approximately as you have described and it didn't really work. I was using assembly:assembly (single for some reason failed to bring in everything needed - perhaps the mistake

Re: Assembly Plugin not seeing local repository

2010-12-30 Thread Barrie Treloar
I think the problem may be in terminology, I'll try to describe it below. It has to do with modules Let me preface this by saying I have never got modulesets working and have found that I don't need to. Have you read

Re: Missing goal eclipse:m2eclipse in version 2.8 of the Maven Eclipse plugin

2010-12-17 Thread Barrie Treloar
On Thu, Dec 16, 2010 at 9:39 PM, Stefan Eder stefan.e...@ebuconnect.de wrote:  Hi, since quite a while I am using Maven and Eclipse together with the Eclipse plugin for Maven and the Maven plugin for Eclipse. And it is just great. But in the version 2.8 of the Eclipse plugin for Maven I am

Re: maven-eclipse-plugin

2010-12-06 Thread Barrie Treloar
On Mon, Dec 6, 2010 at 10:39 AM, Brian Topping topp...@codehaus.org wrote: On a related note, can anyone summarize what the best way of maintaining eclipse projects from Maven is?  I use IDEA, and the best way from there is IDEA itself, not with the IDEA plugin for Maven. Is the same true

Re: maven-eclipse-plugin

2010-12-05 Thread Barrie Treloar
On Mon, Dec 6, 2010 at 12:51 AM, Asmann, Roland roland.asm...@adesso.at wrote: Hi all, Does anybody know in which version the support for wtp 2.x was added? Not really, you'd have to trawl through the code base to see for sure. http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html

Re: Multiple packages with different configuration files

2010-11-22 Thread Barrie Treloar
On Tue, Nov 23, 2010 at 9:49 AM, ilya.may...@ubs.com wrote: Eric, Let me elaborate on the issue. I cannot use profiles as it will create only one distribution for me. I need to have the same compiled cod bundled with different config files for DEV/QA/PROD. Is there are any easy way to

Re: Replacing classes in a jar after bug fixes - patches

2010-11-05 Thread Barrie Treloar
On Fri, Nov 5, 2010 at 9:36 PM, Salgar, Mehmet (external) mehmet.sal...@external.telekom.de wrote: Hi everybody, I have a question about how to replace a class in a dependency jar after a bug fix I made a fix for a class in a framework that is not developed from us, now during our build

Re: maven-eclipse-plugin Does not resolve workspace project name

2010-10-30 Thread Barrie Treloar
On Sat, Oct 30, 2010 at 2:34 AM, john.vint johnvin...@gmail.com wrote: This is not m-e-p's problem. Stop renaming your projects if you want to use m-e-p and use it to regenerate the .project files. Keep the name as the artifactId, or change the artifactId in the pom to meet your needs.

Re: maven is a swamp

2010-10-13 Thread Barrie Treloar
On Thu, Oct 14, 2010 at 9:34 AM, Graham Leggett minf...@sharp.fm wrote: [del] As soon as you need to start documenting things, you're starting to go wrong. Practically, you may have to document some things, such as where to get certificates for access, but you should strive to keep this

Re: maven is a swamp

2010-10-13 Thread Barrie Treloar
On Thu, Oct 14, 2010 at 9:59 AM, Benson Margulies bimargul...@gmail.com wrote: I'm concerned that the circle of congratulations here is somewhat oversimplifying this. I've brought Maven into my day job. I've arranged all the code involved to follow the maven way of doing things. And yet, I

Re: Maven generating invalid eclipse projects

2010-10-12 Thread Barrie Treloar
On Mon, Oct 11, 2010 at 10:00 PM, emerson echofloripa.y...@gmail.com wrote: Hi I configured a integration test only project, in a way that every module uses a configuration that is stored in the parent folder. I implemented this way: In the parent pom (in the root of the tree):    

Re: classpath issue accessing lib/*.jar in a jar

2010-10-02 Thread Barrie Treloar
On Fri, Oct 1, 2010 at 7:27 PM, torsten.reinh...@gi-de.com wrote: Hi, acually I´m working on a SAP Web AS integration, so I need to access some classes from external 3rd party jars. these jars seem to be OSGI bundels, with a MANIFEST.MF containing for example: Require-Bundle:

Re: Maven FAQ

2010-09-28 Thread Barrie Treloar
On Wed, Sep 29, 2010 at 9:02 AM, Greg Akins angryg...@gmail.com wrote: I'm trying to use some spare time to update the Maven FAQ Wiki In that document, an unanswered question is: How about making sure all files needed are available so I can run disconnected? My first impression is to run

Re: Multi-module goal execution order

2010-09-19 Thread Barrie Treloar
On Mon, Sep 20, 2010 at 10:48 AM, Guillaume Bilodeau gbilod...@yahoo.com wrote: Hi guys, I'm sure this has been discussed before, but I can't seem to find anything related to this subject. I've been working for a while with Maven 2 now, but only with single-module projects.  I am now

Re: -Dmaven.test.skip=true jar:test-jar

2010-09-03 Thread Barrie Treloar
On Fri, Sep 3, 2010 at 4:15 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: just use -DskipTests as that will skip running the tests but not compiling or packaging them... oh and it's shorter than its alias -Dmaven.skip.test.exec=true as well as the bigger skip that you are using

Re: -Dmaven.test.skip=true jar:test-jar

2010-09-02 Thread Barrie Treloar
On Fri, Sep 3, 2010 at 10:58 AM, Andrew Hughes ahhug...@gmail.com wrote: Hi Guys, When -Dmaven.test.skip=true the jar:test-jar goals are skipped. Other modules who have a dependency on the jar:test-jar artifact then fail (unresolved dependency). Is this a sensible default for the plugin and

Re: Reopen MECLIPSE-36

2010-08-24 Thread Barrie Treloar
On Tue, Aug 24, 2010 at 6:28 PM, Stevo Slavić ssla...@gmail.com wrote: Hello Apache Maven users, Can someone of the Apache Maven developers please reopen the MECLIPSE-36http://jira.codehaus.org/browse/MECLIPSE-36issue, it is still present (in maven-eclipse-plugin:2.8). I've duplicated this

Re: Specifying Java splash screens in the .jar manifest using the Maven Archiver

2010-08-02 Thread Barrie Treloar
On Mon, Aug 2, 2010 at 12:54 PM, Dave Liu nask...@acm.org wrote: Hi, I'd like to add a splash screen to my Java .jar executable bundle using the Java 1.6 SplashScreen-Image manifest property (see http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/splashscreen/ ), for

Re: Reverse dependency:tree?

2010-07-20 Thread Barrie Treloar
On Tue, Jul 20, 2010 at 2:09 PM, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au wrote: Is there a plugin or command-line tool that can list all artifacts in a local repository (or even in a multimodule project) that depend, directly or transitively, on a given artifact? This is the opposite of

Re: eclipse:eclipse generating wrong version of dynamic web app

2010-06-20 Thread Barrie Treloar
On Sat, Jun 12, 2010 at 6:29 AM, David Sharp dshar...@gmail.com wrote: wtpversion is being set to 2.0. The problem is the dynamic web app facet that is being installed is version 2.5, when in fact the version specified in my app's web.xml is version 2.4. As it turns out, this may not even be

Re: eclipse:eclipse generating wrong version of dynamic web app

2010-06-10 Thread Barrie Treloar
On Fri, Jun 11, 2010 at 6:45 AM, David Sharp dshar...@gmail.com wrote: Does anyone know how to tell the eclipse plugin for maven what webapp version to use? I have a web application that uses version 2.4, but when I generate the eclipse files, the dynamic web app facet is being set to 2.5.

Re: Unexpected reference to an old Repository

2010-05-12 Thread Barrie Treloar
On Wed, May 12, 2010 at 5:57 AM, Prout John - jprout john.pr...@acxiom.com wrote:  maven1-repository.dev.java.net (https://maven-repository.dev.java.net/repository/) Path to dependency:        1) com.acxiomdigital.iws:IWS-Service:war:8.3.0-5-SNAPSHOT        2)

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

2010-05-10 Thread Barrie Treloar
I'm struggling to work out the best way to get my maven projects and continuous integration to play nicely together. Here's some background: Our build takes approximately 8 minutes to complete. To help keep the build time down the developers build doesn't do things like: * create source jars *

Re: mvn eclipse:m2eclipse

2010-05-03 Thread Barrie Treloar
On Mon, May 3, 2010 at 9:56 PM, Crow, Neil NW neil.c...@standardbank.co.za wrote: Thanks Martin, I guess that the m2eclipse-mojo page would have to be removed manually. http://maven.apache.org/plugins/maven-eclipse-plugin/m2eclipse-mojo The 2.8 version doesn't include that as a goal:

Re: Integration of an applet jar in a war with Eclipse (Maven integration + WTP plugins)

2010-04-21 Thread Barrie Treloar
On Wed, Apr 21, 2010 at 4:08 PM, Jean-Claude Vogel vogel.jeancla...@gmail.com wrote: Hello, No idea of solution ? It seems that with maven 1 it was possible de add properties to a dependency of the war to indicate the final location in the war, but it's no more possible. I can't offer any

Re: Project build error: Unknown packaging: eclipse-plugin

2010-04-07 Thread Barrie Treloar
On Wed, Apr 7, 2010 at 2:00 PM, Vijayan, Rohit rohit.vija...@sap.com wrote: Hi All I have installed maven plugin into eclipse and i have created a simple project(skip archetype selection) option and provided a GroupId, ArtifactId, version but gave the Packaging as `eclipse plug-in instead of

Re: auto code format eclipse .settings

2010-03-17 Thread Barrie Treloar
On Thu, Mar 18, 2010 at 2:16 AM, Sipungora kostya...@yahoo.de wrote: Hi, how can I change .settings files with Maven2? maven-eclipse-plugin allows to set the workspace, but I want to set auto code format settings. Is it possible with maven? :confused::confused::confused: Code formatting

Re: [maven-eclipse-plugin] Spring dependencies omitted

2010-03-15 Thread Barrie Treloar
On Thu, Mar 11, 2010 at 6:39 PM, Pascal Kesseli pascal_kess...@hotmail.comwrote: Hi everyone Being a typical maven fan, I tried to manage our eclipse plugins using maven. To do so, I configured the maven-eclipse-plugin as follows: plugin groupIdorg.apache.maven.plugins/groupId

Re: Windows versus maven-eclipse-plugin versus file: url

2010-03-01 Thread Barrie Treloar
On Tue, Mar 2, 2010 at 7:05 AM, Benson Margulies bimargul...@gmail.com wrote: I'm on Windows, running mvn from cygwin, using the maven-eclipse-plugin. I construct a file URL that works fine in IE and firefox, but fails in maven: [INFO] Unable to read file:

Re: Clean up of pom files

2010-02-24 Thread Barrie Treloar
On Wed, Feb 24, 2010 at 8:00 PM, Nick Stolwijk nick.stolw...@gmail.com wrote: Hi all, We have a multitude of components and projects all build with maven and we want to enforce some standard layout for the pom files, like the ordering of the elements(like the ordering in the schema) and

Re: Building project dependencies under Maven Eclipse plugin

2010-01-01 Thread Barrie Treloar
On Fri, Dec 25, 2009 at 8:16 AM, Chris von See ch...@techadapt.com wrote: I have an application that is comprised of three Maven projects: a server, a webapp and a common JAR.  All three of these have the same parent POM, and the server and webapp have the appropriate dependencies defined.  

Re: java 1.4 versus the maven-eclipse-plugin

2009-12-23 Thread Barrie Treloar
On Wed, Dec 23, 2009 at 8:59 AM, Benson Margulies bimargul...@gmail.com wrote: A parent pom which I thought was setting source/target for all modules was not. This was masked by the fact that some of the other modules have their own settings of source/target. So, what I thought was the eclipse

Re: java 1.4 versus the maven-eclipse-plugin

2009-12-22 Thread Barrie Treloar
On Mon, Dec 21, 2009 at 12:25 PM, Benson Margulies bimargul...@gmail.com wrote: While I read the doc, it didn't seem applicable. Now that you tell me that there's no special trickery going on that tries to force 1.4 on mojo projects, I'm off to revisit all the poms to see there's something I

Re: Code template converters?

2009-12-21 Thread Barrie Treloar
On Tue, Dec 22, 2009 at 7:22 AM, Alexander the.malk...@gmail.com wrote: But seems like I have :) People use things like Velocity and FreeMarker for this stuff. Although personally I prefer StringTemplate http://www.stringtemplate.org/ (its the work horse from ANTLR (a language tool that

Re: java 1.4 versus the maven-eclipse-plugin

2009-12-20 Thread Barrie Treloar
On Sat, Dec 19, 2009 at 9:48 AM, Benson Margulies bimargul...@gmail.com wrote: The eclipse plugin forces the compiler source version to 1.4 for maven plugins. I'm building a maven plugin that I want to require 1.5. Is there a way to tell the eclipse plugin to stop harassing me? Did you check

Re: java 1.4 versus the maven-eclipse-plugin

2009-12-20 Thread Barrie Treloar
On Sun, Dec 20, 2009 at 5:26 PM, Barrie Treloar baerr...@gmail.com wrote: On Sat, Dec 19, 2009 at 9:48 AM, Benson Margulies bimargul...@gmail.com wrote: The eclipse plugin forces the compiler source version to 1.4 for maven plugins. I'm building a maven plugin that I want to require 1.5

Re: To use version for maven.plugins or not to use, that is the question :)

2009-12-14 Thread Barrie Treloar
On Tue, Dec 15, 2009 at 7:09 AM, Qureshi,Shahzad [Ontario] shahzad.qure...@ec.gc.ca wrote: Hi all, I wanna know the standard and the reasons behind it. I want to find out if I should specify a version for a maven plugins, lets say maven-javadoc-plugin, or not to specify it and in which case

Re: Can you assign a different name/id to an antrun goal?

2009-11-30 Thread Barrie Treloar
On Tue, Dec 1, 2009 at 3:35 PM, Anders Hammar and...@hammar.net wrote: No. The syntax is  mvn phase or  mvn plugin:goal But you could create a shell script/bat file with a better name which executes mvn antrun:run. Or you could use a profile. mvn -Prun-server where the profile would

Re: Can you assign a different name/id to an antrun goal?

2009-11-30 Thread Barrie Treloar
On Tue, Dec 1, 2009 at 4:36 PM, Barrie Treloar baerr...@gmail.com wrote: On Tue, Dec 1, 2009 at 3:35 PM, Anders Hammar and...@hammar.net wrote: No. The syntax is  mvn phase or  mvn plugin:goal But you could create a shell script/bat file with a better name which executes mvn antrun:run

Re: Resources in source folder

2009-11-26 Thread Barrie Treloar
On Thu, Nov 26, 2009 at 5:57 PM, Martin Seebach martin.seeb...@assursoft.com wrote: Hi, Thanks for the response. 2009/11/26 Barrie Treloar baerr...@gmail.com Did you check the plugin's documentation? http://maven.apache.org/plugins/maven-eclipse-plugin/ I tried to look for it, but I guess

Re: Resources in source folder

2009-11-25 Thread Barrie Treloar
On Sat, Nov 21, 2009 at 12:45 AM, Martin Seebach martin.seeb...@assursoft.com wrote: Hi, I have an Eclipse-project that are managed with Maven2. This project depends on resource-files in the source-folders (HTML-files, it's a Wicket project), but recently Eclipse stopped copying those files

Re: eclipse: can't create new maven project under workspace

2009-11-15 Thread Barrie Treloar
On Tue, Nov 10, 2009 at 8:11 PM, eyal edri eyal.e...@gmail.com wrote: Anyone know why eclipse can't resolve the M2_REPO build path if the project dir is created under the workspace? if i move the project dir to another dir, it works. What version of Eclipse? Are you certain you have

Re: maven-eclipse-plugin configuration for pom packaging

2009-11-05 Thread Barrie Treloar
If you checkout your project from your revision control system via eclipse, it should already be available as a project. Otherwise, you have to cheat to get it into eclipse. File New Project General Project Specify Project name Uncheck Use default location Browse to where the top level project

Re: maven-eclipse-plugin configuration for pom packaging

2009-11-05 Thread Barrie Treloar
On Fri, Nov 6, 2009 at 7:34 AM, james.w.jackson james.w.jack...@baesystems.com wrote: In the end it was a pyrrhic victory.  I was hoping to use the eclipse Import...-Existing Projects into Workspace, but it stops recursing once it finds a folder with a .project file--which is not terribly

Re: Maven Enforcer Plugin

2009-11-03 Thread Barrie Treloar
On Wed, Nov 4, 2009 at 1:00 PM, Patel, Ronak Avinash (US SSA) ronak.pa...@baesystems.com wrote: Hi All, I have a Maven Multimodule project where one of my modules is using the Maven Enforcer plugin to ensure that my module build is only successfully run on Unix. [del] Obviously when I

Re: Why are repositories usually separated into releases and snapshots?

2009-10-25 Thread Barrie Treloar
On Sun, Oct 25, 2009 at 7:27 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: So, what is the reason to have two separate and distinct repositories for snapshots and for releases? update frequency, you may want to check snapshots with a greater or lesser frequency than releases

Re: Maven 3 and transitive dependency exclusion replacements

2009-10-25 Thread Barrie Treloar
On Thu, Oct 15, 2009 at 10:25 PM, Stevo Slavić ssla...@gmail.com wrote: [del] With Maven 2 one can in dependencyManagement section specify dependency exclusion (for spring-security's transitive dependencies to spring 2.0.x), but can not specify their effective replacements at same place - if

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-24 Thread Barrie Treloar
On Sat, Oct 24, 2009 at 1:58 AM, Vincent F vincent.fu...@sgcib.com wrote: OK, thanks everyone for these additional infos. I may stick with WTP organisation then (using /WebContent/ instead of /src/main/webapp/) just for convenience in Eclipse. You should be able to use /src/main/webapp thats

Re: Aspectj jars refuse to get imported

2009-10-22 Thread Barrie Treloar
On Fri, Oct 23, 2009 at 5:37 AM, Yaakov Chaikin yaakov.chai...@gmail.com wrote: Hi, Perhaps, someone can point out to me what I am doing wrong... I have the following simple pom.xml file: ** ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0;

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-22 Thread Barrie Treloar
On Fri, Oct 23, 2009 at 6:31 AM, Vincent F vincent.fu...@sgcib.com wrote: My plugin configuration is the following plugin      groupIdorg.apache.maven.plugins/groupId      artifactIdmaven-eclipse-plugin/artifactId      version2.7/version         configuration            

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-22 Thread Barrie Treloar
On Fri, Oct 23, 2009 at 10:50 AM, Benson Margulies bimargul...@gmail.com wrote: An Eclipse project type, or perspective, can decide to show the tree any way it likes. The default Java perspective shows all folders as ordinary folders except source folders. It hauls source folders to the top of

Re: Aspectj jars refuse to get imported

2009-10-22 Thread Barrie Treloar
On Fri, Oct 23, 2009 at 11:53 AM, Paul Benedict pbened...@apache.org wrote: Please see: http://jira.codehaus.org/browse/MECLIPSE-584 Since 2.6 of the Maven Eclipse Plugin, AspectJ jars are no longer honored (by default) since a separate plugin controls AJDT features. As you will read in the

Re: maven-eclipse-plugin and src/main/webapp with Eclipse

2009-10-21 Thread Barrie Treloar
On Thu, Oct 22, 2009 at 9:37 AM, Vincent F vincent.fu...@sgcib.com wrote: Thanks for your answer. I'm going to be very picky here, but is there a way to have the src/main/webapp folder folded as one in Eclipse, just like the src/main/java and src/main/resources are ? Can you please post how

Re: speedier builds possible?

2009-10-20 Thread Barrie Treloar
On Tue, Oct 20, 2009 at 8:23 PM, Nick Stolwijk nick.stolw...@gmail.com wrote: Or instruct your CI server to do the SNAPSHOT builds and deploy them to your repository manager. That way you only build what you change and retrieve the latest from the repository manager. The downside to this

Re: mojo use case of '@execute phase=xxx'?

2009-10-20 Thread Barrie Treloar
On Wed, Oct 21, 2009 at 9:13 AM, aldana ald...@gmx.de wrote: for using the @execute phase= for mojo i read: 'This annotation can be used in a number of ways. If a phase is supplied, Maven will execute a parallel lifecycle ending in the specified phase. ' further more

Re: Out of Office Reply

2009-10-18 Thread Barrie Treloar
On Mon, Oct 19, 2009 at 6:50 AM, Quintin Beukes quin...@last.za.net wrote: Hey, Did anyone else notice an out-of-office reply from someone on the list when sending to this list? From the headers it seems to be in response to a message I sent in this list, though I can't be sure because it

Re: Building a project that includes scripts

2009-10-15 Thread Barrie Treloar
On Fri, Oct 16, 2009 at 4:29 AM, Wendy Smoak wsm...@gmail.com wrote: On Thu, Oct 15, 2009 at 10:35 AM, Sean Davis sdav...@mail.nih.gov wrote: Sorry for the naive question.  I'm using maven2 in eclipse and now have a project that includes a script folder that has shell scripts for common java

Re: maven-eclipse-plugin issue

2009-10-11 Thread Barrie Treloar
Did you check the plugin documentation? http://maven.apache.org/plugins/maven-eclipse-plugin/examples/ajdt-projects.html AspectJ needs more than just the dependencies for the eclipse .project to work. You need configuration ajdtVersion1.5/ajdtVersion /configuration See

Re: Surefire 2.5 release

2009-10-11 Thread Barrie Treloar
On Mon, Oct 12, 2009 at 5:48 AM, Andrey Razumovsky razumovsky.and...@gmail.com wrote: Hello, While enchancing our Hudson builds here at Apache Cayenne, we got bitten by SUREFIRE-551. It is now fixed, but doesn't exist in any released version. We've found the snapshot in

Re: The skin does not exist: Unable to determine the release version

2009-10-08 Thread Barrie Treloar
Apologies for dragging up an old post, but I have been using the maven-invoker-plugin with Maven 2.2.1 and I get the same error. So other people can find a google response, I followed the same instructions here to create a src/site/site.xml which specifies the skin for each of my IT projects. I'm

Re: How-to implement Code Quality Analysis on multiple Maven Projects?

2009-10-06 Thread Barrie Treloar
On Tue, Oct 6, 2009 at 4:05 PM, Christian Breuer cyba...@gmail.com wrote: plugin              groupIdorg.codehaus.mojo/groupId              artifactIdbuild-helper-maven-plugin/artifactId              version1.1/version              executions                execution                  

Re: Maven2 Pom Configuration

2009-10-06 Thread Barrie Treloar
On Wed, Oct 7, 2009 at 3:00 AM, Entner Harald entner.har...@afb.de wrote: You can use the build-helper-maven-plugin to add additional source folders. [del] -Ursprüngliche Nachricht- Von: tbar0711 [mailto:thomas.bart...@kaufland.de] Gesendet: Dienstag, 6. Oktober 2009 17:45 An:

<    1   2   3   4   5   6   7   8   9   10   >