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 "Spencer Van Hoose (JIRA)" <ji...@apache.org> on 2011/05/31 21:59:47 UTC

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

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:perform 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

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

Posted by "Spencer Van Hoose (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042367#comment-13042367 ] 

Spencer Van Hoose commented on NPANDAY-439:
-------------------------------------------

A good workaround, as Wendy suggested, is to change the preparationGoals for the release plugin to "clean install". I accomplished that with:

{code:xml}
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-release-plugin</artifactId>
  <version>2.1</version>
  <configuration>
    <preparationGoals>clean install</preparationGoals>
  </configuration>
</plugin>
{code}

> 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

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

Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042021#comment-13042021 ] 

Lars Corneliussen commented on NPANDAY-439:
-------------------------------------------

i think this is a bug related to the RDF-repository. All projects (except those with late bound circular references) should succeed with verify. 

As we remove te RDF repo (planned for next major release), this should get fixed. 

> 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

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

Posted by "Brett Porter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter resolved NPANDAY-439.
----------------------------------

    Resolution: Won't Fix

Marking as "won't fix" as this is a pretty common problem with Maven in general. As Lars said, as we move forward with NPanday 2.0 and use Maven 3 this should go away.

> 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

        

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

Posted by "Brett Porter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054856#comment-13054856 ] 

Brett Porter commented on NPANDAY-439:
--------------------------------------

I figured it's not going to be fixed, but rather made irrelevant by removing RDF... right?

> 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

        

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

Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054875#comment-13054875 ] 

Lars Corneliussen commented on NPANDAY-439:
-------------------------------------------

Well, so far we have not really hunted it down. Just guessing it is related :€

> 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

       

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

Posted by "Spencer Van Hoose (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Spencer Van Hoose updated NPANDAY-439:
--------------------------------------

    Description: 
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.

  was:
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:perform because it attempts to copy the release version of the dll from my repository where it doesn't exist yet.


> 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

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

Posted by "Wendy Smoak (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Lars Corneliussen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054830#comment-13054830 ] 

Lars Corneliussen commented on NPANDAY-439:
-------------------------------------------

hm. i think this is a npanday bug. reread my comment, brett :)

> 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