forked from cschroedl-gov/jquery.flot.custom-canvas-legend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
166 lines (152 loc) · 9.13 KB
/
pom.xml
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
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
156
157
158
159
160
161
162
163
164
165
166
<?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>gov.usgs.cida.jquery.flot</groupId>
<artifactId>canvas-legend</artifactId>
<version>0.1.1-SNAPSHOT</version>
<packaging>jar</packaging>
<organization>
<name>Center for Integrated Data Analytics</name>
<url>http://cida.usgs.gov</url>
</organization>
<licenses>
<license>
<name>Public Domain</name>
<url>http://water.usgs.gov/software/help/notice/</url>
<comments>
U.S. Geological Survey Software User Rights Notice
Copied from http://water.usgs.gov/software/help/notice/ on December 6, 2013. Please check webpage for updates.
Software and related material (data and (or) documentation), contained in or furnished in connection with a software distribution, are made available by the U.S. Geological Survey (USGS) to be used in the public interest and in the advancement of science. You may, without any fee or cost, use, copy, modify, or distribute this software, and any derivative works thereof, and its supporting documentation, subject to the following restrictions and understandings.
If you distribute copies or modifications of the software and related material, make sure the recipients receive a copy of this notice and receive or can get a copy of the original distribution. If the software and (or) related material are modified and distributed, it must be made clear that the recipients do not have the original and they must be informed of the extent of the modifications. For example, modified files must include a prominent notice stating the modifications made, the author of the modifications, and the date the modifications were made. This restriction is necessary to guard against problems introduced in the software by others, reflecting negatively on the reputation of the USGS.
The software is public property and you therefore have the right to the source code, if desired.
You may charge fees for distribution, warranties, and services provided in connection with the software or derivative works thereof. The name USGS can be used in any advertising or publicity to endorse or promote any products or commercial entity using this software if specific written permission is obtained from the USGS.
The user agrees to appropriately acknowledge the authors and the USGS in publications that result from the use of this software or in products that include this software in whole or in part.
Because the software and related material are free (other than nominal materials and handling fees) and provided "as is," the authors, the USGS, and the United States Government have made no warranty, express or implied, as to accuracy or completeness and are not obligated to provide the user with any support, consulting, training or assistance of any kind with regard to the use, operation, and performance of this software nor to provide the user with any updates, revisions, new versions or "bug fixes".
The user assumes all risk for any damages whatsoever resulting from loss of use, data, or profits arising in connection with the access, use, quality, or performance of this software.
</comments>
</license>
</licenses>
<scm>
<url>https://github.com/USGS-CIDA/custom-canvas-legend</url>
<connection>scm:git:[email protected]:USGS-CIDA/jquery.flot.custom-canvas-legend.git</connection>
<developerConnection>scm:git:[email protected]:USGS-CIDA/jquery.flot.custom-canvas-legend.git</developerConnection>
</scm>
<distributionManagement>
<repository>
<id>cida-releases</id>
<name>CIDA Releases</name>
<url>http://internal.cida.usgs.gov/maven/content/repositories/cida-releases/</url>
</repository>
<snapshotRepository>
<id>cida-snapshots</id>
<name>CIDA Snapshots</name>
<url>http://internal.cida.usgs.gov/maven/content/repositories/cida-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>nexus</id>
<name>CIDA Nexus</name>
<url>http://cida.usgs.gov/maven/cida-public/</url>
</repository>
</repositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- where to extract webjars to -->
<webjars.base>target/canvas-legend/webjars</webjars.base>
<mavenCruft>META-INF/resources</mavenCruft>
<!-- webjars base path plus the maven cruft needed to access the actual libraries -->
<webjars.libs>${webjars.base}/${mavenCruft}/webjars</webjars.libs>
<jquery.version>1.11.1</jquery.version>
<flot.version>0.8.3</flot.version>
</properties>
<dependencies>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
<version>${jquery.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>flot</artifactId>
<version>${flot.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>unpack webjars</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>org.webjars</includeGroupIds>
<outputDirectory>${webjars.base}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.klieber</groupId>
<artifactId>phantomjs-maven-plugin</artifactId>
<version>0.2.1</version>
<executions>
<execution>
<goals>
<goal>install</goal>
</goals>
</execution>
</executions>
<configuration>
<version>1.9.2</version>
</configuration>
</plugin>
<plugin>
<groupId>com.github.searls</groupId>
<artifactId>jasmine-maven-plugin</artifactId>
<version>1.3.1.2</version>
<extensions>true</extensions>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<keepServerAlive>true</keepServerAlive>
<webDriverClassName>org.openqa.selenium.phantomjs.PhantomJSDriver</webDriverClassName>
<webDriverCapabilities>
<phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
</webDriverCapabilities>
<jsSrcDir>${basedir}</jsSrcDir>
<jsTestSrcDir>${basedir}/src/test/resources/specs</jsTestSrcDir>
<sourceIncludes>
<!--library dependencies -->
<include>${webjars.libs}/jquery/${jquery.version}/jquery.js</include>
<include>${webjars.libs}/flot/${flot.version}/jquery.flot.js</include>
<!-- main app-->
<include>src/main/resources/jquery.flot.canvasLegend.js</include>
<include>src/main/resources/jquery.flot.canvasLegend.layouts.js</include>
<include>src/main/resources/jquery.flot.canvasLegend.renderersAndSizers.js</include>
</sourceIncludes>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>**/*.js</include>
<include>**/*.html</include>
</includes>
</resource>
</resources>
</build>
</project>