pom.xml 6.14 KB
Newer Older
Munilla Christophe's avatar
Munilla Christophe committed
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
<?xml version="1.0"?>
<!--
 * OW2 FraSCAti OSGi
 *
 * Copyright (c) 2011 - 2012 Inria, University of Lille 1
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 * 
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  *
  * Contact: frascati@ow2.org
  *
  * Author: Christophe Munilla
  *
  * Contributor(s): 
  *
-->
<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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.ow2.frascati.osgi</groupId>
        <artifactId>parent</artifactId>
        <version>1.5-SNAPSHOT</version>
    </parent>

    <artifactId>frascati-osgi-core</artifactId>
    <name>OW2 FraSCAti OSGi Core</name>
    <packaging>jar</packaging>

    <dependencies>
        <dependency>
            <groupId>org.ow2.frascati</groupId>
            <artifactId>frascati-assembly-factory</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
49
            <groupId>org.ow2.fractal.juliac.osgi</groupId>
Munilla Christophe's avatar
Munilla Christophe committed
50 51 52 53 54
            <artifactId>juliac-osgi-runtime-core</artifactId>
            <version>${juliac.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
55
            <groupId>org.ow2.fractal.juliac</groupId>
Munilla Christophe's avatar
Munilla Christophe committed
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
            <artifactId>juliac-oo</artifactId>
            <version>${juliac.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.ow2.frascati.osgi</groupId>
            <artifactId>frascati-osgi-resources</artifactId>
            <version>${project.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.ow2.frascati.osgi</groupId>
            <artifactId>frascati-osgi-util</artifactId>
            <version>${project.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.ow2.frascati.osgi</groupId>
            <artifactId>frascati-osgi-api-service</artifactId>
            <version>${project.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.ow2.frascati.osgi</groupId>
            <artifactId>frascati-binding-osgi</artifactId>
            <version>1.5-SNAPSHOT</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.ow2.frascati.osgi</groupId>
            <artifactId>frascati-starter</artifactId>
            <version>${project.version}</version>
            <scope>compile</scope>
        </dependency>
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
        <!-- TEST DEPENDENCIES -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.6</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>1.9.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-test-mockito-junit4</artifactId>
            <version>1.4.10</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-junit4</artifactId>
            <version>1.4.10</version>
            <scope>test</scope>
        </dependency>
Munilla Christophe's avatar
Munilla Christophe committed
115 116 117 118 119 120 121 122 123 124 125 126
    </dependencies>

    <build>
        <defaultGoal>install</defaultGoal>
        <plugins>
            <plugin>
                <groupId>org.ow2.frascati.mojo</groupId>
                <artifactId>frascati-compiler-plugin</artifactId>
                <configuration>
                    <composite>org/ow2/frascati/FraSCAti</composite>
                </configuration>
            </plugin>
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
            <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>2.0</version>
                    <executions>
                        <execution>
                            <id>copy-test-bundles</id>
                            <phase>generate-resources</phase>
                            <goals>
                                <goal>copy</goal>
                            </goals>
                            <configuration>
                                <outputDirectory>${project.basedir}/target/classes</outputDirectory>
                                <stripVersion>true</stripVersion>
                                <failBuild>false</failBuild>
                                <failOnMissingClassifierArtifact>true</failOnMissingClassifierArtifact>
                                <failOnWarning>false</failOnWarning>
                                <overWriteIfNewer>true</overWriteIfNewer>
                                <artifactItems>
                                    <artifactItem>
                                        <groupId>jdepend</groupId>
                                        <artifactId>jdepend</artifactId>
                                        <version>2.7</version>
                                    </artifactItem>
                                </artifactItems>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
Munilla Christophe's avatar
Munilla Christophe committed
156 157 158 159
        </plugins>
    </build>

</project>