[
https://issues.apache.org/jira/browse/NPANDAY-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maria Odea Ching updated NPANDAY-379:
-------------------------------------
Description:
Steps to reproduce:
1) Removed npanday-settings.xml in the user_home directory
2) Open and build a project using NPanday
3) Noticed that the build was successful, but there was an exception thrown.
See logs below:
[INFO] [NPanday.Plugin.Settings.JavaBinding:generate-settings {execution:
default-generate-settings}]
org.apache.maven.plugin.MojoExecutionException:
at
npanday.plugin.StringConfigurationAppender.append(StringConfigurationAppender.java:37)
at npanday.plugin.AbstractMojo.getDOMSourceFor(AbstractMojo.java:274)
at npanday.plugin.AbstractMojo.execute(AbstractMojo.java:132)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
Expected Behavior: Exception should be handled correctly.
was:
Steps to reproduce:
1) Removed npanday-settings.xml in the user_home directory
2) Open and build a project using NPanday
3) Noticed that the build was successful, but there was an exception thrown.
See logs below:
[INFO] [NPanday.Plugin.Settings.JavaBinding:generate-settings {execution:
default-generate-settings}]
org.apache.maven.plugin.MojoExecutionException:
at
npanday.plugin.StringConfigurationAppender.append(StringConfigurationAppender.java:37)
at npanday.plugin.AbstractMojo.getDOMSourceFor(AbstractMojo.java:274)
at npanday.plugin.AbstractMojo.execute(AbstractMojo.java:132)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
Expected Behavior: Exception should be handled correctly.
Summary: Exception not caught properly when default path for
npanday-settings.xml is used (was: Exception not catch properly when default
path for npanday-settings.xml is used)
> Exception not caught properly when default path for npanday-settings.xml is
> used
> --------------------------------------------------------------------------------
>
> Key: NPANDAY-379
> URL: https://issues.apache.org/jira/browse/NPANDAY-379
> Project: NPanday
> Issue Type: Bug
> Affects Versions: 1.3-incubating
> Reporter: Adelita L. Padilla
> Priority: Minor
> Fix For: 1.3.1-incubating
>
>
> Steps to reproduce:
> 1) Removed npanday-settings.xml in the user_home directory
> 2) Open and build a project using NPanday
> 3) Noticed that the build was successful, but there was an exception thrown.
> See logs below:
> [INFO] [NPanday.Plugin.Settings.JavaBinding:generate-settings {execution:
> default-generate-settings}]
> org.apache.maven.plugin.MojoExecutionException:
> at
> npanday.plugin.StringConfigurationAppender.append(StringConfigurationAppender.java:37)
> at npanday.plugin.AbstractMojo.getDOMSourceFor(AbstractMojo.java:274)
> at npanday.plugin.AbstractMojo.execute(AbstractMojo.java:132)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> Expected Behavior: Exception should be handled correctly.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira