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

Wrong <project ...> declaration in pom.xml #714

Closed
bfreis opened this issue Aug 2, 2012 · 3 comments
Closed

Wrong <project ...> declaration in pom.xml #714

bfreis opened this issue Aug 2, 2012 · 3 comments

Comments

@bfreis
Copy link

bfreis commented Aug 2, 2012

The xsi:schemaLocation attribute of the <project> root node in the pom.xml generated by the latest version is wrong: where you see 4.0.0.0, it should be 4.0.0.

~$ lein new bug-demo
Generating a project called bug-demo based on the 'default' template.
To see other templates (app, lein plugin, etc), try `lein help new`.
~$ cd bug-demo
~/bug-demo$ lein pom
Wrote /home/.../bug-demo/pom.xml
~/bug-demo$ head -n 2 pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.0.xsd">

(see it in the end of the last line)

EDIT:

~$ lein version
Leiningen 2.0.0-preview7 on Java 1.7.0_03 Java HotSpot(TM) 64-Bit Server VM
@bfreis
Copy link
Author

bfreis commented Aug 2, 2012

Is there a way to mark this issue as "minor"?

@technomancy
Copy link
Owner

Best way to make it considered minor is to fix it quickly. =)

@bfreis
Copy link
Author

bfreis commented Aug 2, 2012

Thanks! =)

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

No branches or pull requests

2 participants