Continuum understand well parent pom, it's just a pb with your settings conf
(probably proxy settings)
You can output the one used if you change the level log of
org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper to DEBUG
Emmanuel
Julien Henry a écrit :
Hi,
Thanks for you tips. The solution was to remove parent declaration, and
to add the missing dependencies.
But it could be easier if continuum was understanding parent pom...
++
Julien
[EMAIL PROTECTED] a écrit :
Hello,
well, I found a way to build multi modules in continuum:
1- simply remove the modules in copy of the parent pom.
2- upload this copy
3. continuum will co from ccm all sources and build all modules in the
same
project, as result.
But in your case, for my mind of course, the best way is removing the
parent
declaration, even if you should put in your folder structure the parent
source...
hope that it is helped you.
regards,
Andre
-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: dinsdag 19 september 2006 10:15
To: [email protected]
Subject: Re: How to deal with modules
Julien Henry a écrit :
Hi,
I'm working on a scm plugin for Synergy. I would like to put it on
continuum in my company, but I get an error from continuum:
Continuum Error
* Cannot build maven project from
/tmp/continuum/svn/laposte/maven-scm-provider-ccm/trunk/pom.xml
(Cannot find parent:
org.apache.maven.scm:maven-scm-providers for
project:
org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0-SNAPSHOT).
Check the logs for more details.
Do you have more details in your logs?
It seems it couldn't download the parent pom from the repo, do you
use a proxy?
Emmanuel
Here is the 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>
<parent>
<artifactId>maven-scm-providers</artifactId>
<groupId>org.apache.maven.scm</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-synergy</artifactId>
<name>Maven SCM Synergy Provider</name>
<version>1.0-SNAPSHOT</version>
<scm>
<connection>
scm:svn:http://iliade.sud.capgemini.fr/svn/laposte/maven-scm-p
rovider-ccm/trunk
</connection>
<developerConnection>
scm:svn:http://iliade.sud.capgemini.fr/svn/laposte/maven-scm-p
rovider-ccm/trunk
</developerConnection>
<url>
<![CDATA[http://illiade.sud.capgemini.fr/websvn/listing.php?re
pname=La+Poste+-+Provider+SCM+Maven+Synergy&path=%2Ftrunk%2F&r
ev=0&sc=0]]>
</url>
</scm>
<pluginRepositories>
<pluginRepository>
<id>Maven Snapshots</id>
<url>http://people.apache.org/maven-snapshot-repository/</url>
<releases>
<updatePolicy>daily</updatePolicy>
</releases>
<snapshots>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>1.0-alpha-6</version>
<executions>
<execution>
<goals>
<goal>java</goal>
<goal>xpp3-reader</goal>
<goal>xsd</goal>
</goals>
</execution>
</executions>
<configuration>
<version>1.0.0</version>
<model>src/main/mdo/synergy-settings.mdo</model>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>
maven-scm-provider-synergy
</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
Thanks
------------------------------------------------------------------------------------------------------------
This message is intended for the addressee or its representative only.
Any form of unauthorized use, publication, reproduction, copying or
disclosure of the content of this e-mail is not permitted. If you are
not the intended recipient of this e-mail message and its contents,
please notify the sender immediately and delete this message and all
its attachments subsequently.