<profile> <id>mde</id> <activation> <file> <exists>resources/doc</exists> </file> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>attach-artifacts</id> <phase>package</phase> <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts> <artifact> <file>target/${project.artifactId}-${project.version}-mde.zip</file> <type>zip</type> </artifact> <!-- artifact> <file>resources/doc/${project.artifactId}.di</file> <type>di</type> </artifact> <artifact> <file>resources/doc/${project.artifactId}.notation</file> <type>notation</type> </artifact> <artifact> <file>resources/doc/${project.artifactId}.uml</file> <type>uml</type> </artifact--> </artifacts> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile>