Skip to content

Commit

Permalink
Initial failed repackaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Apr 25, 2024
1 parent 5451cee commit 3e2c5df
Show file tree
Hide file tree
Showing 80 changed files with 690 additions and 349 deletions.
296 changes: 296 additions & 0 deletions com.io7m.mesquida.main/pom.xml
@@ -0,0 +1,296 @@
<?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>

<parent>
<artifactId>com.io7m.mesquida</artifactId>
<groupId>com.io7m.mesquida</groupId>
<version>0.0.3-SNAPSHOT</version>
</parent>

<artifactId>com.io7m.mesquida.main</artifactId>

<name>com.io7m.mesquida.main</name>
<description>Stream box (Main)</description>
<url>https://www.io7m.com/software/mesquida/</url>

<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<exclusions>
<exclusion>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-core-client</artifactId>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-commons</artifactId>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-jms-client</artifactId>
</dependency>

<dependency>
<groupId>org.pircbotx</groupId>
<artifactId>pircbotx</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>

<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbynet</artifactId>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
</dependency>

<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
</dependency>

<dependency>
<groupId>com.io7m.trasco</groupId>
<artifactId>com.io7m.trasco.api</artifactId>
</dependency>
<dependency>
<groupId>com.io7m.trasco</groupId>
<artifactId>com.io7m.trasco.vanilla</artifactId>
</dependency>
<dependency>
<groupId>com.io7m.trasco</groupId>
<artifactId>com.io7m.trasco.xml.schemas</artifactId>
</dependency>

<dependency>
<groupId>com.io7m.claypot</groupId>
<artifactId>com.io7m.claypot.core</artifactId>
</dependency>

<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jmx</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
</dependency>

<dependency>
<groupId>com.io7m.jxtrand</groupId>
<artifactId>com.io7m.jxtrand.vanilla</artifactId>
</dependency>
<dependency>
<groupId>com.io7m.jxtrand</groupId>
<artifactId>com.io7m.jxtrand.api</artifactId>
</dependency>

<dependency>
<groupId>com.io7m.dixmont</groupId>
<artifactId>com.io7m.dixmont.core</artifactId>
</dependency>

<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.io7m.junreachable</groupId>
<artifactId>com.io7m.junreachable.core</artifactId>
</dependency>
<dependency>
<groupId>com.io7m.jmulticlose</groupId>
<artifactId>com.io7m.jmulticlose.core</artifactId>
</dependency>
<dependency>
<groupId>com.io7m.jproperties</groupId>
<artifactId>com.io7m.jproperties.core</artifactId>
</dependency>
<dependency>
<groupId>com.io7m.jdeferthrow</groupId>
<artifactId>com.io7m.jdeferthrow.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation.bundle</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation.versioning</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>com.io7m.trasco</groupId>
<artifactId>com.io7m.trasco.api</artifactId>
<version>${com.io7m.trasco.version}</version>
</dependency>
<dependency>
<groupId>com.io7m.trasco</groupId>
<artifactId>com.io7m.trasco.vanilla</artifactId>
<version>${com.io7m.trasco.version}</version>
</dependency>
<dependency>
<groupId>com.io7m.trasco</groupId>
<artifactId>com.io7m.trasco.xml.schemas</artifactId>
<version>${com.io7m.trasco.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>generate-sql</id>
<phase>generate-sources</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<mainClass>com.io7m.trasco.vanilla.TrSchemaRevisionSetSQLMain</mainClass>
<includePluginDependencies>true</includePluginDependencies>
<includeProjectDependencies>false</includeProjectDependencies>
<arguments>
<argument>${project.basedir}/src/main/resources/com/io7m/mesquida/internal/database.xml</argument>
<argument>${project.build.directory}/database.sql</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.jooq</groupId>
<artifactId>jooq-codegen-maven</artifactId>
<version>${jooq.version}</version>
<configuration>
<configurationFile>${project.basedir}/src/main/jooq/configuration.xml</configurationFile>
</configuration>
<executions>
<execution>
<id>jooq-codegen</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-meta-extensions</artifactId>
<version>${jooq.version}</version>
</dependency>
</dependencies>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-jooq-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/jooq</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>

<!-- Produce distribution. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>distribution</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<finalName>mesquida</finalName>
<attach>true</attach>
<descriptors>
<descriptor>${project.basedir}/src/main/assembly/distribution.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>io.github.zlika</groupId>
<artifactId>reproducible-build-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

</project>
Expand Up @@ -14,13 +14,15 @@
<format>zip</format>
</formats>

<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<useTransitiveDependencies>true</useTransitiveDependencies>
</dependencySet>
</dependencySets>

<files>
<file>
<source>target/com.io7m.mesquida-${project.version}-main.jar</source>
<outputDirectory>/lib</outputDirectory>
<fileMode>0644</fileMode>
<destName>mesquida.jar</destName>
</file>
<file>
<source>src/main/sh/mesquida</source>
<outputDirectory>/bin</outputDirectory>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -7,6 +7,6 @@ then
fi

exec /usr/bin/env java \
-cp "${MESQUIDA_HOME}/lib/mesquida.jar" \
com.io7m.mesquida.Main \
-p "${MESQUIDA_HOME}/lib" \
-m com.io7m.mesquida.main/com.io7m.mesquida.Main \
"$@"

0 comments on commit 3e2c5df

Please sign in to comment.