Re: Getting project classes from plugin

2016-09-04 Thread Barrie Treloar
On 5 September 2016 at 12:11, Christopher wrote: > Hi, > > I'm trying to write a Maven plugin which gets, and processes, a list of > classes from the project. I want to be able to get the project classes > compiled from either src/main/java (compile scope), and src/test/java

Re: Maven and Eclipse

2016-06-08 Thread Barrie Treloar
On 9 June 2016 at 01:00, wrote: > Thanks Curtis! > > That's exactly what I did. > > As soon as I get a chance, I'll try a fresh install of Mars 2 and see how > it goes. I usually do my Eclipse upgrades with fresh installs, this is the > first time I tried to upgrade

Re: Maven and Eclipse

2016-06-07 Thread Barrie Treloar
On 8 June 2016 at 01:33, wrote: > I have recently been doing Maven builds from Eclipse Luna with no problems. > > Recently I upgraded Eclipse to Mars 2 and Maven builds that worked in the > past no longer work. I have posted the error I'm getting at the end of >

Re: Create own Maven repository

2016-05-13 Thread Barrie Treloar
On 13 May 2016 at 22:33, Ron Wheeler wrote: > Small technical correction on military notation. > > Are you sure that you did not mean FUBARed rather than SNAFU?\ This is Maven we are talking about, its definitely SNAFU.

Re: Create own Maven repository

2016-05-13 Thread Barrie Treloar
On 13 May 2016 at 22:33, Ron Wheeler wrote: > Small technical correction on military notation. > > Are you sure that you did not mean FUBARed rather than SNAFU?

Re: Create own Maven repository

2016-05-13 Thread Barrie Treloar
A snapshot repository won't behave how you think it will behave. I recommend not providing one. As a developer you want your code base to be in a known configured state. Having a snapshot repository will mean that Maven will pull in a new snapshot occasionally (you have some control over when

Re: An idea I had for one way of doing Continuous Delivery with Maven

2016-05-05 Thread Barrie Treloar
On 6 May 2016 at 09:48, Ben Podgursky wrote: > I see these discussions often, and I wanted to jump in and mention how we > handle continuous deploys, because I feel that it avoids many of the > downsides mentioned here, albeit with some (IMO) minor costs: > > - all of our

Re: RESOLVED: R question (with context)

2015-09-13 Thread Barrie Treloar
On 14 September 2015 at 11:17, Martin Gainty wrote: > got it working and the apk deployable is ready to be tested > > Many Thanks to Stuart McCullough for his kind assistance on a rainy Sunday > Martin You dont provide any summary of the actual problem, once identified,

Re: AUTO: Warren Cook is out of the office (returning 09/14/2015)

2015-09-11 Thread Barrie Treloar
Is Warren related to Julia Antonova?

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Barrie Treloar
On 9 September 2015 at 08:14, Dan Tran wrote: > Hi > > I have a scenario where I use a maven reactor multi-modules build to > orchestrate a vmware OVA build from scratch ( start with ISO, create > initial VM, apply additional provisioning, export to OVA, deploy, and test) > >

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Barrie Treloar
On 9 September 2015 at 10:08, jieryn wrote: > bash$ cat sys1.env > -DZZ01=maven > -DZZ02=rocks > > bash$ mvn $( ZZ02=rocks > ZZ01=maven > sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher > -DZZ01=maven -DZZ02=rocks help:system

Re: Replacing a bunch of -Dkey=value pairs using external file

2015-09-08 Thread Barrie Treloar
On 9 September 2015 at 09:30, Dan Tran wrote: > Hi Barrie, > > That would work. On caveat, I have to instruct my user to edit their own > settings.xml. Would be nice if I can just pass in -fp xxx from command > line Are they truly always on? Then you can jam them in your

Re: Use 2 pom.xml files with different names

2015-08-10 Thread Barrie Treloar
On 10 August 2015 at 23:22, Alex Ditu ditu.alexan...@gmail.com wrote: Ok, look what I am trying to achieve: I have a project with 2 profileDeployments (it produces 2 types of artifacts: a jar and a war) but from the same sources. So, I did the following thing: I have written 2 pom.xml files

[ANN] 2015 Committer School for people who want to become Maven Committers

2015-08-04 Thread Barrie Treloar
It's time for the yearly committer school announcement. If your company uses Maven, wouldn't it be good to convince them to spend some of your time helping to make Maven better for them (and every one else)? If you use Maven, which of your itches do you think need scratching the most? Find some

Re: fixing an almost Maven project

2015-07-23 Thread Barrie Treloar
On 24 July 2015 at 12:18, Paul Benedict pbened...@apache.org wrote: It sounds like both your projects are snapshots. So when you build B-SNAPSHOT you have no idea what's inside of A-SNAPSHOT. If this is bothersome to you, you can think about releasing milestone versions of A so that

Re: fixing an almost Maven project

2015-07-23 Thread Barrie Treloar
On 24 July 2015 at 13:33, V. Mark Lehky mark.le...@gmail.com wrote: Our release process is definitely: everything gets released at the same time (with the same version number). How do you create per-project .m2 repo via Jenkins? Is it just a case of deleting the repo before each build, or

Re: fixing an almost Maven project

2015-07-23 Thread Barrie Treloar
On 24 July 2015 at 13:39, V. Mark Lehky mark.le...@gmail.com wrote: I should have added: Before I came along, everything got build as jar-with-dependencies. Test code did not live in src/test, but in src/main; and was, obviously, not run with 'mvn test', but with 'java -cp

Re: fixing an almost Maven project

2015-07-23 Thread Barrie Treloar
On 24 July 2015 at 13:30, V. Mark Lehky mark.le...@gmail.com wrote: So you're suggesting controlling this via version numbers? Have projectB depend on projectA:1.0.1-SNAP, while projectA is actively being worked on the next version, say 1.0.2-SNAP? Or something like that? On 07/23/2015

Re: Skill set to maintain a enterprise build system using Maven

2015-05-31 Thread Barrie Treloar
On 1 June 2015 at 09:40, Dan Tran dant...@gmail.com wrote: For my case, I am very fortunate to involve with the the product from early day (a year ba ck) and Maven is embraced to the max where plugins are developed to solve every build use case in a full dev/qa/releng integration pipeline.

Re: about the bug

2015-04-29 Thread Barrie Treloar
Please use the Maven users list for these questions. On 30 April 2015 at 11:47, Pengfei Deng pengfei.d...@ericsson.com wrote: Hi all , When I try to use maven-release-plugin and use release:clean release:prepare release:perform I got error below: [INFO] [INFO] ---

Re: Do people actually use markdown or should I abandon it and migrate to xdocs?

2015-03-13 Thread Barrie Treloar
Hervé thanks for spotting someone had problems that may be un-addressed, I completely missed following that through. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Re: Do people actually use markdown or should I abandon it and migrate to xdocs?

2015-03-12 Thread Barrie Treloar
On 13 March 2015 at 11:05, Kevin Burton bur...@spinn3r.com wrote: Thanks. IF these are used in big projects like this I’ll probably just migrate. Wasn't there some talk about using reStructuredText at some stage? I'm only just tinkering with that now on other projects so I have not

Re: How do I target tests in submodule when building parent project?

2015-01-23 Thread Barrie Treloar
On 24 January 2015 at 10:54, Jeff predato...@gmail.com wrote: The rest of the modules are specific to testing a certain functional areas. I need to check out and build the whole multi-module project, but I only want to run a subset of tests from one specific submodule. Why? You should be

Re: Resolving classpath hell issues by allowing libraries to only use the version they request?

2015-01-05 Thread Barrie Treloar
On 6 January 2015 at 14:50, Ron Wheeler rwhee...@artifact-software.com wrote: On 05/01/2015 6:29 PM, Kevin Burton wrote: Breaking your application into smaller independent services may give you a way to reduce the number of conflicts related to these different transitive dependencies but

Re: Separating Integration and Unit Tests

2015-01-01 Thread Barrie Treloar
And put your integration tests in another module, that way it can depend upon the completed results of what you want to integrate and you wont have to muck around with separating your unit tests from it (since you will *only* have integration tests in this module) On 2 January 2015 at 13:55,

Re: Separating Integration and Unit Tests

2015-01-01 Thread Barrie Treloar
bumped (just fix it up manually). On 2 January 2015 at 14:44, Ole Ersoy ole.er...@gmail.com wrote: Hi Barrie, Good tip - I'll keep it in mind. Thanks, - Ole On 01/01/2015 09:54 PM, Barrie Treloar wrote: And put your integration tests in another module, that way it can depend upon

Re: Little documentation issues

2014-12-16 Thread Barrie Treloar
On 17 December 2014 at 12:24, Ron Wheeler rwhee...@artifact-software.com wrote: One of the wonderful features about Maven is that no matter how long one has been using it or how much one has studied Maven documentation , one still feels the necessity of ending every assertion about how it

Re: Maven Repositories settings best practice

2014-12-11 Thread Barrie Treloar
On 12 December 2014 at 11:53, Dan Tran dant...@gmail.com wrote: I found this http://blog.sonatype.com/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/#.VIpCmTHF_AQ sorry about the noise If you can't find it in the official docs, then feel free to hack up some enhancements.

Re: Maven Repositories settings best practice

2014-12-11 Thread Barrie Treloar
On 12 December 2014 at 15:10, Dan Tran dant...@gmail.com wrote: Where is in the official doc, this should land? That's an awfully good question. There is another thread about re-organising the documentation. The User Centre (http://maven.apache.org/users/index.html) docs are pretty thin, but

Re: [LOGO] site with Fluido skin and owl logo

2014-11-26 Thread Barrie Treloar
On 26 November 2014 at 18:55, Stephen Connolly stephen.alan.conno...@gmail.com wrote: I also think we should remove the side-bars (and perhaps switch to a top bar menu) as they hinder mobile accessibility. I think the total number of people using a mobile phone to visit the maven website

Re: explicit dependencies in maven

2014-11-06 Thread Barrie Treloar
On 6 November 2014 22:15, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, On 11/5/14 11:14 PM, Barrie Treloar wrote: On 6 November 2014 05:37, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, to be clear on that point you should never change released versions. The idea of releases

Re: explicit dependencies in maven

2014-11-05 Thread Barrie Treloar
On 6 November 2014 05:37, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, to be clear on that point you should never change released versions. The idea of releases is that they are immutable. The scenario you have described should never be done which means: If you change code than make

Re: [pre-verify over deploy]

2014-11-03 Thread Barrie Treloar
On 3 November 2014 20:07, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Well I knew I'd written something on that topic... but re-reading I am surprised at how much information I managed to cram in there without it feeling over dense (for me) BTW I am of the *never deploy

Re: Best way to blacklist repository (maven.glassfish.org in site build)

2014-11-02 Thread Barrie Treloar
mirror idCentral/id urlhttp://repo1.maven.org/maven2/url mirrorOf*/mirrorOf /mirror Have you tried redirecting everything to Central via a mirror? Alternatively you can setup a Maven Repository Manager (MRM) locally (even on your laptop) so that it no longer matters if

Re: [pre-verify over deploy]

2014-11-02 Thread Barrie Treloar
On 29 October 2014 20:18, Stephen Connolly stephen.alan.conno...@gmail.com wrote: http://developer-blog.cloudbees.com/2012/12/should-you-deploy-snapshots.html Thanks for writing that up! I'll remember to point people there instead of having to remember half-baked stuff and type :) This is a

Re: [pre-verify over deploy]

2014-10-29 Thread Barrie Treloar
On 29 October 2014 18:48, Fay Wong philip584...@gmail.com wrote: Many thanks to Barrie. I think what you have clarified is the normal flow of maven practice. The deploy in the context of my previous post means: our developer invoke a mvn deploy command to share the output(bytecode) through

Re: [pre-verify over deploy]

2014-10-29 Thread Barrie Treloar
On 30 October 2014 08:38, Curtis Rueden ctrue...@wisc.edu wrote: Hi Fay, Could i define a intermediate repository, everytime they deploy, jenkins will verify it. Why not have Jenkins do your deploys? I.e.: make it so that only Jenkins has deploy permission to your remote repository. So

Re: [pre-verify over deploy]

2014-10-28 Thread Barrie Treloar
On 29 October 2014 14:00, Fay Wong philip584...@gmail.com wrote: Hi all, Is there any solution to pre-verify the deploy before it actually got into the repository? Take this usecase for example: In a team of 40 developer, every developer will deploy their module at any time, once there's

Re: How to create ISO image that supports long file names?

2014-10-20 Thread Barrie Treloar
On 21 October 2014 08:12, David Hoffer dhoff...@gmail.com wrote: I'm trying to use iso9660-maven-plugin to generate an iso image and I'm getting string index out of range errors. My input has long file names, e.g.

Re: How to create ISO image that supports long file names?

2014-10-20 Thread Barrie Treloar
On 21 October 2014 09:20, David Hoffer dhoff...@gmail.com wrote: Hum, why isn't the Maven user list the right place to ask about how to use Maven to create an iso? I'm not saying I have to use that plugin to do the job, just looking for input on how to do this regardless of the plugin. If

Re: Request for functionality in maven-assembly-plugin - ignoreProjectBuildFilters

2014-10-13 Thread Barrie Treloar
On 13 October 2014 17:08, Tony Jewell tony.jew...@cregganna.com wrote: Thanks Karl, Two things: 1. I couldn't get access to the JIRA to submit a ticket myself - is this something I am allowed to request? Yes, you have to do something non-intuitive to get access. It should be

Re: Request for functionality in maven-assembly-plugin - ignoreProjectBuildFilters

2014-10-13 Thread Barrie Treloar
On 13 October 2014 19:12, Tony Jewell tony.jew...@cregganna.com wrote: Thanks Barrie, Have now created login on Xicrles A 2.4.2 release would be really cool as we are currently blocked on this and I'd rather not use patched plugins in our build. Somewhere on the internet is my notes for

Re: How do I test client and server since they form circular dependencies?

2014-10-08 Thread Barrie Treloar
On 9 October 2014 13:49, Bernd Eckenfels e...@zusammenkunft.net wrote: Am Wed, 8 Oct 2014 19:53:20 -0700 schrieb Kevin Burton bur...@spinn3r.com: maybe one idea is to build a meta-module like foo-client-server-test which as a dependency on foo-client and foo-server. then they could each

Re: Need help regarding apache maven

2014-10-01 Thread Barrie Treloar
Uploading: https://sachin/svn/demo/com/kedb/kedb/0.0.1-SNAPSHOT/kedb-0.0.1-20140929.030730-3.jar Uploading: https://sachin/svn/demo/com/kedb/kedb/0.0.1-SNAPSHOT/kedb-0.0.1-20140929.030730-3.pom Is https://sachin/svn/ your SVN server? You can't get Maven to deploy your artifacts to your SVN

Re: Tell maven to not have the parent pom as a dependency?

2014-09-14 Thread Barrie Treloar
On 14 September 2014 16:01, Mark Derricutt m...@talios.com wrote: You don't need N windows, I just add the pom in the maven projects tool window, and have open in my generated IDEA project my core project, plus any F/OSS project I may be forking/working on in the process. Find Anywhere then

Re: Tell maven to not have the parent pom as a dependency?

2014-09-12 Thread Barrie Treloar
On 13 September 2014 02:46, Kevin Burton bur...@spinn3r.com wrote: OK… so this definitely works and the aggregation model compiles my module. But I need a way to bump the version number because I have complex dependencies and updating 10 places every time I change the project version isn’t

Re: Tell maven to not have the parent pom as a dependency?

2014-09-11 Thread Barrie Treloar
On 12 September 2014 12:55, Kevin Burton bur...@spinn3r.com wrote: I have an OSS module in a multi-module maven project. I want to post this to a public repo… it’s open source. The problem is that the parent module is not OSS. When I setup a dependency it pulls in my OSS module just fine,

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Barrie Treloar
On 27 August 2014 17:05, Juven Xu juvens...@gmail.com wrote: after enabling debug log I got 1.1G log full of lines of this: [DEBUG] Using mirror tbmirror ( http://mvnrepo.taobao.ali.com/mvn/repository) for sonatype-nexus-snapshots ( https://oss.sonatype.org/content/repositories/snapshots).

Welcome Karl Heinz Marbaise to the Maven PMC

2014-08-25 Thread Barrie Treloar
I'm pleased to announce that the Maven PMC has voted to add Karl to the Maven PMC. Welcome, Karl.

Re: Remove old snapshots under local repository

2014-08-18 Thread Barrie Treloar
What's wrong with just blowing away ~/.m2/repository ? If you have a local Maven Repository Manager it doesn't take very long to reseed it. (At least less time in aggregate than thinking of ways to prune snapshot files in the repository correctly...)

Re: Doxia Eclipse Editor Plugin problem with snippet macro

2014-08-15 Thread Barrie Treloar
On 16 August 2014 00:49, Dan Tran dant...@gmail.com wrote: Markdown is the way to go, there is a conversion as well [1] How do you use snippets in Markdown? http://daringfireball.net/projects/markdown/syntax doesn't have anything mentioned. Is it under different terminology?

Re: Java SSL dependency issue

2014-08-07 Thread Barrie Treloar
On 8 August 2014 03:32, Joshua Bailey joshualbai...@gmail.com wrote: I have two branches of code. One compiles without a hitch, the other complains about this: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project

Re: testing-harness plugin: LocalRepositoryManager is not set

2014-07-23 Thread Barrie Treloar
On 24 July 2014 01:08, Vincent Zurczak vincent.zurc...@linagora.com wrote: Hi, I am not sure this is the right mailing-list. Maybe I should have posted to the dev list. Anyway... I have started working on new Maven plug-in last week and I have set up unit tests using the testing-harness

Re: How to change snapshot artifacts timezone?

2014-06-26 Thread Barrie Treloar
For your CI you need a repository for snapshots so that you can pull them in after the local maven repository cache is cleared. But for developers you dont want them pulling snapshots from a repository. The reason is that Developer B pushes a snapshot of something you require, and guess what,

Re: Complex Maven projects - Tutorials? Books?

2014-06-13 Thread Barrie Treloar
On 14 June 2014 02:14, Robert Kuropkat rkurop...@t-sciences.com wrote: On 06/13/2014 10:27 AM, Mark H. Wood wrote: On Fri, Jun 13, 2014 at 09:23:31AM +0930, Barrie Treloar wrote: On 13 June 2014 09:07, mike digioia mpd...@gmail.com wrote: So how does this book help you any more than all

Re: Complex Maven projects - Tutorials? Books?

2014-06-12 Thread Barrie Treloar
On 13 June 2014 00:16, Hohl, Gerrit g.h...@aurenz.de wrote: We use Maven and Jenkins for about 1.5 years now, I guess. Until now the Maven projects have been very simple and - let's say - very monolithic. But recently we identify more and more internal libraries in our products. Of course we

Re: Complex Maven projects - Tutorials? Books?

2014-06-12 Thread Barrie Treloar
On 13 June 2014 09:07, mike digioia mpd...@gmail.com wrote: So how does this book help you any more than all the detailed online Maven docs that exists and are updated? It's just another source of information. The docs don't really walk you through everything, they are mostly focused on a

Re: Problem with maven

2014-06-03 Thread Barrie Treloar
On 4 June 2014 00:12, amit dhanani amit.dhan...@yahoo.com.invalid wrote: Dear Sir, I have installed maven 3. In jenkins it shows error while building. Did you try building this from the command line? You need to make sure you use the same command line that jenkins is doing or you will have

Re: M2Eclipse vs. maven-eclipse-plugin: which is preferred?

2014-05-16 Thread Barrie Treloar
On 9 May 2014 18:49, Thomas Broyer t.bro...@gmail.com wrote: Hi all, Does the Apache Maven Project/Community has an official stance about whether M2Eclipse or maven-eclipse-plugin is preferred way of importing Maven projects into Eclipse? I thought M2Eclipse was the blessed way, but I

Re: use separate mirrors for project dendencies and plugin dependencies ??

2014-05-06 Thread Barrie Treloar
On 6 May 2014 20:23, Anders Hammar and...@hammar.net wrote: Presumably you are trying to separate artifacts used by plugins during your build (where you might use e.g. GPL licensed modules) from artifacts used as dependencies in your project proper (where using that same GPL licensed

Re: use separate mirrors for project dendencies and plugin dependencies ??

2014-05-05 Thread Barrie Treloar
On 6 May 2014 09:21, Dan Tran dant...@gmail.com wrote: for legal purpose ( btw, please dont drill me here), I would like to use one mirror as a gate way for all of of my project dependencies,and another mirror as a gate way for all of my plugins and their dependencies is it possible?

Re: Netbeans maven project with invalid POM/classpath problem

2014-04-30 Thread Barrie Treloar
On 1 May 2014 06:48, Mark mark@gmail.com wrote: Browsing the local Maven repository using Netbeans I find the following if I right-click on the ojdbc 11.2.0 jar and select 'View Details' -- org.apache.maven.project.InvalidProjectModelException: 1 problem was encountered while

Re: Help with converting existing ant build to maven is required - forking

2014-04-29 Thread Barrie Treloar
On 30 April 2014 11:54, Maxim Solodovnik solomax...@gmail.com wrote: Here is the structure: Openmeetings Util project has compile time dependency Red5 server Almost all other projects are dependent on Openmeetings Util and Red5 server (compile time) But When I'm creating war file in

Re: Generating war and Jar from same codebase

2014-04-22 Thread Barrie Treloar
On 23 April 2014 13:45, Narayanan K knarayana...@gmail.com wrote: Hi Anders The codebase is the same. So having 2 separate directories (for modules) and pom in each of them is not required right ? I can have modules in parent pom to specify the 2 child poms that are present in the same

Re: Forcing Integration Tests Before a Release

2014-03-25 Thread Barrie Treloar
On 26 March 2014 07:34, Eric Kolotyluk eric.koloty...@gmail.com wrote: I have tried to get this working, but it does not seem to work. When I do mvn release:prepare I get [INFO] Executing: cmd.exe /X /C D:\bin\Apache\apache-maven-3.1.1\bin\mvn -s

Re: Forcing Integration Tests Before a Release

2014-03-20 Thread Barrie Treloar
On 21 March 2014 06:02, Eric Kolotyluk eric.koloty...@gmail.com wrote: I am looking for some way to force my integration tests before a release, without explicitly using a profile. [del] Is there some way I can trigger the integration tests when doing a release mvn release:prepare

Re: how to only build if version is changed..

2014-03-15 Thread Barrie Treloar
On 14 March 2014 23:16, richard_senior richard.sen...@gmail.com wrote: Hello, We are using maven, jenkins and nexus for continuous integration. Our trunk branch contains no snapshots, and jenkins is polling the scm and building on any change. However periodically a developer may check

Re: Need Help

2014-03-14 Thread Barrie Treloar
On 15 March 2014 07:40, Mirko Friedenhagen mfriedenha...@gmail.com wrote: Hello, I had the same questions :-). Vishai, you could invoke mvn compile, switch to the target/classes directory and execute time jar cvf ../foo.jar . to see how long the original jar command takes and compare this

Re: Using github as a maven repo

2014-03-05 Thread Barrie Treloar
I've updated the stackoverflow question http://stackoverflow.com/questions/14013644/hosting-a-maven-repository-on-github with these answers. http://stackoverflow.com/a/22210816/552958 And spammed the best hits on google for similar questions.

Re: Maven copies 3 jars in lib folder (skinny war) for no reason

2014-03-03 Thread Barrie Treloar
On 28 February 2014 20:33, poroto20 porot...@gmail.com wrote: I have one EAR project and I am trying to have a skinny war. It seems to be working ok but for some reason it keeps copying 3 dependencies into war/lib folder, which are commons-logging-1.0.4.jar, commons-codec-1.4.jar and

Re: Findbugs doesn't check unit tests

2014-02-26 Thread Barrie Treloar
On 27 February 2014 09:05, Eric Kolotyluk eric.koloty...@gmail.com wrote: I added the following to my POM reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdfindbugs-maven-plugin/artifactId version2.5.3/version configuration

Re: Why does Maven fail to compile my project occasionally?

2014-02-25 Thread Barrie Treloar
Well, Eclipse is not installed on my daily-build server, so I guess it has nothing to do with Eclipse. ;-) I guess when Maven encounters the missing-dependency compilation error, it doesn't stop compiling immediately, and it tries its best to compile other unrelated modules. When I compile

Re: Where the binnary of mvn knows which mojo do i want to execute?

2014-02-24 Thread Barrie Treloar
On 25 February 2014 00:46, enrique bernal ruiz kbernalr...@gmail.com wrote: Hello! And thank you so much for your help. I am working(starting) with it, and i am trying to understand it. What mvn does when i call mvn run for example, i mean, I have a collection of mvn Please have a look at the

Re: OutOfMemory exception when using Maven in ant

2014-02-18 Thread Barrie Treloar
I am trying to incorporate Maven dependency management into my ant build as follows: [del] java.lang.OutOfMemoryError: PermGen space This is a Java problem rather than a Maven or Ant one. It has to do with not enough memory to load all the classes into the PermGen space. You can read up

Re: OutOfMemory exception when using Maven in ant

2014-02-18 Thread Barrie Treloar
On 19 February 2014 13:07, Ron Bets ron.b...@oracle.com wrote: Thanks for the speedy response. I have run across these types of memory exceptions in the past, but given that the build had been working correctly until I added the Maven artifact:dependencies/ bit, I naturally jumped to the

Re: maven-assembly-plugin:2.4 The following patterns were never triggered in this artifact inclusion filter

2014-02-13 Thread Barrie Treloar
On 13 February 2014 23:25, Ron Wheeler rwhee...@artifact-software.com wrote: Good point. After I fixed the spelling, it works fine. Is was a great help to have a second set of eyes to find my stupid mistakes. It would have been nice to have a better error message. [WARNING] The following

Re: maven-assembly-plugin:2.4 The following patterns were never triggered in this artifact inclusion filter

2014-02-12 Thread Barrie Treloar
From http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/including-and-excluding-artifacts.html I think the shortened form assumes a jar classifier. I'm guessing from your assembly name webapps-tar.xml that these might be wars? Have you tried using the long form of the

Re: Why is dependency:analyze lying to me?

2014-02-12 Thread Barrie Treloar
On 13 February 2014 00:20, Mark H. Wood mw...@iupui.edu wrote: On Wed, Feb 12, 2014 at 08:11:29AM +1030, Barrie Treloar wrote: [snip] I think Maven is missing a scope, it needs to break up test into two phases; testCompile and testRuntime instead of having one scope which means both. [del

Re: Adding dependency management to parent pom causes errors

2014-02-12 Thread Barrie Treloar
On 12 February 2014 20:12, Adrien Rivard adrien.riv...@gmail.com wrote: Hi, DependencyManagement is declaring dependencies(mostly for versions) and dependencies is using them, So in general you should have only dependencyManagement in the parent poms and only dependencies in the childs.

Re: maven-assembly-plugin:2.4 The following patterns were never triggered in this artifact inclusion filter

2014-02-12 Thread Barrie Treloar
On 13 February 2014 02:24, Ron Wheeler rwhee...@artifact-software.com wrote: I did a debug run and I think that the log shows where the includes get idwebapps/id formats formattar/format /formats includeBaseDirectoryfalse/includeBaseDirectory dependencySets

Re: Why is dependency:analyze lying to me?

2014-02-11 Thread Barrie Treloar
On 12 February 2014 07:41, laredotornado-3 laredotorn...@gmail.com wrote: Hi, I'm using Maven 3.1.1 on Mac 10.9.1. When I ran mvn dependency:analyze on my project, I got results that included: [WARNING] Unused declared dependencies found: ... [WARNING]

Re: Adding dependency management to parent pom causes errors

2014-02-11 Thread Barrie Treloar
On 12 February 2014 10:17, Laird Nelson ljnel...@gmail.com wrote: First, and foremost, it is template information. If a given real dependency somewhere else omits a piece of information, then that piece of information is taken (if possible) from the dependencyManagement section. This is also

Re: Adding dependency management to parent pom causes errors

2014-02-11 Thread Barrie Treloar
On 12 February 2014 11:51, Laird Nelson ljnel...@gmail.com wrote: Agreed wholesale. I think the original poster was wondering why this stanza: [del] You did a good job there so I didn't add any value to the response. While we're on the subject of best practices in this area, we've also found

Re: maven-assembly-plugin:2.4 The following patterns were never triggered in this artifact inclusion filter

2014-02-11 Thread Barrie Treloar
On 12 February 2014 11:43, Ron Wheeler rwhee...@artifact-software.com wrote: I am trying to build a timesaving module that will build tar files to be installed on a server I have defined a bunch of dependencies in the pom and want to build 2 tar files by invoking 2 instances of the plug-in.

Re: Can't Find Scala Archetype

2014-02-11 Thread Barrie Treloar
On 12 February 2014 13:14, Eric Kolotyluk eric.koloty...@gmail.com wrote: I am using the Typesafe Eclipse IDE, and for some reason it cannot find the archetype for groupIdnet.alchim31.maven/groupId artifactIdscala-archetype-simple/artifactId version1.5/version At one time it could, but now

Re: Maven 3.1.1. and Windows 8

2014-01-28 Thread Barrie Treloar
On 29 January 2014 08:26, Manuel Mastrofini manuel.mastrof...@infoone.it wrote: Thank you for your contribution. The failing line is: .shared.domain.C:\Program Files (x86)\Java\jdk1.7.0_45\bin\java.exe -classpath D:\apache-maven-3.1.1\bin\..\boot\plexus-classworlds-2.5.1.jar

Re: How to mkdir and move files as part of build

2014-01-15 Thread Barrie Treloar
On 15 January 2014 23:16, Don'tTellMeToGoogleItDammit c...@rmen.ca wrote: I Googled this, and came to this forum, only to find a remark telling me I should have Googled this. Always annoying to find this remark. Not knowing what you are attempting to do (because you were too busy

Re: Is it possible to deliberately have two dependencies with the same groupid, artifactid, and packaging, but different version?

2014-01-14 Thread Barrie Treloar
On 15 January 2014 01:40, KARR, DAVID dk0...@att.com wrote: Again, I didn't want to debate whether this is convenient, I just wanted to know if Maven dependency resolution and things like the EAR plugin will have any trouble incorporating multiple dependencies with the same G:A, but

Re: Running cleanup code after tests in multi-module project.

2014-01-13 Thread Barrie Treloar
On 14 January 2014 10:49, Todd Chapman t...@chaka.net wrote: Anders, I agree with you. Unfortunately I inherited this project and there is setup required that is identical for each module and is expensive to set up and tear down. It will take time to refactor the tests to be less expensive to

Re: Is it possible to deliberately have two dependencies with the same groupid, artifactid, and packaging, but different version?

2014-01-13 Thread Barrie Treloar
On 14 January 2014 10:54, KARR, DAVID dk0...@att.com wrote: I have a situation where it would be convenient for my pom to have two dependencies that are almost identical, only being different by the version. The makeup of the artifact is such that it would be safe (and intended) to use

Re: Maven install phase - Access is denied

2014-01-08 Thread Barrie Treloar
On 9 January 2014 06:56, andre999 andre...@hotmail.com wrote: build [del] plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-install-plugin/artifactId version2.5.1/version

Re: DefaultProjectBuilder ... mavenTools: null [Was: Re: Programmatically get maven properties]

2014-01-07 Thread Barrie Treloar
On 8 January 2014 09:00, juliangeo julianhernand...@gmail.com wrote: Hi! I'm new to Maven and I've been struggling with this for a while. I just need to be able to programmatically build a project from a pom file in order to retrieve its relevant information. I am not using, nor want to, a

Re: Misunderstanding modules: Two or more projects in the reactor have the same identifier

2014-01-06 Thread Barrie Treloar
On 7 January 2014 09:42, erich8 eric.herrm...@intermedix.com wrote: Barrie Treloar wrote When you build Product X the libraries A, B and C should already exist. You dont want to rebuild them just to build Product X, that will slow down your development process. Ideally A, B, and C

Re: Misunderstanding modules: Two or more projects in the reactor have the same identifier

2014-01-06 Thread Barrie Treloar
On 7 January 2014 15:29, Mark Derricutt m...@talios.com wrote: When the project is relatively new and the internally-developed dependency A is no where near being mature, nearly every change being made to Project X requires a corresponding change to A. At this point in the development cycle

Re: Maven Central Opinion

2014-01-05 Thread Barrie Treloar
On 6 January 2014 06:48, Curtis Rueden ctrue...@wisc.edu wrote: Hi Tommy, One of the mvn release:* commands (dont rember which ) failed if I did not have a SNAPSHOT version and told me the problem was that I did not have a SNAPSHOT version. I did not notice any other reply specifically

Re: Need an example of calling a batch file from maven please.

2014-01-05 Thread Barrie Treloar
On 5 January 2014 11:34, rajiv rajivkumarnandv...@gmail.com wrote: Hi I am using maven3 I want to execute my bat file from pom but it is not working please guide me [del] i used following commands mvn target:run mvn verify mvn run mvn exe:run mvn package only build success but bat file not

Checkstyle configLocation ignored?

2013-12-26 Thread Barrie Treloar
Sometime, a while ago, we started getting a large number of violations which looked like the config/sun_checks.xml was being used instead of our own checks style. I've been ignoring it for too long now and finally had some time to investigate. Someone else has noticed the problem:

Re: WhatWeSayWeDo != WhatWeDo

2013-12-15 Thread Barrie Treloar
On 16 December 2013 12:45, Martin Gainty mgai...@hotmail.com wrote: Folks- org.apache.maven.compiler.plugin.compiler.CompilerMojo.java /** * The source directories containing the sources to be compiled. */ @Parameter( defaultValue = ${project.compileSourceRoots},

Re: how to run compile and packaging before test?

2013-12-13 Thread Barrie Treloar
On 13 December 2013 19:48, Malte Skoruppa skoru...@cs.uni-saarland.de wrote: Just scanning http://maven.apache.org and its not obvious by the content on the page where the books are. Its over in the menu on the left under Documentation Books and Resources I wonder if we should add a section

Re: Maven does not download the jar but it download the pom

2013-12-12 Thread Barrie Treloar
On 12 December 2013 10:11, javi.lse javier.p...@lsespace.com wrote: The issue is that when running mvn clean package -U (both from the command line and within eclipse) on the kepler SR1 only the poms were downloaded but not the jars. No matter what i try the jars would not get downloaded. Did

  1   2   3   4   5   6   7   8   9   10   >