Source

JEEMax / JacpFXTwitterSSEClient / pom.xml

<?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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.jacp.jee</groupId>
        <artifactId>JEE7-websocket</artifactId>
        <version>1.0</version>
    </parent>
    <artifactId>JacpFXSSETwitterClient</artifactId>
    <packaging>jar</packaging>
    <name>JacpFXTwitterSSEClient</name>
    <url>http://maven.apache.org</url>
    <repositories>
        <repository>
            <id>jacp</id>
            <url>http://developer.ahcp.de/nexus/content/repositories/jacp</url>
        </repository>
    </repositories>
    <developers>
        <developer>
            <id>amo</id>
            <name>Andy Moncsek</name>
            <email>amo.ahcp@gmail.com</email>
        </developer>
        <developer>
            <id>pete</id>
            <name>Patrick Symmangk</name>
            <email>pete.ahcp@gmail.com</email>
        </developer>
    </developers>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.3</version>
                <executions>
                    <execution>
                        <id>copy-dependencies</id>
                        <phase>package</phase>
                        <configuration>
                            <includeScope>runtime</includeScope>
                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
                            <overWriteReleases>false</overWriteReleases>
                            <overWriteSnapshots>true</overWriteSnapshots>
                            <overWriteIfNewer>true</overWriteIfNewer>
                            <excludeArtifactIds>javafx,log4j</excludeArtifactIds>
                        </configuration>
                        <goals>
                            <goal>copy-dependencies</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.7</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <configuration>
                            <target xmlns:fx="javafx:com.sun.javafx.tools.ant">
                                <property name="applet.width" value="1024"/>
                                <property name="applet.height" value="600"/>
                                <property name="application.title" value="JacpFX-Quickstart"/>
                                <property name="application.vendor" value="JacpFX"/>
                                <manifestclasspath property="manifest.classpath"
                                                   jarfile="${project.build.directory}/${project.build.finalName}">
                                    <classpath>
                                        <path id="build.classpath">
                                            <fileset dir="${project.build.directory}/lib">
                                                <include name="*.jar"/>
                                            </fileset>
                                        </path>
                                    </classpath>
                                </manifestclasspath>

                                <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"
                                         uri="javafx:com.sun.javafx.tools.ant" classpathref="maven.plugin.classpath"/>

                                <fx:application id="${project.name}" name="${project.name}"
                                                mainClass="org.jacp.twitter.main.ApplicationLauncher"
                                                preloaderClass="org.jacp.twitter.main.ApplicationPreloader"/>
                                <!-- create jar file -->
                                <fx:jar destfile="${project.build.directory}/${project.build.finalName}.jar">
                                    <fx:application refid="${project.name}"/>
                                    <manifest>
                                        <attribute name="Class-Path" value="${manifest.classpath}"/>
                                    </manifest>
                                    <fileset dir="${project.build.outputDirectory}"/>
                                </fx:jar>

                                <fx:resources id="appRes">
                                    <fx:fileset dir="${project.build.directory}" includes="*.jar"/>
                                    <fx:fileset dir="${project.build.directory}" includes="lib/*.jar"/>
                                </fx:resources>

                                <!-- sign jar

                                <signjar keyStore="${basedir}\keystore.jks"
                                         destdir="${project.build.directory}"
                                         alias="..." storePass="..." keyPass="...">
                                    <fileset dir="${project.build.directory}" includes="*.jar"/>
                                    <fileset dir="${project.build.directory}" includes="lib/*.jar"/>
                                </signjar>
                                -->

                                <!-- create executeables use: nativeBundles="all" to create native executeables-->
                                <fx:deploy width="${applet.width}" height="${applet.height}"
                                           outdir="${project.build.directory}/deploy" embedJNLP="true"
                                           outfile="${application.title}">

                                    <fx:application refId="${project.name}"/>
                                    <fx:resources refid="appRes"/>
                                    <fx:platform javafx="${javafx.version}+">
                                        <fx:jvmarg value="-Xms128m"/>
                                        <fx:jvmarg value="-Xmx256m"/>
                                    </fx:platform>
                                    <fx:info title="${application.title}"
                                             vendor="${application.vendor}"/>
                                    <!-- Request elevated permissions -->
                                    <fx:permissions elevated="true"/>
                                </fx:deploy>

                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>com.oracle</groupId>
                        <artifactId>ant-javafx</artifactId>
                        <version>${javafx.version}</version>
                        <systemPath>${java.home}/../lib/ant-javafx.jar</systemPath>
                        <scope>system</scope>
                    </dependency>
                    <dependency>
                        <groupId>com.oracle</groupId>
                        <artifactId>javafx</artifactId>
                        <version>${javafx.version}</version>
                        <systemPath>${java.home}/lib/jfxrt.jar</systemPath>
                        <scope>system</scope>
                    </dependency>
                </dependencies>
            </plugin>

        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>javafx</artifactId>
            <version>2.2</version>
            <systemPath>${java.home}/lib/jfxrt.jar</systemPath>
            <scope>system</scope>
        </dependency>
        <dependency>
            <groupId>org.jacp.project</groupId>
            <artifactId>JACP.API</artifactId>
            <version>${jacp.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.jacp.project</groupId>
            <artifactId>JACP.JavaFX</artifactId>
            <version>${jacp.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.jacp.project</groupId>
            <artifactId>JACP.JavaFXSpring</artifactId>
            <version>${jacp.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.jacp.project</groupId>
            <artifactId>JACP.JavaFXControls</artifactId>
            <version>${jacp.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${spring.version}</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>${spring.version}</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-expression</artifactId>
            <version>${spring.version}</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.16</version>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>Domain</artifactId>
            <version>${project.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.core</groupId>
            <artifactId>jersey-client</artifactId>
            <version>${jersey.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.glassfish.jersey.media</groupId>
            <artifactId>jersey-media-sse</artifactId>
            <version>${jersey.version}</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>${gson.version}</version>
        </dependency>
    </dependencies>
</project>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.