diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-05-26 19:47:05 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-05-26 19:50:54 +0100 |
| commit | ba5f68aa1f6e909dad92dac0fdbf6cf808fbfe76 (patch) | |
| tree | 065bfdcd41e8bc6ad9aba3ec4ed7adb8b4c3916b /pom.xml | |
| parent | 5c0b6c30c84067dcc36dbdc9d8e4075e94490131 (diff) | |
Add CLI
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -56,6 +56,11 @@ <dependencies> <dependency> + <groupId>net.sourceforge.argparse4j</groupId> + <artifactId>argparse4j</artifactId> + <version>0.9.0</version> + </dependency> + <dependency> <groupId>org.zwobble.source-text</groupId> <artifactId>source-text</artifactId> <version>0.1.0</version> @@ -81,6 +86,37 @@ <build> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>3.4.1</version> + <configuration> + <createDependencyReducedPom>false</createDependencyReducedPom> + <filters> + <filter> + <artifact>*:*</artifact> + <excludes> + <exclude>META-INF/*</exclude> + </excludes> + </filter> + </filters> + <transformers> + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> + <manifestEntries> + <Main-Class>org.zwobble.hobgoblin.compiler.HobgoblinCli</Main-Class> + </manifestEntries> + </transformer> + </transformers> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.8.0</version> |
