marcfr
Elite Observer

FSTestTools für R10

Jump to solution

Hallo,

Ich versuche gerade die FS-Test-Tools mittels MVN builden (mvn -e clean package) zu lassen, dabei kommt jedoch folgende Fehlermeldung:

[INFO] Building FirstSpirit Test Tools rules 1.0_DEV.123

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for de.espirit.firstspirit:fs-access:jar:5.2.1002 is missing, no dependency information available

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] FirstSpirit Test Tools rules ....................... FAILURE [  0.237 s]

[INFO] FirstSpirit Test Tools mocking ..................... SKIPPED

[INFO] FirstSpirit Test Tools tests ....................... SKIPPED

[INFO] FirstSpirit Test Tools examples .................... SKIPPED

[INFO] FirstSpirit Test Tools parent ...................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.370 s

[INFO] Finished at: 2017-08-01T13:58:21+02:00

[INFO] Final Memory: 8M/19M

[INFO] ------------------------------------------------------------------------

Failed to execute goal on project rules: Could not resolve dependencies for project com.espirit.moddev.fstesttools:rules:jar:1.0_DEV.123: Failure to find de.espirit.firstspirit:fs-access:jar:5.2.1002 i                  n https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project rules: Could not resolve dependencies for project com.espirit.moddev.fstesttools:rules:jar:1.0_DEV.123: Failure to find                   de.espirit.firstspirit:fs-access:jar:5.2.1002 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or                   updates are forced

        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)

        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)

        at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)

        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:116)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)

        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)

        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:289)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.espirit.moddev.fstesttools:rules:jar:1.0_DEV.123: Failure to find de.espirit.firstspirit:fs-access:jar:5.2.1002 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

        at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)

        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)

        ... 23 more

Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find de.espirit.firstspirit:fs-access:jar:5.2.1002 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)

        at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)

        ... 24 more

Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find de.espirit.firstspirit:fs-access:jar:5.2.1002 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)

        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)

        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)

        ... 25 more

Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find de.espirit.firstspirit:fs-access:jar:5.2.1002 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

        at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:231)

        at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)

        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585)

        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:503)

        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)

        ... 27 more

[ERROR]

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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

Was können wir tun um den Build-Prozess erfolgreich abschließen zu können?

Viele Grüße,
Marc Friedemann

0 Kudos
1 Solution

Accepted Solutions
feddersen
Community Manager

Hallo Marc,

in der pom.xml ist das fs-access.jar als Dependency hinterlegt. Du musst das in dein Maven-Repository importieren.

"Failure to find de.espirit.firstspirit:fs-access:jar:5.2.1002"

View solution in original post

0 Kudos
1 Reply
feddersen
Community Manager

Hallo Marc,

in der pom.xml ist das fs-access.jar als Dependency hinterlegt. Du musst das in dein Maven-Repository importieren.

"Failure to find de.espirit.firstspirit:fs-access:jar:5.2.1002"

0 Kudos