[Deploying Sakai] [Building Sakai] Mojo error on pack-demo for 2.9.x

Matthew Jones matthew at longsight.com
Tue Mar 26 13:45:59 PDT 2013


You're going to have to send a few more lines before that, you can just
send them to me off-list. That method in the pack-demo is running the build
and it's failing on an error, but I don't see the error in that block of
text, so it must have been something before.


On Tue, Mar 26, 2013 at 4:41 PM, Neal Caidin <nealcaidin at sakaifoundation.org
> wrote:

> I tried to build a demo Sakai CLE for 2.9.x,
> https://source.sakaiproject.org/svn/sakai/branches/sakai-2.9.x/ ,  using
> mvn install -P pack-demo.
>
> Maven then suggested the -e option to get more information and I get back
> this:
>
> An Ant BuildException has occured: The following error occurred while
> executing this line:
> /Users/nealcaidin/dev/sakai-2.9.x/pack/pack-demo/build.xml:62: exec
> returned: 1
> at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:283)
>  at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>  ... 19 more
> Caused by:
> /Users/nealcaidin/dev/sakai-2.9.x/pack/pack-demo/target/antrun/build-main.xml:9:
> The following error occurred while executing this line:
> /Users/nealcaidin/dev/sakai-2.9.x/pack/pack-demo/build.xml:62: exec
> returned: 1
> at
> org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:497)
>  at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>  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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
>  at org.apache.tools.ant.Target.execute(Target.java:390)
> at org.apache.tools.ant.Target.performTasks(Target.java:411)
>  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
>  at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:270)
> ... 21 more
> Caused by: /Users/nealcaidin/dev/sakai-2.9.x/pack/pack-demo/build.xml:62:
> exec returned: 1
>  at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:650)
> at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:676)
>  at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:502)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>  at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>  at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:390)
> at org.apache.tools.ant.Target.performTasks(Target.java:411)
>  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
> at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
>  at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
>  ... 33 more
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :pack-demo
>
> Jim Morrison (the Doors) will be very disappointed that I got a
> MojoExecutionException. He was completely into executing good Mojo.
>
> Anybody else seeing this problem?
>
> Sounds like it may be a problem in the configuration of the POM plugin
> according to the cwiki.apache.org link listed just above:
>
> "Unlike many other errors, this exception is not generated by the Maven
> core itself but by a plugin. As a rule of thumb, plugins use this error to
> signal a problem in their configuration or the information they retrieved
> from the POM.
>
> The concrete meaning of the exception depends on the plugin so please have
> a look at its documentation. The documentation for many common Maven
> plugins can be reached via ourplugin index<http://maven.apache.org/plugins/>
> ."
> Thanks,
>
>  Neal Caidin
>
> Sakai CLE Community Coordinator
> nealcaidin at sakaifoundation.org
> Skype: nealkdin
> AIM: ncaidin at aol.com
>
>
>
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20130326/ee21bef0/attachment-0001.html 


More information about the production mailing list