[
http://jira.codehaus.org/browse/MOJO-714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Schaible updated MOJO-714:
--------------------------------
Attachment: appassembler-plugin-pom.patch
Patch: Do not install current artifact if it has no file (as it happens for
packaging "pom").
> NPE when invoke from command line and when packaging is pom
> -----------------------------------------------------------
>
> Key: MOJO-714
> URL: http://jira.codehaus.org/browse/MOJO-714
> Project: Mojo
> Issue Type: Bug
> Components: appassembler
> Environment: windows
> Reporter: Dan Tran
> Attachments: appassembler-plugin-pom.patch
>
>
> Tested against latest snapshot built from source
> here is the error when run
> 1. mvn appassembler:assemble ( with any packaging type )
> 2 run in a phase with packaging = pom
> [INFO] Installing C:\Documents and
> Settings\dtran\.m2\repository\com\oracle\ojdb
> c14\9.0.2.0.0\ojdbc14-9.0.2.0.0.jar to
> C:\dev\iplocks\iplocks\iplocks-scripts\ta
> rget\appassembler\repo\com\oracle\ojdbc14\9.0.2.0.0\ojdbc14-9.0.2.0.0.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(
> DefaultArtifactInstaller.java:71)
> at
> org.codehaus.mojo.appassembler.AssembleMojo.installArtifact(AssembleM
> ojo.java:360)
> at
> org.codehaus.mojo.appassembler.AssembleMojo.execute(AssembleMojo.java
> :274)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:443)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email