Author: davsclaus
Date: Sun Jun 5 10:59:10 2011
New Revision: 1132372
URL: http://svn.apache.org/viewvc?rev=1132372&view=rev
Log:
Added maven repo for javax mail for examples
Modified:
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml
camel/trunk/examples/camel-example-reportincident/pom.xml
Modified:
camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml?rev=1132372&r1=1132371&r2=1132372&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml
(original)
+++ camel/trunk/examples/camel-example-reportincident-ws-security-osgi/pom.xml
Sun Jun 5 10:59:10 2011
@@ -33,6 +33,16 @@
</description>
<packaging>bundle</packaging>
+ <repositories>
+ <!-- for javax mail and jvnet mock-mail -->
+ <repository>
+ <id>java.net.m2</id>
+ <name>Java.net Repository for Maven</name>
+ <url>http://download.java.net/maven/2/</url>
+ <layout>default</layout>
+ </repository>
+ </repositories>
+
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
@@ -65,27 +75,27 @@
<artifactId>camel-mail</artifactId>
</dependency>
- <!-- mock mail server so we do not send an email for real -->
- <dependency>
- <groupId>org.jvnet.mock-javamail</groupId>
- <artifactId>mock-javamail</artifactId>
- <version>1.7</version>
- <exclusions>
- <exclusion>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- </exclusion>
- </exclusions>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- <scope>test</scope>
- </dependency>
+ <!-- mock mail server so we do not send an email for real -->
+ <dependency>
+ <groupId>org.jvnet.mock-javamail</groupId>
+ <artifactId>mock-javamail</artifactId>
+ <version>1.7</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ </exclusion>
+ </exclusions>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context-support</artifactId>
+ <scope>test</scope>
+ </dependency>
- <!-- cxf -->
+ <!-- cxf -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-core</artifactId>
@@ -116,12 +126,12 @@
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
- <!-- cxf web container for unit testing -->
+ <!-- cxf web container for unit testing -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
@@ -242,7 +252,7 @@
</configuration>
</plugin>
- </plugins>
- </build>
+ </plugins>
+ </build>
</project>
Modified: camel/trunk/examples/camel-example-reportincident/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/pom.xml?rev=1132372&r1=1132371&r2=1132372&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident/pom.xml (original)
+++ camel/trunk/examples/camel-example-reportincident/pom.xml Sun Jun 5
10:59:10 2011
@@ -33,6 +33,16 @@
</description>
<packaging>war</packaging>
+ <repositories>
+ <!-- for javax mail and jvnet mock-mail -->
+ <repository>
+ <id>java.net.m2</id>
+ <name>Java.net Repository for Maven</name>
+ <url>http://download.java.net/maven/2/</url>
+ <layout>default</layout>
+ </repository>
+ </repositories>
+
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
@@ -59,19 +69,19 @@
<artifactId>camel-mail</artifactId>
</dependency>
- <!-- mock mail server so we do not send an email for real -->
- <dependency>
- <groupId>org.jvnet.mock-javamail</groupId>
- <artifactId>mock-javamail</artifactId>
- <version>1.7</version>
- <exclusions>
- <exclusion>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- </exclusion>
- </exclusions>
- <scope>test</scope>
- </dependency>
+ <!-- mock mail server so we do not send an email for real -->
+ <dependency>
+ <groupId>org.jvnet.mock-javamail</groupId>
+ <artifactId>mock-javamail</artifactId>
+ <version>1.7</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ </exclusion>
+ </exclusions>
+ <scope>test</scope>
+ </dependency>
<!-- cxf -->
<dependency>
@@ -97,12 +107,12 @@
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
- <!-- cxf web container for unit testing -->
+ <!-- cxf web container for unit testing -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>