pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Wed, 10 Nov 2010 23:24:05 +0100
changeset 8 3f7e9d629f55
parent 2 21a08b9be14a
permissions -rw-r--r--
Create executable mega-JAR
jtulach@0
     1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
jtulach@0
     2
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
jtulach@0
     3
  <modelVersion>4.0.0</modelVersion>
jtulach@0
     4
jtulach@0
     5
  <groupId>cz.xelfi</groupId>
jtulach@0
     6
  <artifactId>Feedbook</artifactId>
jtulach@8
     7
  <version>0.5</version>
jtulach@0
     8
  <packaging>jar</packaging>
jtulach@0
     9
jtulach@0
    10
  <name>Feedbook</name>
jtulach@0
    11
  <url>http://maven.apache.org</url>
jtulach@0
    12
    <build>
jtulach@0
    13
        <plugins>
jtulach@0
    14
            <plugin>
jtulach@0
    15
                <groupId>org.apache.maven.plugins</groupId>
jtulach@0
    16
                <artifactId>maven-compiler-plugin</artifactId>
jtulach@0
    17
                <version>2.0.2</version>
jtulach@0
    18
                <configuration>
jtulach@0
    19
                    <source>1.6</source>
jtulach@0
    20
                    <target>1.6</target>
jtulach@0
    21
                </configuration>
jtulach@0
    22
            </plugin>
jtulach@8
    23
            <plugin>
jtulach@8
    24
                <groupId>org.apache.maven.plugins</groupId>
jtulach@8
    25
                <artifactId>maven-shade-plugin</artifactId>
jtulach@8
    26
                <version>1.4</version>
jtulach@8
    27
                <executions>
jtulach@8
    28
                    <execution>
jtulach@8
    29
                        <phase>package</phase>
jtulach@8
    30
                        <goals>
jtulach@8
    31
                            <goal>shade</goal>
jtulach@8
    32
                        </goals>
jtulach@8
    33
                        <configuration>
jtulach@8
    34
                            <transformers>
jtulach@8
    35
                                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
jtulach@8
    36
                                    <manifestEntries>
jtulach@8
    37
                                        <Main-Class>cz.xelfi.feedbook.Main</Main-Class>
jtulach@8
    38
                                    </manifestEntries>
jtulach@8
    39
                                </transformer>
jtulach@8
    40
                            </transformers>
jtulach@8
    41
                        </configuration>
jtulach@8
    42
                    </execution>
jtulach@8
    43
                </executions>
jtulach@8
    44
            </plugin>
jtulach@0
    45
        </plugins>
jtulach@0
    46
    </build>
jtulach@0
    47
    <properties>
jtulach@0
    48
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jtulach@0
    49
  </properties>
jtulach@0
    50
jtulach@0
    51
  <dependencies>
jtulach@0
    52
    <dependency>
jtulach@0
    53
      <groupId>junit</groupId>
jtulach@0
    54
      <artifactId>junit</artifactId>
jtulach@0
    55
      <version>3.8.1</version>
jtulach@0
    56
      <scope>test</scope>
jtulach@0
    57
    </dependency>
jtulach@0
    58
    <dependency>
jtulach@0
    59
      <groupId>com.google.code.facebookapi</groupId>
jtulach@0
    60
      <artifactId>facebook-java-api</artifactId>
jtulach@0
    61
      <version>3.0.4</version>
jtulach@0
    62
    </dependency>
jtulach@2
    63
    <dependency>
jtulach@2
    64
      <groupId>net.java.dev.rome</groupId>
jtulach@2
    65
      <artifactId>rome</artifactId>
jtulach@2
    66
      <version>1.0.0</version>
jtulach@2
    67
    </dependency>
jtulach@0
    68
  </dependencies>
jtulach@0
    69
</project>