You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2008/01/27 07:45:53 UTC
generating a project for ejb3
hi,
is there a easy way to generate a directory structure for ejb3 project?
maven-archetype-j2ee-simple archetype does not work for ejb3. thanks.
--
View this message in context: http://www.nabble.com/generating-a-project-for-ejb3-tp15116518s177p15116518.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: generating a project for ejb3
Posted by Graham Leggett <mi...@sharp.fm>.
Angelo Chen wrote:
> is there a easy way to generate a directory structure for ejb3 project?
> maven-archetype-j2ee-simple archetype does not work for ejb3. thanks.
In our case, the only differences our ejb3 projects have with normal jar
projects is that they are of packaging ejb, and contain this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<version>2.1</version>
<configuration>
<ejbVersion>3.0</ejbVersion>
<generateClient>true</generateClient>
<clientIncludes>
<clientInclude>alchemy/cluster/dispatch/ejb/ClusterService.class</c
lientInclude>
</clientIncludes>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
Regards,
Graham
--