pom.xml 5.46 KB
<?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>

    <groupId>pl.labno.bernard.geobytes</groupId>
    <artifactId>iplocator-api</artifactId>
    <version>1.0</version>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>net.sourceforge.yarfraw</groupId>
            <artifactId>yarfraw</artifactId>
            <version>0.92</version>
        </dependency>
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging-api</artifactId>
            <version>1.1</version>
        </dependency>
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.1</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.1</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <profiles>
        <profile>
            <id>generate-jaxb-artifacts</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>jaxb2-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>xjc</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <packageName>pl.labno.bernard.geobytes.iplocator.rest.generated</packageName>
                            <outputDirectory>${build.sourceDirectory}</outputDirectory>
                            <clearOutputDir>false</clearOutputDir>
                            <extension>false</extension>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>


    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <systemProperties>
                        <property>
                            <name>testOutputDirectory</name>
                            <value>${build.testOutputDirectory}</value>
                        </property>
                    </systemProperties>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>2.1.1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>

        </plugins>
    </build>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    <distributionManagement>
        <repository>
            <id>bernard.labno.pl</id>
            <name>MyCo Internal Repository</name>
            <url>http://bernard.labno.pl/artifactory/libs-release-local</url>
        </repository>
    </distributionManagement>

</project><!--<?xml version="1.0" encoding="ISO-8859-1" ?>--><!--<info>--><!--<IP>87.207.25.131</IP>--><!--<countryid>197</countryid>--><!--<country>Poland</country>--><!--<fips>PL</fips>--><!--<iso2>PL</iso2>--><!--<iso3>POL</iso3>--><!--<ison>616</ison>--><!--<internet>PL</internet>-->

        <!--<comment></comment>--><!--<regionid>3275</regionid>--><!--<region>Kujawsko-Pomorskie</region>--><!--<code>KP</code>--><!--<adm>PL73</adm>--><!--<cityid>12699</cityid>--><!--<city>Bydgoszcz</city>--><!--<latitude>53.1500</latitude>--><!--<longitude>18.0000</longitude>-->

        <!--<timezone>+01:00</timezone>--><!--<dmaid></dmaid>--><!--<dma></dma>--><!--<market></market>--><!--<certainty>90</certainty>--><!--<locationcode>PLKPBYDG</locationcode>--><!--<ipaddress>87.207.25.131</ipaddress>--><!--</info>-->