[
https://issues.apache.org/jira/browse/CAY-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112033#comment-15112033
]
Andrus Adamchik commented on CAY-2052:
--------------------------------------
The reason is https://github.com/apache/cayenne/blob/master/docs/doc/pom.xml
has two plugin declarations explicitly bound to earlier phases:
dependency-maven-plugin to generate-sources
maven-javadoc-plugin to generate-resources
Per
https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
ideally all this should execute in a "site" lifecycle, which won't conflict
with default lifecycle and "test". Though I guess we 've done the above for a
reason (including javadocs in assemblies??)... Will need to test that and
update build instructions if needed.
> cayenne clean build is failing
> ------------------------------
>
> Key: CAY-2052
> URL: https://issues.apache.org/jira/browse/CAY-2052
> Project: Cayenne
> Issue Type: Bug
> Components: Core Library
> Affects Versions: 4.0.M3
> Environment: Apache Maven 3.3.3
> Java version: 1.8.0_65, vendor: Oracle Corporation
> OS name: "mac os x", version: "10.11.2", arch: "x86_64", family: "mac"
> Reporter: Alexei Grigoriev
> Priority: Minor
>
> 'mvn clean test' executed on cayenne-parent is always failing with:
> ERROR] Failed to execute goal
> org.codehaus.mojo:dependency-maven-plugin:1.0:unpack (unpack-sources) on
> project cayenne-doc: Unknown archiver type: No such archiver: ''. -> [Help 1]
> But if I build with 'mvn -DskipTests install' then 'mvn test' succeeds.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)