Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade m-site-p and skin #51

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Upgrade m-site-p and skin #51

wants to merge 2 commits into from

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Jul 3, 2024

No description provided.

@michael-o
Copy link
Member

Checking...

@michael-o
Copy link
Member

I can confirm that the effective site descriptor is completely different with Maven 4. I need to investigate why... for now I recommend everyone NOT to use Maven 4 for building sites. @gnodet @slawekjaranowski @hboutemy @cstamas

@michael-o
Copy link
Member

Diffed output:

@@ -312,15 +505,10 @@
 [DEBUG] Reading site descriptor from /var/osipovmi/Projekte/maven-clean-plugin/src/site/site.xml
 [WARNING] Site model of 'org.apache.maven.plugins:maven-clean-plugin:maven-plugin:4.0.0-beta-2-SNAPSHOT' for default locale is still u
sing the old pre-version 2.0.0 model. You MUST migrate to the new model as soon as possible otherwise your build will break in the futu
re!
 [DEBUG] Looking for site descriptor of level 1 parent project: org.apache.maven.plugins:maven-plugins:pom:42
-[DEBUG] Reading parent level 1 site descriptor from /net/home/osipovmi/.m2/repository/org/apache/maven/plugins/maven-plugins/42/maven-
plugins-42-site.xml
-[WARNING] Site model of 'org.apache.maven.plugins:maven-plugins:pom:42' for default locale is still using the old pre-version 2.0.0 mo
del. You MUST migrate to the new model as soon as possible otherwise your build will break in the future!
+[DEBUG] No parent level 1 site descriptor
 [DEBUG] Looking for site descriptor of level 2 parent project: org.apache.maven:maven-parent:pom:42
-[DEBUG] Reading parent level 2 site descriptor from /net/home/osipovmi/.m2/repository/org/apache/maven/maven-parent/42/maven-parent-42
-site.xml
-[WARNING] Site model of 'org.apache.maven:maven-parent:pom:42' for default locale is still using the old pre-version 2.0.0 model. You
MUST migrate to the new model as soon as possible otherwise your build will break in the future!
+[DEBUG] No parent level 2 site descriptor
 [DEBUG] Looking for site descriptor of level 3 parent project: org.apache:apache:pom:32
-[DEBUG] Resolving artifact org.apache:apache:xml:site:32 from [apache.snapshots (https://repository.apache.org/snapshots, default, sna
pshots), central (https://repo.maven.apache.org/maven2, default, releases)]
-[DEBUG] No site descriptor found for 'org.apache:apache:pom:32' with default locale
-[DEBUG] Site descriptor not found
 [DEBUG] No parent level 3 site descriptor
 [DEBUG] Site model inheritance: assembling child with level 3 parent: distributionManagement.site.url child = file:/var/osipovmi/Proje
kte/maven-clean-plugin/scm:svn:https:/svn.apache.org/repos/asf/maven/website/.. and parent = null
 [DEBUG] Site model inheritance: assembling child with level 2 parent: distributionManagement.site.url child = file:/var/osipovmi/Proje
kte/maven-clean-plugin/scm:svn:https:/svn.apache.org/repos/asf/maven/website/components/plugins-archives and parent = file:/var/osipovm
i/Projekte/maven-clean-plugin/scm:svn:https:/svn.apache.org/repos/asf/maven/website/..

Well, the site descriptor is not read. Digging further...

@michael-o
Copy link
Member

3.9.8 works. I will bisect between Maven 4 versions to find the first offending version.

@michael-o
Copy link
Member

michael-o commented Jul 3, 2024

Good news: The bug is in alpha-8, alpha-7 works as expected.
Bad news: I cannot bisect down to the proper commit because I am stuck with:

[ERROR] Failed to execute goal on project maven-xml-impl: Could not resolve dependencies for project org.apache.maven:maven-xml-impl:jar:4.0.0-alpha-8-SNAPSHOT: Could not find artifact org.apache.maven:maven-xml-impl:jar:4.0.0-alpha-8-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots), try downloading from https://maven.apache.org/download.html -> [Help 1]

# Conflicts:
#	src/site/site.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants