Just wondering if anyone knows the answer to this. Not sure if it is a bug or I am just not doing it correctly.

Thanks.

-- Mark Reynolds

Mark Reynolds wrote:
I want to add an additional entry to the manifest of a jar I am creating using the assembly plugin in. It doesn't seem to work. Any idea what I am doing wrong?

 <plugin>
    <artifactId>maven-assembly-plugin</artifactId>
    <inherited>false</inherited>
      <executions>
        <execution>
          <phase>package</phase>
            <goals>
              <goal>attached</goal>
            </goals>
          <configuration>
            <archive>
              <manifestEntries>
                <Build-Time>${buildNumber}</Build-Time>
              </manifestEntries>
            </archive>
          <descriptors>
            <descriptor>${basedir}/src/main/assembly/w.xml</descriptor>
          </descriptors>
          <outputDirectory>${project.build.directory}</outputDirectory>
        </configuration>
      </execution>
    </executions>
  </plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to