mvn classworlds:uberjar

2008-12-10 Thread Paul Hammant
There was a conversion on this list in August that suggested jarjar, minijar shade style of working. Selenium needs to bundle Jetty in its server jar. Jetty is notoriously hard to 'shade' given there are a gazillion fine grained issues around reflection and other dependancies like the

Re: mvn classworlds:uberjar

2008-12-10 Thread Paul Hammant
There's one-jar now as a replacement for uber-jar. It looks much faster - I'm running with that. Cheers, - Paul On Dec 10, 2008, at 1:49 PM, Jörg Schaible wrote: Hi Paul, Paul Hammant wrote: There was a conversion on this list in August that suggested jarjar, minijar shade style

Re: Configuring the surefire plugin - a question

2017-02-23 Thread Paul Hammant
Thanks João, thanks Robert. I've taken Robert's snippet and expanded it a little to do what I want: Diff: https://github.com/paul-hammant/todobackend-jooby/commit/9626a3155eddbaea74bbf66a3e899b81227842ee (repo: paul-hammant/todobackend-jooby* branch: expectations*) I found that I had

Re: Configuring the surefire plugin - a question

2017-02-24 Thread Paul Hammant
I tried many combinations but couldn't make it shorter with the same behavior :( - ph --- Just a small hint about the concept of includes/excludes. A test is executed if and only if it matches any include (or all if there are no includes) AND doesn't match any exclude. The problem I see is that

Configuring the surefire plugin - a question

2017-02-16 Thread Paul Hammant
calls headlessly) 3. function (will use WebDriver) I can't work out what magic I have to do with executions to allow that to happen. Here is how far I got: https://github.com/paul-hammant/todobackend-jooby/blob/master/pom.xml#L74 It is all a bit second class, because I'd have to do ... mvn

Re: If anyone ever wanted to download a bunch of deps specified in a Maven POM for an Ant build

2017-06-12 Thread Paul Hammant
Looks good. My Google fu let me down! On Mon, Jun 12, 2017 at 11:41 AM, Manfred Moser <manf...@simpligility.com> wrote: > Why not use the Maven Resolver (formerly Eclipse Aether) Ant Tasks? > > https://maven.apache.org/resolver-archives/resolver-ant-tasks-LATEST/ > > Paul

Re: Producing java8 and java7 versions

2017-06-09 Thread Paul Hammant
Older releases tried to have a single jar that had adaptive bytecode within, right Jörg Specifically, class file formats 49, 50, 51 in one Jar. - Paul On Thu, Jun 8, 2017 at 2:06 PM, Jörg Schaible wrote: > Hi Chistopher, > > Christofer Dutz wrote: > > > Perhaps not

If anyone ever wanted to download a bunch of deps specified in a Maven POM for an Ant build

2017-06-11 Thread Paul Hammant
If your 'current directory' is a Maven checkout, I have a Python script that will download the dependencies into a libs/ folder. Well, libs/compile/ libs/test/ etc - one subfolder per scope. See here: https://github.com/paul-hammant/spring-jetty-integrationtest-ant-example/blob/master/mavdl.py I

Re: If anyone ever wanted to download a bunch of deps specified in a Maven POM for an Ant build

2017-06-11 Thread Paul Hammant
gin/copy-dependencies-mojo.html > > Le dim. 11 juin 2017 20:53, Paul Hammant <p...@hammant.org> a écrit : > > > If your 'current directory' is a Maven checkout, I have a Python script > > that will download the dependencies into a libs/ folder. Well, > > libs/compile/

A google style monorepo in Git (With Maven as a the build system)

2017-10-05 Thread Paul Hammant
and Maven as factors, and implement the same expand/contract capability that Google has. - Paul -- Paul Hammant DevOps <https://devops.paulhammant.com/> Let me give you a step by step plan to get out of the hell of ClearCase and crazy branching models and into the world of high-throughput CD on

Re: On upgrading Guava to the latest 23.5 getting NoSuchMethodError for Preconditions.checkArgument

2017-12-21 Thread Paul Hammant
What did "mvn dependency:tree" report before and after the change?

Alternate Maven dependency upgrade opportunities report

2018-07-27 Thread Paul Hammant
If Maven-central has some upgrades for one of your project's dependencies, this little Python script can quickly* tell you. https://github.com/paul-hammant/analyze-mvn-deps Key feature: In some cases, the script may suggest two or more alternate upgrade suggestions. For example (as of July

Re: - - SPAM - -AW: Alternate Maven dependency upgrade opportunities report

2018-07-27 Thread Paul Hammant
You're quite right. Documentation updated to reflect that.

Re: ConcurrentContinuous Delivery Maven Builds

2018-03-14 Thread Paul Hammant
ent pipeplines > > I wonder if Artifactory or Nexus have some type of protection for this > scenario? > > Thanks > > -Dan > -- Paul Hammant DevOps <https://devops.paulhammant.com> Let me give your enterprise a step by step plan to get out of the hell of crazy branc

Re: ConcurrentContinuous Delivery Maven Builds

2018-03-14 Thread Paul Hammant
> > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > -- Paul Hammant DevOps <https://devops.paulhammant.com&

Re: Maven Installation Troubleshooting

2018-04-23 Thread Paul Hammant
Your screenshot didn't come through, Hanna. Also, Windows 10 - right ?

Re: Not able to read jars in repo intermittently

2018-03-26 Thread Paul Hammant
What jars are you overwriting in your Maven repo? The SNAPSHOT system allows things to be written in at the same time as other jobs depending on the previous version. Is this a problem with SNAPSHOT jars or non SNAPSHOT jars? It looks like you're saying non SNAPSHOT:

Re: [SUSPICIOUS] Re: Running integration tests twice against different webapp configurations

2018-10-13 Thread Paul Hammant
You're explicitly calling stop() on both Jetty instances ... (pass or fail) and not just letting it fall through to the Shutdown hook which is static ? On Sat, Oct 13, 2018 at 1:31 AM Ellis, Scott wrote: > Thank you Thomas! The parallel solution worked or me. And thanks for the > other

Re: Running integration tests twice against different webapp configurations

2018-10-12 Thread Paul Hammant
There's Cuppa which is super cool and allows to control such things to a very fine level. https://github.com/cuppa-framework/cuppa/ It is not clear that Cuppa has multi-year life though. I wish it did. On Thu, Oct 11, 2018 at 10:21 PM Ellis, Scott wrote: > Hi, > > I have a project that builds

Re: Kotlin for your pom

2019-04-04 Thread Paul Hammant
I might do a blog entry on it, making the same points with an example :) Maven moves slowly but things like this are key to its future :) Apart from anything else ... has to die, ASAP, because grep/ag/ack is pretty much useless for searching recursively. On Thu, Apr 4, 2019 at

Re: Publish Artifact with test

2019-12-17 Thread Paul Hammant
Following what Anders said: This is because some folks may use your intended testing tech in a production capacity. I co-created Selenium (a functional testing tool), and plenty of people use it from scraping live websites/webapps for various good (also nefarious) reasions. Specifically: not for

Quicker local maven builds article

2019-10-20 Thread Paul Hammant
https://www.reddit.com/r/Maven/comments/dklz1e/quicker_local_maven_builds/ ^ A small script to help you have quicker Maven invocations for changes in your (Git) checkout on your dev workstation. Also, a reminder that there is a sub-reddit for Maven now - https://www.reddit.com/r/Maven/ - Paul

Re: Quicker local maven builds article

2019-10-22 Thread Paul Hammant
First time I met Jason was at a Codehaus party in Amsterdam in 2003. I miss that portal. Maven's XML is too element normal for my liking. Attributes where appropruate would be good. Also deps and GAVs needs a shakeup, IMO: com.thoughtworks.xstream:xsteam:1.4.3

Re: Quicker local maven builds article

2019-10-22 Thread Paul Hammant
Thanks for the links and words of encouragement, gents. I'll update the blog entry accordingly. I'm not a Maven committer (though i am an ASF member). I harang the committers on rotating topics over the years, and at some point they'll implement something similar to this if they want to. I love