Skip to content
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

ThingML as a maven dependency #241

Open
imberium opened this issue Jul 25, 2018 · 4 comments
Open

ThingML as a maven dependency #241

imberium opened this issue Jul 25, 2018 · 4 comments
Assignees
Labels

Comments

@imberium
Copy link

Hi,

There is an issue when using ThingML as a maven dependency, maven fails to import it, it seems that there is a problem in the repository. I get this error :

Failed to collect dependencies at org.thingml:compilers.registry:jar:2.0.0-SNAPSHOT -> org.thingml:compilers.c:jar:2.0.0-SNAPSHOT -> org.thingml:compilers.framework:jar:2.0.0-SNAPSHOT -> org.thingml:thingml:jar:2.0.0-SNAPSHOT: Failed to read artifact descriptor for org.thingml:thingml:jar:2.0.0-SNAPSHOT: Could not find artifact org.thingml:language:pom:2.0.0-SNAPSHOT in thingml-snapshot

@brice-morin
Copy link
Collaborator

Hi,

We used to have a Maven repo, but unfortunately, it is not maintained/available anymore... @ffleurey when do you plan to have a public Maven repo available?

I am trying a solution based on jitpack.io, but I cannot (yet) make it work... I'll keep you updated if I succeed. Maybe you can also try jitpack? Seems like a neat solution if we can get it to work...

@brice-morin
Copy link
Collaborator

As an alternative to jitpack.io, I could make a Maven repo into a mvn-repo branch on the ThingML repo... what do you think @ffleurey ???

@imberium
Copy link
Author

imberium commented Jul 25, 2018

I ended up compiling the source code directly from the repo and adding the jar to my project as a workaround

<dependency>
	<groupId>org.thingml</groupId>
	<artifactId>thingml-registry</artifactId>
	<version>1.0</version>
	<scope>system</scope>
	<systemPath>${project.basedir}/path/to/thingml-registry.jar</systemPath>
</dependency>

I suggest that you remove the maven option from the readme (as it is not working)

brice-morin added a commit that referenced this issue Jul 25, 2018
@brice-morin
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants