Skip to content

Commit 1d7f5a7

Browse files
committed
Adding initial base
0 parents  commit 1d7f5a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1654
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
routing/target

.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>project</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.m2e.core.maven2Builder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
16+
</natures>
17+
</projectDescription>

.settings/org.eclipse.m2e.core.prefs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1

features/.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>features</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.m2e.core.maven2Builder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
16+
</natures>
17+
</projectDescription>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1

features/pom.xml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<parent>
8+
<groupId>org.fuse.usecase2</groupId>
9+
<artifactId>parent</artifactId>
10+
<version>1.0</version>
11+
<relativePath>../parent/pom.xml</relativePath>
12+
</parent>
13+
14+
<artifactId>features</artifactId>
15+
<name>Fuse :: Use Case 2 :: Features</name>
16+
17+
<packaging>pom</packaging>
18+
19+
<build>
20+
<!-- enable filtering of the features file -->
21+
<resources>
22+
<resource>
23+
<directory>${pom.basedir}/src/main/filtered-resources</directory>
24+
<filtering>true</filtering>
25+
<includes>
26+
<include>**/*</include>
27+
</includes>
28+
</resource>
29+
</resources>
30+
<!-- replace property placeholders in the features file with property values -->
31+
<plugins>
32+
<plugin>
33+
<groupId>org.apache.maven.plugins</groupId>
34+
<artifactId>maven-resources-plugin</artifactId>
35+
<version>${maven-resources-plugin.version}</version>
36+
<executions>
37+
<execution>
38+
<id>filter</id>
39+
<phase>generate-resources</phase>
40+
<goals>
41+
<goal>resources</goal>
42+
</goals>
43+
</execution>
44+
</executions>
45+
</plugin>
46+
<!-- attach the generated features file as an artifact, so that it is published to the maven repository -->
47+
<plugin>
48+
<groupId>org.codehaus.mojo</groupId>
49+
<artifactId>build-helper-maven-plugin</artifactId>
50+
<version>${build-helper-maven-plugin.version}</version>
51+
<executions>
52+
<execution>
53+
<id>attach-artifacts</id>
54+
<phase>package</phase>
55+
<goals>
56+
<goal>attach-artifact</goal>
57+
</goals>
58+
<configuration>
59+
<artifacts>
60+
<artifact>
61+
<file>target/classes/features.xml</file>
62+
<type>xml</type>
63+
<classifier>features</classifier>
64+
</artifact>
65+
</artifacts>
66+
</configuration>
67+
</execution>
68+
</executions>
69+
</plugin>
70+
</plugins>
71+
</build>
72+
73+
</project>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<features name="usecases" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0">
3+
<!-- Include your bundles, features, config or configFile -->
4+
<feature name="usecase-camel-aggregation-db" version="1.0">
5+
</feature>
6+
7+
<feature name="h2" version="1.4.190">
8+
<bundle>mvn:com.h2database/h2/1.4.190</bundle>
9+
</feature>
10+
</features>

parent/.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>parent</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.m2e.core.maven2Builder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
16+
</natures>
17+
</projectDescription>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1

parent/pom.xml

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<artifactId>project</artifactId>
7+
<groupId>org.fuse.usecase2</groupId>
8+
<version>1.0</version>
9+
</parent>
10+
11+
<artifactId>parent</artifactId>
12+
<version>1.0</version>
13+
<name>Fuse :: Use Case 2 :: Parent</name>
14+
<packaging>pom</packaging>
15+
16+
<properties>
17+
<!-- Version of JBoss Fuse used for the use case -->
18+
<jboss.fuse.bom.version>6.2.1.redhat-084</jboss.fuse.bom.version>
19+
20+
<!-- Versions should be the same as defined within the Fuse BOM -->
21+
<camel.version>2.15.1.redhat-621084</camel.version>
22+
<cxf.version>2.15.1.redhat-621084</cxf.version>
23+
24+
<!-- Apache Maven plugins -->
25+
<build-helper-maven-plugin.version>1.9.1</build-helper-maven-plugin.version>
26+
<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
27+
<maven-resources-plugin.version>2.5</maven-resources-plugin.version>
28+
<maven-surefire.version>2.19.1</maven-surefire.version>
29+
<maven-install-plugin.version>2.3.1</maven-install-plugin.version>
30+
<felix-maven-plugin.version>2.3.7</felix-maven-plugin.version>
31+
<fabric8-plugin.version>1.2.0.redhat-621084</fabric8-plugin.version>
32+
33+
<!-- OSGI Properties required for the Apache Felix Plugin -->
34+
<osgi-import-package>*</osgi-import-package>
35+
<osgi-export-package/>
36+
<osgi-private-package/>
37+
<osgi-dynamic-package/>
38+
</properties>
39+
40+
<dependencyManagement>
41+
<dependencies>
42+
<dependency>
43+
<groupId>org.jboss.fuse.bom</groupId>
44+
<artifactId>jboss-fuse-parent</artifactId>
45+
<version>${jboss.fuse.bom.version}</version>
46+
<type>pom</type>
47+
<scope>import</scope>
48+
</dependency>
49+
<dependency>
50+
<groupId>org.apache.camel</groupId>
51+
<artifactId>camel-parent</artifactId>
52+
<version>${camel.version}</version>
53+
<type>pom</type>
54+
<scope>import</scope>
55+
</dependency>
56+
</dependencies>
57+
</dependencyManagement>
58+
59+
<dependencies>
60+
<!-- Camel -->
61+
<dependency>
62+
<groupId>org.apache.camel</groupId>
63+
<artifactId>camel-core</artifactId>
64+
</dependency>
65+
<dependency>
66+
<groupId>org.apache.camel</groupId>
67+
<artifactId>camel-spring</artifactId>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.apache.camel</groupId>
71+
<artifactId>camel-cxf</artifactId>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.apache.camel</groupId>
75+
<artifactId>camel-dozer</artifactId>
76+
</dependency>
77+
<dependency>
78+
<groupId>org.apache.camel</groupId>
79+
<artifactId>camel-jackson</artifactId>
80+
</dependency>
81+
<dependency>
82+
<groupId>org.apache.camel</groupId>
83+
<artifactId>camel-sql</artifactId>
84+
</dependency>
85+
<!-- logging -->
86+
<dependency>
87+
<groupId>org.slf4j</groupId>
88+
<artifactId>slf4j-api</artifactId>
89+
</dependency>
90+
<dependency>
91+
<groupId>org.slf4j</groupId>
92+
<artifactId>slf4j-log4j12</artifactId>
93+
</dependency>
94+
<dependency>
95+
<groupId>log4j</groupId>
96+
<artifactId>log4j</artifactId>
97+
</dependency>
98+
</dependencies>
99+
100+
101+
<build>
102+
<defaultGoal>install</defaultGoal>
103+
104+
<pluginManagement>
105+
<plugins>
106+
<plugin>
107+
<groupId>org.apache.camel</groupId>
108+
<artifactId>camel-maven-plugin</artifactId>
109+
<version>${camel.version}</version>
110+
</plugin>
111+
<plugin>
112+
<groupId>org.apache.felix</groupId>
113+
<artifactId>maven-bundle-plugin</artifactId>
114+
<version>${felix-maven-plugin.version}</version>
115+
</plugin>
116+
<plugin>
117+
<groupId>io.fabric8</groupId>
118+
<artifactId>fabric8-maven-plugin</artifactId>
119+
<version>${fabric8-plugin.version}</version>
120+
</plugin>
121+
<plugin>
122+
<groupId>org.codehaus.mojo</groupId>
123+
<artifactId>build-helper-maven-plugin</artifactId>
124+
<version>${build-helper-maven-plugin.version}</version>
125+
</plugin>
126+
<plugin>
127+
<groupId>org.apache.maven.plugins</groupId>
128+
<artifactId>maven-resources-plugin</artifactId>
129+
<version>${maven-resources-plugin.version}</version>
130+
</plugin>
131+
<plugin>
132+
<groupId>org.apache.maven.plugins</groupId>
133+
<artifactId>maven-surefire-plugin</artifactId>
134+
<version>${maven-surefire.version}</version>
135+
</plugin>
136+
</plugins>
137+
</pluginManagement>
138+
139+
<plugins>
140+
<plugin>
141+
<artifactId>maven-compiler-plugin</artifactId>
142+
<version>${maven-compiler-plugin.version}</version>
143+
<configuration>
144+
<source>1.7</source>
145+
<target>1.7</target>
146+
</configuration>
147+
</plugin>
148+
<plugin>
149+
<groupId>org.apache.felix</groupId>
150+
<artifactId>maven-bundle-plugin</artifactId>
151+
<version>${felix-maven-plugin.version}</version>
152+
<extensions>true</extensions>
153+
<configuration>
154+
<instructions>
155+
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
156+
<Import-Package>${osgi-import-package}</Import-Package>
157+
<Private-Package>${osgi-private-package}</Private-Package>
158+
<Export-Package>${osgi-export-package}</Export-Package>
159+
<DynamicImport-Package>${osgi-dynamic-package}</DynamicImport-Package>
160+
</instructions>
161+
</configuration>
162+
</plugin>
163+
</plugins>
164+
</build>
165+
166+
<repositories>
167+
<repository>
168+
<id>fusesource-public-repository</id>
169+
<name>FuseSource Release Repository</name>
170+
<url>http://repository.jboss.org/nexus/content/repositories/fs-public/</url>
171+
</repository>
172+
<repository>
173+
<id>jboss-public-repository</id>
174+
<name>JBoss.org Public Maven Repository Group</name>
175+
<url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
176+
</repository>
177+
<repository>
178+
<id>jboss-fuse-ea</id>
179+
<url>http://repository.jboss.org/nexus/content/groups/ea</url>
180+
</repository>
181+
<repository>
182+
<id>jboss-releases</id>
183+
<name>JBoss.org Fuse Releases</name>
184+
<url>http://repository.jboss.org/nexus/content/repositories/fs-releases/</url>
185+
</repository>
186+
<repository>
187+
<id>Maven Central</id>
188+
<url>http://repo1.maven.org/maven2/</url>
189+
</repository>
190+
<repository>
191+
<id>Tech Preview</id>
192+
<url>http://maven.repository.redhat.com/techpreview/all</url>
193+
</repository>
194+
</repositories>
195+
<pluginRepositories>
196+
<pluginRepository>
197+
<id>fusesource-public-repository</id>
198+
<name>FuseSource Release Repository</name>
199+
<url>http://repository.jboss.org/nexus/content/repositories/fs-public/</url>
200+
</pluginRepository>
201+
<pluginRepository>
202+
<id>jboss-public-repository-group</id>
203+
<name>JBoss.org Public Maven Repository Group</name>
204+
<url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
205+
</pluginRepository>
206+
<pluginRepository>
207+
<id>jboss-fuse-releases</id>
208+
<name>JBoss.org Fuse Releases</name>
209+
<url>http://repository.jboss.org/nexus/content/repositories/fs-releases</url>
210+
</pluginRepository>
211+
<pluginRepository>
212+
<id>jboss-fuse-ea</id>
213+
<url>http://repository.jboss.org/nexus/content/groups/ea</url>
214+
</pluginRepository>
215+
<pluginRepository>
216+
<id>Tech Preview</id>
217+
<url>http://maven.repository.redhat.com/techpreview/all</url>
218+
</pluginRepository>
219+
</pluginRepositories>
220+
</project>

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>org.fuse.usecase2</groupId>
8+
<artifactId>project</artifactId>
9+
<version>1.0</version>
10+
<packaging>pom</packaging>
11+
<name>Fuse :: Use Case 2 :: Project</name>
12+
13+
<modules>
14+
<module>routing</module>
15+
<module>features</module>
16+
<module>parent</module>
17+
</modules>
18+
19+
</project>

0 commit comments

Comments
 (0)