-
Notifications
You must be signed in to change notification settings - Fork 155
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
RPM plugin fails to run due to older maven-site-plugin version #53
Comments
Hi, I ran into the same problem quite some time later. I am using maven 3.5.3 with the maven-site-plugin:3.8.2. After some searching I found the following link: https://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html It explains: 'Notice: since Maven Site Plugin version 3.5, if XHTML content is used, it has to be escaped, for example through CDATA XML notation. Previously, XML content didn't need such escaping.' Example:
To fix my problem locally I changed the head section of the
I have not tested if the scripts are loaded correctly but at least |
Another note (which maybe does not belong here but might still be helpful). After building and installing the RPM I tried to execute
It looks like the cobertura coverage code somehow made it into the final executable (I guess that should not be the case in a released version?) and a required file from covertura could not be found. Luckily I found an easy way to disable cobertura:
This way the dependency is no longer required and I can execute |
Out of the box checkout, the
rpm:rpm
plugin doesn't work on:The parent pom specifies a
maven-site-plugin
version of 3.4, however I run into problems under the above config that seems to suggest the older version of the site plugin no longer functional in modern JVMs:see: https://stackoverflow.com/questions/51091539/maven-site-plugins-3-3-java-lang-classnotfoundexception-org-apache-maven-doxia
I tried hacking a copy of the parent plugin to set the site plugin to 3.7.1 but running into further incompatibilities:
Looks like a URL somewhere in one of the POM descriptors is not returning something expected ?
The text was updated successfully, but these errors were encountered: