continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus.W...@ibs.se
Subject error when building multiple projects joined by maven2 module
Date Thu, 17 Aug 2006 08:05:42 GMT
i have three maven2 projects A, B and C where A depends on B and C, and 
where B depends on C (for compilation and packaging).

I have included the scm section in each projects pom.xml and I have tested 
that continuum can build them if I supply the poms and have continuum 
build them in the correct order. but I don't know how to specify to 
continuum which order they should be built, so my idea is to create a top 
pom.xml using the module maven2 construct. and i included an scm section 
in that pom as well. but continuum can't use that to build my projects, 
that is if I only provide continuum with the top pom.xml and not the three 
sub pom.xmls.

further below follows the error message from continuum. but first are the 
4 pom.xmls. any thoughts?

is there some document place, on the internet e g where this kind of 
information is disclosed. i e how I can use the maven2 module construct in 
continuum? I would much rather read about myself than asking you continuum 
experts spend time helping me. have I missed some great continuum 
document?

proj A:
<?xml version="1.0" encoding="UTF-8"?><project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>se.jsolutions.crm</groupId>
  <artifactId>CRM</artifactId>
  <packaging>ear</packaging>
  <version>1.0</version>
  <description></description>
  <dependencies>
    <dependency>
      <groupId>se.jsolutions.crm</groupId>
      <artifactId>EJB</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>se.jsolutions.crm</groupId>
      <artifactId>WEB</artifactId>
      <version>1.0</version>
      <type>war</type>
    </dependency>
  </dependencies>
  <build>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
  </build>
  <scm>
 
<connection>scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/CRM</connection>
 
<developerConnection>scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/CRM</developerConnection>
  </scm>
</project>


proj B:
<?xml version="1.0" encoding="UTF-8"?><project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>se.jsolutions.crm</groupId>
  <artifactId>WEB</artifactId>
  <packaging>war</packaging>
  <version>1.0</version>
  <description></description>
  <dependencies>
    <dependency>
      <groupId>se.jsolutions.crm</groupId>
      <artifactId>EJB</artifactId>
      <version>1.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>struts</groupId>
      <artifactId>struts</artifactId>
      <version>1.2.9</version>
    </dependency>
    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>displaytag</groupId>
      <artifactId>displaytag</artifactId>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>javax.jee</groupId>
      <artifactId>jee</artifactId>
      <version>5.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>jstl</artifactId>
      <version>1.1.2</version>
    </dependency>
    <dependency>
      <groupId>taglibs</groupId>
      <artifactId>standard</artifactId>
      <version>1.1.2</version>
    </dependency>
    <dependency>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
      <version>1.0.b2</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <scm>
 
<connection>scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/WEB</connection>
 
<developerConnection>scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/WEB</developerConnection>
  </scm>
</project>

proj C:
<?xml version="1.0" encoding="UTF-8"?><project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>se.jsolutions.crm</groupId>
  <artifactId>EJB</artifactId>
  <version>1.0</version>
  <description></description>
  <dependencies>
    <dependency>
      <groupId>javax.jee</groupId>
      <artifactId>jee</artifactId>
      <version>5.0</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <scm>
 
<connection>scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/EJB</connection>
 
<developerConnection>scm:svn:https://jsolutions.se/repository/trunk/framework/CRM/EJB</developerConnection>
  </scm>
</project> 

top pom.xml:
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>se.jsolutions.crm</groupId>
  <version>1.0</version>
  <artifactId>app</artifactId>
  <packaging>pom</packaging>
  <modules>
    <module>EJB</module>
    <module>WEB</module>
    <module>CRM</module>
  </modules>
  <scm>
 
<connection>scm:svn:https://jsolutions.se/repository/trunk/framework/CRM</connection>
 
<developerConnection>scm:svn:https://jsolutions.se/repository/trunk/framework/CRM</developerConnection>
  </scm>
</project>



jvm 1    | 2006-08-17 09:55:07,650 [SocketListener0-0] INFO 
ContinuumProjectBuilder:maven-two-builder - Downloading 
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-61487.tmp
jvm 1    | 2006-08-17 09:55:07,681 [SocketListener0-0] INFO 
ContinuumProjectBuilder:maven-two-builder - Downloading 
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-6/EJB/pom.xml
jvm 1    | 2006-08-17 09:55:07,681 [SocketListener0-0] INFO 
ContinuumProjectBuilder:maven-two-builder - Downloading 
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-6/WEB/pom.xml
jvm 1    | 2006-08-17 09:55:07,681 [SocketListener0-0] INFO 
ContinuumProjectBuilder:maven-two-builder - Downloading 
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-6/CRM/pom.xml
jvm 1    | 2006-08-17 09:55:07,681 [SocketListener0-0] INFO  Continuum     
       - Created 1 projects.
jvm 1    | 2006-08-17 09:55:07,681 [SocketListener0-0] INFO  Continuum     
       - Created 1 project groups.
jvm 1    | 2006-08-17 09:55:07,681 [SocketListener0-0] INFO  Continuum     
       - 3 warnings.
jvm 1    | 2006-08-17 09:55:07,681 [SocketListener0-0] INFO  Continuum     
       - Could not download file:/C:/DOC
UME~1/SEMARWAH/LOCALS~1/Temp/summit-6/EJB/pom.xml: 
C:\DOCUME~1\SEMARWAH\LOCALS~1\Temp\summit-6\EJB\pom.xml (The system cannot 
find the path specified)
jvm 1    | 2006-08-17 09:55:07,681 [SocketListener0-0] INFO  Continuum     
       - Could not download 
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-6/WEB/pom.xml: 
C:\DOCUME~1\SEMARWAH\LOCALS~1\Temp\summit-6\WEB\pom.xml (The system cannot 
find the path specified)
jvm 1    | 2006-08-17 09:55:07,681 [SocketListener0-0] INFO  Continuum     
       - Could not download 
file:/C:/DOCUME~1/SEMARWAH/LOCALS~1/Temp/summit-6/CRM/pom.xml: 
C:\DOCUME~1\SEMARWAH\LOCALS~1\Temp\summit-6\CRM\pom.xml (The system cannot 
find the path specified)
jvm 1    | 2006-08-17 10:00:00,027 [defaultScheduler_Worker-11] INFO 
SchedulesActivator             - >>>>>>>>>>>>>>>>>>>>>
Executing build job (DEFAULT_SCHEDULE)...


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message