IMO it's more likely to be an Apache RAT bug actually.  The generation of
the RAT report causes fairly random dependency errors for libraries which
are actually present...
In reality there is absolutely no reason why RAT should resolve
dependencies in the first place.

On Fri, Jun 18, 2021 at 6:49 PM Ricardo Gouvea <[email protected]>
wrote:

> Hans,
>
> Thank you for your help.
> I installed Maven version 3.6.3 and using the command mvn
> org.apache.rat:apache-rat-plugin:check -debug I managed to continue the
> whole process, but I would like to know what is the difference between this
> command mvn org.apache.rat :apache-rat-plugin:check -debug and this
> command mvn apache-rat:rat -debug. Is there any difference in the final
> result of the process?
>
> My env is:
> macOS High Sierra 10.13.6
> Maven 3.6.3
> Java 1.8.0_292 (AdoptOpenJDK)
>
> [X] +1 Release this package as Apache Hop (incubating) 0.99
>
> Cheers,
>
> Em sex., 18 de jun. de 2021 às 11:40, Hans Van Akelyen <
> [email protected]> escreveu:
>
> > Hi Ricardo,
> >
> > I have a feeling it has something to do with the more recent maven
> version.
> > I had the same issues. Following command did work:
> > mvn org.apache.rat:apache-rat-plugin:check -debug
> >
> > Cheers,
> > Hans
> >
> > On Fri, 18 Jun 2021 at 16:07, Ricardo Gouvea <[email protected]>
> > wrote:
> >
> > > Hi guys,
> > >
> > > Running the validation process I came across this error when running
> the
> > > command: mvn apache-rat:rat -debug
> > > [image: Screen Shot 2021-06-18 at 10.57.36.png]
> > >
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time:  02:27 min
> > > [INFO] Finished at: 2021-06-18T10:56:38-03:00
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] Failed to execute goal on project
> > > hop-assemblies-plugins-tech-parquet: Could not resolve dependencies for
> > > project org.apache.hop:hop-assemblies-plugins-tech-parquet:pom:0.99:
> > Could
> > > not find artifact org.apache.hop:hop-plugins-tech-parquet:jar:0.99 in
> > > central (https://repo1.maven.org/maven2/) -> [Help 1]
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> > > goal on project hop-assemblies-plugins-tech-parquet: Could not resolve
> > > dependencies for project
> > > org.apache.hop:hop-assemblies-plugins-tech-parquet:pom:0.99: Could not
> > find
> > > artifact org.apache.hop:hop-plugins-tech-parquet:jar:0.99 in central (
> > > https://repo1.maven.org/maven2/)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
> > > (LifecycleDependencyResolver.java:269)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
> > > (LifecycleDependencyResolver.java:147)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
> > > (MojoExecutor.java:248)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:202)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:156)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:148)
> > >     at
> > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > (LifecycleModuleBuilder.java:117)
> > >     at
> > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > (LifecycleModuleBuilder.java:81)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > > (SingleThreadedBuilder.java:56)
> > >     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > > (LifecycleStarter.java:128)
> > >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> > >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> > >     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> > >     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
> > >     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
> > >     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
> > >     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> > >     at sun.reflect.NativeMethodAccessorImpl.invoke
> > > (NativeMethodAccessorImpl.java:62)
> > >     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > (DelegatingMethodAccessorImpl.java:43)
> > >     at java.lang.reflect.Method.invoke (Method.java:498)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > > (Launcher.java:282)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > > (Launcher.java:225)
> > >     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > > (Launcher.java:406)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > > (Launcher.java:347)
> > > Caused by: org.apache.maven.project.DependencyResolutionException:
> Could
> > > not resolve dependencies for project
> > > org.apache.hop:hop-assemblies-plugins-tech-parquet:pom:0.99: Could not
> > find
> > > artifact org.apache.hop:hop-plugins-tech-parquet:jar:0.99 in central (
> > > https://repo1.maven.org/maven2/)
> > >     at
> > org.apache.maven.project.DefaultProjectDependenciesResolver.resolve
> > > (DefaultProjectDependenciesResolver.java:209)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
> > > (LifecycleDependencyResolver.java:243)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
> > > (LifecycleDependencyResolver.java:147)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
> > > (MojoExecutor.java:248)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:202)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:156)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:148)
> > >     at
> > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > (LifecycleModuleBuilder.java:117)
> > >     at
> > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > (LifecycleModuleBuilder.java:81)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > > (SingleThreadedBuilder.java:56)
> > >     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > > (LifecycleStarter.java:128)
> > >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> > >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> > >     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> > >     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
> > >     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
> > >     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
> > >     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> > >     at sun.reflect.NativeMethodAccessorImpl.invoke
> > > (NativeMethodAccessorImpl.java:62)
> > >     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > (DelegatingMethodAccessorImpl.java:43)
> > >     at java.lang.reflect.Method.invoke (Method.java:498)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > > (Launcher.java:282)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > > (Launcher.java:225)
> > >     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > > (Launcher.java:406)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > > (Launcher.java:347)
> > > Caused by: org.eclipse.aether.resolution.DependencyResolutionException:
> > > Could not find artifact
> org.apache.hop:hop-plugins-tech-parquet:jar:0.99
> > in
> > > central (https://repo1.maven.org/maven2/)
> > >     at
> > >
> >
> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies
> > > (DefaultRepositorySystem.java:357)
> > >     at
> > org.apache.maven.project.DefaultProjectDependenciesResolver.resolve
> > > (DefaultProjectDependenciesResolver.java:202)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
> > > (LifecycleDependencyResolver.java:243)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
> > > (LifecycleDependencyResolver.java:147)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
> > > (MojoExecutor.java:248)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:202)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:156)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:148)
> > >     at
> > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > (LifecycleModuleBuilder.java:117)
> > >     at
> > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > (LifecycleModuleBuilder.java:81)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > > (SingleThreadedBuilder.java:56)
> > >     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > > (LifecycleStarter.java:128)
> > >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> > >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> > >     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> > >     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
> > >     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
> > >     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
> > >     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> > >     at sun.reflect.NativeMethodAccessorImpl.invoke
> > > (NativeMethodAccessorImpl.java:62)
> > >     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > (DelegatingMethodAccessorImpl.java:43)
> > >     at java.lang.reflect.Method.invoke (Method.java:498)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > > (Launcher.java:282)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > > (Launcher.java:225)
> > >     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > > (Launcher.java:406)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > > (Launcher.java:347)
> > > Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
> > > Could not find artifact
> org.apache.hop:hop-plugins-tech-parquet:jar:0.99
> > in
> > > central (https://repo1.maven.org/maven2/)
> > >     at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve
> > > (DefaultArtifactResolver.java:424)
> > >     at
> > >
> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts
> > > (DefaultArtifactResolver.java:229)
> > >     at
> > >
> >
> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies
> > > (DefaultRepositorySystem.java:340)
> > >     at
> > org.apache.maven.project.DefaultProjectDependenciesResolver.resolve
> > > (DefaultProjectDependenciesResolver.java:202)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
> > > (LifecycleDependencyResolver.java:243)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
> > > (LifecycleDependencyResolver.java:147)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
> > > (MojoExecutor.java:248)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:202)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:156)
> > >     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:148)
> > >     at
> > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > (LifecycleModuleBuilder.java:117)
> > >     at
> > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > > (LifecycleModuleBuilder.java:81)
> > >     at
> > >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> > > (SingleThreadedBuilder.java:56)
> > >     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> > > (LifecycleStarter.java:128)
> > >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> > >     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> > >     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> > >     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
> > >     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
> > >     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
> > >     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> > >     at sun.reflect.NativeMethodAccessorImpl.invoke
> > > (NativeMethodAccessorImpl.java:62)
> > >     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > (DelegatingMethodAccessorImpl.java:43)
> > >     at java.lang.reflect.Method.invoke (Method.java:498)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> > > (Launcher.java:282)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > > (Launcher.java:225)
> > >     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > > (Launcher.java:406)
> > >     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > > (Launcher.java:347)
> > > Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could
> > > not find artifact org.apache.hop:hop-plugins-tech-parquet:jar:0.99 in
> > > central (https://repo1.maven.org/maven2/)
> > >     at
> > >
> >
> org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed
> > > (ArtifactTransportListener.java:48)
> > >     at
> > >
> >
> org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run
> > > (BasicRepositoryConnector.java:369)
> > >     at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run
> > > (RunnableErrorForwarder.java:75)
> > >     at java.util.concurrent.ThreadPoolExecutor.runWorker
> > > (ThreadPoolExecutor.java:1149)
> > >     at java.util.concurrent.ThreadPoolExecutor$Worker.run
> > > (ThreadPoolExecutor.java:624)
> > >     at java.lang.Thread.run (Thread.java:748)
> > > [ERROR]
> > > [ERROR]
> > > [ERROR] For more information about the errors and possible solutions,
> > > please read the following articles:
> > > [ERROR] [Help 1]
> > >
> >
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> > > [ERROR]
> > > [ERROR] After correcting the problems, you can resume the build with
> the
> > > command
> > > [ERROR]   mvn <args> -rf :hop-assemblies-plugins-tech-parquet
> > >
> > > My env is:
> > > macOS High Sierra 10.13.6
> > > Maven 3.8.1
> > > Java 1.8.0_292 (AdoptOpenJDK)
> > >
> > > -1 Do not release this package because this error
> > >
> > > Cheers,
> > >
> > > Em qua., 16 de jun. de 2021 às 06:48, Hans Van Akelyen <
> > > [email protected]> escreveu:
> > >
> > >> Hi All,
> > >>
> > >> This is the Third release candidate for version 0.99 changes made
> > between
> > >> the first candidate and this one:
> > >> - remove code that was copied over from external repository
> > >> - add header to hpl/hwf files
> > >> - add maven version to README
> > >> - include hpl/hwf to RAT checks
> > >> - change naming of source code artifacts
> > >>
> > >> Changes between second and third candidate:
> > >>  - fixed the signatures used to sign the artifacts
> > >>
> > >> Build instructions can be found in the README included.
> > >>
> > >> The tag to be voted on is 0.99-rc3 (commit 0f3e4fd):
> > >> https://github.com/apache/incubator-hop/tree/0.99-rc3
> > >>
> > >> The release files, including signatures, digests, etc. can be found
> at:
> > >>
> > >>
> >
> https://dist.apache.org/repos/dist/dev/incubator/hop/apache-hop-0.99-incubating-rc3/
> > >>
> > >> The SHA512 Checksum for these artifacts is:
> > >> code:
> > >>
> > >>
> >
> 401db13e1c0666177dc6e5364384b1397c5aa8ef730579aceb9ce58603d952a22475ff30b057b69ad16d50fab42f3af27e4c69e8b270b72b349ff73dac7cd120
> > >>
> > >> client:
> > >>
> >
> 7cbfb2b8044f6b7ee4f4f39bc2c979ac3115cf204e90004791fdf7f353a1d70be565ebc1ecdbde716386019cbfd19ff7e9fb8203d39df9061e42750c406b98c7
> > >>
> > >> Release artifacts are signed with the following key:
> > >>
> > https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x9a8a628dd4f4aa1e
> > >>
> > >> For more information about the contents of this release, see:
> > >> https://issues.apache.org/jira/projects/HOP/versions/12350036
> > >>
> > >> Please vote on releasing this package as Apache Hop (incubating) 0.99!
> > >>
> > >> The vote is open for 72 hours and passes if
> > >> a majority of at least 3 +1 PMC votes are cast.
> > >>
> > >> [ ] +1 Release this package as Apache Hop (incubating) 0.99
> > >> [ ] +0 No opinion
> > >> [ ] -1 Do not release this package because ...
> > >>
> > >> Best Regards,
> > >> Hans
> > >>
> > >
> > >
> > > --
> > >
> > >
> > >
> > > <https://www.openin.com.br>
> > >
> > > Patrocinadora Oficial do
> > >
> > > Pentaho Day 2019
> > >
> > > Ricardo Gouvêa
> > >
> > > CEO
> > >
> > > [email protected]
> > >
> > > Mobile:  +55 11 9 9638-9238
> > >
> > >
> > > Openin - Your Partner in Data
> > >
> > > www.openin.com.br
> > >
> > > [image: Openin no Linkedin] [image: Openin no Facebook]
> > > <https://www.facebook.com/Openinbr/> [image: Openin no Instagram]
> > > <https://www.instagram.com/openinbr/> [image: Openin no Twitter]
> > > <https://twitter.com/OpeninBigData> [image: Openin no Youtube]
> > > <https://www.youtube.com/openinbigdata>
> > >
> > >
> >
>
>
> --
>
>
>
> <https://www.openin.com.br>
>
> Patrocinadora Oficial do
>
> Pentaho Day 2019
>
> Ricardo Gouvêa
>
> CEO
>
> [email protected]
>
> Mobile:  +55 11 9 9638-9238
>
>
> Openin - Your Partner in Data
>
> www.openin.com.br
>
> [image: Openin no Linkedin] [image: Openin no Facebook]
> <https://www.facebook.com/Openinbr/> [image: Openin no Instagram]
> <https://www.instagram.com/openinbr/> [image: Openin no Twitter]
> <https://twitter.com/OpeninBigData> [image: Openin no Youtube]
> <https://www.youtube.com/openinbigdata>
>


-- 
Neo4j Chief Solutions Architect
*✉   *[email protected]

Reply via email to