Hi, Kind of new to the assembly plugin and hoping someone can resolve this error I am getting: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error creating assembly: Source file attribute must not represent a directory!
My setup is that I have a Reactor setup with a number of modules and I am trying to have all of the reactor's module's jars assembled in the reactor's target directory. Here is my reactor pom.xml and the descriptor.xml I am using, which follows. Perhaps, someone can point me in the right direction: pom.xml: =============================================================== <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>FES</groupId> <artifactId>fes</artifactId> <packaging>pom</packaging> <version>SNAPSHOT-1.0</version> <name>Feature Extraction Service Project Module</name> <modules> <module>AnnotationGrouping</module> <module>Common</module> <module>DocumentSummarization</module> <module>DomainModel</module> <module>NamedEntityAnnotator</module> <module>Persistence</module> <module>Workflow</module> </modules> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.0</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.4.2</version> <configuration> <useFile>false</useFile> <trimStackTrace>false</trimStackTrace> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.1</version> <configuration> <descriptors> <descriptor>descriptor-fes-component.xml</descriptor> </descriptors> <finalName>final_name</finalName> <outputDirectory>target/assembly/deliver</outputDirectory> <workDirectory>target/assembly/work</workDirectory> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>5.8</version> <scope>test</scope> <classifier>jdk15</classifier> </dependency> </dependencies> </project> =============================================================== descriptor-fes-components.xml: =============================================================== <assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.0.0.xsd"> <id>fes-components</id> <formats> <format>jar</format> <format>zip</format> <format>gzip</format> </formats> <repositories> <repository> <outputDirectory>target/assembly/repository</outputDirectory> </repository> </repositories> </assembly> =============================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
