You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Wendy Smoak (JIRA)" <ji...@apache.org> on 2011/06/01 00:32:47 UTC

[jira] [Commented] (NPANDAY-439) Unable to release multi-module project with library

    [ https://issues.apache.org/jira/browse/NPANDAY-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041912#comment-13041912 ] 

Wendy Smoak commented on NPANDAY-439:
-------------------------------------

That makes more sense. :)  (After the edit -- the failure in prepare rather than perform.)

This happens in some other situations as well, for example if you need to include a Java applet in a web application, you'll get a similar failure.

Try configuring the release plugin to run through the install phase on prepare.  This isn't ideal because it will build the release version and put it in your local repository before the release is really finished, but it should work.

If the release fails for any reason, make sure to clean the not-really-released artifacts out of your local repo.

> Unable to release multi-module project with library
> ---------------------------------------------------
>
>                 Key: NPANDAY-439
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-439
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: Windows 7 x64
> Maven 2.2.1
>            Reporter: Spencer Van Hoose
>
> I have a multi-module C# project containing 1 library project and 2 winexe projects. Both of the winexe projects depend on the library.
> Building these project works correctly but I cannot run a release:prepare because it attempts to copy the release version of the dll from my repository where it doesn't exist yet.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira