Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

valters
Copy link

@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

@@ -3,38 +3,22 @@
instdir=`dirname $0`
cd $instdir

LIB=lib
LIB=target/lib
Copy link
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

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
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.

mvnw Outdated
Copy link
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.

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.

1 participant