Philipp Ottlinger created RAT-341:
-------------------------------------

             Summary: Missing JAR in site release site build on RAT release 
branch
                 Key: RAT-341
                 URL: https://issues.apache.org/jira/browse/RAT-341
             Project: Apache Rat
          Issue Type: Bug
    Affects Versions: 0.16
            Reporter: Philipp Ottlinger
             Fix For: 0.17


When I build the release candidate I copied the local Maven repo, which proved 
useful to generate the webpage from RAT's release branch.

If you run a site build on a release branch, you may run into:

{{

[INFO]
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] Forking Apache Creadur Rat::Plugin4Maven 0.16
[INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Downloading from central: 
[https://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-core/0.16/apache-rat-core-0.16-tests.jar]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Creadur Rat 0.16:
[INFO]
[INFO] Apache Creadur Rat ................................. FAILURE [ 5.759 s]
[INFO] Apache Creadur Rat::API ............................ SKIPPED
[INFO] Apache Creadur Rat::Core ........................... SKIPPED
[INFO] Apache Creadur Rat::Plugin4Maven ................... SKIPPED
[INFO] Apache Creadur Rat::Tasks4Ant ...................... SKIPPED
[INFO] Apache Creadur Rat::Command Line ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.225 s
[INFO] Finished at: 2024-01-08T22:50:02+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-cli) on project 
apache-rat-project: failed to get report for 
org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal on 
project apache-rat-plugin: Could not resolve dependencies for project 
org.apache.rat:apache-rat-plugin:maven-plugin:0.16: The following artifacts 
could not be resolved: org.apache.rat:apache-rat-core:jar:tests:0.16 (absent): 
Could not find artifact org.apache.rat:apache-rat-core:jar:tests:0.16 in 
central ([https://repo.maven.apache.org/maven2]) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
}}

 

Is there a bugfix possible to generate this JAR in order to generate the 
webpage from an existing branch for reproducable builds?

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to