Open
Conversation
Creates error message with beta-5 like: ``` [INFO] --- shade:3.5.0:shade (shade) @ child1 --- [INFO] Including org.slf4j:slf4j-api:jar:2.0.16 in the shaded jar. [INFO] Dependency-reduced POM written at: /home/cstamas/Worx/apache-maven/maven-integration-testing/core-it-suite/target/test-classes/mng-8340/child1/target/dr-pom.xml [WARNING] The top project (/home/cstamas/Worx/apache-maven/maven-integration-testing/core-it-suite/target/test-classes/mng-8340/child1/target/dr-pom.xml) cannot be found in the reactor from root project (/home/cstamas/Worx/apache-maven/maven-integration-testing/pom.xml). Make sure the root directory is correct (a missing '.mvn' directory in the root project is the most common cause) and the project is correctly included in the reactor (missing activated profiles, command line options, etc.). For this build, the top project will be used as the root project. [WARNING] The top project (/home/cstamas/Worx/apache-maven/maven-integration-testing/core-it-suite/target/test-classes/mng-8340/pom.xml) cannot be found in the reactor from root project (/home/cstamas/Worx/apache-maven/maven-integration-testing/pom.xml). Make sure the root directory is correct (a missing '.mvn' directory in the root project is the most common cause) and the project is correctly included in the reactor (missing activated profiles, command line options, etc.). For this build, the top project will be used as the root project. [WARNING] child1-1.0.0.jar, slf4j-api-2.0.16.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] maven-shade-plugin has detected that some files are [WARNING] present in two or more JARs. When this happens, only one [WARNING] single version of the file 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 https://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /home/cstamas/Worx/apache-maven/maven-integration-testing/core-it-suite/target/test-classes/mng-8340/child1/target/child1-1.0.0.jar with /home/cstamas/Worx/apache-maven/maven-integration-testing/core-it-suite/target/test-classes/mng-8340/child1/target/child1-1.0.0-shaded.jar [INFO] Copying org.apache.maven.it.mng8340:child1:pom:1.0.0 to project local repository [INFO] Copying org.apache.maven.it.mng8340:child1:jar:1.0.0 to project local repository [WARNING] Failed to notify spy org.apache.maven.ReactorReader$ReactorReaderSpy: 1 problem was for org.apache.maven.it.mng8340:child1:jar:1.0.0 - [FATAL] 'parent.relativePath' points at '../../pom.xml' but no POM could be found, please verify your project structure @ line 3, column 3 ```
Member
Author
|
So IT "works" with beta-5, FATAL message is there, but NPE fails with apache/maven#1857 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creates error message with beta-5 like: