Re: Multiple build profiles with 1 global

2023-04-16 Thread Kevin Huntly
Okay, here's my pom: https://pastebin.com/dAE45yvB When I run with the WebSphere profile, all of the dependencies in both profiles are included. When I run with the tomcat profile, none of them are. What am I doing wrong? ____ Kevin Huntly

Multiple build profiles with 1 global

2023-04-16 Thread Kevin Huntly
Hi Everyone, I want to set up multiple build profiles for my app but I'm kindof confused. I have the idea of 1 global build profile that always gets used, plus smaller build profiles that get activated by the -P flag. Is this possible? ____

RE: S3 repo for custom archetypes

2020-09-24 Thread Kevin James
here? https://urldefense.com/v3/__http://maven.apache.org/guides/mini/guide-wagon-providers.html__;!!MsNKLpFGsw!byQvF4j_x2ljfAI2C-XB7BiOV4XVsWwGap1fozcgS6ftvT3ipL9fIo5GDyqiJQSk0L8$ > On Sep 23, 2020, at 2:17 AM, Kevin James > wrote: > > Hi all, > I have a private repo in

S3 repo for custom archetypes

2020-09-23 Thread Kevin James
Hi all, I have a private repo in an S3 bucket. All my private dependencies work fine with a repository specified in a project POM with a URL of s3://myprivatebucket/release, and specifying an S3 wagon: com.allogy.maven.wagon maven-s3-wagon 1.2.0 S

How best to use profiles and modules for different build purposes

2017-08-16 Thread Kevin Duffey
Hi all, I am working on a project where we have set up modules to manage components better, such as common code, logging, server side, api, etc. It has thus far worked out very nicely. We have one module that is within our entire application and depends on some of the modules (namely api and mes

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

Maven fails with "no tests" when running groups ... even when failIfNoTests=false

2016-11-21 Thread Kevin Burton
I want to use Maven groups / junit categories to run just a subset of my whole test suite. Basically I want to run an inclusive pass to just run the quick tests.. and ignore the slow tests. However, it does't work and I just get: java.lang.Exception: No tests found matching > *com.spinn3r.junit.

Maven multi module setup with spring boot

2016-11-16 Thread Kevin Duffey
Hello there, I am fairly new to using Maven having mostly done it through IDE or using Ant. We are using Spring Boot, and their 1.4.x update changed the structure of their FAT jar mechanism such that many libraries that also scan for classes broke. There is a work around, basically it requires se

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. --

Re: Using maven profiles for easily parallel testing?

2016-11-06 Thread Kevin Burton
. I think though in practice it won't make much of a change for us. We have like 200 modules and our build says nearly 100% the entire time. Kevin -- We’re hiring if you know of any awesome Java Devops or Linux Operations Engineers! Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile <https://plus.google.com/102718274791889610666/posts>

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, an

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 bloc

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 an

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 approved.

Re: Locking down dependency versions...

2015-11-12 Thread Kevin Burton
Just regular dependency versions. So if we're using 1.0.1 of library A I don't want adding adding library B to transitively change our dependency on library A... This has happened to us before and caused problems. On Thu, Nov 12, 2015 at 1:40 PM, Karl Heinz Marbaise wrote: > Hi

Locking down dependency versions...

2015-11-12 Thread Kevin Burton
g the .dependencies file. This way we don't have to worry about a radical dependency change due to a new dependency breaking our tree. The problem is I'm starting to break off our code into sub-projects and I'd like to use this everywhere. Kevin -- We’re hiring if you know of any

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 - > in

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 to do this with your

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

2015-11-05 Thread Kevin Burton
. > > Wayne > > On Thu, Nov 5, 2015 at 12:42 PM, Kevin Burton wrote: > > 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

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 jde

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

Re: sonar-maven-plugin 2.7: sonar.host.url settings parameter not working?

2015-10-23 Thread Kevin Cross
ttps://groups.google.com/forum/#!topic/sonarqube/FSAkrB9pzOY The easiest way to fix the sonar plugin version in the short term is to replace the sonar:sonar part of the maven command line with org.codehaus.mojo:sonar-maven-plugin:2.6:sonar. Regards, Kevin On 23 October 2015 at 09:47, Ehret, Jo

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

2015-10-13 Thread Kevin Burton
itively, 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 wrote: > > I wan

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 wou

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

2015-10-12 Thread Kevin Burton
e 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, "Kevin Burton"

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

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 (y

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 p

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

2015-09-24 Thread Kevin Burton
Mac and get the > > "right" configuration files for the target OS. > > > > Uses maven dependency management to get the jars from your repo and uses > a > > command language in XML to assemble the rest of your supporting data and > > configuration file

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 actuall

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 g

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 t

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 search,

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 do

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: package jdeb … but this means that if I do an mvn install that packages are built and installed into the maven repo. 1. this doesn’t make a ton of

Re: Fetch all remote dependencies NOT in my pom?

2015-07-23 Thread Kevin Burton
I didn’t try go-offline.. worth a shot! On Wed, Jul 22, 2015 at 8:57 PM, Curtis Rueden wrote: > Hi Kevin, > > > What I want to do is just download all artifacts not in "com.spinn3r.* “ > > group ID. > > Did you try: > > mvn dependency:go-of

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-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 wrote: >

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 a

"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] Unsupported

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

2015-05-15 Thread Kevin Burton
Yeah. Agreed. I’ll try to get some time to do this.. On Thu, May 14, 2015 at 5:09 PM, Karl Heinz Marbaise wrote: > Hi Kevin, > > if you have really the assumption seeing a bug than it would be helpful to > create a test project or offer the project where you can observe the >

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

2015-05-14 Thread Kevin Burton
PM, Kevin Burton 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, 2

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 wrote: > (sorry, hit send

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. lib true runtime which works.

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

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 success

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 servi

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

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: lib true run

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

2015-04-05 Thread Kevin Burton
: > 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 i

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,

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 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 que

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

2015-03-12 Thread Kevin Burton
Thanks. IF these are used in big projects like this I’ll probably just migrate. It’s good to be pragmatic sometimes! KEvin On Thu, Mar 12, 2015 at 2:58 PM, Manfred Moser wrote: > I find markdown as a format just too restricted and painful to use. We had > good success with using asciid

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 t

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 wrote: > What do you mean "doesn't seem to solve the situation"? Doesn't it work? > > 2015-03-08 20:22 GMT+01:00

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 that

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

bulk updating test output / corpus ?

2015-02-25 Thread Kevin Burton
tests which can take 30-50 minutes. Is there a way to store this data in a side file and then set a flat to reburn the side files? This way I can validate the git diff and if it’s correct I can commit in bulk. Kevin -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http

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: https://cwiki.apache.org/confluence/download/attachments/18153538/PastedGraphic-6.png?version=1&modificationDate=1379608014000

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

2015-02-24 Thread Kevin Burton
Leal, > 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 wrote: > > > On Tue, Feb 24, 2015 at 10:16 AM, Aldrin Leal > wrote: > > > > > Not quite -

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 wrote: > On Tue, Feb 24, 2015 at 10:16 AM, Aldrin Leal wrote: > >> Not quite - but I've been

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

2015-02-24 Thread Kevin Burton
or the -T parallel option to , instead of forking, create a new container. > That is a question better addressed by Yarn and Mesosphere (Kubernetes > perhaps?) > Yes. Ideally each container would be on a separate piece of hardware so you could use 5-10 boxes to complete the tests quickly.

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 wrote: > Yes. But wh

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

2015-02-24 Thread Kevin Burton
choosing-port-number > > > -- > -- Aldrin Leal, > 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 wrote: > > > The ‘singleton’ problem with maven tests

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 were

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 projec

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 wrot

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

2015-02-15 Thread Kevin Burton
;> So for real incremental tests out of the box, we'd have to support >> different strategies: compile-time dependencies, resource dependencies, >> runtime dependencies. That's quite an undertaking. For Surefire 3 we want >> to open up the API to allow attaching stuff

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 on

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

2015-02-08 Thread Kevin Burton
I’m curious why this is happening to me. We just upgraded our version of Maven. We were on 3.2.x before and now we’re on 3.2.5. Can I downgrade versions to fix this? I’m unsure what the previous version of Maven we were on as we’ve given that box back now :-( Kevin On Sat, Feb 7, 2015 at 9:55

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

2015-02-08 Thread Kevin Burton
t; 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.

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:// util0017.wdc.sl.spinn3r.com/

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.

Re: Avoiding situations where duplicate classnames are imported?

2015-01-19 Thread Kevin Burton
ansker < > stevenschlans...@gmail.com> wrote: > > > Check out > > https://github.com/basepom/duplicate-finder-maven-plugin > > > > On Jan 18, 2015, at 6:12 PM, Kevin Burton wrote: > > > > > It looks like I’ve accidentally ended up in a situ

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 s

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

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 work to get them to use sane bindin

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 over

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

2014-11-08 Thread Kevin Burton
Nice.. it works actually. the only problem is that it downloads the file every time and it’s 180MB… there’s no way to skip it if the file already exists. hm.. On Sat, Nov 8, 2014 at 11:00 AM, Karl Heinz Marbaise wrote: > Hi Kevin, > > to download a an file from somewhere you coul

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

2014-11-08 Thread Kevin Burton
there is one). > Am 08.11.2014 19:43 schrieb "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

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 have

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

2014-10-18 Thread Kevin Burton
quot; 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 > : > > &

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 rank

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 does

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 depende

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: http://docs

Re: Maven site:deploy hosting providers??

2014-09-29 Thread Kevin Burton
that for GitHub pages...works like a charm... > >> > >> https://github.com/khmarbaise/smpp > >> https://github.com/khmarbaise/uptodate-maven-plugin etc. > >> > >> which makes it very ease... > >> > >> apart from that you can use github-sit

Re: Maven site:deploy hosting providers??

2014-09-27 Thread Kevin Burton
"Jason van Zyl" 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 wrote: > > > This is such an obviously problem I’m amazed there isn’t an easier > > solution.

Re: Maven site:deploy hosting providers??

2014-09-26 Thread Kevin Burton
; > https://bintray.com/docs/uploads/uploads_uploads.html > > > > Greetings > > Bernd > > Am 26.09.2014 21:39 schrieb "Kevin Burton" : > > > >> I don’t want to necessarily host our own repositories. > >> > >> They’re just static file reposi

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/ upload

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 file.

Re: retrying flakey tests?

2014-09-20 Thread Kevin Burton
he > CI system. > > 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

Re: retrying flakey tests?

2014-09-19 Thread Kevin Burton
e end, it's all up to you, but I'd recommend playing it as safe as > possible! :-) > > On Fri, Sep 19, 2014 at 6:08 PM, Curtis Rueden wrote: > > > Hi Kevin, > > > > > Is there a way to retry a flakey test? > > > > In general I agree with Martin Todo

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 condit

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 wrote: > On 13 September 2014 02:46, Kevin Burton wr

Re: Improving the speed of ‘deploy’ ?

2014-09-12 Thread Kevin Burton
Worth a shot.. I’m using scpexe which forks OpenSSH as it’s easier to use when I forward SSH auth… this way I’m not constantly entering passwords for machines I’ve already authenticated to... On Fri, Sep 12, 2014 at 11:31 AM, Curtis Rueden wrote: > Hi Kevin, > > > I think the issue

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

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 fun

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

2014-09-12 Thread Kevin Burton
terms of the > command line you are using, and what versions you want to upgrade? > > On 9/12/14, 10:16 AM, "Kevin Burton" wrote: > > >OKŠ so this definitely works and the aggregation model compiles my module. > > > >But I need a way to bump the version number

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 wrote

  1   2   3   4   >