Skip to content

fix(build): use maven with the wrapper script to build#119

Closed
valters wants to merge 12 commits intoWisser:masterfrom
valters:mvn-1
Closed

fix(build): use maven with the wrapper script to build#119
valters wants to merge 12 commits intoWisser:masterfrom
valters:mvn-1

Conversation

@valters
Copy link
Copy Markdown
Contributor

@valters valters commented Mar 19, 2025

I could not track down a reliable source for prefuse and sdoc. For now to build locally one needs to put in into local Maven repo like this:

./mvnw install:install-file \
  -Dfile=lib/prefuse.jar \
  -DgroupId=prefuse \
  -DartifactId=prefuse \
  -Dversion=0 \
  -Dpackaging=jar \
  -DgeneratePom=true

./mvnw install:install-file \
  -Dfile=lib/sdoc-0.5.0-beta.jar \
  -DgroupId=com.github.vertical-blank \
  -DartifactId=sdoc \
  -Dversion=0.5.0-beta \
  -Dpackaging=jar \
  -DgeneratePom=true

Comment thread jailerGUI.sh
cd $instdir

LIB=lib
LIB=target/lib
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maven dependency plugin will copy jar files in this folder

Comment thread jailerGUI.sh Outdated
CP=$CP:$LIB/jsqlparser-3.2.jar
CP=$CP:$LIB/tablefilter-swing-5.3.1.jar
CP=$CP:jailer.jar
CLASSPATH=$CLASSPATH:target/jailer-gui-1.0.0-SNAPSHOT.jar
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jailer jar after building with maven.

this script I guess is not good for distributing: I used it to launch jailer UI locally after converting the build to maven.

Comment thread mvnw
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to build, run ./mvnw package.
I did not test on Windows.

@Wisser Wisser closed this Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants