[ 
https://issues.apache.org/jira/browse/NPANDAY-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter resolved NPANDAY-560.
----------------------------------

    Resolution: Won't Fix
      Assignee: Brett Porter

As the TODO indicated, and per NPANDAY-247, this wasn't really complete. 
Suggest leaving it out, and if it's needed in future, follow through on that 
ticket and perhaps follow the same approach as was used for PDBs, etc.

> [regression to NPANDAY-231] Resolve attached *.exe.config / or any other 
> known attachment
> -----------------------------------------------------------------------------------------
>
>                 Key: NPANDAY-560
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-560
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins
>    Affects Versions: 1.5.0-incubating
>            Reporter: Lars Corneliussen
>            Assignee: Brett Porter
>              Labels: attachments, dependencies
>             Fix For: 1.5.0-incubating
>
>
> Code that got removed
> {code}
> if ( !ArtifactTypeHelper.isDotnetExecutableConfig( type ) || 
> !dotnetFile.exists() )// TODO: Generalize to any attached artifact
>                     {
>                         logger.warning( "NPANDAY-180-018: Not found in local 
> repository, now retrieving artifact from wagon:"
>                                 + assembly.getId()
>                                 + ", Failed Path Check = " + 
> dotnetFile.getAbsolutePath());
>                         try
>                         {
>                             artifactResolver.resolve( assembly, 
> artifactRepositories,
>                                                       localArtifactRepository 
> );
>                             projectDependency.setResolved( true );
>                             
>                             if ( assembly != null && 
> assembly.getFile().exists() )
>                             {
>                                 dotnetFile.getParentFile().mkdirs();
>                                 FileUtils.copyFile( assembly.getFile(), 
> dotnetFile );
>                                 assembly.setFile( dotnetFile );
>                             }
>                         }
>                         catch ( ArtifactNotFoundException e )
>                         {
>                             logger.log(Level.SEVERE, "NPANDAY-180-0201: Error 
> resolving artifact. Reason:", e);
>                             throw new ProjectDaoException(
>                                                    "NPANDAY-180-020: Problem 
> in resolving artifact: Artifact = "
>                                                        + assembly.getId()
>                                                        + ", Message = " + 
> e.getMessage(), e );
>                         }
>                         catch ( ArtifactResolutionException e )
>                         {
>                             logger.log( Level.SEVERE, "NPANDAY-180-019: 
> Problem in resolving artifact: Artifact = "
>                                               + assembly.getId()
>                                               + ", Message = " + 
> e.getMessage(), e );
>                             throw new ProjectDaoException(
>                                                    "NPANDAY-180-019: Problem 
> in resolving artifact: Artifact = "
>                                                        + assembly.getId()
>                                                        + ", Message = " + 
> e.getMessage(), e );
>                         }
>                     }
>                     artifactDependencies.add( assembly );
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to