[
https://issues.apache.org/jira/browse/OOZIE-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799864#comment-16799864
]
duan xiong commented on OOZIE-3448:
-----------------------------------
Hi,[~asalamon74],I have see this file.If we just copy the artifactItems,It will
be show wrong information:
```
Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.10:copy (copy-dependencies)
on project oozie-server: Unable to find artifact version of
org.eclipse.jetty:jetty-io in either dependency list or in project's dependency
management. -> [Help 1]
```
So I just remove the artifactItems.
> Cleanup of oozie-server copy dependency
> ---------------------------------------
>
> Key: OOZIE-3448
> URL: https://issues.apache.org/jira/browse/OOZIE-3448
> Project: Oozie
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Andras Salamon
> Assignee: duan xiong
> Priority: Major
> Attachments: OOZIE-3448-001.patch
>
>
> There is a section in
> [oozie-server/pom.xml|https://github.com/apache/oozie/blob/branch-5.1/server/pom.xml#L180-L262]
> which is responsible for the copying of the artifacts/dependencies.
> We use
> [dependency:copy-dependencies|https://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-project-dependencies.html]
> which copies the dependencies, but still list the artifacts (which is valid
> for
> [dependency:copy|https://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html]).
> I think maven copies the dependencies and ignores the listed artifacts. If
> this is true, we can remove the {{artifactItems}}. If my assumption is not
> true, then we should use {{dependency:copy}} instead of
> {{dependency:cop-dependencies}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)