Author: ningjiang
Date: Mon Jul 20 12:56:45 2009
New Revision: 795807
URL: http://svn.apache.org/viewvc?rev=795807&view=rev
Log:
CAMEL-1841 Added mock-javamail bundle
Added:
camel/trunk/tests/test-bundles/
camel/trunk/tests/test-bundles/mock-javamail_1.7/
camel/trunk/tests/test-bundles/mock-javamail_1.7/pom.xml (with props)
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/IMAPProvider.java
(with props)
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/POP3Provider.java
(with props)
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/SMTPProvider.java
(with props)
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/javamail.default.providers
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/imap
(with props)
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockStore
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockTransport
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/pop3
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/smtp
camel/trunk/tests/test-bundles/pom.xml (with props)
Modified:
camel/trunk/tests/pom.xml
Modified: camel/trunk/tests/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/pom.xml?rev=795807&r1=795806&r2=795807&view=diff
==============================================================================
--- camel/trunk/tests/pom.xml (original)
+++ camel/trunk/tests/pom.xml Mon Jul 20 12:56:45 2009
@@ -31,6 +31,7 @@
<packaging>pom</packaging>
<modules>
+ <module>test-bundles</module>
<module>camel-itest</module>
<module>camel-itest-osgi</module>
<module>camel-itest-spring-2.0</module>
Added: camel/trunk/tests/test-bundles/mock-javamail_1.7/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/pom.xml?rev=795807&view=auto
==============================================================================
--- camel/trunk/tests/test-bundles/mock-javamail_1.7/pom.xml (added)
+++ camel/trunk/tests/test-bundles/mock-javamail_1.7/pom.xml Mon Jul 20
12:56:45 2009
@@ -0,0 +1,99 @@
+<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">
+
+ <!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.camel.tests.bundles</groupId>
+ <artifactId>bundles-pom</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.camel.tests</groupId>
+ <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache Camel Test Bundles: ${pkgArtifactId}-${pkgVersion}</name>
+ <description>
+ This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar.
+ </description>
+
+ <properties>
+ <pkgGroupId>org.jvnet.mock-javamail</pkgGroupId>
+ <pkgArtifactId>mock-javamail</pkgArtifactId>
+ <pkgVersion>1.7</pkgVersion>
+ <servicemix.legal.version>1.0</servicemix.legal.version>
+ <camel.osgi.export.pkg>
+ org.jvnet.mock_javamail
+ </camel.osgi.export.pkg>
+ <camel.osgi.import.pkg>
+ *
+ </camel.osgi.import.pkg>
+ <camel.osgi.private.pkg>
+ META-INF;-split-package:=merge-first,
+ META-INF.services;-split-package:=merge-first
+ META-INF.maven.org.apache.camel.tests*;-split-package:=merge-first
+ </camel.osgi.private.pkg>
+
<camel.osgi.export>${camel.osgi.export.pkg}*;version=${pkgVersion};-split-package:=merge-first</camel.osgi.export>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <artifactSet>
+ <includes>
+
<include>${pkgGroupId}:${pkgArtifactId}</include>
+ </includes>
+ </artifactSet>
+ <filters>
+ <filter>
+
<artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+ <excludes>
+ <exclude>**</exclude>
+
<exclude>META-INF/javamail.default.providers</exclude>
+ </excludes>
+ </filter>
+ </filters>
+
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+
<createDependencyReducedPom>true</createDependencyReducedPom>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: camel/trunk/tests/test-bundles/mock-javamail_1.7/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: camel/trunk/tests/test-bundles/mock-javamail_1.7/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: camel/trunk/tests/test-bundles/mock-javamail_1.7/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/IMAPProvider.java
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/IMAPProvider.java?rev=795807&view=auto
==============================================================================
---
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/IMAPProvider.java
(added)
+++
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/IMAPProvider.java
Mon Jul 20 12:56:45 2009
@@ -0,0 +1,31 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jvnet.mock_javamail.provider;
+
+import javax.mail.Provider;
+
+public class IMAPProvider extends Provider {
+
+ public IMAPProvider() {
+ super(Type.STORE,
+ "imap",
+ "org.jvnet.mock_javamail.MockStore",
+ "Apache Software Foundation",
+ "1.0");
+ }
+
+}
Propchange:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/IMAPProvider.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/IMAPProvider.java
------------------------------------------------------------------------------
svn:executable = *
Propchange:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/IMAPProvider.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/POP3Provider.java
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/POP3Provider.java?rev=795807&view=auto
==============================================================================
---
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/POP3Provider.java
(added)
+++
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/POP3Provider.java
Mon Jul 20 12:56:45 2009
@@ -0,0 +1,31 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jvnet.mock_javamail.provider;
+
+import javax.mail.Provider;
+
+public class POP3Provider extends Provider {
+
+ public POP3Provider() {
+ super(Type.STORE,
+ "pop3",
+ "org.jvnet.mock_javamail.MockStore",
+ "Apache Software Foundation",
+ "1.0");
+ }
+
+}
Propchange:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/POP3Provider.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/POP3Provider.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/SMTPProvider.java
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/SMTPProvider.java?rev=795807&view=auto
==============================================================================
---
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/SMTPProvider.java
(added)
+++
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/SMTPProvider.java
Mon Jul 20 12:56:45 2009
@@ -0,0 +1,30 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jvnet.mock_javamail.provider;
+
+import javax.mail.Provider;
+
+public class SMTPProvider extends Provider {
+
+ public SMTPProvider() {
+ super(Type.TRANSPORT,
+ "smtp",
+ "org.jvnet.mock_javamail.MockTransport",
+ "Apache Software Foundation",
+ "1.0");
+ }
+}
Propchange:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/SMTPProvider.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/java/org/jvnet/mock_javamail/SMTPProvider.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/javamail.default.providers
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/javamail.default.providers?rev=795807&view=auto
==============================================================================
---
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/javamail.default.providers
(added)
+++
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/javamail.default.providers
Mon Jul 20 12:56:45 2009
@@ -0,0 +1,22 @@
+##
+## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements. See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership. The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied. See the License for the
+## specific language governing permissions and limitations
+## under the License.
+##
+protocol=smtp; type=transport; class=org.jvnet.mock_javamail.MockTransport;
vendor=java.net mock-javamail project;
+protocol=pop3; type=store; class=org.jvnet.mock_javamail.MockStore;
vendor=java.net mock-javamail project;
+protocol=imap; type=store; class=org.jvnet.mock_javamail.MockStore;
vendor=java.net mock-javamail project;
+
Added:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/imap
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/imap?rev=795807&view=auto
==============================================================================
---
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/imap
(added)
+++
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/imap
Mon Jul 20 12:56:45 2009
@@ -0,0 +1 @@
+org.jvnet.mock_javamail.provider.IMAPProvider
Propchange:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/imap
------------------------------------------------------------------------------
svn:executable = *
Added:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockStore
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockStore?rev=795807&view=auto
==============================================================================
---
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockStore
(added)
+++
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockStore
Mon Jul 20 12:56:45 2009
@@ -0,0 +1 @@
+org.jvnet.mock_javamail.MockStore
Added:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockTransport
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockTransport?rev=795807&view=auto
==============================================================================
---
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockTransport
(added)
+++
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/org.jvnet.mock_javamail.MockTransport
Mon Jul 20 12:56:45 2009
@@ -0,0 +1 @@
+org.jvnet.mock_javamail.MockTransport
Added:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/pop3
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/pop3?rev=795807&view=auto
==============================================================================
---
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/pop3
(added)
+++
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/pop3
Mon Jul 20 12:56:45 2009
@@ -0,0 +1 @@
+org.jvnet.mock_javamail.provider.POP3Provider
Added:
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/smtp
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/smtp?rev=795807&view=auto
==============================================================================
---
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/smtp
(added)
+++
camel/trunk/tests/test-bundles/mock-javamail_1.7/src/main/resources/META-INF/services/smtp
Mon Jul 20 12:56:45 2009
@@ -0,0 +1 @@
+org.jvnet.mock_javamail.provider.SMTPProvider
Added: camel/trunk/tests/test-bundles/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/tests/test-bundles/pom.xml?rev=795807&view=auto
==============================================================================
--- camel/trunk/tests/test-bundles/pom.xml (added)
+++ camel/trunk/tests/test-bundles/pom.xml Mon Jul 20 12:56:45 2009
@@ -0,0 +1,160 @@
+<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">
+
+ <!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.camel.tests.bundles</groupId>
+ <artifactId>bundles-pom</artifactId>
+ <packaging>pom</packaging>
+ <version>2.0-SNAPSHOT</version>
+ <name>Apache Camel Tests Bundles</name>
+
+ <properties>
+ <servicemix.legal.version>1.0</servicemix.legal.version>
+
<camel.osgi.export>${camel.osgi.export.pkg}*;version=${pkgVersion};-split-package:=merge-first</camel.osgi.export>
+ <camel.osgi.export.pkg />
+ <camel.osgi.import.pkg />
+ <camel.osgi.private.pkg />
+ <camel.osgi.dynamicimport.pkg />
+ <camel.osgi.failok>false</camel.osgi.failok>
+ </properties>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ <configuration>
+ <useReleaseProfile>false</useReleaseProfile>
+ <preparationGoals>clean verify
install</preparationGoals>
+ <goals>deploy</goals>
+ <arguments>-Prelease,deploy
-Ddeploy.altRepository=${deploy.altRepository}</arguments>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.3.1</version>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.1</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>1.4.1</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+
<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Export-Package>${camel.osgi.export}</Export-Package>
+
<Import-Package>${camel.osgi.import.pkg}*</Import-Package>
+
<Private-Package>${camel.osgi.private.pkg}</Private-Package>
+
<DynamicImport-Package>${camel.osgi.dynamicimport.pkg}</DynamicImport-Package>
+ <_failok>${camel.osgi.failok}</_failok>
+ </instructions>
+ <unpackBundle>true</unpackBundle>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0</version>
+ <executions>
+ <execution>
+ <id>copy-legal</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+
<groupId>org.apache.servicemix.legal</groupId>
+ <artifactId>legal</artifactId>
+
<version>${servicemix.legal.version}</version>
+ <type>xml</type>
+
<outputDirectory>target/legal/</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ <stripVersion>true</stripVersion>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.servicemix.legal</groupId>
+ <artifactId>legal</artifactId>
+ <version>${servicemix.legal.version}</version>
+ <type>xml</type>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+ </resourceBundles>
+ <supplementalModels>
+
<supplementalModel>target/legal/legal.xml</supplementalModel>
+ </supplementalModels>
+ <properties>
+ <addLicense>true</addLicense>
+ <addArtifact>true</addArtifact>
+ <projectName>Apache ServiceMix</projectName>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <modules>
+ <module>mock-javamail_1.7</module>
+ </modules>
+</project>
Propchange: camel/trunk/tests/test-bundles/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: camel/trunk/tests/test-bundles/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: camel/trunk/tests/test-bundles/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml