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

pom task doesn't include updatePolicy or checksumPolicy #2377

Closed
samwagg opened this issue Dec 20, 2017 · 3 comments · Fixed by #2575
Closed

pom task doesn't include updatePolicy or checksumPolicy #2377

samwagg opened this issue Dec 20, 2017 · 3 comments · Fixed by #2575

Comments

@samwagg
Copy link

samwagg commented Dec 20, 2017

If not, is there a reason it doesn't, or is this just a feature that hasn't yet been implemented?

e.g.

  <repositories>
    <repository>
      <releases>
        <enabled>false</enabled>
        <updatePolicy>always</updatePolicy>
        <checksumPolicy>warn</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
        <checksumPolicy>fail</checksumPolicy>
      </snapshots>
      <id>codehausSnapshots</id>
      <name>Codehaus Snapshots</name>
      <url>http://snapshots.maven.codehaus.org/maven2</url>
      <layout>default</layout>
    </repository>
@samwagg samwagg changed the title Does leiningen support Maven's updatePolicy field for snapshot dependencies? Does leiningen support Maven's updatePolicy field for repositories? Dec 20, 2017
@technomancy
Copy link
Owner

technomancy commented Dec 21, 2017 via email

@samwagg
Copy link
Author

samwagg commented Dec 21, 2017

Thank you, this is working for me. The only thing that's happening that's unexpected is the generated pom.xml does not have <updatePolicy>. I also tested with :checksum and the generated pom did not have that field either. Is that expected?

@technomancy
Copy link
Owner

technomancy commented Dec 21, 2017 via email

@technomancy technomancy changed the title Does leiningen support Maven's updatePolicy field for repositories? pom task doesn't include updatePolicy or checksumPolicy Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants