Author: brett
Date: Mon Mar 4 13:56:31 2013
New Revision: 1452307
URL: http://svn.apache.org/r1452307
Log:
[NPANDAY-478] framework libraries should remain distinct
Avoid listing framework dependencies as non-portable. This primarily avoids
copying them to the local
repository when that flag is enabled. Note that for the rare installations that
have the DLLs in a different
location, they may use the system properties to override the location easily.
Modified:
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs
Modified:
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs
URL:
http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs?rev=1452307&r1=1452306&r2=1452307&view=diff
==============================================================================
---
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs
(original)
+++
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AbstractPomConverter.cs
Mon Mar 4 13:56:31 2013
@@ -855,7 +855,10 @@ namespace NPanday.ProjectImporter.Conver
AddProperty(var, directory);
Dependency refDependency =
CreateDependencyFromSystemPath(reference, "${" + var + "}/" + reference.Name +
".dll");
- WarnNonPortableReference(path, refDependency);
+ // We do not list these as non-portable, for two reasons:
+ // - they should not be copied to the local repository,
because there can be multiple conflicting versions in different SDKs
+ // (any copying would require a rigorous use of
classifiers)
+ // - they should not be included in packages (e.g. for
MSDeploy), which the system packaging currently avoids
log.DebugFormat("Resolved {0} from {1} directories:
{2}:{3}:{4}",
reference.Name, label, refDependency.groupId,
refDependency.artifactId, refDependency.version);