I'm using servicemix-3.3, servicemix-mail version 2008.01.
I have
<properties>
<servicemix-version>3.2.2</servicemix-version>
</properties>
in my SU pom.xml because I got following error when replace 3.2.2 with 3.3:
[INFO] Scanning for projects...
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.3/jbi-mave
n-plugin-3.3.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.3/jbi-maven-plugin-3.3.pom
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.3/jbi-mave
n-plugin-3.3.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.3/jbi-maven-plugin-3.3.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.servicemix.tooling:jbi-maven-plugin
Reason: POM 'org.apache.servicemix.tooling:jbi-maven-plugin' not found in
repository: Unable to download the artifact from any rep
ository
org.apache.servicemix.tooling:jbi-maven-plugin:pom:3.3
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
central (http://repo1.maven.org/maven2)
for project org.apache.servicemix.tooling:jbi-maven-plugin
===========================================
Next is my SU 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">
<parent>
<artifactId>parent</artifactId>
<groupId>org.apache.servicemix.softretail</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.servicemix.softretail</groupId>
<artifactId>my-proj</artifactId>
<packaging>jbi-service-unit</packaging>
<version>1.0-SNAPSHOT</version>
<name>MAIL :: SU</name>
<url>http://www.myorganization.org</url>
<repositories>
<repository>
<id>apache</id>
<name>Apache Repository</name>
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshots Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache</id>
<name>Apache Repository</name>
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
<pluginRepository>
<id>apache.snapshots</id>
<name>Apache Snapshots Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<properties>
<servicemix-version>3.2.2</servicemix-version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.servicemix</groupId>
<artifactId>servicemix-mail</artifactId>
<version>2008.01</version>
</dependency>
<dependency>
<groupId>org.apache.servicemix</groupId>
<artifactId>servicemix-bean</artifactId>
<version>${servicemix-version}</version>
</dependency>
<dependency>
<groupId>org.apache.servicemix</groupId>
<artifactId>servicemix-core</artifactId>
<version>${servicemix-version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
<version>${servicemix-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
--
View this message in context:
http://www.nabble.com/servicemix-mail-tp21708197p21713115.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.