Unable to create markdown doxia… files just ignored.

2014-09-02 Thread Kevin Burton
I’m trying to create a static site using doxia and the markdown plugin and it seems to be failing. Basically, apt and xdocs works, but markdown doesn’t. I’m using the markdown plugin: plugin groupIdorg.apache.maven.plugins/groupId

packaging site/doxia content into another multi-module?

2014-09-04 Thread Kevin Burton
I have a multi-module maven build. In module A I have a site that I generate from doxia which is my products documentation. I have another mobile B, that hosts my console / web app and I want the docs to be packaged here and served from a static Jetty container. What are my options here? --

Re: packaging site/doxia content into another multi-module?

2014-09-04 Thread Kevin Burton
I was thinking about that but it would be nice if I could use a real dependency... On Thu, Sep 4, 2014 at 5:30 PM, Dan Tran dant...@gmail.com wrote: you may be able to execute a site:jar execution deploy and consume by your web module On Thu, Sep 4, 2014 at 5:04 PM, Kevin Burton bur

js-sequence-diagrams would make a really cool addition to doxia...

2014-09-06 Thread Kevin Burton
I just got this working with doxia: http://bramp.github.io/js-sequence-diagrams/ Sequence diagrams are great for documenting protocol interaction. I use them very often but one of the problems is updating the document when the protocol changes. With text sequence diagrams you can do that

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

2014-09-11 Thread Kevin Burton
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, but then it tries to pull down the parent module, which isn’t in the

Re: Maintaining versions in a multi-module project

2014-09-11 Thread Kevin Burton
I use the maven versions plugin for this… I just run: mvn versions:set -DnewVersion=0.0.3 mvn versions:commit and all my pom.s are updated. On Thu, Sep 11, 2014 at 6:02 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Use whatever works best for you. I have some projects

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

2014-09-12 Thread Kevin Burton
horrible than my current solution. Kevin On Thu, Sep 11, 2014 at 10:53 PM, Barrie Treloar baerr...@gmail.com wrote: 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

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

2014-09-12 Thread Kevin Burton
as an _aggregator_ without it being the _parent_ of your OSS module. http://rostislav-matl.blogspot.com/2011/12/maven-aggregator-vs-parent.html Regards, Curtis On Thu, Sep 11, 2014 at 10:25 PM, Kevin Burton bur...@spinn3r.com wrote: I have an OSS module in a multi-module maven project. I want

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

2014-09-12 Thread Kevin Burton
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 going to be fun. On Fri, Sep 12, 2014 at 10:03 AM, Kevin Burton bur

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

2014-09-12 Thread Kevin Burton
of the command line you are using, and what versions you want to upgrade? On 9/12/14, 10:16 AM, 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

Improving the speed of ‘deploy’ ?

2014-09-12 Thread Kevin Burton
mvn package” on my code , without tests, is actually pretty fast. Takes about one minute. (I don’t need the tests btw as I’m using continuous integration and the code is already tested). One minute is pretty darn good… The problem is that ‘deploy’ takes about 7 minutes. That’s kind of not

forking plugin execution?

2014-09-12 Thread Kevin Burton
Is it possible to fork plugin execution so that it executes in a separate process? I think doxia+markdown has a threading bug with peg down. I get the attached exception. Works fine with default options but -T 8 breaks it. I assume if I just have the site plugin in a separate proc that it will

Re: Improving the speed of ‘deploy’ ?

2014-09-12 Thread Kevin Burton
the issue is that I”m using scpexe for my distributionManagement repository. Is there some reason you can't just use wagon-ssh? http://stackoverflow.com/a/14404990 Regards, Curtis On Fri, Sep 12, 2014 at 1:11 PM, Kevin Burton bur...@spinn3r.com wrote: mvn package” on my code , without tests

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

2014-09-13 Thread Kevin Burton
I think I could probably migrate it down … Maybe cut my dependencies in 1/2 .. However, the version idea is probably the right way to go here :) Thanks for the recommendation! Kevin On Fri, Sep 12, 2014 at 6:31 PM, Barrie Treloar baerr...@gmail.com wrote: On 13 September 2014 02:46, Kevin

retrying flakey tests?

2014-09-19 Thread Kevin Burton
Is there a way to retry a flakey test? I’d basically like to have a flag that retries a failing test 2 or 3 times. Flakey and non deterministic tests are a fact of life in more complicated systems. The main problem being that they are impossible to setup again because they’re usually race

Re: retrying flakey tests?

2014-09-19 Thread Kevin Burton
the flexibility you need. Regards, Curtis On Fri, Sep 19, 2014 at 11:24 AM, Kevin Burton bur...@spinn3r.com wrote: Is there a way to retry a flakey test? I’d basically like to have a flag that retries a failing test 2 or 3 times. Flakey and non deterministic tests are a fact

Re: retrying flakey tests?

2014-09-20 Thread Kevin Burton
. Surefire 2.18 should be out in the next couple of weeks. Hth, Andreas Am Samstag, 20. September 2014 schrieb Kevin Burton : The loop idea is a good one.. I’d have to implement that on my own but it’s not the end of the world. And I’d love to live in a world you present above where all

wagon ssh corrupts known_hosts?

2014-09-20 Thread Kevin Burton
I have a step release process. Step 1 uses maven and the wagon-ssh plugin to push .debs and .jars to my maven and debian repositories via SSH and the scp:// wagon which uses jSch. Step 2 uses ansible and SSH via OpenSSH… this is the step that breaks now because jSch writes a new known_hosts

Maven site:deploy hosting providers??

2014-09-26 Thread Kevin Burton
I don’t want to necessarily host our own repositories. They’re just static file repositories. Are there any hosting providers out there that support dav, SCP or HTTP PUT that would work with wagon? Required features are: - SSL - redundant copies on multiple servers (CDN) - dav/scp/ftp/

Re: Maven site:deploy hosting providers??

2014-09-27 Thread Kevin Burton
Greetings Bernd Am 26.09.2014 21:39 schrieb Kevin Burton bur...@spinn3r.com: I don’t want to necessarily host our own repositories. They’re just static file repositories. Are there any hosting providers out there that support dav, SCP or HTTP PUT that would work with wagon? Required

Re: Maven site:deploy hosting providers??

2014-09-27 Thread Kevin Burton
ja...@takari.io wrote: I believe there are tools that will allow you to publish your static site to Github pages. On Sep 27, 2014, at 2:21 AM, Kevin Burton bur...@spinn3r.com wrote: This is such an obviously problem I’m amazed there isn’t an easier solution. Bintray looks cool. I just

Re: Maven site:deploy hosting providers??

2014-09-29 Thread Kevin Burton
can use github-site-plugin which works as well... https://github.com/github/maven-plugins Kind regards Karl-Heinz Marbaise Regards, Hervé Le samedi 27 septembre 2014 10:09:35 Kevin Burton a écrit : I don't think github would work but would love to be wrong

Best practice for integration tests (vs unit tests)

2014-10-07 Thread Kevin Burton
Right now I have an overlap of unit and integration tests and I want to tear out my integration tests and keep them separate. This way our unit tests execute fast and integration testing takes a bit longer. … and now I’m trying to figure out the best strategy for that. Reading this:

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

2014-10-08 Thread Kevin Burton
I have a client and server in a multi-module. How do I test them ? I’d like to start the server in a test, then run the client against it. Then I’d like to run the client in a test, and have to test a server… maybe one idea is to build a meta-module like foo-client-server-test which as a

best strategy for starting daemons and forking procs during maven integration tests?

2014-10-14 Thread Kevin Burton
I want to run more integration tests as my daemons and command line apps sometimes have bugs that I’d like to catch before a release. 9/10 these are Guice bindings and pretty easy to figure out what’s happening quickly. I would like to actually create new processes as a lot of Java code just

computing rank on the top maven modules by using the pom.xml files in maven central?

2014-10-18 Thread Kevin Burton
I had a though today that it might be valuable to compute a rank (either pagerank or just raw in degree) on the top modules in maven central. But perhaps someone has already done this? I’m lazy. :) The goal here , for me at least, is to fine the top libraries that everyone is using based on

Re: computing rank on the top maven modules by using the pom.xml files in maven central?

2014-10-18 Thread Kevin Burton
into the dependency tree and others might be very popular in a small field (science) but never be able to dominate the general purpose ones. http://mvnrepository.com/popular Bernd Am Sat, 18 Oct 2014 10:22:48 -0700 schrieb Kevin Burton bur...@spinn3r.com: I had a though today that it might

fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Kevin Burton
I’m trying to build .debs using jdeb and maven for various projects. For example, there is no .deb for spark. So I’m just taking the tar.gz and making a deb that installs to /usr/share/apache-spark. The problem is I don’t want to put the full binary into git as it’s about 200MB. I’d rather

Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Kevin Burton
a maven repo (if there is one). Am 08.11.2014 19:43 schrieb Kevin Burton bur...@spinn3r.com: I’m trying to build .debs using jdeb and maven for various projects. For example, there is no .deb for spark. So I’m just taking the tar.gz and making a deb that installs to /usr/share/apache-spark

Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Kevin Burton
of the tar.gz you On 11/8/14 7:40 PM, Kevin Burton wrote: I’m trying to build .debs using jdeb and maven for various projects. For example, there is no .deb for spark. So I’m just taking the tar.gz and making a deb that installs to /usr/share/apache-spark. The problem is I don’t want to put

Sorting javadoc output by importance of documentation and length of docs?

2014-11-16 Thread Kevin Burton
This is slightly off topic so I apologize. Javadoc is great for the developer but the main problem is that important documents can be hidden in a sea of classes. My Javadoc tends to have say 20-40 important documents on the design of a system but the rest of the Javadoc just tends to have an

Re: Maven locking up downloading file over scp in deploy plugin.

2015-02-08 Thread Kevin Burton
. See https://jira.codehaus.org/browse/MNG-5605 for details. Root cause is https://jira.codehaus.org/browse/WAGON-429 thanks, Robert Op Sat, 31 Jan 2015 21:05:25 +0100 schreef Kevin Burton bur...@spinn3r.com: I’m really confused over this issue. I’m running the maven deploy plugin

Re: Maven locking up downloading file over scp in deploy plugin.

2015-02-08 Thread Kevin Burton
AM, Kevin Burton bur...@spinn3r.com wrote: Nice. Thanks for the FYI. Any ETA on when 2.9 will be released? For now I can remove the maven-metadata.xml files on release but it’s somewhat annoying. On Mon, Feb 2, 2015 at 11:11 AM, Robert Scholte rfscho...@apache.org wrote: Hi, I think

Avoiding situations where duplicate classnames are imported?

2015-01-18 Thread Kevin Burton
It looks like I’ve accidentally ended up in a situation where I have duplicate class names in separate .jars with different versions. So I’ll have Foo.class in foo-1.0.0.jar and foo-3.0.0.jar … Shouldn’t Maven fail in this scenario? IE assert that you have conflicting dependencies and that you

Re: Avoiding situations where duplicate classnames are imported?

2015-01-19 Thread Kevin Burton
...@gmail.com wrote: Check out https://github.com/basepom/duplicate-finder-maven-plugin On Jan 18, 2015, at 6:12 PM, Kevin Burton bur...@spinn3r.com wrote: It looks like I’ve accidentally ended up in a situation where I have duplicate class names in separate .jars with different versions

Re: Question about next maven-fluido-skin release

2015-02-17 Thread Kevin Burton
It’s a bit disturbing that this bug took so long to fix. I had to work around it and was expecting a resolution. It was a 1 line fix that took 10 months for a resolution, and it’s been 2 months since then and there hasn’t been a release yet. On Sun, Feb 15, 2015 at 11:39 PM, Baptiste Mathus

I created Debian packages for maven 3.2.5..

2015-01-27 Thread Kevin Burton
Yo dawg. I heard you like maven. So I used maven to build debian packages of maven so you can use maven while you build maven. …. Debian only has an old/stale version of Debian so I created my own packages https://github.com/spinn3r/apache-maven-deb You an just run mvn package to build these.

Maven locking up downloading file over scp in deploy plugin.

2015-01-31 Thread Kevin Burton
I’m really confused over this issue. I’m running the maven deploy plugin and sending files over scp. It’s been working fine for MONTHS, then all of a sudden it started to fail. It uploads the files fine. but then on download it just freezes here: Downloading: scp://

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

2015-01-05 Thread Kevin Burton
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 that may not be as easy as testing your app with the updated versions or doing some research with the teams that are building

Easy way to test maven / surefire with only changed classes? javac dependencies?

2015-02-10 Thread Kevin Burton
Is there an easy way to build the Java dependency tree from the compiler? I was thinking that if you can get the Java dependency tree built, then you take take a look at a diff and look at which files have changed. Then from there you could take say 1000 test and reduce that to only 10 test if

Re: Easy way to test maven / surefire with only changed classes? javac dependencies?

2015-02-15 Thread Kevin Burton
want to open up the API to allow attaching stuff like that from the outside. Andreas Am Mittwoch, 11. Februar 2015 schrieb Kevin Burton : Is there an easy way to build the Java dependency tree from the compiler? I was thinking that if you can get the Java dependency tree built, then you

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

2015-01-05 Thread Kevin Burton
I spent a ton of time tonight in classpath hell. Basically, Apache Spark, Cassandra, and Cassandra Unit, and Guava, Jackson JSON, and Jetty have an INSANE dependency graph. They're all trampling on each other with broken dependencies. This results in a lot of exclusion work to get them to use

Re: Property substitution in /project/name?

2015-03-17 Thread Kevin Burton
Is it ${parent.name} ? Kevin On Tue, Mar 17, 2015 at 3:31 AM, Pop Qvarnström pop.qvarnst...@gmail.com wrote: For anyone searching for this in the archives, I created an SO question and a JIRA issue was promptly created. JIRA issue: https://jira.codehaus.org/browse/MNG-5784 SO question:

Disabling surefire error printing to console?

2015-03-08 Thread Kevin Burton
Is there away to get surefire to ONLY show the tests which failed, and NONE of their output? I read through the configuration and all the options that would seem to do this are already enabled (defaults) … and I can’t find anything that would disabled it. I tried redirectTestOutputToFile and

Re: Disabling surefire error printing to console?

2015-03-09 Thread Kevin Burton
It still prints the full exception to the console. All I want is a list of the tests which failed. On Sun, Mar 8, 2015 at 11:08 PM, Baptiste Mathus bmat...@batmat.net wrote: What do you mean doesn't seem to solve the situation? Doesn't it work? 2015-03-08 20:22 GMT+01:00 Kevin Burton bur

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

2015-03-12 Thread Kevin Burton
I really wanted to live in the future but I think Markdown support in Maven is really lacking. 1. it’s super slow. I have a moderate sized project (10 small files) and it takes like 10 minutes to generate my site. 2. It’s buggy. If you have two projects and a multi-module build you can’t use

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

2015-03-12 Thread Kevin Burton
-reference-en https://github.com/sonatype/nexus-book https://github.com/sonatype/maven-example-en Hope that helps. Manfred Kevin Burton wrote on 12.03.2015 14:11: I really wanted to live in the future but I think Markdown support in Maven is really lacking. 1. it’s super slow. I have

Determining the directory of test/resources from multi-modules?

2015-03-02 Thread Kevin Burton
I have a bunch of side-files I need to maintain for my unit tests. They’re the results of an text extraction / mining operation. So I need a portable way to learn the directory of the current module from a test. Is there an easy way to find that out? Kevin -- Founder/CEO Spinn3r.com

printing the maven parallel dependency graph...

2015-02-24 Thread Kevin Burton
The documentation on maven parallelism shows a parallel dependency graph: https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3 here is the image:

bulk updating test output / corpus ?

2015-02-25 Thread Kevin Burton
I have a number of algorithms that output complicated data structures and I have tests verifying the output. Often, I’ll make one small change, which will then cascade and invalidate all the tests causing them to fail. The NEW output is correct but now I need to go through and update all my

Force a project in a multi-module build to build single threaded

2015-02-23 Thread Kevin Burton
I want to use parallelism to improve our build time … however one of our modules uses the site plugin which has a threading issue in markdown support. I’d like to just force it to go single threaded since it builds in about 30 seconds. I could of course rip it off and move it into it’s own

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
And for us this might be a week project to resolve. We’re using embedded zookeeper, activemq, cassandra, etc in a number of our unit tests and the embedding frameworks don’t always have a way to change the port number. On Tue, Feb 24, 2015 at 10:12 AM, Kevin Burton bur...@spinn3r.com wrote

Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
The ‘singleton’ problem with maven tests around port numbers, file names, is a big problem that’s bitten me over the years. I’d love if Maven could fork tests or with parallelism, run tests in a container. Right now I have two modules running tests and they are conflicting on ports. If they

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
-port-number -- -- Aldrin Leal, ald...@leal.eng.br Master your EC2-fu! Get the latest ekaterminal public beta http://www.ingenieux.com.br/products/ekaterminal/ On Tue, Feb 24, 2015 at 3:05 PM, Kevin Burton bur...@spinn3r.com wrote: The ‘singleton’ problem with maven tests around port

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
And also, you’re right about surefire… each individual test (or chunks of say 5-10 at a time) could be run on containers too. On Tue, Feb 24, 2015 at 10:31 AM, Kevin Burton bur...@spinn3r.com wrote: On Tue, Feb 24, 2015 at 10:16 AM, Aldrin Leal ald...@leal.eng.br wrote: Not quite - but I've

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
On Tue, Feb 24, 2015 at 10:16 AM, Aldrin Leal ald...@leal.eng.br wrote: Not quite - but I've been using Drone http://www.drone.io/ (which is wrapped around Docker) with Maven with little to no problems, although building up a baseline takes a little practice. Meaning you run maven WITHIN a

Re: Any work to use maven with docker or linux containers?

2015-02-24 Thread Kevin Burton
...@leal.eng.br Master your EC2-fu! Get the latest ekaterminal public beta http://www.ingenieux.com.br/products/ekaterminal/ On Tue, Feb 24, 2015 at 3:31 PM, Kevin Burton bur...@spinn3r.com wrote: On Tue, Feb 24, 2015 at 10:16 AM, Aldrin Leal ald...@leal.eng.br wrote: Not quite

Running ALL tests in a multi-module , then failing the entire build.

2015-04-22 Thread Kevin Burton
For our continuous integration setup, I want each module to run tests, and continue even if the tests failed. This way I can see the list of ALL test failures , across all modules, then fix them all at once. My understanding , is that I can enable this, but then the result of the run is a

Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-14 Thread Kevin Burton
(sorry, hit send by accident on that other one) totally stumped here and was wondering if you guys had some feedback. I’m building all the dependency jars for my project by using the assembly plugin. dependencySets dependencySet outputDirectorylib/outputDirectory

Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-14 Thread Kevin Burton
totally stumped here and was wondering if you guys had some feedback. I’m building all the dependency jars for my project by using the assembly plugin. -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile

Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-14 Thread Kevin Burton
I think I figured it out… I think the dependencySet is ALWAYS using test. Even if I set it to runtime. I looked in the pom for the project that I’m including and the dependencies its pulling in are from it’s test scope. On Thu, May 14, 2015 at 1:43 PM, Kevin Burton bur...@spinn3r.com wrote

Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-14 Thread Kevin Burton
PM, Kevin Burton bur...@spinn3r.com wrote: I think I figured it out… I think the dependencySet is ALWAYS using test. Even if I set it to runtime. I looked in the pom for the project that I’m including and the dependencies its pulling in are from it’s test scope. On Thu, May 14, 2015 at 1:43

Re: Maven assembly pulls in FAR more dependencies than shown by dependency:test ?

2015-05-15 Thread Kevin Burton
the problem so we can take a deeper look into it? Kind regards karl Heinz Marbaise On 5/14/15 11:22 PM, Kevin Burton wrote: Yes. IT seems I’m a weird type of dependency hell. The dependencySet is using test… and if I manually add exclusions to some of these, it overwrites the exclusion used

easiest way to create debian packages using jdeb/assembly?

2015-04-12 Thread Kevin Burton
I’m currently using jdeb to create debian packages. I use the assembly plugin to create a dependency set of .jars, then I use jdeb to package everything together. The problem is that it’s a HUGE chunk of boilerplate that I have to keep copying. We have about 10 daemons right now in a micro

Computing the maven dependency graph at runtime for unit tests?

2015-04-06 Thread Kevin Burton
I have a few modules that I want to lock down so that I can easily keep track of dependencies over time. This way if a developer adds a new dependency, the test will immediately break and someone will have to approve the change. Is this possible? Could I embed this in a unit test or does it have

Re: Easy way to tell if I have .class file conflicts between two jars?

2015-04-05 Thread Kevin Burton
...@apache.org wrote: Hi, take a look at this enforcer rule: http://mojo.codehaus.org/extra-enforcer-rules/banDuplicateClasses.html Robert Op Sun, 05 Apr 2015 19:57:07 +0200 schreef Kevin Burton bur...@spinn3r.com: Im looking for a somewhat easy way to tell if a directory of .jar files

Easy way to tell if I have .class file conflicts between two jars?

2015-04-05 Thread Kevin Burton
Im looking for a somewhat easy way to tell if a directory of .jar files contains class reference which conflict. For example,org/xml/sax/XMLReader.class from two incompatible versions. I wrote a simple command that does a find and then a jar tf to list the contents, then I sort by the filename,

assembly plugin dependencySet not factoring in exclusions in my dependencies.

2015-04-05 Thread Kevin Burton
I have some issues with dependency conflicts in my dependencies section in my pom. I need to have a way to compute a directory of .jar files for use with creating debian packages I’ve been using the assembly package do this this via: dependencySets dependencySet

Bug with Maven 3.2.5 and threaded builds and dependencies? Corrupt maven cache.

2015-08-17 Thread Kevin Burton
Hey guys. I think there’s a bug with Maven 3.2.5 and threaded builds and dependencies. We have a LOT of dependencies. I think 400 or so external .jars (not sure if we’re an unusual case or not). Anyway. If we have an empty cache, and do a threaded build, what happens is there’s a race around

Running jdeb plugin by itself .. not attached to the package lifecycle.

2015-08-02 Thread Kevin Burton
The Maven jdeb plugin (for building debian packages) recommends you set it up like: executions execution phasepackage/phase goals goaljdeb/goal /goals … but this means that if I do an mvn install that packages are built and installed

Unsupported protocol: ‘http’” during maven threaded build.

2015-07-21 Thread Kevin Burton
We’re using maven 3.2.5 and recently migrated to a threaded build and I now get this error: [ERROR] Unsupported protocol: 'http' [ERROR] Unsupported protocol: 'https' [ERROR] Unsupported protocol: 'http' [ERROR] Unsupported protocol: 'http' [ERROR] Unsupported protocol: 'https' [ERROR]

Fetch all remote dependencies NOT in my pom?

2015-07-22 Thread Kevin Burton
I need a way to fetch all external dependencies that aren’t just a submodule in my current project. So things like junit, mockito, log4j, jetty, etc. I want to pull down all that stuff. However, I do NOT want it to include dependencies from the project. Those aren’t built yet so they’re not in

Re: Fetch all remote dependencies NOT in my pom?

2015-07-22 Thread Kevin Burton
I tried the following.. but that doesn’t work. hm… stumped on this one. mvn -DexcludeGroupIds=com.spinn3r.artemis -DexcludeTransitive=true dependency:resolve mvn -DexcludeArtifactIds=artemis -DexcludeTransitive=true dependency:resolve On Wed, Jul 22, 2015 at 8:13 PM, Kevin Burton bur

Re: Fetch all remote dependencies NOT in my pom?

2015-07-22 Thread Kevin Burton
What I want to do is just download all artifacts not in com.spinn3r.* “ group ID. They aren’t built yet or in any repositories yet. This is for a continuous integration systems so I want to pre-cache them. After this they’re just restored from cache to build faster. Is your repo on the same

Re: Fetch all remote dependencies NOT in my pom?

2015-07-23 Thread Kevin Burton
... ? Regards, Curtis On Wed, Jul 22, 2015 at 10:50 PM, Kevin Burton bur...@spinn3r.com wrote: What I want to do is just download all artifacts not in com.spinn3r.* “ group ID. They aren’t built yet or in any repositories yet. This is for a continuous integration systems so I want to pre

Locking down dependency versions...

2015-11-12 Thread Kevin Burton
Is there a maven module that can lock down dependency versions? I have a custom / in house script we wrote that writes a .dependencies file with the jar dependencies. If we commit without updating it, CI will fail with an error because you didn't manually approve the change by regenerating the

mvn printing 'Running TestSuite' instead of the names of individual tests

2015-11-12 Thread Kevin Burton
I can't for the life of me figure this one out. We did a module refactor recently and didn't change any dependencies. Now instead of seeing something like: Running com.spinn3r.artemis.rest.RESTServiceReferencesTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.58 sec - >

Re: Locking down dependency versions...

2015-11-12 Thread Kevin Burton
wrote: > Hi Kevin, > > On 11/12/15 10:22 PM, Kevin Burton wrote: > >> Is there a maven module that can lock down dependency versions? >> > > Are you talking about SNAPSHOT's or something different? > > >> I have a custom / in house script we wrote tha

How easy/reliable is a maven repo hosted on webdav?

2015-11-04 Thread Kevin Burton
I need to setup a new maven repo due to some changes we're making in our CI framework. Basically, I want something simple.. I was looking at bintray and artifactory and I think they are overkill for what we need and could be rather expensive per year. We already have plenty of hardware so I just

Copying resources from another .jar with assembly to build a deb?

2015-11-05 Thread Kevin Burton
I have init scripts and various other scripts I want to share between projects. The MAIN one is our init script for our daemons. so if I have a project I want to depend on artemis-daemon which has our daemon scripts. Then I want to copy some resources from that .jar while building a dpkg via

Re: Copying resources from another .jar with assembly to build a deb?

2015-11-05 Thread Kevin Burton
n-dependency-plugin:unpack. > > Wayne > > On Thu, Nov 5, 2015 at 12:42 PM, Kevin Burton <bur...@spinn3r.com> wrote: > > I have init scripts and various other scripts I want to share between > > projects. > > > > The MAIN one is our init script for our da

Re: How easy/reliable is a maven repo hosted on webdav?

2015-11-05 Thread Kevin Burton
On Wed, Nov 4, 2015 at 10:36 PM, Anders Hammar wrote: > A real repository manager is not overkill but rather the basic foundation > in a Maven-based dev environment. And there are free versions of them: > nexus oss, artifactory and archiva. > I strongly advice against trying

Submodule without parent can't be version:set in version plugin 2.2

2015-10-11 Thread Kevin Burton
I have a multi-module project where some of my modules don't have parents referenced. if I change to the directory of that module and then run: mvn versions:set -DnewVersion=5.1.508 I get an exception (see below). It seems to construct the path wrong. It uses the name of the submodule twice

publishing sub-modules without requiring the parent module to be published?

2015-10-11 Thread Kevin Burton
I'm trying to open source a bunch of code in our stack. Is it possible to have a parent module private, and the child module public? The problem I have now is that if our customers or the open source community imports our modules, it needs to fetch the parent, which is private. I assume this is

Re: publishing sub-modules without requiring the parent module to be published?

2015-10-12 Thread Kevin Burton
2015 2:49 AM, Baptiste Mathus wrote: > >> I'm pretty sure you can't. At least on Central who IIRC checks that kind >> of >> things. >> It's indeed needed for the dependency resolution mechanism to work. >> Cheers >> Le 11 oct. 2015 11:50 PM, "Kevi

Best way to lock in .jar versions between releases.

2015-10-13 Thread Kevin Burton
I want to lock in the effective classpath for our releases. So if extra .jars or versions of .jars are changed, I want the build to fail until I manually approve it. For some reason, our version of cassandra regressed and broke on release. Still trying to track this down but in the future it

Re: Best way to lock in .jar versions between releases.

2015-10-13 Thread Kevin Burton
nging in transitively, in your project's pom. > > Set all versions with [1.2.3] to "lock" them down. > > There may be another way to do this, but this is what I'd suggest to > start... > > Wayne > > On Tue, Oct 13, 2015 at 1:08 PM, Kevin Burton <bur...@spinn3r.com&

forking between flakey tests retries ?

2015-08-30 Thread Kevin Burton
Is there a way to fork between flakey tests? I think the new surefire plugin changes retry the test in the same process. I’m using surefire to fork each test so I can release daemon resources as part of integration tests. We have integration / unit tests for zookeeper, cassandra, elastic

Best way to keep test resources with junit / surefire /maven.

2015-10-03 Thread Kevin Burton
I'm trying to figure out if there's a better way to do this. Java doesn't support "here files" or embedded files so you have to keep your resources external. Usually in 'resources', I don't want to have things like HTML code and other things in my tests as it makes the tests ugly. But the

Implementing “distcc” (distributed builds) for Maven.

2015-09-20 Thread Kevin Burton
I’m curious if anyone has worked on distributed builds and testing for maven. It seems like a lot of the framework is there. At the very minimum the parallel builds framework could by used by implementing a maven backend daemon system and build protocol. I think at a minimum it would work with

Re: Best strategy for using lots of modules/projects with some private and some OSS

2015-09-22 Thread Kevin Burton
aration into > projects and changed our ideas about versions. > > Ron > > > > On 22/09/2015 1:47 PM, Kevin Burton wrote: > >> We have a multi-module setup whereby we have about 150 independent >> modules. >> >> Our build takes a long time and act

Best strategy for using lots of modules/projects with some private and some OSS

2015-09-22 Thread Kevin Burton
We have a multi-module setup whereby we have about 150 independent modules. Our build takes a long time and actually slows down development as we have to do a compile of a LOT of source code to rebuild the project. Additionally, we have a lot of code that we want to Open Source. This has meant

Re: Best strategy for using lots of modules/projects with some private and some OSS

2015-09-24 Thread Kevin Burton
om scratch every time, though! > >> > >> I also recently wrote a "melting pot" script to do end-to-end testing of > >> large component collections: > >> > >> > >> > https://github.com/scijava/scijava-scripts/blob/d892adc0092c220ee1e597

Dealing with .jars that have overlapping .classes

2016-04-22 Thread Kevin Burton
We have a rather complex classpath in our app... sometimes maven computes the wrong classpath because one package changes classpath order and has a dependency on an earlier jar. To avoid this we usually analyze our classpath between builds and our builds break if a classpath change isn't

Ability to run all tests in all modules, and fail if ANY test fails.

2016-08-02 Thread Kevin Burton
I have a COMPLEX multi module build. Like 250 sub-modules. If I do a big refactor the build stops after testing say 20 modules, then I have to fix the build again, then it might get through 5 more modules, I have to keep repeating this process. What I want to do is to run tests on ALL modules

Plugin specific command line options?

2017-01-27 Thread Kevin Burton
Is there a way to pass command line options but only have one plugin see it? My understanding is that plugins just read from system properties. So to pass 'skip' to a plugin I would use -Dskip but what if two plugins use the same 'skip' ? -- We’re hiring if you know of any awesome Java Devops

Re: Using maven profiles for easily parallel testing?

2016-11-06 Thread Kevin Burton
> > > I'm thinking of a clunky approach of including tests with names starting > with [A-Ma-m] in one build configuration, and those with names starting > with [^A-Ma-m] in another build configuration. These build configuration > could have most of their actual configuration in a build template,

Re: Using maven profiles for easily parallel testing?

2016-11-06 Thread Kevin Burton
> > > Is this really the time for the tests only or is this the whole build time > including the test time? If it is only the time for running the tests it > means those tests are slow... > > Yeah. I agree. The slow ones are all essentially integration tests. Some take 20-30 seconds as they

Using maven profiles for easily parallel testing?

2016-11-05 Thread Kevin Burton
We use TeamCity internally (which is great btw) for Maven testing. We have about 2000 tests which we continually integrate on every commit. The problem is that testing takes about 15 minutes from start to end. We use -T 16 on our tests and our boxes have 8 cores so this allows some tests to

Are there any standard junit categories / projects?

2016-11-07 Thread Kevin Burton
I want to migrate to using junit categories in our build. Are there any projects/modules that implement standard categories like Online, Integration, etc. I don't see any in junit directly... Otherwise I have to build a new module and it has to be outside our main pipeline which is no fun. --

  1   2   >