summaryrefslogtreecommitdiffstats
path: root/idrop-lite/pom.xml
blob: 55a4f17643943ed877da551eaf3b34311a39c24c (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
123
124
125
126
127
128
129
130
<?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>
    <parent>
        <artifactId>idrop</artifactId>
        <groupId>org.irods</groupId>
        <version>2.0.0-SNAPSHOT</version>
    </parent>
    <groupId>org.irods.idrop</groupId>
    <artifactId>idrop-lite</artifactId>
    <packaging>jar</packaging>
    <name>idrop-lite</name>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
        </dependency>
        <dependency>
            <groupId>org.swinglabs</groupId>
            <artifactId>swing-layout</artifactId>
            <version>1.0.3</version>
        </dependency>
        <dependency>
            <groupId>org.irods.jargon</groupId>
            <artifactId>jargon-core</artifactId>
	    <version>${jargon.version}</version>
        </dependency>
        <dependency>
            <groupId>org.irods.jargon</groupId>
            <artifactId>jargon-data-utils</artifactId>
	    <version>${jargon.version}</version>
        </dependency>
        <dependency>
            <groupId>org.irods.jargon</groupId>
            <artifactId>jargon-httpstream</artifactId>
	    <version>${jargon.version}</version>
        </dependency>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-netbeans-swing-outline</artifactId>
            <scope>compile</scope>
        </dependency>
          <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-openide-awt</artifactId>
                <scope>compile</scope>
            </dependency>
	<dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <scope>compile</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
	    <plugin>
    		<groupId>org.apache.maven.plugins</groupId>
    		<artifactId>maven-antrun-plugin</artifactId>
    		<version>1.3</version>
    		<executions>
      		    <execution>
        	    	<goals>
          		    <goal>run</goal>
        	        </goals>
        	    	<phase>generate-sources</phase>
        	    	<configuration>
          	    	    <tasks>
			    	<property name="src.dir" value="${project.build.sourceDirectory}" />
            	            	<property name="package.dir" value="org/irods/jargon/idrop/lite" />
            	            	<property name="package.name" value="org.irods.jargon.idrop.lite" />
            	            	<property name="buildtime" value="${maven.build.timestamp}" />
	    
            	            	<echo file="${src.dir}/${package.dir}/Version.java" message="package ${package.name};${line.separator}" />
            	            	<echo file="${src.dir}/${package.dir}/Version.java" append="true" message="public final class Version {${line.separator}" />
            	            	<echo file="${src.dir}/${package.dir}/Version.java" append="true" message=" public static String VERSION=&quot;${pom.version}&quot;;${line.separator}" />
            	            	<echo file="${src.dir}/${package.dir}/Version.java" append="true" message=" public static String BUILD_TIME=&quot;${buildtime}&quot;;${line.separator}" />
            	            	<echo file="${src.dir}/${package.dir}/Version.java" append="true" message="}${line.separator}" />
            	            	<echo message="BUILD ${buildtime}" />
          	    	    </tasks>
        	    	</configuration>
      		    </execution>
    		</executions>
  	    </plugin>

            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                    <archive>
                        <index>true</index>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                        </manifest>
                    </archive>
                </configuration>
                <executions>
                    <execution>
                        <id>make-my-applet-jar</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jarsigner-plugin</artifactId>
                <executions>
                    <execution>
                        <id>sign</id>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <jarPath>${project.build.directory}/${project.build.FinalName}-${project.packaging}-with-dependencies.${project.packaging}</jarPath>
                    <keystore>src/main/resources/signing-jar.keystore</keystore>
                    <alias>applet</alias>
                    <storepass>applet</storepass>
                    <verify>true</verify>
                </configuration>
            </plugin>
           
        </plugins>
    </build>
</project>