continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikko Wuokko <mikko.wuo...@evtek.fi>
Subject Re: Trouble with multi-module Maven2 project
Date Thu, 29 Mar 2007 12:01:30 GMT
Here's some reduced poms.. ripped of the not relevant data

And I use Maven 2.0.5 and Continuum 1.0.3

--------------------------------------------
Parent pom (./pom.xml):

<?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>
	<prerequisites>
		<maven>2.0.4</maven>
	</prerequisites>

	<!-- POM Identification -->

	<groupId>org.kplab</groupId>
	<artifactId>kplab</artifactId>
	<version>1.0</version>
	<packaging>pom</packaging>
	<name>KP-Lab Portal</name>
	<description>
		KP-Lab portal is a knowledge creation portal based on Jetspeed.
	</description>

	<!-- Default Modules -->

	<modules>
		<module>ajaxcontroller</module>
	</modules>

	<dependencies>
		....
	</dependencies>

	<scm>
 
<connection>scm:svn:https://kplab.evtek.fi/svn/kplab/wp6/apps/trunk</connection>
	</scm>

</project>

-----------------------------------------------
Module pom (./ajaxcontroller/pom.xml)

<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>org.kplab</groupId>
   <artifactId>ajaxcontroller</artifactId>
   <parent>
   	<groupId>org.kplab</groupId>
   	<artifactId>kplab</artifactId>
   	<version>1.0</version>
   	<relativePath>../pom.xml</relativePath>
   </parent>
   <packaging>jar</packaging>
   <version>1.0</version>
   <name>ajaxcontroller</name>
   <url>http://kp-lab.org</url>
   <dependencies>

   ...
   </dependencies>

   <scm>
 
<connection>scm:svn:https://kplab.evtek.fi/svn/kplab/wp6/apps/trunk/ajaxcontroller</connection>
   </scm>	
	
</project>

----------------------------------------------

-Mikko

Alistair Young wrote:
> what do your poms look like? I imported a multi-module pom ok.
> 
> Alistair
> 

Mime
View raw message