Comments (11)
I'm not using the plugin myself at the moment, so it wasn't on the top of my list. But it there is a bit of interest I can make time.
from sbt-onejar.
I personally found this plugin the best fit for my needs (simple, ultra-fast, working!). Since I recently switched to sbt 0.10.1 there is a lot of interest :)
from sbt-onejar.
I'd be a happy man if this plugin supported sbt 0.10
from sbt-onejar.
sbt 0.10 support would be awesome so I do not have to revert new projects I am working on back, +1
from sbt-onejar.
I've started work on this, see https://github.com/retronym/sbt-onejar
If you try it out, please provide some feedback here.
from sbt-onejar.
I followed the updated instructions for 0.10 on https://github.com/retronym/sbt-onejar
I added project/plugins/plugins.sbt and also the 3 lines.
reload, update, onejar
not working
onejar
[error] Not a valid command: onejar
[error] Not a valid project ID: onejar
[error] Not a valid configuration: onejar
[error] Not a valid key: onejar (similar: runner)
[error] onejar
Include the settings from com.github.retronym.SbtOneJar.sbtOneJarSettings
<= not sure what this is
from sbt-onejar.
Take a look at the test project:
https://github.com/retronym/sbt-onejar/blob/master/src/sbt-test/one-jar/basic
In particular:
https://github.com/retronym/sbt-onejar/blob/master/src/sbt-test/one-jar/basic/build.sbt
from sbt-onejar.
Just tried that. Same error.
I also just tried building the basic project (sbt-onejar/src/sbt-test/one-jar/basic). Got an unresolved error
[error] {file:/Users/joestein/sbt-onejar/src/sbt-test/one-jar/basic/project/plugins/}default-d86d15/*:update: sbt.ResolveException: unresolved dependency: com.github.retronym#sbt-onejar_2.8.1;0.3-SNAPSHOT: not found
so then I created project/plugins/plugins.sbt (was not in there) and put the 3 lines into it
reload, update, onejar
and the basic project same issue as in my project
onejar
[error] Not a valid command: onejar
[error] Not a valid project ID: onejar
[error] Not a valid configuration: onejar
[error] Not a valid key: onejar (similar: one-jar, one-jar-redist, runner)
[error] onejar
[error]
from sbt-onejar.
I've updated the documentation with the correct task name: one-jar
.
from sbt-onejar.
good to go now! awesome! thanks!
from sbt-onejar.
I think this is done now.
from sbt-onejar.
Related Issues (20)
- Duplicate jars HOT 4
- JarClassLoader Problem with aspectjrt HOT 1
- Please investigate of making the plugin work without exportJars := true option
- publish plugin for sbt 0.13.0 HOT 5
- Default to mainClass in run in Compile not working
- Make it more obvious that `one-jar` should be run after `package`
- Pass One-Jar-Expand to sbt-onejar HOT 2
- Extract contents of main/<projectname>.jar into <projectname>-one-jar.jar before final packaging HOT 1
- use one-jar for deploy
- include main/resources in the jar HOT 1
- RuntimeFailure HOT 1
- Taking a lot of time when running with aspectj jar as javaagent HOT 1
- Good job
- Does onejar support package with multiple main class?
- Support prependng scripts
- sbt loads sbt-onejar but rejects one-jar command HOT 2
- No Support for Scala 2.11 for this plugin
- Support SBT 1.0 and Scala 2.12 HOT 6
- Failed to run a jar in Docker
- Travis CI dropped
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-onejar.