Skip to content

Commit

Permalink
change to maven plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kryptonbutterfly committed Mar 7, 2024
1 parent 28eddc8 commit 7fbe4f8
Show file tree
Hide file tree
Showing 7 changed files with 444 additions and 130 deletions.
232 changes: 232 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 48 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>kryptonbutterfly</groupId>
<artifactId>cache_builder</artifactId>
<version>2.0.0</version>
<version>3.0.0</version>
<name>CacheBuilder</name>
<description>A java bytecode manipulator to decorate annotated functions with a specified cache</description>

<description>A java bytecode manipulator to decorate annotated functions
with a specified cache</description>
<packaging>maven-plugin</packaging>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub kryptonbutterfly Apache Maven Packages</name>
<url>https://maven.pkg.github.com/kryptonbutterfly/maven-repo</url>
</repository>
</distributionManagement>

<properties>
<maven-plugin-tools.version>3.9.0</maven-plugin-tools.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>18</java.version>
</properties>

<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/kryptonbutterfly/maven-repo</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>kryptonbutterfly</groupId>
Expand All @@ -43,10 +48,32 @@
<artifactId>asm-tree</artifactId>
<version>9.6</version>
</dependency>
<!-- maven plugin api -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.6.3</version>
<scope>provided</scope>
</dependency>
<!-- maven plugin annotations -->
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.9.0</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
Expand Down Expand Up @@ -74,6 +101,19 @@
<release>18</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${maven-plugin-tools.version}</version>
<executions>
<execution>
<id>help-mojo</id>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
Loading

0 comments on commit 7fbe4f8

Please sign in to comment.