Comments (17)
Good idea. Will figure out how to do it. Thanks!
from smile.
Refactored pom.xml in preparation of maven central repository.
from smile.
It is in the maven central repository now. Please try
com.github.haifengl smile-core 1.0.0Thanks!
from smile.
Thank you!!
from smile.
Yes this is awesome, thanks!
from smile.
Is there a link to find it on maven.org ? I can't seem to see it.
from smile.
I found it at https://repo1.maven.org/maven2/com/github/haifengl/ , but it seems to be trying to pull in smile-all which doesn't exist? (I'm doing this from within an sbt file for a scala project)
from smile.
Smile-all is the parent pom to build all these modules. It is not really needed. Maybe I didn't do it right to publish to central repository. Any ideas? Thanks!
from smile.
Regrettably I am not an expert. In my build.sbt I have:
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies += "com.github.haifengl" % "smile-core" % "1.0.0"
Which, when I 'sbt compile', results in:
[info] Resolving com.github.haifengl#smile-all;1.0.0 ...
[warn] io problem while parsing ivy file: https://repo1.maven.org/maven2/com/github/haifengl/smile-core/1.0.0/smile-core-1.0.0.pom: Impossible to load parent for file:/home/xxx/.ivy2/cache/com.github.haifengl/smile-core/ivy-1.0.0.xml.original. Parent=com.github.haifengl#smile-all;1.0.0
[info] Resolving com.github.haifengl#smile-all;1.0.0 ...
[warn] io problem while parsing ivy file: https://oss.sonatype.org/content/repositories/releases/com/github/haifengl/smile-core/1.0.0/smile-core-1.0.0.pom: Impossible to load parent for file:/home/xxx/.ivy2/cache/com.github.haifengl/smile-core/ivy-1.0.0.xml.original. Parent=com.github.haifengl#smile-all;1.0.0
[warn] module not found: com.github.haifengl#smile-core;1.0.0
[warn] ==== local: tried
[warn] /home/xxx/.ivy2/local/com.github.haifengl/smile-all/1.0.0/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/com/github/haifengl/smile-all/1.0.0/smile-all-1.0.0.pom
[warn] ==== sonatype-releases: tried
[warn] https://oss.sonatype.org/content/repositories/releases/com/github/haifengl/smile-all/1.0.0/smile-all-1.0.0.pom
from smile.
I will figure out how to fix it. In short term, maybe you can download the parent pom from github to your local ivy2 directory?
from smile.
Can you please try again with version 1.0.1? Thanks! If maven cannot find this version, please just wait a couple of hours.
from smile.
1.0.1 works perfectly, thanks!
from smile.
Great! Thanks for quick response!
from smile.
Sorry to follow up on a closed ticket, but I might be having some trouble with resources. I am getting a crash when creating a plot:
java.lang.NullPointerException
from the ImageIcon constructor here in PlotCanvas:
private class SaveAction extends AbstractAction {
public SaveAction() {
super("Save", new ImageIcon(PlotCanvas.class.getResource("images/save16.png")));
}
I don't see that these images are in the maven jar file. jar tf smile-plot-1.0.1.jar didn't list them anyway. Should they be?
from smile.
Can you please try version 1.0.2 now? Thanks!
from smile.
I noticed the same issue as @experquisite, but it seems fixed now with 1.0.2 via maven for me 👍
from smile.
Great. Thanks guys!
from smile.
Related Issues (20)
- [FEATURE PROPOSAL] ARPACK wrapper functions HOT 2
- Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopenblas_nolapack in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib HOT 13
- Tree Representation for Regression Models in Google Earth Engine HOT 1
- Takes more memory for LSH model in NearestNeighborSearch HOT 6
- Gamma random number generator support only integer shape parameter. HOT 1
- java.lang.StackOverflowError HOT 1
- svm HOT 1
- Jitpack builds are failing since 3.x HOT 2
- FR: Compact "how to load dirty data" example HOT 1
- Arff.java writeField can fail when type isn't in the list of handled types HOT 1
- BarPlot.getUpperBound() computes wrong bound. HOT 1
- FR: Warn before trying to train where the label column has any nulls HOT 1
- Dot product Question HOT 2
- stringVector(0) error HOT 1
- Suggest changing license to Apache 2.0 license or MIT
- Non-monotonic cluster tree -- the linkage is probably not appropriate! HOT 1
- HiddenLayerBuilder does not add dropout to HiddenLayer HOT 4
- Method in interface BaseArray can never return an int[] HOT 2
- Making the plot module available in Java API HOT 4
- InnerProduct of vectors created with cas.Vars not being simplified HOT 6
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 smile.