Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration for Web Tools Platform » m2e-wtp not deploying classes
m2e-wtp not deploying classes [message #895228] Thu, 12 July 2012 08:11
Arindam Ray Mukherjee is currently offline Arindam Ray MukherjeeFriend
Messages: 1
Registered: July 2012
Location: Amsterdam
Junior Member
Hi,

We have a java project that we are trying to deploy and debug from inside Eclipse into a tomcat server. The mother project is organised as a bunch of child projects. One of the child projects is a WebApp(war file) and the rest are compiled as jars.
Everything compiles but when we deploy it to the tomcat, the .class files for the webApp are not deployed.

What are we doing wrong?

Cheers

Arindam

ps: Here's our pom file


<!-- XML Starting text with -->

<modelVersion>4.0.0</modelVersion>
<artifactId>companyProjectApp</artifactId>
<name>companyProjectApp</name>
<packagcompany>war</packagcompany>
<parent>
<artifactId>companyProject</artifactId>
<groupId>company.Project</groupId>
<version>1.0</version>
<relativePath>..</relativePath>
</parent>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
<version>2.3.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.2</version>
<configuration>
<warName>companyProject</warName>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<archive>
<manifestEntries>
<Project-Name>${project.name}</Project-Name>
<Project-Version>${project.version}</Project-Version>
<Build-Number>${BUILD_NUMBER}</Build-Number>
</manifestEntries>
<manifest>
<addClasspath>false</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
<downloadSources>true</downloadSources>
</configuration>
<version>2.8</version>
</plugin>
<plugin>
<groupId>org.apache.activemq.toolcompany</groupId>
<artifactId>maven-activemq-plugin</artifactId>
<version>5.5</version>
<configuration>
<configUri>xbean:file:./conf/activemq.xml</configUri>
<fork>false</fork>
<systemProperties>
<property>
<name>javax.net.ssl.keyStorePassword</name>
<value>password</value>
</property>
<property>
<name>org.apache.activemq.default.directory.prefix</name>
<value>./target/</value>
</property>
</systemProperties>
</configuration>
<!--plugin dependencies-->
<!--artifactId>sprcompany</artifactId-->
<!--artifactId>jetty-xbean</artifactId-->
<!--artifactId>camel-activemq</artifactId-->
<!--plugin dependencies-->
</plugin>
</plugins>
</build>


<dependencies>
<!-- Shared version number properties -->
<dependency>
<groupId>company.Project</groupId>
<artifactId>companyProjectData</artifactId>
<version>${projversion}</version>
</dependency>

<!-- OTHER DEPENDENCIES-->

</project>
Previous Topic:Welcome to eclipse.m2e-wtp
Next Topic:Deployed Resources folder
Goto Forum:
  


Current Time: Wed Dec 04 13:34:33 GMT 2024

Powered by FUDForum. Page generated in 0.03914 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top