Re: Error building in Travis after taking master

2017-05-04 Thread Otto Fowler
https://travis-ci.org/ottobackwards/incubator-metron/builds METRON-777 build 223 On May 4, 2017 at 12:43:39, Otto Fowler (ottobackwa...@gmail.com) wrote: Yes. I also had deleted all travis caches (and local .m2/repo in the local case ) On May 4, 2017 at 12:30:34, Michael Miklavcic (michael.

Re: Error building in Travis after taking master

2017-05-04 Thread Otto Fowler
Yes. I also had deleted all travis caches (and local .m2/repo in the local case ) On May 4, 2017 at 12:30:34, Michael Miklavcic (michael.miklav...@gmail.com) wrote: So going from this prepare-agent to this org.jacoco:prepare-agent to this org.jacoco:jacoco-maven-plugin:prepare-agent is what wo

Re: Error building in Travis after taking master

2017-05-04 Thread Michael Miklavcic
So going from this prepare-agent to this org.jacoco:prepare-agent to this org.jacoco:jacoco-maven-plugin:prepare-agent is what worked? On Wed, May 3, 2017 at 9:27 PM, Otto Fowler wrote: > I was able to build in travis, with my branch, after changing the command: > > The command "time mvn -q -T 2

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
I was able to build in travis, with my branch, after changing the command: The command "time mvn -q -T 2C -DskipTests install && time mvn -q -T 2C org.jacoco:jacoco-maven-plugin:prepare-agent surefire:test@unit-tests && mvn -q org.jacoco:jacoco-maven-plugin:prepare-agent surefire:test@integration-

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
I’m going to do some more testing here and see, and stop spamming the list. I have seen off of master work, and a build off of my travis branch fail locally. it could be that the problem is repo AND my branch On May 3, 2017 at 16:28:35, Michael Miklavcic (michael.miklav...@gmail.com) wrote: Th

Re: Error building in Travis after taking master

2017-05-03 Thread Michael Miklavcic
That's great news! I was beginning to think we had a Maven bogeyman. I wonder if Maven is swallowing an exception and wrapping it with something that is user friendly. So, if the cached pom or jars are corrupted, it might simply be reporting this as a "not found" problem. I guess that's user friend

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
ok, after deleting my repo, and using the travis command I got a good build with the full command. I think I need to delete ALL my travis caches. On May 3, 2017 at 14:52:04, Otto Fowler (ottobackwa...@gmail.com) wrote: And… I Do have it locally ~/.m2 ottofowler% tree | grep jacoco │ ├── j

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
And… I Do have it locally ~/.m2 ottofowler% tree | grep jacoco │ ├── jacoco │ │ ├── jacoco-maven-plugin │ │ │ ├── jacoco-maven-plugin-0.7.9.jar │ │ │ ├── jacoco-maven-plugin-0.7.9.jar.sha1 │ │ │ ├── jacoco-maven-plugin-0.7.9.pom │ │ │

Re: Error building in Travis after taking master

2017-05-03 Thread Justin Leet
I'm on 3.5 and not having issues with it. On Wed, May 3, 2017 at 2:19 PM, Otto Fowler wrote: > Did we change the requirements for pre-commit testing to run the command > that way? > I did a commit this morning with the old command. > > > On May 3, 2017 at 14:04:32, Otto Fowler (ottobackwa...@gma

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
Did we change the requirements for pre-commit testing to run the command that way? I did a commit this morning with the old command. On May 3, 2017 at 14:04:32, Otto Fowler (ottobackwa...@gmail.com) wrote: > git checkout -b whyyounowork apache/master same issue locally On May 3, 2017 at 13:

Re: Error building in Travis after taking master

2017-05-03 Thread Ryan Merriman
What maven version are you on? Thought I saw 3.5 in another email. I'm on 3.3.9 and have not had issues. On May 3, 2017, at 1:04 PM, Otto Fowler wrote: >> git checkout -b whyyounowork apache/master > > same issue locally > > > > > On May 3, 2017 at 13:46:14, Justin Leet (justinjl...@gmai

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
> git checkout -b whyyounowork apache/master same issue locally On May 3, 2017 at 13:46:14, Justin Leet (justinjl...@gmail.com) wrote: Is it just that one branch that's failing, or is it also master? To try to narrow things down. On Wed, May 3, 2017 at 1:43 PM, Michael Miklavcic < michael.m

Re: Error building in Travis after taking master

2017-05-03 Thread Michael Miklavcic
One more thing - can you see if this exists in your local maven repo? ls -lh $HOME/.m2/repository/org/jacoco/jacoco-maven-plugin/0.7.9/ <<< total 136 -rw-r--r--+ 1 211B Mar 7 08:21 _remote.repositories -rw-r--r--+ 1 46K Mar 7 08:2

Re: Error building in Travis after taking master

2017-05-03 Thread Justin Leet
Is it just that one branch that's failing, or is it also master? To try to narrow things down. On Wed, May 3, 2017 at 1:43 PM, Michael Miklavcic < michael.miklav...@gmail.com> wrote: > Hahaha, I can't imagine why you wouldn't run that command ¯\_(ツ)_/¯ > Yeah, mvn clean package or mvn clean inst

Re: Error building in Travis after taking master

2017-05-03 Thread Michael Miklavcic
Hahaha, I can't imagine why you wouldn't run that command ¯\_(ツ)_/¯ Yeah, mvn clean package or mvn clean install are what I typically run. (Install has the added benefit that if you've modified only files in one module like metron-parsers, you can choose to build only that project bc it will grab d

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
Note: Some input files additionally use unchecked or unsafe operations. 100 warnings [ERROR] No plugin found for prefix 'org.jacoco' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/ottofowler/.m2/repository

Re: Error building in Travis after taking master

2017-05-03 Thread Justin Leet
Does it run locally with: mvn -q -T 2C -DskipTests install && mvn -q -T 2C org.jacoco:prepare-agent surefire:test@unit-tests && mvn -q org.jacoco:prepare-agent surefire:test@integration-tests && mvn -q org.jacoco:prepare-agent test --projects metron-interface/metron-config && build_utils/verif

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
No I cannot build locally with that command: [ERROR] No plugin found for prefix 'jacoco' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/ottofowler/.m2/repository), central ( https://repo.maven.apache.org

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
I am going to be honest, I don’t usually build locally with : mvn -q -T 2C -DskipTests install && mvn -q -T 2C jacoco:prepare-agent surefire:test@unit-tests && mvn -q jacoco:prepare-agent surefire:test@integration-tests && mvn -q jacoco:prepare-agent test --projects metron-interface/metron-conf

Re: Error building in Travis after taking master

2017-05-03 Thread Michael Miklavcic
Also Otto, are you able to build locally with that branch and same merge with master? On Wed, May 3, 2017 at 9:51 AM, Justin Leet wrote: > I'm also curious if it works if you change the two 'jacoco:prepare-agent' > to 'org.jacoco:prepare-agent'. Master has built off of this fine, so I'm > wonder

Re: Error building in Travis after taking master

2017-05-03 Thread Justin Leet
I'm also curious if it works if you change the two 'jacoco:prepare-agent' to 'org.jacoco:prepare-agent'. Master has built off of this fine, so I'm wondering if there's a difference in that build that breaks the plugin resolution. On Wed, May 3, 2017 at 11:35 AM, Ryan Merriman wrote: > You might

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
Just for anyone else https://docs.travis-ci.com/user/caching/#Clearing-Caches On May 3, 2017 at 11:45:26, Otto Fowler (ottobackwa...@gmail.com) wrote: > I am not sure I know how to do that in Travis. I will look when I get back > > On May 3, 2017 at 11:35:34, Ryan Merriman (merrim...@gmail.com)

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
I am not sure I know how to do that in Travis. I will look when I get back On May 3, 2017 at 11:35:34, Ryan Merriman (merrim...@gmail.com) wrote: > You might want to try clearing the mvn cache. I've had travis get into a > bad state before because of corrupt maven artifacts. > > On Wed, May 3, 2

Re: Error building in Travis after taking master

2017-05-03 Thread Ryan Merriman
You might want to try clearing the mvn cache. I've had travis get into a bad state before because of corrupt maven artifacts. On Wed, May 3, 2017 at 10:26 AM, Otto Fowler wrote: > https://travis-ci.org/ottobackwards/incubator-metron/builds/228364894?utm_ > source=email&utm_medium=notification >

Re: Error building in Travis after taking master

2017-05-03 Thread Otto Fowler
https://travis-ci.org/ottobackwards/incubator-metron/builds/228364894?utm_source=email&utm_medium=notification On May 3, 2017 at 11:12:15, Justin Leet (justinjl...@gmail.com) wrote: > Jacoco is introduced from > https://github.com/apache/incubator-metron/pull/459. > > I'm not sure why you'd be ge

Re: Error building in Travis after taking master

2017-05-03 Thread Michael Miklavcic
The plugin is definitely in maven central. Otto, do you guys by chance use a dependency management tool to proxy Maven Central? https://github.com/apache/incubator-metron/blob/master/pom.xml#L269 https://search.maven.org/#artifactdetails%7Corg.jacoco%7Cjacoco%7C0.7.9%7Cpom On Wed, May 3, 2017 a

Re: Error building in Travis after taking master

2017-05-03 Thread Justin Leet
Jacoco is introduced from https://github.com/apache/incubator-metron/pull/459. I'm not sure why you'd be getting a plugin error for it though, because it's available in the standard repos and I was able to build off a completely clean maven cache (and Travis has been able to build it as well). Wh