Merge remote branch 'upstream/master'

This commit is contained in:
Mike Primm 2011-09-10 00:24:19 -05:00
commit 3f19c1ab3a
8 changed files with 41 additions and 9 deletions

20
pom.xml
View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.dynmap</groupId> <groupId>org.dynmap</groupId>
<artifactId>dynmap</artifactId> <artifactId>dynmap</artifactId>
<version>0.22</version> <version>0.23</version>
<name>dynmap</name> <name>dynmap</name>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -13,6 +13,24 @@
<url>https://github.com/FrozenCow/dynmap/issues</url> <url>https://github.com/FrozenCow/dynmap/issues</url>
</issueManagement> </issueManagement>
<build> <build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>*.yml</include>
<include>*.txt</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>*.yml</exclude>
<exclude>*.txt</exclude>
</excludes>
</resource>
</resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>

View File

@ -15,9 +15,20 @@
<include>CHANGELOG*</include> <include>CHANGELOG*</include>
</includes> </includes>
</fileSet> </fileSet>
<fileSet>
<directory>${project.basedir}/web/</directory>
<outputDirectory>/dynmap/web/</outputDirectory>
<includes>
<include>version.js</include>
</includes>
<filtered>true</filtered>
</fileSet>
<fileSet> <fileSet>
<directory>${project.basedir}/web</directory> <directory>${project.basedir}/web</directory>
<outputDirectory>/dynmap/web</outputDirectory> <outputDirectory>/dynmap/web</outputDirectory>
<excludes>
<exclude>version.js</exclude>
</excludes>
</fileSet> </fileSet>
<fileSet> <fileSet>
<directory>${project.basedir}/colorschemes</directory> <directory>${project.basedir}/colorschemes</directory>
@ -32,7 +43,9 @@
</fileSets> </fileSets>
<files> <files>
<file> <file>
<source>${project.build.directory}/${artifactId}-${version}.jar</source> <source>${project.build.directory}/${artifactId}-${version}.jar</source>
<outputDirectory>/</outputDirectory> <outputDirectory>/</outputDirectory>
<destName>dynmap.jar</destName></file></files> <destName>dynmap.jar</destName>
</file>
</files>
</assembly> </assembly>

View File

@ -1,4 +1,4 @@
version: 0.22 version: ${project.version}
# #
# This file contains default standard lighting profiles. The contents of this file CAN need to be replaced and updated # This file contains default standard lighting profiles. The contents of this file CAN need to be replaced and updated
# during upgrades, so new or updated lighting definitions should be done in the custom-lightings.txt file # during upgrades, so new or updated lighting definitions should be done in the custom-lightings.txt file

View File

@ -1,4 +1,4 @@
version: 0.22 version: ${project.version}
# #
# This file contains default standard perspective definitions. The contents of this file CAN need to be replaced and updated # This file contains default standard perspective definitions. The contents of this file CAN need to be replaced and updated
# during upgrades, so new or updated perspective definitions should be done in the custom-perspectives.txt file # during upgrades, so new or updated perspective definitions should be done in the custom-perspectives.txt file

View File

@ -1,6 +1,6 @@
name: dynmap name: dynmap
main: org.dynmap.DynmapPlugin main: org.dynmap.DynmapPlugin
version: "0.22" version: "${project.version}"
authors: [FrozenCow, mikeprimm, zeeZ] authors: [FrozenCow, mikeprimm, zeeZ]
softdepend: [Permissions] softdepend: [Permissions]
commands: commands:
@ -139,4 +139,4 @@ permissions:
dynmap.marker.addicon: dynmap.marker.addicon:
description: Allows /dmarker addicon description: Allows /dmarker addicon
default: op default: op

View File

@ -27,6 +27,7 @@
<link rel="stylesheet" type="text/css" href="css/dynmap_style.css" media="screen" /> <link rel="stylesheet" type="text/css" href="css/dynmap_style.css" media="screen" />
<!-- <link rel="stylesheet" type="text/css" href="css/override.css" media="screen" /> --> <!-- <link rel="stylesheet" type="text/css" href="css/override.css" media="screen" /> -->
<script type="text/javascript" src="version.js"></script>
<script type="text/javascript" src="js/jquery.json.js"></script> <script type="text/javascript" src="js/jquery.json.js"></script>
<script type="text/javascript" src="js/jquery.mousewheel.js"></script> <script type="text/javascript" src="js/jquery.mousewheel.js"></script>
<script type="text/javascript" src="js/minecraft.js"></script> <script type="text/javascript" src="js/minecraft.js"></script>

View File

@ -1,7 +1,6 @@
"use strict"; "use strict";
//if (!console) console = { log: function() {} }; //if (!console) console = { log: function() {} };
var dynmapversion = "0.22"; // This needs to match plugin verison
var componentconstructors = {}; var componentconstructors = {};
var maptypes = {}; var maptypes = {};
var map = null; // Leaflet assumes top-level 'map'... var map = null; // Leaflet assumes top-level 'map'...

1
web/version.js Normal file
View File

@ -0,0 +1 @@
var dynmapversion = "${project.version}";