Hi,

 

i want to create a zipfile after packaging (for "fullinstall") using the
assembly plugin which should contain

some folders, the jars (dependencies),the main jar(with main.class) and

a batchfile to start the application. => it's a cli application

the problem is that the zipfile doesn't contain the main jar.

How can I put the main jarfile into the zip?

 

Here is my assembly xml for now:

 

<?xml version="1.0" encoding="UTF-8"?>

<assembly>

  <id>my-src</id>

  <formats>

    <format>zip</format>

  </formats>

  <fileSets>

      <fileSet>

        <directory>reports</directory>

      </fileSet>

      <fileSet>

        <directory>output</directory>

      </fileSet>

      <fileSet>

        <directory>log</directory>

    </fileSet>          

  </fileSets>

  <dependencySets>

    <dependencySet>

      <scope>runtime</scope>

        <outputDirectory>lib</outputDirectory>

      </dependencySet>

  </dependencySets>  

</assembly>

Reply via email to