This project is just a parent POM for all other Java projects in "jcabi family".
See www.jcabi.com website for more details.
Wrapper of Sonatype Aether
Home Page: http://aether.jcabi.com/
License: Other
This project is just a parent POM for all other Java projects in "jcabi family".
See www.jcabi.com website for more details.
I found this code at http://stackoverflow.com/questions/11799923/programmatically-resolving-maven-dependencies-outside-of-a-plugin-get-reposito
This sample code works for some projects but not other.
I tried using a more recent version but this did not help:
<dependency>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-aether</artifactId>
<version>0.10.1 </version><!--0.7.19 -->
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>3.0.3</version>
</dependency>
Looks like there is a logic error with regard to security/authentication:
Exception in thread "main" org.sonatype.aether.resolution.DependencyResolutionException: failed to load 'org.dbunit:dbunit:jar:2.5.0 (runtime)' from ["maven-central (http://repo1.maven.org/maven2/, releases+snapshots) without authentication"] into C:\Users\siegfried\.m2\repository
at com.jcabi.aether.Aether.fetch(Aether.java:188)
at com.jcabi.aether.Aether.resolve_aroundBody2(Aether.java:153)
at com.jcabi.aether.Aether$AjcClosure3.run(Aether.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:191)
at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:125)
at com.jcabi.aether.Aether.resolve(Aether.java:150)
at com.jcabi.aether.Aether.resolve_aroundBody0(Aether.java:136)
at com.jcabi.aether.Aether$AjcClosure1.run(Aether.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:191)
at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:125)
at com.jcabi.aether.Aether.resolve(Aether.java:129)
at com.test.mavenaether.MavenAether.getClasspathFromMavenProject(MavenAether.java:81)
at com.test.mavenaether.MavenAether.main(MavenAether.java:54)
Caused by: java.lang.IllegalArgumentException: failed to load 'org.dbunit:dbunit:jar:2.5.0 (runtime)' from ["maven-central (http://repo1.maven.org/maven2/, releases+snapshots) without authentication"] into C:\Users\siegfried\.m2\repository
... 17 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Could not find artifact com.oracle:ojdbc14:jar:10.2.0.4.0 in maven-central (http://repo1.maven.org/maven2/)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
at com.jcabi.aether.Aether.fetch(Aether.java:179)
... 16 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact com.oracle:ojdbc14:jar:10.2.0.4.0 in maven-central (http://repo1.maven.org/maven2/)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
... 17 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact com.oracle:ojdbc14:jar:10.2.0.4.0 in maven-central (http://repo1.maven.org/maven2/)
at org.sonatype.aether.connector.async.AsyncRepositoryConnector$3.wrap(AsyncRepositoryConnector.java:1542)
at org.sonatype.aether.connector.async.AsyncRepositoryConnector$3.wrap(AsyncRepositoryConnector.java:1537)
at org.sonatype.aether.connector.async.AsyncRepositoryConnector$GetTask.flush(AsyncRepositoryConnector.java:1035)
at org.sonatype.aether.connector.async.AsyncRepositoryConnector.get(AsyncRepositoryConnector.java:409)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:457)
... 19 more
Compilation exited abnormally with code 1 at Tue Sep 01 10:44:09
Currently the build for master branch (https://travis-ci.org/jcabi/jcabi-aether/builds/105378291) is failing on the following tests:
Tests in error:
AetherTest.rejectsNullArtifact » Unexpected exception, expected<javax.validat...
AetherTest.rejectsNullRepoPath » Unexpected exception, expected<javax.validat...
AetherTest.rejectsNullMavenProject » Unexpected exception, expected<javax.val...
AetherTest.rejectsNullScope » Unexpected exception, expected<javax.validation...
Detailed execution logs:
Tests run: 8, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 16.311 sec <<< FAILURE! - in com.jcabi.aether.AetherTest
rejectsNullArtifact(com.jcabi.aether.AetherTest) Time elapsed: 0.744 sec <<< ERROR!
java.lang.Exception: Unexpected exception, expected<javax.validation.ConstraintViolationException> but was<java.lang.IllegalArgumentException>
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.IllegalArgumentException: no artifact specified for dependency
at org.sonatype.aether.graph.Dependency.<init>(Dependency.java:79)
at org.sonatype.aether.graph.Dependency.<init>(Dependency.java:71)
at org.sonatype.aether.graph.Dependency.<init>(Dependency.java:58)
at org.sonatype.aether.graph.Dependency.<init>(Dependency.java:46)
at com.jcabi.aether.Aether.resolve_aroundBody2(Aether.java:176)
at com.jcabi.aether.Aether$AjcClosure3.run(Aether.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:212)
at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:136)
at com.jcabi.aether.Aether.resolve(Aether.java:176)
at com.jcabi.aether.Aether.resolve_aroundBody0(Aether.java:162)
at com.jcabi.aether.Aether$AjcClosure1.run(Aether.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:212)
at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:136)
at com.jcabi.aether.Aether.resolve(Aether.java:155)
at com.jcabi.aether.AetherTest.rejectsNullArtifact(AetherTest.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)
... 13 more
rejectsNullRepoPath(com.jcabi.aether.AetherTest) Time elapsed: 0.639 sec <<< ERROR!
java.lang.Exception: Unexpected exception, expected<javax.validation.ConstraintViolationException> but was<java.lang.NullPointerException>
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.NullPointerException
at com.jcabi.aether.Aether.<init>(Aether.java:143)
at com.jcabi.aether.AetherTest.rejectsNullRepoPath(AetherTest.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)
... 13 more
rejectsNullMavenProject(com.jcabi.aether.AetherTest) Time elapsed: 0.392 sec <<< ERROR!
java.lang.Exception: Unexpected exception, expected<javax.validation.ConstraintViolationException> but was<java.lang.NullPointerException>
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.NullPointerException
at com.jcabi.aether.Aether.<init>(Aether.java:125)
at com.jcabi.aether.AetherTest.rejectsNullMavenProject(AetherTest.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)
... 13 more
rejectsNullScope(com.jcabi.aether.AetherTest) Time elapsed: 0.661 sec <<< ERROR!
java.lang.Exception: Unexpected exception, expected<javax.validation.ConstraintViolationException> but was<java.lang.NullPointerException>
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.lang.NullPointerException
at org.sonatype.aether.util.filter.DependencyFilterUtils.classpathFilter(DependencyFilterUtils.java:148)
at org.sonatype.aether.util.filter.DependencyFilterUtils.classpathFilter(DependencyFilterUtils.java:129)
at com.jcabi.aether.Aether.resolve_aroundBody0(Aether.java:155)
at com.jcabi.aether.Aether$AjcClosure1.run(Aether.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:212)
at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:136)
at com.jcabi.aether.Aether.resolve(Aether.java:155)
at com.jcabi.aether.AetherTest.rejectsNullScope(AetherTest.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)
... 13 more
Moreover, I see the following exception logged during build execution:
Running com.jcabi.aether.MavenRootArtifactTest
[DEBUG] pool-1-thread-14 com.jcabi.aether.MavenRootArtifact: #children(): [] cached in 2ms, valid forever
[ERROR] pool-1-thread-10 com.jcabi.aspects.aj.MethodValidator: JSR-303 validator thrown during initialization: java.lang.UnsupportedClassVersionError: javax/el/ExpressionFactory : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.<init>(ResourceBundleMessageInterpolator.java:169)
at org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator.<init>(ResourceBundleMessageInterpolator.java:118)
at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:110)
at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:86)
at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:41)
at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276)
at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:110)
at com.jcabi.aspects.aj.MethodValidator.build(MethodValidator.java:323)
at com.jcabi.aspects.aj.MethodValidator.<init>(MethodValidator.java:81)
at com.jcabi.aspects.aj.MethodValidator.ajc$postClinit(MethodValidator.java:1)
at com.jcabi.aspects.aj.MethodValidator.<clinit>(MethodValidator.java:1)
at com.jcabi.aether.MavenRootArtifact.<init>(MavenRootArtifact.java:77)
at com.jcabi.aether.MavenRootArtifactTest.resolvesMavenRootArtifact(MavenRootArtifactTest.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
I expect those 4 tests to and root cause of UnsupportedClassVersionError
to be fixed.
If a dependency tree contains artefacts duplicated in various versions, Maven uses only one. Jcabi-aether returns all of them instead.
It seem that the root of this problem is in the Classpath class:
This code:
final Artifact newer = Classpath.newer(child, found);
if (newer.equals(child)) {
artifacts.remove(found);
artifacts.add(newer);
}
contains a condition that is true only when the newer object is a current child. But what if the opossite holds? The current (older) child is added to the "artefacts" list, which already contains the newer artefact. The result is that I have two artefacts differing only in their versions in the list.
I am not sure if the supposed algorithm is correct either. Does Maven really selects a newer version?
Puzzle 143-298f5335
in src/main/java/com/jcabi/aether/Aether.java:86-88
has to be resolved: This class should be @immutable, but RemoteRepository is not immutable. Let's create a new class to encapsulate all necessary properties from RemoteRepository.
I'm a bit new to Maven programming, but found this to a be a great tool to quickly get a list of transitive dependencies from a POM. Thanks! I'm using jcabi-aether completely outside a maven infrastructure (similar to the example here: http://aether.jcabi.com/)
I just tried it while my laptop was unplugged, though, and got the following stacktrace. Any chance jcabi-aether can be made to work in an offline mode?
org.sonatype.aether.resolution.DependencyResolutionException: failed to load 'org.springframework:spring-aop:jar:3.2.8.RELEASE (runtime)' from [] into /Users/pitango/.m2/repo
at sun.nio.ch.Net.checkAddress(Net.java:127)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:640)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:140)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:103)
at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:60)
at org.jboss.netty.handler.codec.http.HttpClientCodec.handleDownstream(HttpClientCodec.java:82)
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleDownstream(ChunkedWriteHandler.java:115)
at org.jboss.netty.channel.Channels.connect(Channels.java:541)
at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:210)
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:227)
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:188)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.doConnect(NettyAsyncHttpProvider.java:902)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.execute(NettyAsyncHttpProvider.java:776)
at com.ning.http.client.AsyncHttpClient.executeRequest(AsyncHttpClient.java:484)
at org.sonatype.aether.connector.async.AsyncRepositoryConnector$GetTask.run(AsyncRepositoryConnector.java:891)
at org.sonatype.aether.connector.async.AsyncRepositoryConnector.get(AsyncRepositoryConnector.java:402)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:457)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:333)
at com.jcabi.aether.Aether.fetch(Aether.java:228)
at com.jcabi.aether.Aether.resolve_aroundBody2(Aether.java:180)
at com.jcabi.aether.Aether$AjcClosure3.run(Aether.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:208)
at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:136)
at com.jcabi.aether.Aether.resolve(Aether.java:177)
at com.jcabi.aether.Aether.resolve_aroundBody0(Aether.java:163)
at com.jcabi.aether.Aether$AjcClosure1.run(Aether.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:208)
at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:136)
at com.jcabi.aether.Aether.resolve(Aether.java:156)
public String constants in com.jcabi.aether.MavenClasspath
already exist and are defined in the interface org.apache.maven.artifact.Artifact
https://maven.apache.org/ref/3-LATEST/maven-artifact/apidocs/index.html?overview-summary.html
Let's use those defined in the interface class and delete those in our implementation so as to avoid
duplication.
Here's the build log:
[INFO] --- qulice-maven-plugin:0.8.2:check (jcabi-check) @ jcabi-aether ---
[INFO] LICENSE found: file:/home/sg0891848/dev/tpc2/jcabi/jcabi-aether/LICENSE.txt
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[ERROR] /src/aws-it/aether-test/plugin/target/plugin-1.0.jar[33]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[4]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[8]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[10]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[14]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[16]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[19]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[30]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[42]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[45]: Line has trailing spaces. (RegexpSinglelineCheck)
[ERROR] /src/aws-it/aether-test/log.txt[48]: Line has trailing spaces. (RegexpSinglelineCheck)
[INFO] Read our quality policy: http://www.qulice.com/quality.html
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:47 min
[INFO] Finished at: 2014-08-23T16:27:24+01:00
[INFO] Final Memory: 42M/406M
[INFO] ------------------------------------------------------------------------
Puzzle 18-d2cf5a94
in pom.xml:267-267
has to be resolved: This test fails with Maven 3.2.x -->
If you have any technical questions, don't ask me, submit new tickets instead
Puzzle 13-c0692295
in pom.xml:69-69
has to be resolved: There is a problem with version 5.1.0.Beta1
There is no estimate in the project yet. We have to create one as explained here
http://aether.jcabi.com/ has a link "More examples you can find in AetherTest."
The link is broken (https://github.com/yegor256/jcabi/blob/master/jcabi-aether/src/test/java/com/jcabi/aether/AetherTest.java)
The correct URL is probably: https://github.com/jcabi/jcabi-aether/tree/master/src/test/java/com/jcabi/aether/AetherTest.java
Hi, I do not think it is a bug, but I do not seem to get Authentication added to the RemoteRepository. jcabi Aether writes out '... from ["nexus (http://myserver/nexus/content/groups/public, releases+snapshots) without authentication"] into ...'
my code:
public static void main(String[] args)
throws DependencyResolutionException, IOException {
File local = new File("c:/temp/local-repository");
RemoteRepository nexus = new RemoteRepository("nexus", "default", "http://myserver/nexus/");
Authentication auth = new Authentication("myuser", "mypassword");
nexus.setAuthentication(auth);
Collection<RemoteRepository> remotes = Arrays.asList(nexus);
Collection<Artifact> deps = new Aether(remotes, local).resolve(
new DefaultArtifact("junit", "junit-dep", "", "pom", "4.10"),
"runtime");
for (Artifact art : deps) {
File theFile = art.getFile();
String theContent = FileUtils.readFileToString(theFile);
System.out.println(theContent);
}
}
How do I correctly set authentication to the remoteRepository? For some reason Aether cannot find it, hence it writes out 'without authentication'..
See line 292 in http://aether.jcabi.com/xref/com/jcabi/aether/Aether.html
The Repository class should be @immutable, but have a collection of Repository that are not immutable. Change this class to @immutable and then change Aether class to @immutable too
Please, publish a new release 0.11 (or higher). Don't forget to update us here regularly (at least once a week), as explained in this article.
Puzzle 4-e727794d
in src/main/java/com/jcabi/aether/MavenRootArtifact.java:110-115
has to be resolved: Retrieve list of children of given artifact from repository that will not depend on sonatype aether or eclipse aether. Test ClasspathTest.hasToStringWithBrokenDependency and RootArtifactTest.gracefullyResolvesBrokenRootArtifact and RootArtifactTest.resolvesRootArtifact should pass when the method is updated to work in new eclipse aether.
Puzzle 20-271b1ced
in src/main/java/com/jcabi/aether/Aether.java:87-89
has to be resolved: This class should be @immutable, but Proxy and Authentication parameters of Repository are not immutable. Let's create a new classes to encapsulate all necessary properties from them.
If you have any technical questions, don't ask me, submit new tickets instead
The latest (as of now) version of Maven is 3.3.3. To use the features of that version required maven-core-3.3.3, which depends on maven-aether-provider-3.3.3 which depends directly on org.eclipse.aether:aether-api:1.0.2.v20150114.
During development of a Maven plugin for 3.3.3, I have been unable to adjust dependencies (within my relatively set boundaries around maven 3.3.3) to make jcabi-aether
use eclipse dependencies. #4 indicates that this was solved, but I don't seem to be able to locate documentation that describes how to utilize it. Per the latest blob this appears to still be locked to sonatype's aether implementation, which seems to produce a load-time conflict with the later versions of eclipse's aether.
Currently jcabi-aether uses only Sonatype Aether, as such it can't be used in projects that need Eclpise Aether.
Review our existing source code and all other technical artifacts and report at least 8 bugs. More about such reviews you can read here. The task will be closed once we have that bugs reported and classified. Don't forget to add itr
tag to each of them.
I experience the same problem as described at http://stackoverflow.com/questions/24925239/jcabi-aether-basic-example-doesnt-work
I use Java 1.7.
The errors mentioned in Eclipse:
Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for org.apache.maven.project.MavenProject. Fix the build path then try building this project solution-inspector Unknown Java Problem
The type org.apache.maven.project.MavenProject cannot be resolved. It is indirectly referenced from required .class files MavenPomFinder.java /myproject/src/main/java/mypackage line 1 Java Problem
The remark was to create an issue, and afaiks no issue has been made, hence I created this issue.
Best regards,
Herbert
Could observe the following failures in the travis build 114.2
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[36,21] package java.nio.file does not exist
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[37,21] package java.nio.file does not exist
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[38,21] package java.nio.file does not exist
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[36,21] package java.nio.file does not exist
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[37,21] package java.nio.file does not exist
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[38,21] package java.nio.file does not exist
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[36,21] package java.nio.file does not exist
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[37,21] package java.nio.file does not exist
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[38,21] package java.nio.file does not exist
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[416,15] cannot find symbol
symbol : class Path
location: class com.jcabi.aether.Aether
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[416,27] cannot find symbol
symbol : variable Paths
location: class com.jcabi.aether.Aether
[ERROR] /home/travis/build/jcabi/jcabi-aether/src/main/java/com/jcabi/aether/Aether.java:[419,13] cannot find symbol
symbol : variable Files
location: class com.jcabi.aether.Aether
[INFO] 12 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.010 s
[INFO] Finished at: 2015-10-09T20:16:55+00:00
[INFO] Final Memory: 22M/465M
Puzzle 11-2b91e5db
in src/main/java/com/jcabi/aether/Aether.java:94-97
has to be resolved: Create an integration test for reading proxy information from maven settings.xml file that will mock an HTTP server using jcabi-http, provide a maven configuration file with proxy settings and verify the expected HTTP requests have been sent to the mocked server.... The puzzle was created by Adam Siemion on 8-Mar-2015.
If you have any technical questions, don't ask me, submit new tickets instead
Build log:
[INFO] --- qulice-maven-plugin:0.8.2:check (jcabi-check) @ jcabi-aether ---
[INFO] LICENSE found: file:/home/sg0891848/dev/tpc2/jcabi/jcabi-aether/LICENSE.txt
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[INFO] No Checkstyle violations found in 44 files
[INFO] No PMD violations found in 21 files
[INFO] /src/aws-it/aether-test/pom.xml: to be validated
[ERROR] JSR-303 validator failed to initialize: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath. (see http://www.jcabi.com/jcabi-aspects/jsr-303.html)
[INFO] jcabi-aspects 0.15/1409f87 started new daemon thread jcabi-loggable for watching of @Loggable annotated methods
[INFO] /src/aws-it/aether-test/plugin/target/classes/META-INF/maven/com.jcabi.aether-test/plugin/plugin-help.xml: to be validated
[INFO] Read our quality policy: http://www.qulice.com/quality.html
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:00 min
[INFO] Finished at: 2014-08-23T17:21:18+01:00
[INFO] Final Memory: 45M/418M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.8.2:check (jcabi-check) on project jcabi-aether: Failure: XML validation exception: missing schema in /src/aws-it/aether-test/plugin/target/classes/META-INF/maven/com.jcabi.aether-test/plugin/plugin-help.xml -> [Help 1]
Puzzle 51-1760f3f9
in src/main/java/com/jcabi/aether/Aether.java:211-213
has to be resolved: This catch of NPE is a temporary measure. I don't know why Aether throws NPE in case of non-resolvable artifact. This is the best I can do at the moment in order to protect clients of the class.
In order to have the scope test added to the dependencies, the scope must be uppercase in de pom. An equalsIgnoreCase will solve this issue. This works
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>TEST</scope>
</dependency>
</dependencies>
Collection<Artifact> deps = new Aether(this.getProject(), repo).resolve( new DefaultArtifact(groupId, artifactId, "", "jar", version), JavaScopes.TEST);
but this not:
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
Collection<Artifact> deps = new Aether(this.getProject(), repo).resolve( new DefaultArtifact(groupId, artifactId, "", "jar", version), JavaScopes.TEST);
Hey,
I'm currently writing a small application to mirror dependencies from maven central into a local repository that will be pushed to another server and be used offline for more "official" builds. One thing I've noticed is that some dependencies will have a pom file that references another pom, called the parent. Aether will retrieve these files, but they aren't treated as true dependencies. Therefore, if I attempt to use the offline repository I've created with just the list of artifacts that Aether reports on the resolve, it will be incomplete.
Is there some functionality I'm missing with regard to these? It'd be great if these were treated as true dependencies. It's looking like I'm going to have to parse each of the retrieved pom files and read the xml to determine if there is a parent I should add as an additional dependency. I'm much more familiar with ant+ivy, so it's possible I'm missing something obvious.
Thanks,
Michael
Do "mvn clean install -Pqulice" for master branch (commit 620c734), get 272 checkstyle violations.
Need to fix it.
Log:
[INFO] --- qulice-maven-plugin:0.10:check (jcabi-check) @ jcabi-aether ---
[INFO] LICENSE found: file:C:/Users/alevohins/Documents/GitHub/jcabi-aether/LICENSE.txt
[ERROR] \src\aws-it\aether-test\client\pom.xml[101]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\invoker.properties[1]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\pom.xml[90]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\package-info.java[1]: Missing a header - not enough lines in file. (HeaderCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\package-info.java[29]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\package-info.java[36]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\RunMojo.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\RunMojo.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\RunMojo.java[44]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\RunMojo.java[55]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\RunMojo.java[63]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\RunMojo.java[70]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\RunMojo.java[76]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\RunMojo.java[106]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\plugin\src\main\java\com\jcabi\aether\plugin\RunMojo.java[108]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\aws-it\aether-test\pom.xml[60]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\changes\changes.xml[50]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\ant.xml[6]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\ant.xml[7]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\compiler.xml[36]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\compiler.xml[37]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\encodings.xml[4]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\encodings.xml[5]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\misc.xml[38]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\misc.xml[39]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\modules.xml[8]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\modules.xml[9]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\uiDesigner.xml[124]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\uiDesigner.xml[125]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\vcs.xml[7]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\vcs.xml[8]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\workspace.xml[449]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\.idea\workspace.xml[450]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\basic-usage.iml[42]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\basic-usage.iml[43]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\invoker.properties[1]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\pom.xml[80]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\AetherTest.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\AetherTest.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\AetherTest.java[43]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\AetherTest.java[50]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\AetherTest.java[57]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\AetherTest.java[78]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\AetherTest.java[80]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\package-info.java[1]: Missing a header - not enough lines in file. (HeaderCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\package-info.java[29]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\java\com\jcabi\package-info.java[36]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\resources\log4j.properties[27]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\resources\log4j.properties[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\resources\log4j.properties[35]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\basic-usage\src\test\resources\log4j.properties[38]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\invoker.properties[2]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\pom.xml[85]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\AetherTest.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\AetherTest.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\AetherTest.java[43]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\AetherTest.java[50]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\AetherTest.java[57]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\AetherTest.java[78]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\AetherTest.java[80]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\package-info.java[1]: Missing a header - not enough lines in file. (HeaderCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\package-info.java[29]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\java\com\jcabi\package-info.java[36]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\resources\log4j.properties[27]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\resources\log4j.properties[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\resources\log4j.properties[35]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\src\test\resources\log4j.properties[38]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\verify.groovy[29]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\mirror-usage\verify.groovy[34]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\it\settings.xml[71]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[72]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[100]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[106]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[111]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[117]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[127]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[145]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[164]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[187]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[208]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[253]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[276]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[299]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[314]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[339]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[376]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[405]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[406]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\AmazonWagonProvider.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\AmazonWagonProvider.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\AmazonWagonProvider.java[38]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\AmazonWagonProvider.java[50]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\AmazonWagonProvider.java[63]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\AmazonWagonProvider.java[72]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\AmazonWagonProvider.java[74]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[55]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[87]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[92]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[97]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[102]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[113]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[127]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[135]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[147]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[159]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[176]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[202]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[235]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[257]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[277]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[296]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[316]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[338]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Classpath.java[339]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\LogTransferListener.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\LogTransferListener.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\LogTransferListener.java[37]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\LogTransferListener.java[49]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\LogTransferListener.java[58]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\LogTransferListener.java[67]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\LogTransferListener.java[76]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\LogTransferListener.java[78]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[55]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[70]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[75]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[80]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[85]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[90]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[95]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[100]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[105]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[110]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[122]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[137]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[149]: Variable 'artifact' should be declared final. (FinalLocalVariableCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[163]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[171]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[179]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[197]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[216]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[238]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[272]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[309]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[338]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenClasspath.java[339]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[39]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[49]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[55]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[61]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[67]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[81]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[105]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[113]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[123]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[140]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\MavenRootArtifact.java[149]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\package-info.java[1]: Missing a header - not enough lines in file. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\package-info.java[29]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\package-info.java[47]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[38]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[49]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[54]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[59]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[64]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[69]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[74]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[79]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[84]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[89]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[110]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Repository.java[134]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RepositorySystemBuilder.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\RepositorySystemBuilder.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RepositorySystemBuilder.java[51]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RepositorySystemBuilder.java[63]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RepositorySystemBuilder.java[114]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RepositorySystemBuilder.java[116]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[43]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[53]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[59]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[65]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[71]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[85]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[113]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[121]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[134]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[151]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\RootArtifact.java[163]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\example-classpath.apt.vm[7]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\example-classpath.apt.vm[37]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\example-classpath.apt.vm[39]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\example-classpath.apt.vm[44]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\example-classpath.apt.vm[47]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\example-classpath.apt.vm[70]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\example-classpath.apt.vm[76]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[7]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[37]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[39]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[47]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[49]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[58]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[79]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[81]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[90]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[108]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[111]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[114]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[119]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[127]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[129]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[132]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\index.apt.vm[148]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\site.xml[65]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[60]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[69]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[74]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[79]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[86]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[124]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[166]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[176]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[185]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[195]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[205]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[217]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[264]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[314]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\AetherTest.java[316]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[44]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[52]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[57]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[64]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[94]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[126]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[152]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[174]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[195]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[212]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[234]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\ClasspathTest.java[236]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[47]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[55]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[62]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[95]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[124]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[150]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[160]: Method call to 'builder' needs "this.". (RequireThisCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[161]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[185]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[199]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenClasspathTest.java[201]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenRootArtifactTest.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenRootArtifactTest.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenRootArtifactTest.java[42]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenRootArtifactTest.java[49]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenRootArtifactTest.java[56]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenRootArtifactTest.java[85]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\MavenRootArtifactTest.java[108]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\package-info.java[1]: Missing a header - not enough lines in file. (HeaderCheck)
[ERROR] \src\test\java\com\jcabi\aether\package-info.java[29]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\package-info.java[38]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[46]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[53]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[60]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[86]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[105]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[124]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[126]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\invoker.settings.xml[47]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\log4j.properties[27]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\log4j.properties[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\log4j.properties[35]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\log4j.properties[43]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[INFO] Read our quality policy: http://www.qulice.com/quality.html
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:33 min
[INFO] Finished at: 2015-01-01T10:38:09+04:00
[INFO] Final Memory: 29M/74M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.10:check (jcabi-check) on project jcabi-aether: Failure: 293 Checkstyle violations (see log above) -> [Help 1]
Moved from jcabi/jcabi#223
Classpath
doesn't understand version priorities, which means that if there are two identical artifacts with different versions we will get just the latest in the list, not the one with the highest version number. This is a bug.
The "Aeather" link on
links to https://docs.sonatype.org/display/AETHER/Home which no longer exists (404).
Moved from jcabi/jcabi#254
Let's add support of Maven mirrors: http://maven.apache.org/guides/mini/guide-mirror-settings.html
let's use com.jcabi:jcabi:1.4
as a parent pom
Moved from jcabi/jcabi#255
Optional dependencies should be ignored if not found, as said here: http://maven.apache.org/pom.html#Dependencies
In the license.txt file the Copyright year should be 2016
let's use it
Latest version 0.9 of jcabi-aether still do not support Eclipse Aether.
Puzzle 3-d3538f0a
in src/it/mirror-usage/verify.groovy:33-35
has to be resolved: Maven Invoker Plugin doesn't provide an easy way to get maven settings used in a project, when it does we can refactor Aether and enable this test.
Puzzle 28-40ea2a55
in src/test/java/com/jcabi/aether/MavenClasspathTest.java:101-101
has to be resolved: Add handling of broken dependencies in toString.
If you have any technical questions, don't ask me, submit new tickets instead
Aether should read proxy information from maven settings.xml file.
Puzzle 250-9862dcd5
in src/test/java/com/jcabi/aether/AetherTest.java:171-173
has to be resolved: This test doesn't work for some strange reason. I suspect that the problem is with the existence of two constructors in Aether class - aspectj fails to weave them both.
Puzzle 51-d858c329
in src/main/java/com/jcabi/aether/Aether.java:142-147
has to be resolved: This "filter IF NOT NULL" validation is a workaround, since I don't know what the actual problem is. Looks like sometimes (for some unknown reason) #classpathFilter() returns NULL. When exactly this may happen I have no idea. That's why this workaround. Sometime later we should do a proper testing and reproduce this defect in a test.
mvn qulice:check -Pqulice
Line does not match expected header line of ' * BSD License'. (HeaderCheck)
messages.This is a known bug of qulice configuration in parent-0.31 (jcabi/jcabi-parent#19), accessed via jcabi-0.16. Suggested action is waiting until jcabi/jcabi#297 fix is released and upgrading jcabi version.
Copyright sections still feature 2014 as a year.
Due to https://issues.apache.org/jira/browse/MNG-5354 all the maven plugins should use org.eclipse.aether
instead of org.sonatype.aether
starting from 3.1.1. Your resolve
method still receives the "old" Artifact argument (from sonatype). I'd say it's better to move to eclipse one or, if you want to support all maven versions, to some independent object,
If someone needs to use a custom settings.xml there is no documentation available on how to do it. According to the code in https://github.com/jcabi/jcabi-aether/blob/master/src/main/java/com/jcabi/aether/Aether.java
Method settings() suggest several ways. This is important as some operating systems have different locations to store user's settings.xml. Further to write integration tests a developer may need to use custom settings.xml
eg: System.getProperty("org.apache.maven.user-settings") is one such property we can override.
The test comparesToAnotherClasspath in MavenClasspathTest class and the test comparesToAnotherClasspath in ClasspathTest class have a MatcherAssert using the method canEqual of the MavenClasspath class, but this method not exist.
Let's upgrade to the latest version of jcabi:parent
mvn clean install -Pqulice
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[74]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[104]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[110]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[115]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[125]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[143]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[162]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[187]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[208]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[235]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[281]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[304]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[327]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[343]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[368]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[405]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\Aether.java[434]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\java\com\jcabi\aether\AmazonWagonProvider.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\test\java\com\jcabi\aether\package-info.java[1]: Missing a header - not enough lines in file. (HeaderCheck)
[ERROR] \src\test\java\com\jcabi\aether\package-info.java[29]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\package-info.java[38]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[46]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[53]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[60]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[86]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[105]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[124]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\java\com\jcabi\aether\RootArtifactTest.java[126]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\invoker.settings.xml[47]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\log4j.properties[27]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\log4j.properties[30]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\log4j.properties[35]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\test\resources\log4j.properties[43]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[INFO] Read our quality policy: http://www.qulice.com/quality.html
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Somehow a strange error message. But when I put
<dependency>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-aether</artifactId>
<version>0.8</version>
</dependency>
on my classpath I am getting a strange error message:
Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (default-descriptor) on project app-maven-plugin: Error extracting plugin descriptor: 'invalid entry size (expected 2595 but got 1125 bytes)'.
My maven is:
Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 04:15:32+0200)
Maven home: /Users/user/applications/apache-maven-3.1.0
Java version: 1.7.0_13, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac"
Any help appreciated :)
Thanks!
Raphael
More logs:
Some raw debug messages:
[DEBUG] found MojoAnnotatedClass:com.amazonaws.auth.AWS4Signer:MojoAnnotatedClass{className='com.amazonaws.auth.AWS4Signer', parentClassName='com.amazonaws.auth.AbstractAWSSigner', mojo=null, execute=null, parameters=null, components=null}
[DEBUG] MojoClassVisitor#visit
[DEBUG] found MojoAnnotatedClass:com.amazonaws.auth.AWSCredentials:MojoAnnotatedClass{className='com.amazonaws.auth.AWSCredentials', parentClassName='java.lang.Object', mojo=null, execute=null, parameters=null, components=null}
[DEBUG] MojoClassVisitor#visit
[DEBUG] found MojoAnnotatedClass:com.amazonaws.auth.AWSCredentialsProvider:MojoAnnotatedClass{className='com.amazonaws.auth.AWSCredentialsProvider', parentClassName='java.lang.Object', mojo=null, execute=null, parameters=null, components=null}
and the stacktrace:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (default-descriptor) on project app-maven-plugin: Error extracting plugin descriptor: 'invalid entry size (expected 2595 but got 1125 bytes)' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (default-descriptor) on project app-maven-plugin: Error extracting plugin descriptor: 'invalid entry size (expected 2595 but got 1125 bytes)'
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error extracting plugin descriptor: 'invalid entry size (expected 2595 but got 1125 bytes)'
at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:250)
at org.apache.maven.plugin.plugin.DescriptorGeneratorMojo.execute(DescriptorGeneratorMojo.java:92)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: org.apache.maven.tools.plugin.extractor.ExtractionException: invalid entry size (expected 2595 but got 1125 bytes)
at org.apache.maven.tools.plugin.annotations.scanner.DefaultMojoAnnotationsScanner.scan(DefaultMojoAnnotationsScanner.java:105)
at org.apache.maven.tools.plugin.annotations.JavaAnnotationsMojoDescriptorExtractor.scanAnnotations(JavaAnnotationsMojoDescriptorExtractor.java:125)
at org.apache.maven.tools.plugin.annotations.JavaAnnotationsMojoDescriptorExtractor.execute(JavaAnnotationsMojoDescriptorExtractor.java:104)
at org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:108)
at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:233)
... 22 more
Caused by: java.util.zip.ZipException: invalid entry size (expected 2595 but got 1125 bytes)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:403)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:195)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.apache.maven.tools.plugin.annotations.scanner.DefaultMojoAnnotationsScanner.scanFile(DefaultMojoAnnotationsScanner.java:138)
at org.apache.maven.tools.plugin.annotations.scanner.DefaultMojoAnnotationsScanner.scan(DefaultMojoAnnotationsScanner.java:85)
... 26 more
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.