summaryrefslogtreecommitdiffstats
path: root/branches/sca-android/distribution/features/repository/pom.xml
blob: 2c1e30c82d4f456cfc6422d4483bcd2a7f81afa4 (plain)
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
122
<?xml version="1.0" encoding="UTF-8"?>
<!--
 * 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.    
-->
<project>
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.tuscany.sca</groupId>
        <artifactId>tuscany-distribution-features</artifactId>
        <version>1.4-SNAPSHOT</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>tuscany-distribution-repository</artifactId>
    <name>Apache Tuscany SCA Maven Repository Distribution</name>
    <packaging>pom</packaging>

    <dependencies>

        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-distribution-core</artifactId>
            <type>pom</type>
            <version>1.4-SNAPSHOT</version>
        </dependency>
    </dependencies>

    <profiles>
    
        <!-- Default build profile that can be used to build the distro packages -->
        <profile>
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-assembly-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>distribution-package</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>single</goal>
                                </goals>
                                <configuration>
                                    <descriptors>
                                        <descriptor>src/main/assembly/repository.xml</descriptor>
                                    </descriptors>
                                    <tarLongFileMode>gnu</tarLongFileMode>
                                    <finalName>apache-tuscany-sca-repository-1.4-SNAPSHOT</finalName>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>    

        <!-- Profile that can be used to build the modules included in the distro -->
        <profile>
            <id>modules</id>
            <modules>
                <module>../../../modules/assembly</module>
                <module>../../../modules/assembly-xml</module>
                <module>../../../modules/assembly-xsd</module>
                <module>../../../modules/binding-sca</module>
                <module>../../../modules/binding-sca-xml</module>
                <module>../../../modules/contribution</module>
                <module>../../../modules/contribution-impl</module>
                <module>../../../modules/contribution-java</module>
                <module>../../../modules/contribution-namespace</module>
                <module>../../../modules/contribution-xml</module>
                <module>../../../modules/core</module>
                <module>../../../modules/core-databinding</module>
                <module>../../../modules/core-spi</module>
                <module>../../../modules/databinding</module>
                <module>../../../modules/databinding-jaxb</module>
                <module>../../../modules/definitions</module>
                <module>../../../modules/definitions-xml</module>
                <module>../../../modules/endpoint</module>
                <module>../../../modules/extensibility</module>
                <module>../../../modules/host-http</module>
                <module>../../../modules/implementation-java</module>
                <module>../../../modules/implementation-java-runtime</module>
                <module>../../../modules/implementation-java-xml</module>
                <module>../../../modules/implementation-node</module>
                <module>../../../modules/implementation-node-runtime</module>
                <module>../../../modules/interface</module>
                <module>../../../modules/interface-java</module>
                <module>../../../modules/interface-java-jaxws</module>
                <module>../../../modules/interface-java-xml</module>
                <module>../../../modules/monitor</module>
                <module>../../../modules/node-api</module>
                <module>../../../modules/node-impl</module>
                <module>../../../modules/node-launcher</module>
                <module>../../../modules/policy</module>
                <module>../../../modules/policy-xml</module>
                <module>../../../modules/sca-api</module>
                <module>../../../modules/xsd</module>
            </modules>
        </profile>
    </profiles>

</project>