Closed richburdon closed 11 years ago
You should add the following repositories:
<repository>
<id>mulesoft-releases</id>
<name>MuleSoft Repository</name>
<url>https://repository.mulesoft.org/releases/</url>
</repository>
<snapshotRepository>
<id>mulesoft-snapshots</id>
<name>MuleSoft Snapshot Repository</name>
<url>https://repository.mulesoft.org/snapshots/</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
Let me know if that works and I'll be updating the docs. Thanks!
Hi. Thanks very much for the response.
I tried that already, but it doesn't work:
[ERROR] Plugin org.mule.tools.javascript:jshint-maven-plugin:1.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.tools.javascript:jshint-maven-plugin:jar:1.0-SNAPSHOT: Failure to find org.mule.tools.javascript:jshint-maven-plugin:pom:1.0-SNAPSHOT in http://www.datanucleus.org/downloads/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of DataNucleus_2 has elapsed or updates are forced -> [Help 1]
Can you upload it to the Maven Central repository?
Thanks again.
RB
On Sun, Feb 10, 2013 at 10:50 AM, Alberto Pose notifications@github.comwrote:
You should add the following repositories to the repositories tag:Hi
<repository> <id>mulesoft-releases</id> <name>MuleSoft Repository</name> <url>https://repository.mulesoft.org/releases/</url> </repository> <snapshotRepository> <id>mulesoft-snapshots</id> <name>MuleSoft Snapshot Repository</name> <url>https://repository.mulesoft.org/snapshots/</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository>
Let me know if that works and I'll be updating the docs. Thanks!
— Reply to this email directly or view it on GitHubhttps://github.com/mulesoft/jshint-maven-plugin/issues/1#issuecomment-13351639..
Can you show me the snippet of your pom with the repositories list? I was reviewing my previous answer I think I made a mistake. The repositories should be listed inside a pluginRepositories tag:
<pluginRepositories>
<pluginRepository>
<id>mulesoft-snapshots</id>
<name>MuleSoft Snapshot Repository</name>
<url>https://repository.mulesoft.org/snapshots/</url>
<layout>default</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
Let me know if that works.
Thanks again for the feedback.
Ps. My idea is to upload this plugin to Maven Central but I couldn't make the time yet.
Alberto,
Thanks for the response -- that worked. Uploading to Maven Central would be great.
While we're discussing: do you use any other maven plugins for JS development? I'm experimenting with requirejs-maven-plugin (com.github.mcheely) and org.codehaus.jstestrunner for module dependency (AMD) and testing respectively. But it's taking a lot of trial-and-error and all three should ideally work together -- just wondering if you had tried this?
Thanks again for the hints.
Rich
On Sun, Feb 10, 2013 at 11:00 PM, Alberto Pose notifications@github.comwrote:
Can you show me the snippet of your pom with the repositories list? I was reviewing my previous answer I think I made a mistake. The repositories should be listed inside a pluginRepositories tag:
``` ```mulesoft-snapshots MuleSoft Snapshot Repository https://repository.mulesoft.org/snapshots/ default true Let me know if that works.
Thanks again for the feedback.
Ps. My idea is to upload this plugin to Maven Central but I couldn't make the time yet.
— Reply to this email directly or view it on GitHubhttps://github.com/mulesoft/jshint-maven-plugin/issues/1#issuecomment-13367737..
You may want to check:
https://github.com/mulesoft/recess-maven-plugin https://github.com/mulesoft/brunch-rhinodo https://github.com/mulesoft/npm-maven-plugin
Or if planning to build your own:
https://github.com/mulesoft/rhinodo
HTH,
I have updated the README.md with the plugin repositories section. I have created a new issue (#2) to upload this plugin to Maven Central. Thanks,
There is no repository listed for the groupId and artifactId. Does this only work from source?