You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by qnob <ku...@sbb.ch> on 2008/03/12 16:57:19 UTC

Re: maven-eclipse-plugin 2.4 & versioned projects

Hello!

I've got RAD7, maven-eclipse-plugin 2.5-Snapshot and m2eclipse 0.0.12. I've
been trying for 2 frustrating days to integrate those tools together without
success. Did any body of you guys succeed this task? I reckon that your are
on the same task as I am. 

More precisely, there the generation of the wb-module parts are missing in
the .settings/org.eclipse.wtp.common.component. In the WAR and EAR project. 

Here is my project layout:

--mca-sample
     ¦
     ¦- mca-sample-ear
     ¦- mca-sample-web

In my web pom I've got defined a dependency to log4j. However, there is no
entry in the component file. Also, in the ear project, I'd expect something
like:
[CODE]
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="mca-sample">
        <wb-resource deploy-path="/" source-path="/"/>
        <dependent-module deploy-path="/"
handle="module:/resource/mca-sample-web/mca-sample-web">
            <dependent-object>WebModule_1204874797874</dependent-object>
            <dependency-type>uses</dependency-type>
        </dependent-module>
    </wb-module>
</project-modules>
[CODE]


but I get:

[CODE]
<project-modules id="moduleCoreId" project-version="1.5.0">
  <wb-module deploy-name="mca-sample-ear">
    <wb-resource deploy-path="/" source-path="target/eclipseEar"/>
  </wb-module>
</project-modules>
[CODE]

The dependency to the web module is completely missing. I can add manually
as J2EE Component, however, then I get error related to an missing or
malformed application.xml file.


Thanks in advance.

Kuno
-- 
View this message in context: http://www.nabble.com/maven-eclipse-plugin-2.4---versioned-projects-tp15699476s177p16005544.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: maven-eclipse-plugin 2.4 & versioned projects

Posted by qnob <ku...@sbb.ch>.

Salman Moghal wrote:
> 
> 
> 
Hello Salman!

Finally, I've got it working, almost! So, I want to share it...it's gonna be
a bit long, though! I just explain the steps how it's working over here.

I've been using Subclipse with the newly released M2 Plugin (Version 0.9.0).
Actually, the old M2 version 0.0.12 works too, however, I wanted to stay on
the edge. I also use the M2-Subclipse integration, that generates the basic
Eclipse files (.classpath, .project with the maven builders, dependencies
and staff) on checking out the sources. So, I checkout the parent project in
a first step and then checkout the it's submodules in another step.
Therefore, eclipse will see a flat project layout, actually, I've been using
2 hierarchies (Parent-Modules), since I want to use the release-plugin on
the multiproject. To make the maven multiprojects working properly in
eclipse, I add "../" to the module path in the parent pom. So the M2 Plugin
sees the submodule checkout in the workspace.
All right! I've got a working workspace with m2 and multiprojects. Next, I
apply eclipse:eclipse on the multiproject and generate the WTP descriptors.
My own compiled snapshot version of maven-eclipse-plugin 2.5 works much
better, than the old stable release. Though, this version as a sort of
linking issue and doesn't work with the new M2 eclipse plugin. So, I fire
this goal in the command prompt. With eclipse:m2eclipse I didn't success, by
the way, since it doesn't generate the "depended-module"s as required. There
is still one little problem with the generated application.xml, though!
There is something wrong with the xml namespace definition:

<application id="Application_ID"
xmlns:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4">

Websphere rejects to deploy this descriptor. While following definition
generated with the ear-plugin is working perfectly:

<application xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd" version="1.4">

I'll create a bug report afterwards.

That's it, everything is working ;-} And you gave me the right hint. Thank
you very much. By the way, I also tried versioned projects - it's working
too. But I think I don't need. 

Thanks again.
Kuno


Here are my poms:


[Parent POM]
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>sample-ear</groupId>
	<artifactId>mca-sample</artifactId>
	<packaging>pom</packaging>
	<version>0.0.1-SNAPSHOT</version>
	<name>mca-sample</name>
	<description></description>
	<modules>
		<module>mca-sample-ear</module>
		<module>mca-sample-web</module>
		<module>mca-sample-compo1</module>
	</modules>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>3.8.1</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<preparationGoals>clean install</preparationGoals>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<id>attach-sources</id>
						<phase>verify</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
	
		</plugins>
	</build>
</project>

[/Parent POM]

[EAR POM]
<?xml version="1.0" encoding="UTF-8"?>
<project>
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>sample-ear</groupId>
		<artifactId>mca-sample</artifactId>
		<version>0.0.1-SNAPSHOT</version>
	</parent>
	<groupId>sample-ear</groupId>
	<artifactId>mca-sample-ear</artifactId>
	<packaging>ear</packaging>
	<version>0.0.1-SNAPSHOT</version>
	<name>mca-sample-ear</name>
	<description/>
	<dependencies>
		<dependency>
			<groupId>sample-ear</groupId>
			<artifactId>mca-sample-web</artifactId>
			<version>0.0.1-SNAPSHOT</version>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.7</version>
		</dependency>	
		<dependency>
  <groupId>sample-ear</groupId>
  <artifactId>mca-sample-compo1</artifactId>
  <version>0.0.1-SNAPSHOT</version>				
  </dependency>				
	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<!--  version>2.5-SNAPSHOT</version-->
				<configuration>
				    <!--  don't use project references>
					<addVersionToProjectName>true</addVersionToProjectName>
     				<useProjectReferences>false</useProjectReferences-->
     				
     				<!--  use project references-->
     				<addVersionToProjectName>false</addVersionToProjectName>
     				<useProjectReferences>true</useProjectReferences>


					<wtpmanifest>true</wtpmanifest>
					<wtpapplicationxml>true</wtpapplicationxml>
					<wtpversion>1.5</wtpversion>    
					<additionalBuildcommands>
						<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
					
<buildcommand>org.eclipse.wst.common.project.facet.core.builder</buildcommand>
					
<buildcommand>org.eclipse.wst.validation.validationbuilder</buildcommand>
					</additionalBuildcommands>
					<additionalProjectnatures>
					
<projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
					
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
					</additionalProjectnatures>
					<classpathContainers>
					
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>     
					
<classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
					</classpathContainers>
				</configuration>

			</plugin> 

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-ear-plugin</artifactId>
				<configuration>
					<displayName>${project.name}-${project.version}</displayName>
					<description>
${project.description}
					</description>
					<version>1.4</version>
					<modules>
						<webModule>
							<groupId>sample-ear</groupId>
							<artifactId>mca-sample-web</artifactId>
							<contextRoot>mca-sample-web</contextRoot>
						</webModule>
					</modules>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
[/EAR POM]


[WAR POM]
<?xml version="1.0" encoding="UTF-8"?>
<project>
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>sample-ear</groupId>
		<artifactId>mca-sample</artifactId>
		<version>0.0.1-SNAPSHOT</version>
	</parent>
	<groupId>sample-ear</groupId>
	<artifactId>mca-sample-web</artifactId>
	<packaging>war</packaging>
	<version>0.0.1-SNAPSHOT</version>
	<name>mca-sample-web</name>
	<description />

	<dependencies>
		<dependency>
			<groupId>javax</groupId>
			<artifactId>j2ee</artifactId>
			<version>1.4.1</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.7</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>sample-ear</groupId>
			<artifactId>mca-sample-compo1</artifactId>
			<version>0.0.1-SNAPSHOT</version>
			<scope>provided</scope>
		</dependency>
	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<configuration>
					<!--  don't use project references
						<addVersionToProjectName>true</addVersionToProjectName>
						<useProjectReferences>false</useProjectReferences-->

					<!--  use project references-->
					<addVersionToProjectName>false</addVersionToProjectName>
					<useProjectReferences>true</useProjectReferences>

					<wtpmanifest>true</wtpmanifest>
					<wtpapplicationxml>true</wtpapplicationxml>
					<wtpversion>1.5</wtpversion>
					<additionalBuildcommands>
						<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
					
<buildcommand>org.eclipse.wst.common.project.facet.core.builder</buildcommand>
					
<buildcommand>com.ibm.etools.links.management.linksbuilder</buildcommand>
					
<buildcommand>org.eclipse.wst.validation.validationbuilder</buildcommand>
					
<buildcommand>com.ibm.etools.webtools.validation.jsp.jspcompilationbuilder</buildcommand>
					</additionalBuildcommands>
					<additionalProjectnatures>
					
<projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
						<projectnature>org.eclipse.jdt.core.javanature</projectnature>
					
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
						<projectnature>org.eclipse.jem.workbench.JavaEMFNature</projectnature>
					</additionalProjectnatures>
					<classpathContainers>
					
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
					
<classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
                       
<classpathContainer>org.eclipse.jst.j2ee.internal.web.container</classpathContainer> 						
					</classpathContainers>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
[/WAR POM]


[JAR POM]
<?xml version="1.0" encoding="UTF-8"?>
<project>
  <parent>
    <artifactId>mca-sample</artifactId>
    <groupId>sample-ear</groupId>
    <version>0.0.1-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>sample-ear</groupId>
  <artifactId>mca-sample-compo1</artifactId>
  <name>mca-sample-compo1</name>
  <version>0.0.1-SNAPSHOT</version>
  <description/>
  <dependencies>
    <dependency>
      <groupId>jdom</groupId>
      <artifactId>jdom</artifactId>
      <version>1.1</version>
    </dependency>
  </dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<!--  version>2.5-SNAPSHOT</version-->
				<configuration>
				    <!--  don't use project references>
					<addVersionToProjectName>true</addVersionToProjectName>
     				<useProjectReferences>false</useProjectReferences-->
     				
     				<!--  use project references-->
     				<addVersionToProjectName>false</addVersionToProjectName>
     				<useProjectReferences>true</useProjectReferences>

					<wtpmanifest>true</wtpmanifest>
					<wtpapplicationxml>true</wtpapplicationxml>
					<wtpversion>1.5</wtpversion>    
					<additionalBuildcommands>
						<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
					
<buildcommand>org.eclipse.wst.common.project.facet.core.builder</buildcommand>
					
<buildcommand>org.eclipse.wst.validation.validationbuilder</buildcommand>
					</additionalBuildcommands>
					<additionalProjectnatures>
					
<projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
					
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
					</additionalProjectnatures>
					<classpathContainers>
					
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>     
					
<classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
					</classpathContainers>
				</configuration>
			</plugin> 
		</plugins>
	</build>  
</project>
[/JAR POM]

-- 
View this message in context: http://www.nabble.com/maven-eclipse-plugin-2.4---versioned-projects-tp15699476s177p16048111.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: maven-eclipse-plugin 2.4 & versioned projects

Posted by Salman Moghal <sm...@yahoo.com>.
Hello there:

I've been using maven-eclipse-plugin v2.4 (a customized version that I 
compiled for version'ed project support).  It's been working well.  Can you 
share your EAR's and WAR/JAR pom.xml?  I'm not sure why you are having this 
issue.

One thing to be careful, for RAD/Eclipse and WTP 1.5, is to use 
"eclipse:rad" mojo of maven-eclipse-plugin.  When you generate your WTP 
resources, issue "mvn eclipse:rad" command.  I've noticed that using the 
default "eclipse:eclipse" or "eclipse:m2eclipse" mojo won't do a good job of 
generating WTP resources that are RAD/Eclipse friendly.

Later on, through RAD/Eclipse, using M2Eclipse plugin, I then enable the 
"Dependancy Management" for all the projects, which gives me the Maven 
Library container.  You have to ensure to perform "Update Source" path 
through M2Eclipse plugin after you enable "Dependancy Management" for a 
project.

I must admit that I have to tweak the component files for some JAR projects 
but that's because developers aren't coding the pom.xml properly.  Other 
than that it seems to work well.

I'm attaching maven-eclipse-plugin for my project.  Hope it helps..

The root pom.xml contains the following maven-eclipse-plugin config:

 <!-- maven-eclipse-plugin -->
<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-eclipse-plugin</artifactId>
   <configuration>

     <manifest>
          ${basedir}/src/main/resources/META-INF/MANIFEST.MF
     </manifest>

     <addVersionToProjectName>true</addVersionToProjectName>
     <useProjectReferences>false</useProjectReferences>

     <wtpmanifest>true</wtpmanifest>
     <wtpapplicationxml>true</wtpapplicationxml>
     <wtpversion>1.5</wtpversion>

     <additionalBuildcommands>
         <buildcommand>com.ibm.etools.common.migration.MigrationBuilder</buildcommand>
         <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
         <buildcommand>org.eclipse.wst.common.project.facet.core.builder</buildcommand>
         <buildcommand>org.eclipse.wst.validation.validationbuilder</buildcommand>
     </additionalBuildcommands>
     <additionalProjectnatures>
         <projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
         <projectnature>org.eclipse.jdt.core.javanature</projectnature>
         <projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
         <projectnature>org.eclipse.jem.workbench.JavaEMFNature</projectnature>
     </additionalProjectnatures>

     <!-- should be enabled only for WARs and EJB-JAR modules
     <classpathContainers>
         <classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
     </classpathContainers>
     -->

   </configuration>
 </plugin>
 <!-- maven-eclipse-plugin -->


My EAR pom.xml is as follows

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ear-plugin</artifactId>
        <configuration>
          <archive>
            <manifestEntries>
              <!-- <Class-Path/>-->
            </manifestEntries>
            <manifest>
              <!-- Let Maven generate Class-Path from listed 
dependencies -->
              <addClasspath>false</addClasspath>
            </manifest>
          </archive>
        </configuration>
      </plugin>

 <!-- maven-eclipse-plugin override for EAR -->
 <plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-eclipse-plugin</artifactId>
  <configuration>

  <additionalBuildcommands>
  <buildcommand>org.eclipse.wst.common.project.facet.core.builder</buildcommand>
  <buildcommand>org.eclipse.wst.validation.validationbuilder</buildcommand>
  </additionalBuildcommands>
  <additionalProjectnatures>
  <projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
  <projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
  </additionalProjectnatures>

  </configuration>
 </plugin>
 <!-- maven-eclipse-plugin -->

WAR pom.xml:

     <!-- maven-eclipse-plugin overrides for WAR -->
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-eclipse-plugin</artifactId>
      <configuration>

      <classpathContainers>
         <classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
         <classpathContainer>org.eclipse.jst.j2ee.internal.web.container</classpathContainer>
      </classpathContainers>

      </configuration>
    </plugin>
    <!-- maven-eclipse-plugin -->

Regards
--
Salman Moghal

----- Original Message ----- 
From: "qnob" <ku...@sbb.ch>
To: <us...@maven.apache.org>
Sent: Wednesday, March 12, 2008 12:43 PM
Subject: Re: maven-eclipse-plugin 2.4 & versioned projects


>
> Hi again,
>
> here my plugin configuration. Actually, it's the example given by the post
> of Salman. I've added new version of the eclipse plugin and uncommented a
> part I didn't understand if need it. Though, I tried versioned projects 
> too.
> :
>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-eclipse-plugin</artifactId>
> <version>2.5-SNAPSHOT</version>
> <configuration>
> <!-- addVersionToProjectName>true</addVersionToProjectName>
>     <useProjectReferences>false</useProjectReferences-->
>
> <wtpmanifest>true</wtpmanifest>
> <wtpapplicationxml>true</wtpapplicationxml>
> <wtpversion>1.5</wtpversion>
> <additionalBuildcommands>
> <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
>
> <buildcommand>org.eclipse.wst.common.project.facet.core.builder</buildcommand>
>
> <buildcommand>org.eclipse.wst.validation.validationbuilder</buildcommand>
> </additionalBuildcommands>
> <additionalProjectnatures>
>
> <projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
>
> <projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
> </additionalProjectnatures>
> <classpathContainers>
>
> <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
>
> <classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
> </classpathContainers>
> </configuration>
>
> </plugin>
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-ear-plugin</artifactId>
> <configuration>
> <displayName>${project.name}-${project.version}</displayName>
> <description>
> ${project.description}
> </description>
> <version>1.4</version>
> <modules>
> <webModule>
> <groupId>sample-ear</groupId>
> <artifactId>mca-sample-web</artifactId>
> <contextRoot>mca-sample-web</contextRoot>
> </webModule>
> </modules>
> </configuration>
> </plugin>
> </plugins>
> -- 
> View this message in context: 
> http://www.nabble.com/maven-eclipse-plugin-2.4---versioned-projects-tp15699476s177p16007425.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
> 


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


Re: maven-eclipse-plugin 2.4 & versioned projects

Posted by qnob <ku...@sbb.ch>.
Hi again,

here my plugin configuration. Actually, it's the example given by the post
of Salman. I've added new version of the eclipse plugin and uncommented a
part I didn't understand if need it. Though, I tried versioned projects too.
: 

		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<version>2.5-SNAPSHOT</version>
				<configuration>
					<!-- addVersionToProjectName>true</addVersionToProjectName>
     <useProjectReferences>false</useProjectReferences-->

					<wtpmanifest>true</wtpmanifest>
					<wtpapplicationxml>true</wtpapplicationxml>
					<wtpversion>1.5</wtpversion>    
					<additionalBuildcommands>
						<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
					
<buildcommand>org.eclipse.wst.common.project.facet.core.builder</buildcommand>
					
<buildcommand>org.eclipse.wst.validation.validationbuilder</buildcommand>
					</additionalBuildcommands>
					<additionalProjectnatures>
					
<projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
					
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
					</additionalProjectnatures>
					<classpathContainers>
					
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>     
					
<classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
					</classpathContainers>
				</configuration>

			</plugin> 

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-ear-plugin</artifactId>
				<configuration>
					<displayName>${project.name}-${project.version}</displayName>
					<description>
${project.description}
					</description>
					<version>1.4</version>
					<modules>
						<webModule>
							<groupId>sample-ear</groupId>
							<artifactId>mca-sample-web</artifactId>
							<contextRoot>mca-sample-web</contextRoot>
						</webModule>
					</modules>
				</configuration>
			</plugin>
		</plugins>
-- 
View this message in context: http://www.nabble.com/maven-eclipse-plugin-2.4---versioned-projects-tp15699476s177p16007425.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