gnodet commented on issue #863:
URL: https://github.com/apache/maven-mvnd/issues/863#issuecomment-1617407566
Here's the output:
```
➜ mavenTest ~/.sdkman/candidates/maven/1.0-m6-m39-mvnd/bin/mvnd -V clean
compile
Apache Maven Daemon (mvnd) 1.0-m6 darwin-aarch64 native client
(47d4c6b9c399079d91312bb8ae35d1d76e7fd97a)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty
org.jline.terminal.impl.jansi.osx.OsXNativePty
[INFO] Processing build on daemon 293e58cf
[INFO] Scanning for projects...
[WARN]
[WARN] Some problems were encountered while building the effective model for
test:mavenTest:jar:1.0-SNAPSHOT
[WARN] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @
line 54, column 12
[WARN] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.apache.maven.plugins:maven-antrun-plugin @
line 89, column 12
[WARN]
[WARN] It is highly recommended to fix these problems because they threaten
the stability of your build.
[WARN]
[WARN] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARN]
[INFO] BuildTimeEventSpy is registered.
[INFO]
[INFO] Using the SmartBuilder implementation with a thread count of 5
[INFO]
[INFO] ---------------------------< test:mavenTest
>---------------------------
[INFO] Building mavenTest 1.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar
]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ mavenTest ---
[INFO] Deleting /Users/gnodet/Downloads/mavenTest/target
[INFO]
[INFO] --- antrun:1.3:run (First) @ mavenTest ---
[INFO] Executing tasks
[INFO] [stdout] [echo] execution First
[INFO] Executed tasks
[INFO]
[INFO] --- antrun:1.3:run (file-creation) @ mavenTest ---
[INFO] Executing tasks
[INFO] [stdout] [echo] Dummy Directory Creation
[INFO] [stdout] [mkdir] Created dir:
/Users/gnodet/Downloads/mavenTest/target/dummyDirectory
[INFO] Executed tasks
[INFO]
[INFO] --- antrun:1.3:run (Last) @ mavenTest ---
[INFO] Executing tasks
[INFO] [stdout] [echo] execution Last
[INFO] Executed tasks
[INFO]
[INFO] --- compiler:2.0.2:compile (default) @ mavenTest ---
[INFO] Compiling 1 source file to
/Users/gnodet/Downloads/mavenTest/target/classes
[INFO]
[INFO] --- assembly:2.2-beta-5:single (default) @ mavenTest ---
[WARN] Parameter 'localRepository' is deprecated core expression; Avoid use
of ArtifactRepository type. If you need access to local repository, switch to
'${repositorySystemSession}' expression and get LRM from it instead.
[INFO] Reading assembly descriptor: src/main/assembly/descriptor.xml
[INFO] Building zip:
/Users/gnodet/Downloads/mavenTest/target/mavenTest-1.0-SNAPSHOT-bin.zip
[INFO]
[INFO] --- resources:3.3.0:resources (default-resources) @ mavenTest ---
[WARN] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/Users/gnodet/Downloads/mavenTest/src/main/resources
[INFO]
[INFO] --- compiler:2.0.2:compile (default-compile) @ mavenTest ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
[INFO] Average project wall time: 0.00s
[INFO] Total concurrency: 20%
[INFO] Bottleneck projects that decrease concurrency: (run build with
-Dsmartbuilder.profiling=true for further details)
[INFO] - test:mavenTest:1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.245 s (Wall Clock)
[INFO] Finished at: 2023-07-03T07:55:52+02:00
[INFO]
------------------------------------------------------------------------
```
and
```
➜ mavenTest ~/.sdkman/candidates/maven/1.0-m6-m40-mvnd/bin/mvnd -V clean
compile
Apache Maven Daemon (mvnd) 1.0-m6 darwin-aarch64 native client
(47d4c6b9c399079d91312bb8ae35d1d76e7fd97a)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty
org.jline.terminal.impl.jansi.osx.OsXNativePty
[INFO] Processing build on daemon 731b167d
[INFO] Scanning for projects...
[ERROR] Some problems were encountered while processing the POMs
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project test:mavenTest:1.0-SNAPSHOT
(/Users/gnodet/Downloads/mavenTest/pom.xml) has 2 errors
[ERROR] 'build.plugins.plugin.(groupId:artifactId)' must be unique but
found duplicate declaration of plugin
org.apache.maven.plugins:maven-antrun-plugin @ line 54, column 12
[ERROR] 'build.plugins.plugin.(groupId:artifactId)' must be unique but
found duplicate declaration of plugin
org.apache.maven.plugins:maven-antrun-plugin @ line 89, column 12
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[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/ProjectBuildingException
```
Both look ok to me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]