I think we can offer both versions in two separate MSBuild lifecycles: 
integrated and delegated

Details on this idea are all documented on the issue, but let me give a brief 
summary of the plan:

The integrated lifecycle would still leave use NPanday to do the actual 
compile, but generate sources and resources which then will automatically be 
added to pom/build/resources and sources (in-memory)

The delegating lifecycle would leave the artifact generation to MSBuild. But 
NPanday would "surround" it and ensure MSBuild to respect dependencies 
correctly and use correct output paths, e.g.

If people then just want to execute MSBuild as-is, I'd point them to the 
custom-lifecycle and maven-exec-plugin - IMHO we shouldn't support that 
requirement.
_
Lars


Am 22.11.2011 um 05:44 schrieb Brett Porter:

> Hi Lars,
> 
> Those requirements look good to me.
> 
> While I prefer that approach, I wonder if it might become too complicated in 
> some projects. I'm still curious if there is a usecase for NPANDAY-244 to 
> provide a simpler (though less rich) build mechanism that effectively 
> delegates to msbuild, then allows NPanday users to augment it with some 
> dependency/distribution management and the execution of additional plugins in 
> the lifecycle.
> 
> Cheers,
> Brett
> 
> (BTW, dropping -users CC - to avoid cross-posting it might be better just to 
> point them to the -dev@ thread in future)
> 
> On 22/11/2011, at 3:34 AM, Lars Corneliussen wrote:
> 
>> Hello dear NPanday users and developers,
>> 
>> we think of reimplementing the integration with MSbuild since the current 
>> solution is quite fragile and erroneous.
>> 
>> I have started to document my thoughts here and i'd be really happy to get 
>> feedback from you all! Especially I'd like to hear if, and how, you use the 
>> current MSBuild plugin.
>> 
>> Please anwer to this Mail, or even better, write a comment on the issue.
>> https://issues.apache.org/jira/browse/NPANDAY-486
>> 
>> _
>> Lars
>> Apache NPanday Committer
> 
> --
> Brett Porter
> [email protected]
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
> 
> 
> 
> 

Reply via email to