Comments (7)
Ooh, thank you, didn't knew about JitPack. That thing is awesome :o Anyway, got the dependency working now, so closing this issue. Ty for fast reply.
from java-discord-rpc.
Hey there,
Obviously I'm not Minn, so I can't answer if it'll be on the "official" Maven repo, but just because it's not there doesn't mean you can't use Maven. The repo and all of its code is accessible via the JitPack Maven repository.
This link will have more info on how to add the JitPack repository to your pom.xml
file: JitPack
If you have further questions, don't hesitate to ask!
from java-discord-rpc.
Since jitpack does everything that is needed I don't feel like moving it onto maven central/jcenter.
You can use the jitpack resolver as mentioned by @kkirigaya
from java-discord-rpc.
Reopening this because I can't get any dependency files. It looks like that jitpack current cannot build the project?
Build starting...
Start: Sat Feb 3 19:38:25 UTC 2018
Git:
v2.0.1-31-g49b2304
commit 49b23040c60fb5819d8f03ccf4bbd4b6785daf12
Author: Chris Marsh
Date: Wed Nov 22 16:12:37 2017 -0800
wip updating build script
ERROR:
No build file found. Looking for Gradle/Maven/Sbt/Lein build file in the root of the project
See the documentation at https://jitpack.io/docs/
Files:
CMakeLists.txt
LICENSE
README.md
appveyor.yml
build.py
documentation
examples
include
src
2018-02-03T19:38:25.586295388Z
Exit code: 1
No build artifacts found
from java-discord-rpc.
Sorry to hear that! Mind posting your pom.xml
file here so I can take a look at it? Thanks!
from java-discord-rpc.
So, here is the parent pom.
What I added there is:
<repository>
<id>jcentral</id>
<url>https://jcenter.bintray.com</url>
<name>jcenter</name>
</repository>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
<name>jitpack</name>
</repository>
Before </repositories>
Here is the child project pom
Where I actually want to use the Discord RPC.
I added
<dependency>
<groupId>com.github.MinnDevelopment</groupId>
<artifactId>discord-rpc</artifactId>
<version>v1.3.1</version>
</dependency>
under
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
It looks like it should be working, but Maven cannot resolve the discord-rpc
dependency. Tree output from the ~/.m2
MinnDevelopment
└── discord-rpc
└── v1.3.1
├── discord-rpc-v1.3.1.jar.lastUpdated
└── discord-rpc-v1.3.1.pom.lastUpdated
2 directories, 2 files
I tried other versions/commits/branches but deleted the MinnDevelopment directory in order to try re-fetch it, but no success as you can see above.
from java-discord-rpc.
Oh, oops, my fault java-discord-rpc
not discord-rpc
🤦♂️
from java-discord-rpc.
Related Issues (20)
- Module not found HOT 6
- [Request/Help] Function to check if an Image Exists? HOT 3
- [Error/Bug] MacOS Error Loading dll (Code Signature Invalid) HOT 5
- Problem HOT 3
- Handlers not being triggered HOT 7
- Unable to load library 'discord-rpc': The specified module could not be found. HOT 15
- Imposible to use it in a minecraft mod HOT 6
- Error in LSRegisterURL: -10811 HOT 1
- This is not issue, but question HOT 1
- How to reset StartTimestamp and EndTimestamp presences? HOT 1
- jcenter returning 502 HOT 1
- UnsatisfiedLinkError on release jar HOT 7
- How to utilize Discord_Initialize() to connect to second local instance of Discord HOT 4
- Deprecation of the official Discord SDK for RPC HOT 1
- Unable to load library 'discord-rpc' Minecraft 1.8.8 MCP Error HOT 2
- This is less of an issue and more of something i want to know HOT 1
- About secret HOT 2
- Error in LSRegisterURL: -10811 HOT 1
- java.lang.UnsatisfiedLinkError: Unable to load library 'discord-rpc' HOT 1
- Suggestion HOT 1
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 java-discord-rpc.