[
https://issues.apache.org/jira/browse/MASSEMBLY-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720345#comment-17720345
]
ASF GitHub Bot commented on MASSEMBLY-988:
------------------------------------------
slawekjaranowski commented on code in PR #143:
URL:
https://github.com/apache/maven-assembly-plugin/pull/143#discussion_r1186895265
##########
src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java:
##########
@@ -475,19 +475,20 @@ public void execute() throws MojoExecutionException,
MojoFailureException {
// TODO: include dependencies marked for distribution under certain
formats
// TODO: how, might we plug this into an installer, such as NSIS?
- MavenArchiver mavenArchiver = new MavenArchiver();
- Date outputDate = mavenArchiver.parseOutputTimestamp(outputTimestamp);
+ FileTime outputDate =
MavenArchiver.parseBuildOutputTimestamp(outputTimestamp)
+ .map(FileTime::from)
+ .orElse(null);
Review Comment:
plexus-archiver use FileTime after
https://github.com/codehaus-plexus/plexus-archiver/issues/198
> Avoid using deprecated methods of plexus-archiver
> -------------------------------------------------
>
> Key: MASSEMBLY-988
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-988
> Project: Maven Assembly Plugin
> Issue Type: Task
> Reporter: Slawomir Jaranowski
> Priority: Major
> Fix For: 3.6.0
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)