[Git][clojure-team/core-async-clojure][debian/main] drop custom pom.xml, generate with lein pom

Jérôme Charaoui (@lavamind) gitlab at salsa.debian.org
Mon Nov 25 06:13:07 GMT 2024



Jérôme Charaoui pushed to branch debian/main at Debian Clojure Maintainers / core-async-clojure


Commits:
63b04f13 by Jérôme Charaoui at 2024-11-25T01:12:29-05:00
drop custom pom.xml, generate with lein pom

- - - - -


3 changed files:

- debian/libcore-async-clojure.poms
- − debian/pom.xml
- debian/rules


Changes:

=====================================
debian/libcore-async-clojure.poms
=====================================
@@ -1 +1 @@
-debian/pom.xml --artifact=target/core.async.jar --usj-name=core.async
+debian/pom.xml --artifact=target/core.async.jar --usj-name=core.async --java-lib


=====================================
debian/pom.xml deleted
=====================================
@@ -1,98 +0,0 @@
-<?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>
-  <groupId>org.clojure</groupId>
-  <artifactId>core.async</artifactId>
-  <packaging>jar</packaging>
-  <version>1.3.610</version>
-  <name>core.async</name>
-  <description>Facilities for async programming and communication in Clojure</description>
-  <url>https://github.com/clojure/core.async</url>
-  <licenses>
-    <license>
-      <name>Eclipse Public License</name>
-      <url>http://www.eclipse.org/legal/epl-v10.html</url>
-    </license>
-  </licenses>
-  <scm>
-    <tag>9454d6bb09b26eb34f097de2a27883adee44a7f7</tag>
-  </scm>
-  <build>
-    <sourceDirectory>src/main/clojure</sourceDirectory>
-    <testSourceDirectory>src/test/clojure</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>resources</directory>
-      </testResource>
-    </testResources>
-    <directory>target</directory>
-    <outputDirectory>target/classes</outputDirectory>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>1.7</version>
-        <executions>
-          <execution>
-            <id>add-source</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>add-source</goal>
-            </goals>
-            <configuration>
-              <sources>
-                <source>src/main/java</source>
-              </sources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-  <repositories>
-    <repository>
-      <id>central</id>
-      <url>https://repo1.maven.org/maven2/</url>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-      <releases>
-        <enabled>true</enabled>
-      </releases>
-    </repository>
-    <repository>
-      <id>clojars</id>
-      <url>https://repo.clojars.org/</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-        <enabled>true</enabled>
-      </releases>
-    </repository>
-  </repositories>
-  <dependencyManagement>
-    <dependencies/>
-  </dependencyManagement>
-  <dependencies>
-    <dependency>
-      <groupId>org.clojure</groupId>
-      <artifactId>clojure</artifactId>
-      <version>1.10.x</version>
-    </dependency>
-    <dependency>
-      <groupId>org.clojure</groupId>
-      <artifactId>tools.analyzer.jvm</artifactId>
-      <version>debian</version>
-    </dependency>
-  </dependencies>
-</project>
-
-<!-- This file was autogenerated by Leiningen.
-  Please do not edit it directly; instead edit project.clj and regenerate it.
-  It should not be considered canonical data. For more information see
-  https://github.com/technomancy/leiningen -->


=====================================
debian/rules
=====================================
@@ -14,6 +14,7 @@ override_dh_auto_configure:
 	cd debian && ln -sf /usr/share/maven-repo .
 
 override_dh_auto_build:
+	lein pom debian/pom.xml
 	lein jar
 	# symlink so we don't need a version in debian/*.poms
 	cd target && ln -sf $(NAME)-$(DEB_VERSION_UPSTREAM).jar $(NAME).jar
@@ -27,6 +28,7 @@ override_jh_installlibs:
 	jh_installlibs target/$(NAME).jar
 
 override_dh_clean:
+	rm -f debian/pom.xml
 	rm -f debian/maven-repo
 	rm -Rf target
 	dh_clean



View it on GitLab: https://salsa.debian.org/clojure-team/core-async-clojure/-/commit/63b04f13d07b49c85d3907938a8381a0cae636c8

-- 
View it on GitLab: https://salsa.debian.org/clojure-team/core-async-clojure/-/commit/63b04f13d07b49c85d3907938a8381a0cae636c8
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20241125/3c2d6ebb/attachment.htm>


More information about the pkg-java-commits mailing list