You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/05/14 23:05:12 UTC
[jira] [Updated] (MASSEMBLY-643) descriptorSourceDirectory:
parameter isn't used
[ https://issues.apache.org/jira/browse/MASSEMBLY-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MASSEMBLY-643:
-------------------------------------
Labels: close-pending (was: )
> descriptorSourceDirectory: parameter isn't used
> -----------------------------------------------
>
> Key: MASSEMBLY-643
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-643
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.4
> Reporter: Arnaud HERITIER
> Labels: close-pending
>
> I configure the plugin with something like this :
> {code}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-assembly-plugin</artifactId>
> <configuration>
> <descriptors>
> <descriptor>plf-standalone-enterprise-tomcat-distribution-content.xml</descriptor>
> </descriptors>
> <descriptorSourceDirectory>src/main/assemblies</descriptorSourceDirectory>
> </configuration>
> </plugin>
> {code}
> But it doesn't find the descriptor (using its filename or its ID)
> {code}
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-assembly-plugin:2.4:single' with basic configurator -->
> ....
> [DEBUG] (s) descriptorSourceDirectory = /Users/arnaud/Code/eXo/platform-distributions/plf-enterprise-tomcat-standalone/src/main/assemblies
> [DEBUG] (s) descriptors = [plf-standalone-enterprise-tomcat-distribution-content.xml]
> ....
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (plf-standalone-tomcat-distribution-content) on project plf-enterprise-tomcat-standalone: Error reading assemblies: Error locating assembly descriptor: plf-standalone-enterprise-tomcat-distribution-content.xml
> [ERROR]
> [ERROR] [1] [INFO] Searching for file location: /Users/arnaud/Code/eXo/platform-distributions/plf-enterprise-tomcat-standalone/plf-standalone-enterprise-tomcat-distribution-content.xml
> [ERROR]
> [ERROR] [2] [INFO] File: /Users/arnaud/Code/eXo/platform-distributions/plf-enterprise-tomcat-standalone/plf-standalone-enterprise-tomcat-distribution-content.xml does not exist.
> [ERROR]
> [ERROR] [3] [INFO] File: /Users/arnaud/Code/eXo/platform-distributions/plf-enterprise-tomcat-standalone/plf-standalone-enterprise-tomcat-distribution-content.xml does not exist.
> {code}
> I simplified the config (I'll need to create an it) in my case i was using a 2nd assembly coming from the classpath
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)