maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michał Stochmiałek <michal.stochmia...@eurobank.pl>
Subject [m2] ear packaging
Date Fri, 04 Nov 2005 08:41:04 GMT

I'm building ear artifact.

I've got <packaging>ear</packaging> in my pom, but when I use 'mvn package' only
subprojects (modules) are build. Build of ear archive is skipped.

When I include this node in my <build> tag, project is built correctly.
<plugins>
	<plugin>
		<artifactId>maven-ear-plugin</artifactId>
		<configuration>
		  [...]
		</configuration>
		<executions>
			<execution>
				<goals>
					<goal>generate-application-xml</goal>
					<goal>ear</goal>
				</goals>
			</execution>
		</executions> 
	</plugin>
</plugins>


Is this correct behavior? When I'm using jar packaging I don't need to include <plugin>
tag for maven-jar-plugin... So is it a bug or feature?

best regards,
--
Michal Stochmialek
IT Department, Technology Division
Euro Bank S.A.


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


Mime
View raw message