From jdeploy
Build and run a jDeploy project locally for testing. Uses npx jdeploy run to launch the app exactly as it would run when installed.
How this skill is triggered — by the user, by Claude, or both
Slash command
/jdeploy:runThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build and run a jDeploy project locally for testing.
Build and run a jDeploy project locally for testing.
This skill builds the project and runs it using npx jdeploy run. This command:
IMPORTANT: Always use npx jdeploy run - never use java -jar directly, as that won't simulate the real installation environment.
Check that the project has jDeploy configured:
ls package.json 2>/dev/null || echo "No package.json found"
If no package.json exists, suggest running /jdeploy:setup first.
Detect the build system and build:
Maven:
mvn clean package -DskipTests
Gradle:
./gradlew build -x test
If the build fails, report the error and stop.
Always use this command:
npx jdeploy run
This will:
jdeploy.javaVersionjdeploy.javafx is trueTo pass arguments to your application:
npx jdeploy run -- --help
npx jdeploy run -- --config myconfig.json
npx jdeploy run -- arg1 arg2
Everything after -- is passed to the Java application.
"JAR not found":
jdeploy.jar path in package.json matches actual build output"Main class not found":
Main-Class attributeJavaFX issues:
jdeploy.javafx is set to true in package.json# Build and run (Maven)
mvn clean package && npx jdeploy run
# Build and run (Gradle)
./gradlew build && npx jdeploy run
# Run with arguments
npx jdeploy run -- arg1 arg2
npx claudepluginhub shannah/jdeploy-claude --plugin jdeployAssists with Maven for Java: initializes projects, configures pom.xml, manages dependencies and scopes, sets up builds/plugins/profiles, troubleshoots errors.
Provides Maven-specific conventions for running tests, building, managing dependencies, and project structure when pom.xml is present.
Guides Maven build lifecycles (default, clean, site), phases, goals, profiles, and customization via XML for Java projects. Includes common commands and bindings.