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 "Brett Porter (JIRA)" <ji...@apache.org> on 2011/08/11 07:01:29 UTC

[jira] [Created] (NPANDAY-459) MSBuild plugin tries to build project references

MSBuild plugin tries to build project references
------------------------------------------------

                 Key: NPANDAY-459
                 URL: https://issues.apache.org/jira/browse/NPANDAY-459
             Project: NPanday
          Issue Type: Bug
          Components: Maven Plugins
    Affects Versions: 1.4.1-incubating
            Reporter: Brett Porter
            Assignee: Brett Porter
             Fix For: 1.4.1-incubating


I noticed that if a project has a project reference, msbuild will traverse to build it. This is counter-intuitive in Maven because the dependent project has already been built. This can have a negative side effect if the dependent project was not build with the MSBuild plugin as its references will not be present.

We need to turn off the transitive building, and have MSBuild use the artifact that was already built.

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

        

[jira] [Closed] (NPANDAY-459) MSBuild plugin tries to build project references

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

Brett Porter closed NPANDAY-459.
--------------------------------

    Resolution: Fixed

> MSBuild plugin tries to build project references
> ------------------------------------------------
>
>                 Key: NPANDAY-459
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-459
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins
>    Affects Versions: 1.4.1-incubating
>            Reporter: Brett Porter
>            Assignee: Brett Porter
>             Fix For: 1.4.1-incubating
>
>
> I noticed that if a project has a project reference, msbuild will traverse to build it. This is counter-intuitive in Maven because the dependent project has already been built. This can have a negative side effect if the dependent project was not build with the MSBuild plugin as its references will not be present.
> We need to turn off the transitive building, and have MSBuild use the artifact that was already built.

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

        

[jira] [Commented] (NPANDAY-459) MSBuild plugin tries to build project references

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

Brett Porter commented on NPANDAY-459:
--------------------------------------

able to do this, but copying the artifact into the place MSBuild expects it is crude. For 2.0, we'd be better only supporting MSBuild for a dedicated MSBuild-only type so there is no conflict with csc

> MSBuild plugin tries to build project references
> ------------------------------------------------
>
>                 Key: NPANDAY-459
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-459
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins
>    Affects Versions: 1.4.1-incubating
>            Reporter: Brett Porter
>            Assignee: Brett Porter
>             Fix For: 1.4.1-incubating
>
>
> I noticed that if a project has a project reference, msbuild will traverse to build it. This is counter-intuitive in Maven because the dependent project has already been built. This can have a negative side effect if the dependent project was not build with the MSBuild plugin as its references will not be present.
> We need to turn off the transitive building, and have MSBuild use the artifact that was already built.

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