Hello,

we have the following pom:

<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>gisdistribution</groupId>
  <artifactId>gisdistribution</artifactId>
  <name>gisdistribution</name>
  <version>0.0.2</version>
  <description>distribution archive of the mirgis</description>
  <packaging>pom</packaging>
  
  <parent>
    <groupId>mirgis</groupId>
    <artifactId>mirgis</artifactId>
    <version>1.11</version>
  </parent>

  <build>
    <plugins>
      <plugin>      
        <artifactId>maven-assembly-plugin</artifactId>
          <configuration>
            <descriptors>
              <descriptor>src/main/assembly/distribution.xml</descriptor>
            </descriptors>
          </configuration>
          
          <executions>
            <execution>
              <id>make-assembly</id>
              <phase>package</phase>
              <goals>
                <goal>assembly</goal>
              </goals>
            </execution>
          </executions>
          
        </plugin>
    </plugins>
  </build>
  
  <dependencies>
    <dependency>
      <groupId>giskernel</groupId>
      <artifactId>giskernel</artifactId>
      <version>0.0.4</version>
    </dependency>
  </dependencies>
  
  <scm>
    ....
  </scm>
  
</project>

And the following distribution.xml:
<?xml version='1.0' encoding='UTF-8'?>
<assembly> 
  <id>assembly</id>
  <formats>
    <format>zip</format>
  </formats>

  <dependencySets>
    <dependencySet>
      <outputDirectory>lib</outputDirectory>
      <useProjectArtifact>true</useProjectArtifact>
    </dependencySet>
  </dependencySets>

</assembly>


Maven now creates the "gisdistribution-0.0.2-assembly.zip" but it doesn't
deploy it. 
We tried to use packaging "jar" but only empty jars are deployed. 

In which way can we deploy the assembly?


Yours Rüdiger
 


-- 
View this message in context: 
http://old.nabble.com/-Maven-Assembly-Plugin--Deploy-assembly-tp26333720p26333720.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to