cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.46k stars 160 forks source link

Could not find artifact org.jsweet:jsweet-maven-plugin:jar:1.0.0-SNAPSHOT #18

Closed renaudpawlak closed 8 years ago

renaudpawlak commented 8 years ago

From @tdebroc on December 22, 2015 9:4

I have a maven Build Failure: [ERROR] Plugin org.jsweet:jsweet-maven-plugin:1.0.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.jsweet:jsweet-maven-plugin:jar:1.0.0-SNAPSHOT

Copied from original issue: cincheo/jsweet-examples#12

renaudpawlak commented 8 years ago

Was it when building the jsweet-quickstart project or when building the jsweet-examples? There was a problem in the pom.xml of the jsweet-quickstart project that would have led to this error. It is fixed now though.

For the record, when using the maven plugin, do not forget to declare our plugin repo in your pom.xml:

<pluginRepositories>
    <pluginRepository>
        <id>jsweet-plugins-release</id>
        <name>plugins-release</name>
        <url>http://repository.jsweet.org/artifactory/plugins-release-local</url>
    </pluginRepository>
    <pluginRepository>
        <snapshots />
        <id>jsweet-plugins-snapshots</id>
        <name>plugins-snapshot</name>
        <url>http://repository.jsweet.org/artifactory/plugins-snapshot-local</url>
    </pluginRepository>
</pluginRepositories>
tdebroc commented 8 years ago

Hey Renaud, Thanks for quick answer ! Works like a charm now :-)