Skip to content

Commit

Permalink
Add pom file template with proejct description (#51)
Browse files Browse the repository at this point in the history
* Fix version logging for deploy
  • Loading branch information
abogoyavlensky authored Sep 25, 2023
1 parent ca63627 commit 0215119
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Andrey Bogoyavlensky
Copyright (c) 2021 Andrey Bogoyavlenskiy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 3 additions & 2 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
new-version (cond-> latest-version
(some? bump) (bump-version bump)
(true? snapshot?) (add-snapshot))]
_ (prn (format "New version: %s" latest-version))
_ (prn (format "New version: %s" new-version))
new-version))


Expand All @@ -118,7 +118,8 @@
(-> opts
(assoc
:lib lib
:version (version (select-keys opts [:snapshot? :release? :bump])))
:version (version (select-keys opts [:snapshot? :release? :bump]))
:src-pom "template/pom.xml")
(build-clj/clean)
(build-clj/jar)))

Expand Down
23 changes: 23 additions & 0 deletions templates/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?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.xsd">
<modelVersion>4.0.0</modelVersion>
<name>automigrate</name>
<description>Database auto-migrations tool for Clojure. Define models as plain EDN and create schema migrations automatically.</description>
<url>https://github.com/abogoyavlensky/automigrate</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/license/mit/</url>
</license>
</licenses>
<developers>
<developer>
<name>Andrey Bogoyavlenskiy</name>
</developer>
</developers>
<scm>
<url>https://github.com/abogoyavlensky/automigrate</url>
<connection>scm:git:git://github.com/abogoyavlensky/automigrate.git</connection>
<developerConnection>scm:git:ssh://[email protected]/abogoyavlensky/automigrate.git</developerConnection>
</scm>
</project>

0 comments on commit 0215119

Please sign in to comment.