Skip to content

Commit b9dfdc1

Browse files
committed
Revert "prepare release"
This reverts commit 814bcf1.
1 parent 814bcf1 commit b9dfdc1

File tree

3 files changed

+23
-147
lines changed

3 files changed

+23
-147
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 116 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ If you work in a legacy app and ask things like "Can we remove this?" or "Is thi
1212
- [Recommended Local Workflow: ELK](#recommended-local-workflow-elk)
1313
- [Project Status](#project-status)
1414
- [Java Version](#java-version)
15-
- [Download a Release Jar](#download-a-release-jar)
1615
- [Build](#build)
1716
- [Configure](#configure)
1817
- [Run an Application with JCT](#run-an-application-with-jct)
@@ -52,13 +51,11 @@ This is especially useful before deleting legacy code, splitting modules, or tig
5251

5352
If you just want first results quickly:
5453

55-
1. Download the release jar or build JCT locally
54+
1. Build JCT
5655
2. Start your app with `-javaagent` and a config
5756
3. Inspect generated events (file output or ELK stack)
5857

59-
Fastest path: download the fat jar from GitHub Releases and use it directly.
60-
61-
Manual build commands:
58+
Minimum commands:
6259

6360
```bash
6461
mvn clean package
@@ -104,31 +101,10 @@ This project targets Java 8 bytecode and is currently focused on practical runti
104101
JCT is compiled against Java 8 (`-source 8 -target 8`) and intentionally uses no APIs beyond that level.
105102
This is a deliberate choice — the primary target is legacy and monolithic systems that are often stuck on older JVMs.
106103

107-
It runs fine on newer JVMs (11, 17, 21, ...) without any changes.
108-
109-
## Download a Release Jar
110-
111-
If you do not want to build JCT locally, download the prebuilt agent jar here:
112-
113-
- [GitHub Releases](https://github.com/niesfisch/java-code-tracer/releases)
114-
- [Release workflow runs and downloadable artifacts](https://github.com/niesfisch/java-code-tracer/actions/workflows/release.yml)
115-
116-
Use this file as your Java agent:
117-
118-
- `java-code-tracer-<version>-jar-with-dependencies.jar`
119-
120-
The release workflow publishes the jar in two places:
121-
122-
- as a GitHub Release asset for tagged releases
123-
- as a workflow artifact for each `Release Jar` workflow run
124-
125-
For maintainers: pushing a tag like `v1.0.0` starts the release workflow automatically.
126-
You can also trigger `Release Jar` manually in GitHub Actions and provide a tag name.
104+
It runs fine on newer JVMs (11, 17, 21, …) without any changes.
127105

128106
## Build
129107

130-
Build locally with Maven if you prefer or if you want to modify the project:
131-
132108
```bash
133109
mvn clean package
134110
```
@@ -137,8 +113,6 @@ The distributable agent jar is created at:
137113

138114
- `target/java-code-tracer-1.0-SNAPSHOT-jar-with-dependencies.jar`
139115

140-
That is the jar you should use with `-javaagent`.
141-
142116
## Configure
143117

144118
Create a local config file:
@@ -327,3 +301,4 @@ Use the following IntelliJ Run/Debug VM options example when attaching JCT as a
327301
## License
328302

329303
[MIT](LICENSE.txt)
304+

pom.xml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<properties>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414
<java.version>8</java.version>
15-
<maven.compiler.release>${java.version}</maven.compiler.release>
15+
<maven.compiler.source>${java.version}</maven.compiler.source>
16+
<maven.compiler.target>${java.version}</maven.compiler.target>
1617
<maven.surefire.plugin.version>3.2.5</maven.surefire.plugin.version>
1718
<maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version>
1819
<maven.assembly.plugin.version>3.7.1</maven.assembly.plugin.version>
@@ -31,7 +32,22 @@
3132
</license>
3233
</licenses>
3334

35+
<repositories>
36+
<repository>
37+
<id>Sonatype-public</id>
38+
<name>SnakeYAML repository</name>
39+
<url>http://oss.sonatype.org/content/groups/public/</url>
40+
</repository>
41+
</repositories>
42+
3443
<dependencies>
44+
<dependency>
45+
<groupId>com.sun</groupId>
46+
<artifactId>tools</artifactId>
47+
<version>1.6.0</version>
48+
<scope>system</scope>
49+
<systemPath>${java.home}/../lib/tools.jar</systemPath>
50+
</dependency>
3551
<dependency>
3652
<groupId>org.yaml</groupId>
3753
<artifactId>snakeyaml</artifactId>
@@ -81,7 +97,8 @@
8197
<artifactId>maven-compiler-plugin</artifactId>
8298
<version>${maven.compiler.plugin.version}</version>
8399
<configuration>
84-
<release>${maven.compiler.release}</release>
100+
<source>${maven.compiler.source}</source>
101+
<target>${maven.compiler.target}</target>
85102
</configuration>
86103
</plugin>
87104

0 commit comments

Comments
 (0)