4finance / uptodate-gradle-plugin Goto Github PK
View Code? Open in Web Editor NEWGradle plugin that tells you what libs have new versions on the specified Maven repository
License: Apache License 2.0
Gradle plugin that tells you what libs have new versions on the specified Maven repository
License: Apache License 2.0
With the following dependency
dependencies {
compile 'org.webjars:angularjs:1.3.14'
}
running the uptodate task tells me
New versions available:
'org.webjars:angularjs:1.3.4-1'
The version 1.3.4-1 is older than the current version.
I expect the plugin to find the current version org.webjars:angularjs:1.3.15
To keep in mind
There is a badge on https://github.com/reviewninja/review.ninja (using this tool https://david-dm.org/) that shows if project is using up to date dependencies. It would be really cool to have something similar for uptodate plugin :)
jCenter is a must
Instead of asserting messages logged by LoggerProxy
we should assert what dependencies were passed to NewVersionLogger
and let it handle all the sorting,printing and message building
Check out #18 (comment).
There is another plugin with the same goal. Maybe somebody have made a comparison already and could tell us main differences/advantages?
appropriate message should be logged for unavailable repositories
In configuration I have:
compile 'org.reflections:reflections:0.9.9-RC1'
plugin tells me:
New versions available in Maven Central:
'org.reflections:reflections:0.9.8
In your httpBuilder after line 46,
https://github.com/4finance/uptodate-gradle-plugin/blob/master/src/main/groovy/com/ofg/uptodate/finder/MavenNewVersionFinder.groovy#L46
could you please add a line line they have commented out in this gist:
https://gist.github.com/sarmbruster/8114445
to support using a proxy connection?
http://groovy.codehaus.org/modules/http-builder/apidocs/groovyx/net/http/HTTPBuilder.html#setProxy%28java.lang.String,%20int,%20java.lang.String%29
Something like:
httpBuilder.setProxy( proxyHostFromSystem, proxyPortFromSystem, "http" )
Alternatively, you could let that be configurable. Up to you really. One way or another. As it is, I get a connection timed out behind a corporate proxy.
Caused by: java.util.concurrent.ExecutionException: org.apache.http.conn.ConnectTimeoutException: Connect to search.maven.org/207.223.241.72:80 timed out
at java_util_concurrent_Future$get.call(Unknown Source)
at com.ofg.uptodate.finder.MavenNewVersionFinder$_findNewerInMavenCentralRepo_closure3.doCall(MavenNewVersionFinder.groovy:48)
at com.ofg.uptodate.finder.MavenNewVersionFinder.findNewerInMavenCentralRepo(MavenNewVersionFinder.groovy:48)
at com.ofg.uptodate.finder.MavenNewVersionFinder.this$2$findNewerInMavenCentralRepo(MavenNewVersionFinder.groovy)
at com.ofg.uptodate.finder.MavenNewVersionFinder$this$2$findNewerInMavenCentralRepo.callCurrent(Unknown Source)
at com.ofg.uptodate.finder.MavenNewVersionFinder.findNewer(MavenNewVersionFinder.groovy:39)
at com.ofg.uptodate.finder.NewVersionFinder$findNewer.call(Unknown Source)
at com.ofg.uptodate.finder.NewVersionFinderInAllRepositories$_findNewer_closure1.doCall(NewVersionFinderInAllRepositories.groovy:23)
at com.ofg.uptodate.finder.NewVersionFinderInAllRepositories.findNewer(NewVersionFinderInAllRepositories.groovy:22)
at com.ofg.uptodate.finder.NewVersionFinderInAllRepositories$findNewer.call(Unknown Source)
at com.ofg.uptodate.UptodatePlugin$_apply_closure1.doCall(UptodatePlugin.groovy:37)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:548)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:529)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:77)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:73)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 44 more
Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to search.maven.org/207.223.241.72:80 timed out
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:129)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:183)
at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:65)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:151)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:125)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1066)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1044)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:515)
at groovyx.net.http.AsyncHTTPBuilder.doRequestSuper(AsyncHTTPBuilder.java:146)
at groovyx.net.http.AsyncHTTPBuilder.access$000(AsyncHTTPBuilder.java:59)
at groovyx.net.http.AsyncHTTPBuilder$1.call(AsyncHTTPBuilder.java:131)
https://travis-ci.org/4finance/micro-infra-spring/builds/34382529
:uptodate
New versions available:
'org.springframework:spring-test:4.0.7.RELEASE'
'org.springframework:spring-test:4.1.0.RELEASE'
BUILD SUCCESSFUL
Repository queries should use HTTPS connection instead of HTTP.
log appropriate messages instead of printing stack traces, handle exceptions, etc.
Again, very nice plugin, thanks!
It would be sweet if this plugin also could also be configured to search a private maven repository. Our organization publishes libraries to a Nexus repo in-house, but unless I'm missing something I don't see a way to configure this plugin to also search that private Nexus repo.
gradle uptodate
fails with Cannot access first() element from an empty List
. This can be simply reproduced by applying uptodate
plugin on uptodate-gradle-plugin
itself :)
* What went wrong:
Execution failed for task ':uptodate'.
> java.util.concurrent.ExecutionException: java.util.NoSuchElementException: Cannot access first() element from an empty List
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':uptodate'.
at
(...)
Caused by: java.util.concurrent.ExecutionException: java.util.NoSuchElementException: Cannot access first() element from an empty List
at java_util_concurrent_Future$get.call(Unknown Source)
at com.ofg.uptodate.MavenNewVersionFinder$_findNewer_closure1.doCall(MavenNewVersionFinder.groovy:25)
at com.ofg.uptodate.MavenNewVersionFinder.findNewer(MavenNewVersionFinder.groovy:25)
at com.ofg.uptodate.NewVersionFinder$findNewer.call(Unknown Source)
at com.ofg.uptodate.UptodatePlugin$_apply_closure1.doCall(UptodatePlugin.groovy:30)
... 52 more
Caused by: java.util.NoSuchElementException: Cannot access first() element from an empty List
at com.ofg.uptodate.MavenNewVersionFinder$__clinit__closure3_closure5.doCall(MavenNewVersionFinder.groovy:30)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:508)
at groovyx.net.http.AsyncHTTPBuilder.doRequestSuper(AsyncHTTPBuilder.java:147)
at groovyx.net.http.AsyncHTTPBuilder.access$000(AsyncHTTPBuilder.java:59)
at groovyx.net.http.AsyncHTTPBuilder$1.call(AsyncHTTPBuilder.java:132)
e.g.: inappropriate media types
<<
has been deprecated in Gradle 3.x and a nasty stack trace is print in the projects using this plugin.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at org.gradle.api.internal.AbstractTask.leftShift(AbstractTask.java:505)
at org.gradle.api.Task$leftShift.call(Unknown Source)
at com.ofg.uptodate.UptodatePlugin.apply(UptodatePlugin.groovy:36)
at com.ofg.uptodate.UptodatePlugin.apply(UptodatePlugin.groovy)
at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)
(...)
Offensive line.
Dependency update should be reported only if version available in Maven Central is newer
Package name/groupId of all the classes/artifacts should be migrated from com.ofg
to com.4financeit
.
gradlew uptodate
paused by: groovy.lang.MissingPropertyException: No such property: versioning for class: org.apache.http.conn.EofSensorInputStream
at com.ofg.uptodate.finder.jcenter.JCenterNewVersionFinderFactory$_closure1_closure4.doCall(JCenterNewVersionFinderFactory.groovy:57)
at groovyx.net.http.HTTPBuilder$1.handleResponse(HTTPBuilder.java:503)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1070)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1044)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:515)
at groovyx.net.http.AsyncHTTPBuilder.doRequestSuper(AsyncHTTPBuilder.java:146)
at groovyx.net.http.AsyncHTTPBuilder.access$000(AsyncHTTPBuilder.java:59)
at groovyx.net.http.AsyncHTTPBuilder$1.call(AsyncHTTPBuilder.java:131)
Useful for smoke testing in things like #42.
To be done after upgrade to Gradle 2.x.
https://github.com/spring-gradle-plugins/dependency-management-plugin/
Probably the same situation occurs when resolutionStrategy
is used to set a version number.
7: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':micro-infra-spring-base:uptodate'.
> groovy.lang.MissingPropertyException: No such property: versioning for class: org.apache.http.conn.EofSensorInputStream
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':micro-infra-spring-base:uptodate'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:62)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException: groovy.lang.MissingPropertyException: No such property: versioning for class: org.apache.http.conn.EofSensorInputStream
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at java_util_concurrent_Future$get$5.call(Unknown Source)
at com.ofg.uptodate.finder.NewerDependencyProvider$_getFor_closure2.doCall(NewerDependencyProvider.groovy:18)
at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015)
at groovy.lang.Closure.call(Closure.java:423)
at groovy.lang.Closure.call(Closure.java:439)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.collect(DefaultGroovyMethods.java:2348)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.collect(DefaultGroovyMethods.java:2318)
at org.codehaus.groovy.runtime.dgm$63.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at com.ofg.uptodate.finder.NewerDependencyProvider.getFor(NewerDependencyProvider.groovy:18)
at com.ofg.uptodate.finder.NewerDependencyProvider$getFor$2.call(Unknown Source)
at com.ofg.uptodate.finder.NewVersionFinder.findNewer(NewVersionFinder.groovy:24)
at com.ofg.uptodate.finder.NewVersionFinder$findNewer$1.call(Unknown Source)
at com.ofg.uptodate.finder.NewVersionFinderInAllRepositories$_findNewer_closure1.doCall(NewVersionFinderInAllRepositories.groovy:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015)
at groovy.lang.Closure.call(Closure.java:423)
at groovy.lang.Closure.call(Closure.java:439)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1379)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1372)
at org.codehaus.groovy.runtime.dgm$149.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at com.ofg.uptodate.finder.NewVersionFinderInAllRepositories.findNewer(NewVersionFinderInAllRepositories.groovy:20)
at com.ofg.uptodate.finder.NewVersionFinderInAllRepositories$findNewer$3.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at com.ofg.uptodate.UptodatePlugin$_apply_closure1.doCall(UptodatePlugin.groovy:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015)
at groovy.lang.Closure.call(Closure.java:423)
at groovy.lang.Closure.call(Closure.java:439)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:554)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:535)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:77)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:73)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 17 more
Caused by: groovy.lang.MissingPropertyException: No such property: versioning for class: org.apache.http.conn.EofSensorInputStream
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:51)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:63)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at com.ofg.uptodate.finder.jcenter.JCenterNewVersionFinderFactory$_closure1_closure4.doCall(JCenterNewVersionFinderFactory.groovy:49)
at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015)
at groovy.lang.Closure.call(Closure.java:423)
at groovyx.net.http.HTTPBuilder$1.handleResponse(HTTPBuilder.java:503)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1070)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1044)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:515)
at groovyx.net.http.AsyncHTTPBuilder.doRequestSuper(AsyncHTTPBuilder.java:146)
at groovyx.net.http.AsyncHTTPBuilder.access$000(AsyncHTTPBuilder.java:59)
at groovyx.net.http.AsyncHTTPBuilder$1.call(AsyncHTTPBuilder.java:131)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 3 more
I'm seeing this error when trying to grab the latest plugin 1.5.0 (we're using an internal Nexus repo that mirrors Sonatype, Maven Central, etc).
> Could not resolve all dependencies for configuration 'classpath'.
> Artifact 'com.ofg:uptodate-gradle-plugin:1.5.0:uptodate-gradle-plugin.jar' not found.
In a base case for given group (e.g. com.ofg) to prevent releasing the new version with outdated dependencies.
It should be possible to override the fail with specific Gradle/system property.
Can't succeed "uptodate" task with error:
:uptodate FAILED
FAILURE: Build failed with an exception.
org/gradle/mvn3/org/apache/maven/artifact/versioning/ArtifactVersion
https://github.com/4finance/micro-common-release
Just like micro-infra-spring.
As with #17 the Groovy version was upgraded to 2.3.x.
should list all dependencies, that have newer versions
test fails with the following error:
Too few invocations for:
1 * loggerProxy.warn(_, "New versions available:\n" +
"'junit:junit:4.11'\n" +
"'org.hibernate:hibernate-core:4.3.6.Final'") (0 invocations)
Unmatched invocations (ordered by similarity):
1 * loggerProxy.warn(Logger[com.ofg.uptodate.finder.NewVersionFinderInAllRepositories], 'New versions available:\n\'org.hibernate:hibernate-core:4.3.6.Final\'\n\'junit:junit:4.11\'')
1 * loggerProxy.debug(Logger[com.ofg.uptodate.finder.NewerDependencyProvider], 'Dependencies to get only newer: [\'org.hibernate:hibernate-core:4.2.9.Final\', \'org.hibernate:hibernate-core:4.3.6.Final\']')
2 * loggerProxy.debug(Logger[com.ofg.uptodate.finder.NewerDependencyProvider], 'Fetched dependency has greater version than the current one [false]')
1 * loggerProxy.debug(Logger[com.ofg.uptodate.finder.NewerDependencyProvider], 'Dependencies to get only newer: [\'junit:junit:4.10\', \'junit:junit:3.7\']')
1 * loggerProxy.debug(Logger[com.ofg.uptodate.finder.NewVersionFinderInAllRepositories], 'Unique newest versions found [\'org.hibernate:hibernate-core:4.3.6.Final\', \'junit:junit:4.11\']')
1 * loggerProxy.debug(Logger[com.ofg.uptodate.finder.NewVersionFinder], 'Newer dependencies found in http://localhost:12306/maven/: [\'junit:junit:4.11\']')
1 * loggerProxy.debug(Logger[com.ofg.uptodate.finder.NewerDependencyProvider], 'Dependencies to get only newer: [\'org.hibernate:hibernate-core:4.2.9.Final\', \'org.hibernate:hibernate-core:2.0.0.Final\']')
1 * loggerProxy.debug(Logger[com.ofg.uptodate.finder.NewVersionFinder], 'Newer dependencies found in http://localhost:12306/jcenter/: [\'org.hibernate:hibernate-core:4.3.6.Final\']')
1 * loggerProxy.debug(Logger[com.ofg.uptodate.finder.NewerDependencyProvider], 'Dependencies to get only newer: [\'junit:junit:4.10\', \'junit:junit:4.11\']')
2 * loggerProxy.debug(Logger[com.ofg.uptodate.finder.NewerDependencyProvider], 'Fetched dependency has greater version than the current one [true]')
Currently new plugin versions are not shown/checked.
By the way of #17 it turned out that there is large code duplication in tests between JCenterNewVersionFinderSpec
and MavenNewVersionFinderSpec
. It could be possibly removed.
By the way @Mixin
used in those files is deprecated since Groovy 2.3 and it could be rewritten to @Trait
.
Related to: #56
A try to use with a jcenter configured ends with:
Cannot find parser for content-type: application/unknown -- using default parser.
:micro-infra-camel:uptodate FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':micro-infra-camel:uptodate'.
> groovy.lang.MissingPropertyException: No such property: versioning for class: org.apache.http.conn.EofSensorInputStream
Using gradle 2.7, android studio 1.5 and uptodate 1.6.0 (also tried 1.5.2 with the same error)
com/ofg/uptodate/dependency/maven/ArtifactVersion : Unsupported major.minor version 52.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.