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

Invalid URL in effective POM of project #30

Closed
bindul opened this issue Feb 6, 2016 · 0 comments · Fixed by #31
Closed

Invalid URL in effective POM of project #30

bindul opened this issue Feb 6, 2016 · 0 comments · Fixed by #31

Comments

@bindul
Copy link
Contributor

bindul commented Feb 6, 2016

The project's POM does not define a <url> and based on how the parent POM defines a URL: http://www.mojohaus.org/${project.artifactId}, the generated URL on this project is a non-existent page.

$ mvn help:effective-pom | grep -v "^\[INFO\]" | grep -v "^Effective POMs" | grep -v "^$" | xpath -q -e "//project/url/text()"
http://www.mojohaus.org/buildnumber-maven-plugin/buildnumber-maven-plugin

While the correct URL should be: http://www.mojohaus.org/buildnumber-maven-plugin/

While this in itself is not an issue with the functioning of the project; the Maven project-info-report plugin uses the effective URL in the Project Plugin Management report. This of course causes a 404 error.

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 a pull request may close this issue.

1 participant