Re: [Codenarc-user] CodeNarc maven plugin
Brought to you by:
chrismair
From: Hamlet D. <ham...@ca...> - 2011-08-05 13:45:09
|
In the meantime you can always run CodeNarc as part of your UnitTests: http://codenarc.sourceforge.net/codenarc-run-as-a-test.html I actually find this way of running it nicer :) ----- Original Message ----- > > Thank you very much for the answer. I tried various repositories and > dependencies, following your lead, to no avail. > > I can't subscribe (or post) to the mojo user mailing list. I sent an > email to use...@mo... but did not get an > answer....... > > Thanks, > > Olivier > > > > > On Fri, Aug 5, 2011 at 2:17 AM, Hamlet DArcy < ham...@ca... > > wrote: > > > Hi, > > I'm sorry to hear you had problems running the Maven plugin. > > While we're waiting for someone else to provide a good answer to the > question, you might try asking the same question on the > mojo.codehaus.org mailing list: > > http://mojo.codehaus.org/codenarc-maven-plugin/mail-lists.html > > We don't actually maintain the Maven plugin ourselves, so you might > find that list is more knowledgeable about it. > > Now, I will try to answer the question. > > I tried to look at Maven Central and the CodeHaus Maven repository > and didn't see the org.codehaus.mojo:codenarc-maven-plugin > dependency. I believe this dependency should sit in Maven just like > any other dependency. I want to check this because perhaps the > version number is wrong. > > I did find the dependency in the Mojo Repo though: > https://nexus.codehaus.org/content/groups/snapshots-group/org/codehaus/mojo/codenarc-maven-plugin/ > > > Did you add this repository to your pom.xml, or are you using just > Maven Central to resolve dependencies? I think you might need to add > the https://nexus.codehaus.org repository. I don't know the exact > XML to do this though. > > Thanks, > Hamlet > > > > > ----- Original Message ----- > > > > Hi there, > > > > I've tried to include codenarc reports in my maven project, without > > luck. The documentation at > > http://mojo.codehaus.org/codenarc-maven-plugin/index.html does not > > seem to help. > > I get: > > > > Reason: POM 'org.codehaus.mojo:codenarc-maven-plugin' not found in > > repository: Unable to download the artifact from any repository > > > > org.codehaus.mojo:codenarc-maven-plugin:pom:0.8-alpha-1-SNAPSHOT > > > > Help? > > > > Thanks, > > > > Olivier > > > > ------------------------------------------------------------------------------ > > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > > The must-attend event for mobile developers. Connect with experts. > > Get tools for creating Super Apps. See the latest technologies. > > Sessions, hands-on labs, demos & much more. Register early & save! > > http://p.sf.net/sfu/rim-blackberry-1 > > _______________________________________________ > > Codenarc-user mailing list > > Cod...@li... > > https://lists.sourceforge.net/lists/listinfo/codenarc-user > > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Codenarc-user mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codenarc-user > |