Warnings when creating maven project
Closed this issue · 3 comments
Hello,
been following the getting started guide and run into trouble when running the mvn install -DskipTests=true command.
Below is the output from the command with the additional -e flag.
Got multiple warnings from running the command, perhaps the most critical in the beginning of the log.
Do you have any suggestions how to fix them?
Have seen similar issues posted for example in here but the none of them presented a solution.
Enviroment
Ubuntu 22.04.4 LTS
openjdk version "1.8.0_392"
Apache Maven 3.6.3
Log from mvn install -DskipTests=true -e
INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.inria.sacha.automaticRepair:astor:jar:2.0.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ line 344, column 12
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 319, column 12
[WARNING] 'repositories.repository.id' must not contain any of these characters \/:"<>|?* but found / @ line 194, column 8
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ---------------< org.inria.sacha.automaticRepair:astor >----------------
[INFO] Building ASTOR 2.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.7:prepare-agent (default) @ astor ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/home/thesis/project/astor/target/jacoco.exec
[INFO]
[INFO] --- build-helper-maven-plugin:3.5.0:add-source (default) @ astor ---
[INFO] Source directory: /home/thesis/project/astor/src/main/java added.
[INFO] Source directory: /home/thesis/project/astor/src-core/main/java added.
[INFO] Source directory: /home/thesis/project/astor/src-jgenprog/main/java added.
[INFO] Source directory: /home/thesis/project/astor/src-jkali/main/java added.
[INFO] Source directory: /home/thesis/project/astor/src-jmutrepair/main/java added.
[INFO] Source directory: /home/thesis/project/astor/src-cardumen/main/java added.
[INFO] Source directory: /home/thesis/project/astor/src-deeprepair/main/java added.
[INFO] Source directory: /home/thesis/project/astor/src-3sfix/main/java added.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ astor ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ astor ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ astor ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ astor ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ astor ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.7:report (report) @ astor ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ astor ---
[INFO]
[INFO] --- maven-shade-plugin:3.2.4:shade (default) @ astor ---
[INFO] Including com.github.spoonlabs:flacoco:jar:1.0.5 in the shaded jar.
[INFO] Including org.junit.platform:junit-platform-launcher:jar:1.3.2 in the shaded jar.
[INFO] Including org.junit.jupiter:junit-jupiter-params:jar:5.3.2 in the shaded jar.
[INFO] Including eu.stamp-project:test-runner:jar:4.11 in the shaded jar.
[INFO] Including eu.stamp-project:descartes:jar:1.2.4 in the shaded jar.
[INFO] Including org.pitest:pitest-entry:jar:1.6.7 in the shaded jar.
[INFO] Including org.pitest:pitest:jar:1.6.7 in the shaded jar.
[INFO] Including org.jacoco:org.jacoco.agent:jar:runtime:0.8.8 in the shaded jar.
[INFO] Including org.slf4j:slf4j-log4j12:jar:1.7.25 in the shaded jar.
[INFO] Including log4j:log4j:jar:1.2.17 in the shaded jar.
[INFO] Including org.pitest:pitest-junit5-plugin:jar:0.8 in the shaded jar.
[INFO] Including org.apache.logging.log4j:log4j-jcl:jar:2.17.2 in the shaded jar.
[INFO] Including commons-logging:commons-logging:jar:1.2 in the shaded jar.
[INFO] Including info.picocli:picocli:jar:4.6.3 in the shaded jar.
[INFO] Including net.sf.supercsv:super-csv:jar:2.4.0 in the shaded jar.
[INFO] Including com.github.stefanbirkner:system-lambda:jar:1.2.1 in the shaded jar.
[INFO] Including org.apache.maven.surefire:maven-surefire-common:jar:3.0.0-M5 in the shaded jar.
[INFO] Including org.apache.maven.surefire:surefire-api:jar:3.0.0-M5 in the shaded jar.
[INFO] Including org.apache.maven.surefire:surefire-logger-api:jar:3.0.0-M5 in the shaded jar.
[INFO] Including org.apache.maven.surefire:surefire-extensions-api:jar:3.0.0-M5 in the shaded jar.
[INFO] Including org.apache.maven.surefire:surefire-booter:jar:3.0.0-M5 in the shaded jar.
[INFO] Including org.apache.maven.surefire:surefire-extensions-spi:jar:3.0.0-M5 in the shaded jar.
[INFO] Including org.apache.maven:maven-toolchain:jar:3.0-alpha-2 in the shaded jar.
[INFO] Including org.apache.maven.shared:maven-artifact-transfer:jar:0.11.0 in the shaded jar.
[INFO] Including org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1 in the shaded jar.
[INFO] Including org.apache.maven:maven-plugin-api:jar:3.0 in the shaded jar.
[INFO] Including org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2 in the shaded jar.
[INFO] Including org.codehaus.plexus:plexus-classworlds:jar:2.2.3 in the shaded jar.
[INFO] Including org.sonatype.sisu:sisu-inject-bean:jar:1.4.2 in the shaded jar.
[INFO] Including org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7 in the shaded jar.
[INFO] Including commons-codec:commons-codec:jar:1.11 in the shaded jar.
[INFO] Including org.codehaus.plexus:plexus-java:jar:1.0.5 in the shaded jar.
[INFO] Including com.thoughtworks.qdox:qdox:jar:2.0-M9 in the shaded jar.
[INFO] Including org.apache.maven.surefire:surefire-shared-utils:jar:3.0.0-M4 in the shaded jar.
[INFO] Including org.apache.logging.log4j:log4j-1.2-api:jar:2.13.3 in the shaded jar.
[INFO] Including org.apache.logging.log4j:log4j-api:jar:2.13.3 in the shaded jar.
[INFO] Including org.apache.logging.log4j:log4j-core:jar:2.13.3 in the shaded jar.
[INFO] Including fr.inria.gforge.spoon:spoon-core:jar:9.2.0-beta-1 in the shaded jar.
[INFO] Including org.eclipse.jdt:org.eclipse.jdt.core:jar:3.26.0 in the shaded jar.
[INFO] Including com.martiansoftware:jsap:jar:2.1 in the shaded jar.
[INFO] Including org.slf4j:slf4j-api:jar:1.7.32 in the shaded jar.
[INFO] Including org.apache.maven:maven-model:jar:3.8.2 in the shaded jar.
[INFO] Including org.codehaus.plexus:plexus-utils:jar:3.2.1 in the shaded jar.
[INFO] Including org.apache.commons:commons-lang3:jar:3.12.0 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.12.4 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.12.4 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.12.4 in the shaded jar.
[INFO] Including org.apache.commons:commons-compress:jar:1.21 in the shaded jar.
[INFO] Including org.apache.maven.shared:maven-invoker:jar:3.1.0 in the shaded jar.
[INFO] Including org.apache.maven.shared:maven-shared-utils:jar:3.3.3 in the shaded jar.
[INFO] Including javax.inject:javax.inject:jar:1 in the shaded jar.
[INFO] Including commons-collections:commons-collections:jar:3.2.2 in the shaded jar.
[INFO] Including commons-io:commons-io:jar:2.5 in the shaded jar.
[INFO] Including junit:junit:jar:4.13.2 in the shaded jar.
[INFO] Including org.hamcrest:hamcrest-core:jar:1.3 in the shaded jar.
[INFO] Including org.junit.jupiter:junit-jupiter-engine:jar:5.3.2 in the shaded jar.
[INFO] Including org.apiguardian:apiguardian-api:jar:1.0.0 in the shaded jar.
[INFO] Including org.junit.platform:junit-platform-engine:jar:1.3.2 in the shaded jar.
[INFO] Including org.junit.jupiter:junit-jupiter-api:jar:5.3.2 in the shaded jar.
[INFO] Including org.opentest4j:opentest4j:jar:1.1.1 in the shaded jar.
[INFO] Including org.junit.platform:junit-platform-commons:jar:1.3.2 in the shaded jar.
[INFO] Including com.gzoltar:com.gzoltar.cli:jar:1.7.3 in the shaded jar.
[INFO] Including com.gzoltar:com.gzoltar.agent:jar:runtime:1.7.3 in the shaded jar.
[INFO] Including com.gzoltar:com.gzoltar.fl:jar:1.7.3 in the shaded jar.
[INFO] Including com.gzoltar:com.gzoltar.report:jar:1.7.3 in the shaded jar.
[INFO] Including args4j:args4j:jar:2.33 in the shaded jar.
[INFO] Including org.testng:testng:jar:6.11 in the shaded jar.
[INFO] Including com.beust:jcommander:jar:1.64 in the shaded jar.
[INFO] Including org.yaml:snakeyaml:jar:1.17 in the shaded jar.
[INFO] Including io.github.classgraph:classgraph:jar:4.8.104 in the shaded jar.
[INFO] Including com.gzoltar:com.gzoltar.core:jar:1.7.3 in the shaded jar.
[INFO] Including org.javassist:javassist:jar:3.27.0-GA in the shaded jar.
[INFO] Including org.jacoco:org.jacoco.core:jar:0.8.6 in the shaded jar.
[INFO] Including org.ow2.asm:asm:jar:8.0.1 in the shaded jar.
[INFO] Including org.ow2.asm:asm-commons:jar:8.0.1 in the shaded jar.
[INFO] Including org.ow2.asm:asm-analysis:jar:8.0.1 in the shaded jar.
[INFO] Including org.ow2.asm:asm-tree:jar:8.0.1 in the shaded jar.
[INFO] Including com.gzoltar:gzoltar:jar:0.1.1 in the shaded jar.
[INFO] Including commons-cli:commons-cli:jar:1.4 in the shaded jar.
[INFO] Including com.googlecode.json-simple:json-simple:jar:1.1 in the shaded jar.
[INFO] Including fil.iagl.cocospoon:CocoSpoon:jar:1.0.0-SNAPSHOT in the shaded jar.
[INFO] Including org.easytesting:fest-assert:jar:1.4 in the shaded jar.
[INFO] Including org.easytesting:fest-util:jar:1.1.6 in the shaded jar.
[INFO] Including com.google.code.gson:gson:jar:2.8.2 in the shaded jar.
[WARNING] CocoSpoon-1.0.0-SNAPSHOT.jar, apiguardian-api-1.0.0.jar, args4j-2.33.jar, asm-8.0.1.jar, asm-analysis-8.0.1.jar, asm-commons-8.0.1.jar, asm-tree-8.0.1.jar, astor-2.0.0.jar, classgraph-4.8.104.jar, com.gzoltar.agent-1.7.3-runtime.jar, com.gzoltar.cli-1.7.3.jar, com.gzoltar.core-1.7.3.jar, com.gzoltar.fl-1.7.3.jar, com.gzoltar.report-1.7.3.jar, commons-cli-1.4.jar, commons-codec-1.11.jar, commons-collections-3.2.2.jar, commons-compress-1.21.jar, commons-io-2.5.jar, commons-lang3-3.12.0.jar, commons-logging-1.2.jar, descartes-1.2.4.jar, fest-assert-1.4.jar, fest-util-1.1.6.jar, flacoco-1.0.5.jar, gson-2.8.2.jar, gzoltar-0.1.1.jar, hamcrest-core-1.3.jar, jackson-annotations-2.12.4.jar, jackson-core-2.12.4.jar, jackson-databind-2.12.4.jar, javassist-3.27.0-GA.jar, jcommander-1.64.jar, jsap-2.1.jar, json-simple-1.1.jar, junit-4.13.2.jar, junit-jupiter-api-5.3.2.jar, junit-jupiter-engine-5.3.2.jar, junit-jupiter-params-5.3.2.jar, junit-platform-commons-1.3.2.jar, junit-platform-engine-1.3.2.jar, junit-platform-launcher-1.3.2.jar, log4j-1.2-api-2.13.3.jar, log4j-1.2.17.jar, log4j-api-2.13.3.jar, log4j-core-2.13.3.jar, log4j-jcl-2.17.2.jar, maven-artifact-transfer-0.11.0.jar, maven-common-artifact-filters-3.0.1.jar, maven-invoker-3.1.0.jar, maven-model-3.8.2.jar, maven-plugin-api-3.0.jar, maven-shared-utils-3.3.3.jar, maven-surefire-common-3.0.0-M5.jar, maven-toolchain-3.0-alpha-2.jar, opentest4j-1.1.1.jar, org.eclipse.jdt.core-3.26.0.jar, org.jacoco.agent-0.8.8-runtime.jar, org.jacoco.core-0.8.6.jar, picocli-4.6.3.jar, pitest-1.6.7.jar, pitest-entry-1.6.7.jar, pitest-junit5-plugin-0.8.jar, plexus-classworlds-2.2.3.jar, plexus-java-1.0.5.jar, plexus-utils-3.2.1.jar, qdox-2.0-M9.jar, sisu-guice-2.1.7-noaop.jar, sisu-inject-bean-1.4.2.jar, sisu-inject-plexus-1.4.2.jar, slf4j-api-1.7.32.jar, slf4j-log4j12-1.7.25.jar, snakeyaml-1.17.jar, spoon-core-9.2.0-beta-1.jar, super-csv-2.4.0.jar, surefire-api-3.0.0-M5.jar, surefire-booter-3.0.0-M5.jar, surefire-extensions-api-3.0.0-M5.jar, surefire-extensions-spi-3.0.0-M5.jar, surefire-logger-api-3.0.0-M5.jar, surefire-shared-utils-3.0.0-M4.jar, system-lambda-1.2.1.jar, test-runner-4.11.jar, testng-6.11.jar define 1 overlapping resource:
[WARNING] - META-INF/MANIFEST.MF
[WARNING] junit-platform-launcher-1.3.2.jar, pitest-junit5-plugin-0.8.jar define 61 overlapping classes:
[WARNING] - org.junit.platform.launcher.EngineFilter
[WARNING] - org.junit.platform.launcher.EngineFilter$Type
[WARNING] - org.junit.platform.launcher.Launcher
[WARNING] - org.junit.platform.launcher.LauncherConstants
[WARNING] - org.junit.platform.launcher.LauncherDiscoveryRequest
[WARNING] - org.junit.platform.launcher.PostDiscoveryFilter
[WARNING] - org.junit.platform.launcher.TagFilter
[WARNING] - org.junit.platform.launcher.TestExecutionListener
[WARNING] - org.junit.platform.launcher.TestIdentifier
[WARNING] - org.junit.platform.launcher.TestPlan
[WARNING] - 51 more...
[WARNING] junit-jupiter-api-5.3.2.jar, junit-jupiter-engine-5.3.2.jar, junit-jupiter-params-5.3.2.jar, junit-platform-commons-1.3.2.jar, junit-platform-engine-1.3.2.jar, junit-platform-launcher-1.3.2.jar, pitest-junit5-plugin-0.8.jar define 2 overlapping resources:
[WARNING] - META-INF/LICENSE-notice.md
[WARNING] - META-INF/LICENSE.md
[WARNING] descartes-1.2.4.jar, pitest-entry-1.6.7.jar define 2 overlapping resources:
[WARNING] - META-INF/services/org.pitest.mutationtest.MutationResultListenerFactory
[WARNING] - META-INF/services/org.pitest.mutationtest.build.MutationInterceptorFactory
[WARNING] descartes-1.2.4.jar, pitest-1.6.7.jar define 1 overlapping resource:
[WARNING] - META-INF/services/org.pitest.mutationtest.MutationEngineFactory
[WARNING] asm-commons-8.0.1.jar, pitest-entry-1.6.7.jar define 27 overlapping classes:
[WARNING] - org.objectweb.asm.commons.AdviceAdapter
[WARNING] - org.objectweb.asm.commons.AnalyzerAdapter
[WARNING] - org.objectweb.asm.commons.AnnotationRemapper
[WARNING] - org.objectweb.asm.commons.ClassRemapper
[WARNING] - org.objectweb.asm.commons.CodeSizeEvaluator
[WARNING] - org.objectweb.asm.commons.FieldRemapper
[WARNING] - org.objectweb.asm.commons.GeneratorAdapter
[WARNING] - org.objectweb.asm.commons.InstructionAdapter
[WARNING] - org.objectweb.asm.commons.JSRInlinerAdapter
[WARNING] - org.objectweb.asm.commons.JSRInlinerAdapter$Instantiation
[WARNING] - 17 more...
[WARNING] asm-8.0.1.jar, pitest-entry-1.6.7.jar define 37 overlapping classes:
[WARNING] - org.objectweb.asm.AnnotationVisitor
[WARNING] - org.objectweb.asm.AnnotationWriter
[WARNING] - org.objectweb.asm.Attribute
[WARNING] - org.objectweb.asm.Attribute$Set
[WARNING] - org.objectweb.asm.ByteVector
[WARNING] - org.objectweb.asm.ClassReader
[WARNING] - org.objectweb.asm.ClassTooLargeException
[WARNING] - org.objectweb.asm.ClassVisitor
[WARNING] - org.objectweb.asm.ClassWriter
[WARNING] - org.objectweb.asm.ConstantDynamic
[WARNING] - 27 more...
[WARNING] asm-tree-8.0.1.jar, pitest-entry-1.6.7.jar define 38 overlapping classes:
[WARNING] - org.objectweb.asm.tree.AbstractInsnNode
[WARNING] - org.objectweb.asm.tree.AnnotationNode
[WARNING] - org.objectweb.asm.tree.ClassNode
[WARNING] - org.objectweb.asm.tree.FieldInsnNode
[WARNING] - org.objectweb.asm.tree.FieldNode
[WARNING] - org.objectweb.asm.tree.FrameNode
[WARNING] - org.objectweb.asm.tree.IincInsnNode
[WARNING] - org.objectweb.asm.tree.InnerClassNode
[WARNING] - org.objectweb.asm.tree.InsnList
[WARNING] - org.objectweb.asm.tree.InsnList$InsnListIterator
[WARNING] - 28 more...
[WARNING] asm-analysis-8.0.1.jar, pitest-entry-1.6.7.jar define 14 overlapping classes:
[WARNING] - org.objectweb.asm.tree.analysis.Analyzer
[WARNING] - org.objectweb.asm.tree.analysis.AnalyzerException
[WARNING] - org.objectweb.asm.tree.analysis.BasicInterpreter
[WARNING] - org.objectweb.asm.tree.analysis.BasicValue
[WARNING] - org.objectweb.asm.tree.analysis.BasicVerifier
[WARNING] - org.objectweb.asm.tree.analysis.Frame
[WARNING] - org.objectweb.asm.tree.analysis.Interpreter
[WARNING] - org.objectweb.asm.tree.analysis.SimpleVerifier
[WARNING] - org.objectweb.asm.tree.analysis.SmallSet
[WARNING] - org.objectweb.asm.tree.analysis.SmallSet$IteratorImpl
[WARNING] - 4 more...
[WARNING] pitest-1.6.7.jar, pitest-junit5-plugin-0.8.jar define 1 overlapping resource:
[WARNING] - META-INF/services/org.pitest.testapi.TestPluginFactory
[WARNING] com.gzoltar.agent-1.7.3-runtime.jar, org.eclipse.jdt.core-3.26.0.jar, org.jacoco.agent-0.8.8-runtime.jar, org.jacoco.core-0.8.6.jar define 1 overlapping resource:
[WARNING] - about.html
[WARNING] com.gzoltar.agent-1.7.3-runtime.jar, org.jacoco.agent-0.8.8-runtime.jar, org.jacoco.core-0.8.6.jar define 2 overlapping resources:
[WARNING] - META-INF/maven/org.jacoco/org.jacoco.core/pom.properties
[WARNING] - META-INF/maven/org.jacoco/org.jacoco.core/pom.xml
[WARNING] jackson-annotations-2.12.4.jar, jackson-core-2.12.4.jar, jackson-databind-2.12.4.jar, log4j-1.2-api-2.13.3.jar, log4j-1.2.17.jar, log4j-api-2.13.3.jar, log4j-core-2.13.3.jar, log4j-jcl-2.17.2.jar, maven-artifact-transfer-0.11.0.jar, maven-common-artifact-filters-3.0.1.jar, maven-invoker-3.1.0.jar, maven-model-3.8.2.jar, maven-plugin-api-3.0.jar, maven-shared-utils-3.3.3.jar, maven-surefire-common-3.0.0-M5.jar, maven-toolchain-3.0-alpha-2.jar, plexus-utils-3.2.1.jar, surefire-api-3.0.0-M5.jar, surefire-booter-3.0.0-M5.jar, surefire-extensions-api-3.0.0-M5.jar, surefire-extensions-spi-3.0.0-M5.jar, surefire-logger-api-3.0.0-M5.jar, surefire-shared-utils-3.0.0-M4.jar define 1 overlapping resource:
[WARNING] - META-INF/LICENSE
[WARNING] jackson-core-2.12.4.jar, jackson-databind-2.12.4.jar, log4j-1.2-api-2.13.3.jar, log4j-1.2.17.jar, log4j-api-2.13.3.jar, log4j-core-2.13.3.jar, log4j-jcl-2.17.2.jar, maven-artifact-transfer-0.11.0.jar, maven-common-artifact-filters-3.0.1.jar, maven-invoker-3.1.0.jar, maven-model-3.8.2.jar, maven-plugin-api-3.0.jar, maven-shared-utils-3.3.3.jar, maven-surefire-common-3.0.0-M5.jar, maven-toolchain-3.0-alpha-2.jar, plexus-utils-3.2.1.jar, surefire-api-3.0.0-M5.jar, surefire-booter-3.0.0-M5.jar, surefire-extensions-api-3.0.0-M5.jar, surefire-extensions-spi-3.0.0-M5.jar, surefire-logger-api-3.0.0-M5.jar, surefire-shared-utils-3.0.0-M4.jar define 1 overlapping resource:
[WARNING] - META-INF/NOTICE
[WARNING] log4j-1.2-api-2.13.3.jar, log4j-1.2.17.jar define 45 overlapping class and resource:
[WARNING] - org.apache.log4j.Appender
[WARNING] - org.apache.log4j.AppenderSkeleton
[WARNING] - org.apache.log4j.BasicConfigurator
[WARNING] - org.apache.log4j.Category
[WARNING] - org.apache.log4j.ConsoleAppender
[WARNING] - org.apache.log4j.Layout
[WARNING] - org.apache.log4j.Level
[WARNING] - org.apache.log4j.LogManager
[WARNING] - org.apache.log4j.Logger
[WARNING] - org.apache.log4j.MDC
[WARNING] - 35 more...
[WARNING] junit-platform-engine-1.3.2.jar, pitest-junit5-plugin-0.8.jar define 98 overlapping classes:
[WARNING] - org.junit.platform.engine.CompositeFilter
[WARNING] - org.junit.platform.engine.CompositeFilter$1
[WARNING] - org.junit.platform.engine.ConfigurationParameters
[WARNING] - org.junit.platform.engine.DiscoveryFilter
[WARNING] - org.junit.platform.engine.DiscoverySelector
[WARNING] - org.junit.platform.engine.EngineDiscoveryRequest
[WARNING] - org.junit.platform.engine.EngineExecutionListener
[WARNING] - org.junit.platform.engine.ExecutionRequest
[WARNING] - org.junit.platform.engine.Filter
[WARNING] - org.junit.platform.engine.FilterResult
[WARNING] - 88 more...
[WARNING] junit-jupiter-engine-5.3.2.jar, pitest-junit5-plugin-0.8.jar define 85 overlapping class and resource:
[WARNING] - META-INF/services/org.junit.platform.engine.TestEngine
[WARNING] - org.junit.jupiter.engine.Constants
[WARNING] - org.junit.jupiter.engine.JupiterTestEngine
[WARNING] - org.junit.jupiter.engine.descriptor.AbstractExtensionContext
[WARNING] - org.junit.jupiter.engine.descriptor.ClassExtensionContext
[WARNING] - org.junit.jupiter.engine.descriptor.ClassTestDescriptor
[WARNING] - org.junit.jupiter.engine.descriptor.DefaultTestInstanceFactoryContext
[WARNING] - org.junit.jupiter.engine.descriptor.DynamicContainerTestDescriptor
[WARNING] - org.junit.jupiter.engine.descriptor.DynamicDescendantFilter
[WARNING] - org.junit.jupiter.engine.descriptor.DynamicDescendantFilter$Mode
[WARNING] - 75 more...
[WARNING] junit-platform-commons-1.3.2.jar, pitest-junit5-plugin-0.8.jar define 31 overlapping classes:
[WARNING] - META-INF.versions.9.org.junit.platform.commons.util.ModuleUtils
[WARNING] - META-INF.versions.9.org.junit.platform.commons.util.ModuleUtils$ModuleReferenceScanner
[WARNING] - org.junit.platform.commons.JUnitException
[WARNING] - org.junit.platform.commons.annotation.Testable
[WARNING] - org.junit.platform.commons.logging.LogRecordListener
[WARNING] - org.junit.platform.commons.logging.Logger
[WARNING] - org.junit.platform.commons.logging.LoggerFactory
[WARNING] - org.junit.platform.commons.logging.LoggerFactory$DelegatingLogger
[WARNING] - org.junit.platform.commons.support.AnnotationSupport
[WARNING] - org.junit.platform.commons.support.ClassSupport
[WARNING] - 21 more...
[WARNING] log4j-1.2-api-2.13.3.jar, log4j-api-2.13.3.jar, log4j-core-2.13.3.jar, log4j-jcl-2.17.2.jar, maven-artifact-transfer-0.11.0.jar, maven-common-artifact-filters-3.0.1.jar, maven-invoker-3.1.0.jar, maven-model-3.8.2.jar, maven-plugin-api-3.0.jar, maven-shared-utils-3.3.3.jar, maven-surefire-common-3.0.0-M5.jar, maven-toolchain-3.0-alpha-2.jar, surefire-api-3.0.0-M5.jar, surefire-booter-3.0.0-M5.jar, surefire-extensions-api-3.0.0-M5.jar, surefire-extensions-spi-3.0.0-M5.jar, surefire-logger-api-3.0.0-M5.jar, surefire-shared-utils-3.0.0-M4.jar define 1 overlapping resource:
[WARNING] - META-INF/DEPENDENCIES
[WARNING] com.gzoltar.agent-1.7.3-runtime.jar, commons-cli-1.4.jar, commons-codec-1.11.jar, commons-collections-3.2.2.jar, commons-compress-1.21.jar, commons-io-2.5.jar, commons-lang3-3.12.0.jar, commons-logging-1.2.jar, surefire-shared-utils-3.0.0-M4.jar define 2 overlapping resources:
[WARNING] - META-INF/LICENSE.txt
[WARNING] - META-INF/NOTICE.txt
[WARNING] classgraph-4.8.104.jar, log4j-api-2.13.3.jar, picocli-4.6.3.jar, plexus-java-1.0.5.jar define 1 overlapping classes:
[WARNING] - META-INF.versions.9.module-info
[WARNING] maven-common-artifact-filters-3.0.1.jar, maven-surefire-common-3.0.0-M5.jar define 14 overlapping classes and resources:
[WARNING] - META-INF/maven/org.apache.maven.shared/maven-common-artifact-filters/pom.properties
[WARNING] - META-INF/maven/org.apache.maven.shared/maven-common-artifact-filters/pom.xml
[WARNING] - org.apache.maven.shared.artifact.filter.PatternIncludesArtifactFilter
[WARNING] - org.apache.maven.shared.artifact.filter.StatisticsReportingArtifactFilter
[WARNING] - org.apache.maven.shared.artifact.filter.resolve.AbstractFilter
[WARNING] - org.apache.maven.shared.artifact.filter.resolve.AndFilter
[WARNING] - org.apache.maven.shared.artifact.filter.resolve.ExclusionsFilter
[WARNING] - org.apache.maven.shared.artifact.filter.resolve.FilterTransformer
[WARNING] - org.apache.maven.shared.artifact.filter.resolve.Node
[WARNING] - org.apache.maven.shared.artifact.filter.resolve.OrFilter
[WARNING] - 4 more...
[WARNING] maven-artifact-transfer-0.11.0.jar, maven-toolchain-3.0-alpha-2.jar, sisu-inject-plexus-1.4.2.jar define 1 overlapping resource:
[WARNING] - META-INF/plexus/components.xml
[WARNING] javax.inject-1.jar, sisu-inject-bean-1.4.2.jar define 6 overlapping classes:
[WARNING] - javax.inject.Inject
[WARNING] - javax.inject.Named
[WARNING] - javax.inject.Provider
[WARNING] - javax.inject.Qualifier
[WARNING] - javax.inject.Scope
[WARNING] - javax.inject.Singleton
[WARNING] commons-codec-1.11.jar, surefire-shared-utils-3.0.0-M4.jar define 2 overlapping resources:
[WARNING] - META-INF/maven/commons-codec/commons-codec/pom.properties
[WARNING] - META-INF/maven/commons-codec/commons-codec/pom.xml
[WARNING] maven-invoker-3.1.0.jar, plexus-java-1.0.5.jar define 1 overlapping resource:
[WARNING] - META-INF/sisu/javax.inject.Named
[WARNING] maven-shared-utils-3.3.3.jar, surefire-shared-utils-3.0.0-M4.jar define 2 overlapping resources:
[WARNING] - META-INF/maven/org.apache.maven.shared/maven-shared-utils/pom.properties
[WARNING] - META-INF/maven/org.apache.maven.shared/maven-shared-utils/pom.xml
[WARNING] com.gzoltar.agent-1.7.3-runtime.jar, commons-io-2.5.jar, surefire-shared-utils-3.0.0-M4.jar define 2 overlapping resources:
[WARNING] - META-INF/maven/commons-io/commons-io/pom.properties
[WARNING] - META-INF/maven/commons-io/commons-io/pom.xml
[WARNING] com.gzoltar.agent-1.7.3-runtime.jar, commons-lang3-3.12.0.jar, surefire-shared-utils-3.0.0-M4.jar define 2 overlapping resources:
[WARNING] - META-INF/maven/org.apache.commons/commons-lang3/pom.properties
[WARNING] - META-INF/maven/org.apache.commons/commons-lang3/pom.xml
[WARNING] commons-compress-1.21.jar, surefire-shared-utils-3.0.0-M4.jar define 2 overlapping resources:
[WARNING] - META-INF/maven/org.apache.commons/commons-compress/pom.properties
[WARNING] - META-INF/maven/org.apache.commons/commons-compress/pom.xml
[WARNING] gzoltar-0.1.1.jar, junit-4.13.2.jar define 218 overlapping classes:
[WARNING] - junit.extensions.ActiveTestSuite
[WARNING] - junit.extensions.ActiveTestSuite$1
[WARNING] - junit.extensions.RepeatedTest
[WARNING] - junit.extensions.TestDecorator
[WARNING] - junit.extensions.TestSetup
[WARNING] - junit.extensions.TestSetup$1
[WARNING] - junit.framework.Assert
[WARNING] - junit.framework.AssertionFailedError
[WARNING] - junit.framework.ComparisonCompactor
[WARNING] - junit.framework.ComparisonFailure
[WARNING] - 208 more...
[WARNING] gzoltar-0.1.1.jar, hamcrest-core-1.3.jar define 46 overlapping class and resource:
[WARNING] - LICENSE.txt
[WARNING] - org.hamcrest.BaseDescription
[WARNING] - org.hamcrest.BaseMatcher
[WARNING] - org.hamcrest.Condition
[WARNING] - org.hamcrest.Condition$1
[WARNING] - org.hamcrest.Condition$Matched
[WARNING] - org.hamcrest.Condition$NotMatched
[WARNING] - org.hamcrest.Condition$Step
[WARNING] - org.hamcrest.CoreMatchers
[WARNING] - org.hamcrest.CustomMatcher
[WARNING] - 36 more...
[WARNING] com.gzoltar.agent-1.7.3-runtime.jar, com.gzoltar.core-1.7.3.jar, gzoltar-0.1.1.jar define 2 overlapping resources:
[WARNING] - META-INF/maven/com.gzoltar/com.gzoltar.core/pom.properties
[WARNING] - META-INF/maven/com.gzoltar/com.gzoltar.core/pom.xml
[WARNING] com.gzoltar.agent-1.7.3-runtime.jar, gzoltar-0.1.1.jar, javassist-3.27.0-GA.jar define 2 overlapping resources:
[WARNING] - META-INF/maven/org.javassist/javassist/pom.properties
[WARNING] - META-INF/maven/org.javassist/javassist/pom.xml
[WARNING] gzoltar-0.1.1.jar, javassist-3.27.0-GA.jar define 396 overlapping classes:
[WARNING] - javassist.ByteArrayClassPath
[WARNING] - javassist.CannotCompileException
[WARNING] - javassist.ClassClassPath
[WARNING] - javassist.ClassMap
[WARNING] - javassist.ClassPath
[WARNING] - javassist.ClassPathList
[WARNING] - javassist.ClassPool
[WARNING] - javassist.ClassPoolTail
[WARNING] - javassist.CodeConverter
[WARNING] - javassist.CodeConverter$ArrayAccessReplacementMethodNames
[WARNING] - 386 more...
[WARNING] maven-shade-plugin has detected that some class files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the class is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/
[INFO] Attaching shaded artifact.
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ astor ---
[INFO] Installing /home/thesis/project/astor/target/astor-2.0.0.jar to /root/.m2/repository/org/inria/sacha/automaticRepair/astor/2.0.0/astor-2.0.0.jar
[INFO] Installing /home/thesis/project/astor/pom.xml to /root/.m2/repository/org/inria/sacha/automaticRepair/astor/2.0.0/astor-2.0.0.pom
[INFO] Installing /home/thesis/project/astor/target/astor-2.0.0-jar-with-dependencies.jar to /root/.m2/repository/org/inria/sacha/automaticRepair/astor/2.0.0/astor-2.0.0-jar-with-dependencies.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.853 s
[INFO] Finished at: 2024-03-04T11:47:46+
There is no error in the log. The build looks successful. Could you elaborate?
Yes, my reaction was to the warnings about the POM file and the warnings that said that the problems could hurt the stability of the build.
No worries, it works fine.