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

bfreis opened this Issue Aug 2, 2012 · 3 comments


2 participants

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, 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-">

(see it in the end of the last line)


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

bfreis commented Aug 2, 2012

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


technomancy commented Aug 2, 2012

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

bfreis commented Aug 2, 2012

Thanks! =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment