I found out the issue. As soon as I add this repo: <repositories> <repository> <id>com.asual.maven.public</id> <name>Asual Public Repository</name> <url>http://www.asual.com/maven/content/groups/public</url> </repository> </repositories>
the build fails with this info: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce (mojo-enforcer-rules) on project lesscss-maven-plugin: Execution mojo-enforcer-rules of goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce failed. NullPointerException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce (mojo-enforcer-rules) on project lesscss-maven-plugin: Execution mojo-enforcer-rules of goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution mojo-enforcer-rules of goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.NullPointerException at org.apache.maven.plugins.enforcer.RequireNoRepositories.findBannedRepositories(RequireNoRepositories.java:182) at org.apache.maven.plugins.enforcer.RequireNoRepositories.execute(RequireNoRepositories.java:110) at org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:186) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) ... 20 more Probably it's not allowed to use this repo? I don't know what the rules are but I can imagine there is a rule to only use some trusted public repo's. Cheers, Marcel Robert Scholte wrote: > > > could you add some debug-logging?mvn install -X the parent is required to > be able to deploy snapshots. > this parent is created to block accidental deployments to Maven Central > -Robert > Date: Thu, 1 Sep 2011 13:31:49 -0700 >> From: marceloverd...@gmail.com >> To: user@mojo.codehaus.org >> Subject: RE: [mojo-user] New plugin request - LessCSS >> >> >> Thanks Robert, >> >> This is no problem for btw. >> I will continue working on the plugin and when I have a stable version I >> will attach a zip to the jira issue. >> >> On a related note I was using the following parent module as suggested: >> >> <parent> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>mojo-sandbox-parent</artifactId> >> <version>9</version> >> </parent> >> >> When installing the plugin in my local repo (using mvn install) I got >> some >> problems with the enforcer plugin: >> >> INFO] --- maven-enforcer-plugin:1.0:enforce (mojo-enforcer-rules) @ >> lesscss >> --- >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 5.230s >> [INFO] Finished at: Thu Sep 01 14:47:18 CEST 2011 >> [INFO] Final Memory: 10M/109M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce >> (mojo-enforcer-rules) on project lesscss: Execution mojo-enforcer-rules >> of >> goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce failed. >> NullPointerException -> [Help 1] >> >> From the exception I don't understand what to do, and also looking in >> other >> sandbox plugins I don't see anything special. I also noticed not all >> sandbox >> plugins are using this parent module. >> Any idea? >> >> >> Robert Scholte wrote: >> > >> > >> > No, the sandbox is not open for everybody."Once accepted it will be put >> in >> > the sandbox where you can continue to develop and maintain it. The >> plugin >> > will generally be kept in the sandbox until the first release of the >> > plugin is made."It looks like this line is kind of confusing. You can't >> > maintain it yourself. You could either provide new zip-files and attach >> it >> > to the JIRA-issue with the plugin-submission until it is placed in the >> > sandbox.Once in the sandbox you can provide patches. "Note that you >> will >> > not automatically become a committer on the project. If you stick >> around >> > and keep on maintaining the plugin we'll most likely grant you commit >> > rights once we feel comfortable with you and your work."Only this way >> you >> > can get access to the repository of mojo, including the sandbox. >> -Robert >> > > Date: Thu, 1 Sep 2011 13:16:46 -0700 >> >> From: marceloverd...@gmail.com >> >> To: user@mojo.codehaus.org >> >> Subject: RE: [mojo-user] New plugin request - LessCSS >> >> >> >> >> >> I understood that sandbox was just 'open' for everybody. >> >> Maybe my interpretation of 'open' was wrong. >> >> >> >> But maybe I should indeed attach the source instead. I'm currently >> still >> >> in >> >> development but I was thinking I would get access to sandbox repo to >> >> start >> >> committing. Maybe I was wrong. >> >> >> >> Please let me know. >> >> >> >> >> >> >> >> >> >> >> >> Robert Scholte wrote: >> >> > >> >> > >> >> > Have you read this page? >> >> > >> >> >> http://mojo.codehaus.org/contribution/submitting-a-plugin.htmlEspecially >> >> > the line ...and attach the source code there. I think Christopher >> has >> >> > enough interest to have a look at it. -Robert> Date: Thu, 1 Sep >> 2011 >> >> > 12:59:13 -0700 >> >> >> From: marceloverd...@gmail.com >> >> >> To: user@mojo.codehaus.org >> >> >> Subject: Re: [mojo-user] New plugin request - LessCSS >> >> >> >> >> >> >> >> >> I got no reaction on the jira request so far. >> >> >> Does anybody know how long this normally takes? >> >> >> >> >> >> >> >> >> Marcel Overdijk wrote: >> >> >> > >> >> >> > Thanks again. >> >> >> > >> >> >> > I missed the part submitting the request in Jira. >> >> >> > Just created the ticket >> (http://jira.codehaus.org/browse/MOJO-1732) >> >> so >> >> >> I >> >> >> > will wait on feedback to continue. >> >> >> > >> >> >> > For now I will use the standard Mojo archetype and follow the >> >> >> guidelines. >> >> >> > >> >> >> > Cheers, >> >> >> > Marcel >> >> >> > >> >> >> > >> >> >> > Christopher Hunt-2 wrote: >> >> >> >> >> >> >> >> On 30/08/2011, at 4:54 PM, Marcel Overdijk wrote: >> >> >> >> >> >> >> >>> >> >> >> >>> Thanks Christopher, >> >> >> >>> >> >> >> >>> Thanks for your instant reply. >> >> >> >> My pleasure. >> >> >> >> >> >> >> >>> I have 2 questions: >> >> >> >>> 1) I'm missing (or just can't find) the right information how >> to >> >> >> create >> >> >> >>> project in sandbox, e.g. is the sandbox a svn repository I can >> >> >> access? >> >> >> >> Actually, you'll need to do this first off: >> >> >> >> >> >> >> >> http://mojo.codehaus.org/contribution/submitting-a-plugin.html >> >> >> >> >> >> >> >> It'll be useful to read through the whole MOJO site >> documentation >> >> as a >> >> >> >> first-off. >> >> >> >> >> >> >> >> Anyhow, the link to SVN is >> >> >> https://svn.codehaus.org/mojo/trunk/sandbox/ >> >> >> >> >> >> >> >>> 2) Should I use some Codehaus Mojo archetype to create plugin >> >> >> template? >> >> >> >> I'm not familiar with such a template. When I had to do this I >> >> applied >> >> >> >> the required changes by looking at other MOJO projects. >> >> >> >> >> >> >> >> Kind regards, >> >> >> >> Christopher >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> >> To unsubscribe from this list, please visit: >> >> >> >> >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> > >> >> >> >> >> >> -- >> >> >> View this message in context: >> >> >> >> >> >> http://old.nabble.com/New-plugin-request---LessCSS-tp32362119p32382232.html >> >> >> Sent from the mojo - user mailing list archive at Nabble.com. >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> To unsubscribe from this list, please visit: >> >> >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> >> >> >> > >> >> > >> >> >> >> -- >> >> View this message in context: >> >> >> http://old.nabble.com/New-plugin-request---LessCSS-tp32362119p32382345.html >> >> Sent from the mojo - user mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe from this list, please visit: >> >> >> >> http://xircles.codehaus.org/manage_email >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/New-plugin-request---LessCSS-tp32362119p32382470.html >> Sent from the mojo - user mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > -- View this message in context: http://old.nabble.com/New-plugin-request---LessCSS-tp32362119p32382606.html Sent from the mojo - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email