-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathpom.xml
More file actions
121 lines (115 loc) · 5.39 KB
/
Copy pathpom.xml
File metadata and controls
121 lines (115 loc) · 5.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.talend.components</groupId>
<artifactId>components-parent</artifactId>
<version>0.5.0-SNAPSHOT</version>
<relativePath>../components-parent/pom.xml</relativePath>
</parent>
<name>Components - Shared Component Parts</name>
<artifactId>components-common</artifactId>
<version>0.5.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<dependencies>
<dependency>
<groupId>net.sourceforge.javacsv</groupId>
<artifactId>javacsv</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.talend.components</groupId>
<artifactId>components-api</artifactId>
<version>0.5.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.talend.components</groupId>
<artifactId>components-api</artifactId>
<version>0.5.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.talend.daikon</groupId>
<artifactId>daikon-spring</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>lib-jar</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<instructions>
<Bundle-SymbolicName>org.talend.components.common.lib</Bundle-SymbolicName>
<Bundle-Name>${project.name} lib</Bundle-Name>
</instructions>
</configuration>
</execution>
<execution>
<id>test-bundle</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<classifier>tests</classifier>
<outputDirectory>unexisting_ouput_directory_to_avoid_classes_to_be_embedded</outputDirectory>
<instructions>
<Import-Package>!*internal,org.talend*,org.slf4j*,javax.xml.namespace,org.junit</Import-Package>
<Bundle-SymbolicName>org.talend.components.common.test</Bundle-SymbolicName>
<Bundle-Name>Test Fragment for ${project.name}</Bundle-Name>
<Fragment-Host>org.talend.components.common</Fragment-Host>
<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
<Embed-Dependency></Embed-Dependency>
<Export-Package>*</Export-Package>
<Include-Resource>=target/test-classes/
</Include-Resource>
</instructions>
</configuration>
</execution>
<execution>
<id>bundle-jar</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
<configuration>
<classifier>bundle</classifier>
<instructions>
<Bundle-SymbolicName>org.talend.components.common</Bundle-SymbolicName>
<Import-Package>org.talend*,org.slf4j*,org.apache.avro*</Import-Package>
<Service-Component>*</Service-Component>
<Embed-Dependency>!components*,*;scope=compile|runtime;artifactId=avro;inline=false</Embed-Dependency>
<!-- <Embed-Dependency> -->
<!-- !org.osgi.core;scope=compile|runtime,*;scope=compile|runtime;inline=false;artifactId=!slf4j-api|javax.servlet-api|javax.inject|daikon -->
<!-- </Embed-Dependency> -->
</instructions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>