tags:

views:

45

answers:

0

Possible Duplicate:
Maven-2: avoid default packaging?

On executing mvn install , I'm getting App1.jar , App2.jar and default packaging jar.

<build>
  <plugins>
    <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.2-beta-2</version>
        <executions>
            <execution>
                <id>assemblyone</id>
                <phase>compile</phase>
                <goals>
                    <goal>single</goal>
                </goals>
                <configuration>
                    <finalName>App1</finalName>
                    <appendAssemblyId>false</appendAssemblyId>
                    <descriptors>
                        <descriptor>${basedir}/src/main/resources/assemblies/report.xml</descriptor>
                    </descriptors>
                </configuration>
            </execution>
            <execution>
                <id>assemblytwo</id>
                <phase>compile</phase>
                <goals>
                    <goal>single</goal>
                </goals>
                <configuration>
                    <finalName>App2</finalName>
                    <appendAssemblyId>false</appendAssemblyId>
                    <descriptors>
                        <descriptor>${basedir}/src/main/resources/assemblies/src.xml</descriptor>
                    </descriptors>
                </configuration>
            </execution>
        </executions>
    </plugin>
  </plugins>
</build>

I don't want the default packaging jar.how to ensure that it is not created?