You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@training.apache.org by Rich Bowen <rb...@rcbowen.com> on 2024/09/10 13:58:12 UTC
Having difficulty building a presentation
Hi, folks,
I blocked out some time today to try, once again, to get one of the example presentations to build. Sadly, I failed, once again, and could use some pointers.
I have installed maven
`brew install mvn` (MacOS)
And then attempted to build the presentation in Apache/ComDev/ApacheIntro
This fails with …
Cut here: 8><————————————
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.327 s
[INFO] Finished at: 2024-09-10T09:46:24-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project training-content-apache-comdev-apache-intro: Could not resolve dependencies for project org.apache.training.content:training-content-apache-comdev-apache-intro:war:1.0.0-SNAPSHOT
[ERROR] dependency: org.apache.training:content-parent-resources:jar:1.3.0-SNAPSHOT (provided)
[ERROR] Could not find artifact org.apache.training:content-parent-resources:jar:1.3.0-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots)
[ERROR]
[ERROR] -> [Help 1]
[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/DependencyResolutionException
Cut here: 8><————————————
Sadly, I don’t know what that means.
The output with -e or -X is definitely more verbose, but not any more understandable. I was hoping that one of you could point me to the right lever to pull to possibly get past this roadblock.
Thanks.
—
Rich Bowen
rbowen@rcbowen.com
Re: Having difficulty building a presentation
Posted by Rich Bowen <rb...@rcbowen.com>.
Followup - building from the top of the repo, rather than the subdirectory, resulted in success! Yay!
> On Sep 10, 2024, at 10:53 AM, Christofer Dutz <ch...@c-ware.de> wrote:
>
> Well …
>
> I just made sure I’ve got the latest commits, told maven to use an empty repo. Then I ran
>
> mvn package
>
> In the root of the project … it simply worked.
>
> What does “mvn –version“ output on your system?
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /opt/homebrew/Cellar/maven/3.9.9/libexec
Java version: 21.0.4, vendor: Amazon.com Inc., runtime: /Library/Java/JavaVirtualMachines/amazon-corretto-21.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "14.6.1", arch: "aarch64", family: “mac"
> Von: Rich Bowen <rb...@rcbowen.com>
> Datum: Dienstag, 10. September 2024 um 15:58
> An: dev@training.apache.org <de...@training.apache.org>
> Betreff: Having difficulty building a presentation
> Hi, folks,
>
> I blocked out some time today to try, once again, to get one of the example presentations to build. Sadly, I failed, once again, and could use some pointers.
>
> I have installed maven
>
> `brew install mvn` (MacOS)
>
> And then attempted to build the presentation in Apache/ComDev/ApacheIntro
>
> This fails with …
>
>
> Cut here: 8><————————————
>
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.327 s
> [INFO] Finished at: 2024-09-10T09:46:24-04:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project training-content-apache-comdev-apache-intro: Could not resolve dependencies for project org.apache.training.content:training-content-apache-comdev-apache-intro:war:1.0.0-SNAPSHOT
> [ERROR] dependency: org.apache.training:content-parent-resources:jar:1.3.0-SNAPSHOT (provided)
> [ERROR] Could not find artifact org.apache.training:content-parent-resources:jar:1.3.0-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots)
> [ERROR]
> [ERROR] -> [Help 1]
> [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/DependencyResolutionException
>
>
> Cut here: 8><————————————
>
>
> Sadly, I don’t know what that means.
>
> The output with -e or -X is definitely more verbose, but not any more understandable. I was hoping that one of you could point me to the right lever to pull to possibly get past this roadblock.
>
> Thanks.
>
> —
> Rich Bowen
> rbowen@rcbowen.com
>
>
>
—
Rich Bowen
rbowen@rcbowen.com
AW: Having difficulty building a presentation
Posted by Christofer Dutz <ch...@c-ware.de>.
Well …
I just made sure I’ve got the latest commits, told maven to use an empty repo. Then I ran
mvn package
In the root of the project … it simply worked.
What does “mvn –version“ output on your system?
Chris
Von: Rich Bowen <rb...@rcbowen.com>
Datum: Dienstag, 10. September 2024 um 15:58
An: dev@training.apache.org <de...@training.apache.org>
Betreff: Having difficulty building a presentation
Hi, folks,
I blocked out some time today to try, once again, to get one of the example presentations to build. Sadly, I failed, once again, and could use some pointers.
I have installed maven
`brew install mvn` (MacOS)
And then attempted to build the presentation in Apache/ComDev/ApacheIntro
This fails with …
Cut here: 8><————————————
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.327 s
[INFO] Finished at: 2024-09-10T09:46:24-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project training-content-apache-comdev-apache-intro: Could not resolve dependencies for project org.apache.training.content:training-content-apache-comdev-apache-intro:war:1.0.0-SNAPSHOT
[ERROR] dependency: org.apache.training:content-parent-resources:jar:1.3.0-SNAPSHOT (provided)
[ERROR] Could not find artifact org.apache.training:content-parent-resources:jar:1.3.0-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots)
[ERROR]
[ERROR] -> [Help 1]
[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/DependencyResolutionException
Cut here: 8><————————————
Sadly, I don’t know what that means.
The output with -e or -X is definitely more verbose, but not any more understandable. I was hoping that one of you could point me to the right lever to pull to possibly get past this roadblock.
Thanks.
—
Rich Bowen
rbowen@rcbowen.com