<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.10</version>
+ <version>4.11</version>
<scope>test</scope>
</dependency>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0.1</version>
+ <version>1.1.1</version>
<configuration>
<rules>
<requireMavenVersion>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
- <version>2.4.1</version>
+ <version>2.5</version>
<configuration>
<filesets>
<fileset>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
+ <version>3.0</version>
<configuration>
<source>1.6</source> <!-- for NetBeans IDE -->
<target>1.6</target>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.3.2</version>
+ <version>2.4</version>
<configuration>
<archive>
<manifest>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
- <version>1.5</version>
+ <version>2.0</version>
<executions>
<execution>
<phase>package</phase>
<goal>shade</goal>
</goals>
<configuration>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet>
<includes>
<include>jp.sourceforge.mikutoga:togagem</include>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2.1</version>
+ <version>2.4</version>
<configuration>
+ <archiveBaseDirectory>.</archiveBaseDirectory>
<descriptors>
<descriptor>src/main/assembly/descriptor.xml</descriptor>
</descriptors>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>2.1.2</version>
+ <version>2.2.1</version>
<configuration>
<includePom>true</includePom>
<archive>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
+ <version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12.4</version>
<configuration>
<skipTests>false</skipTests>
<enableAssertions>true</enableAssertions>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>3.0</version>
+ <version>3.2</version>
<configuration>
<generateReports>true</generateReports>
<locales>ja</locales>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.8</version>
+ <version>2.9.1</version>
<!-- config from property value -->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>2.6</version>
+ <version>2.7.1</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
<rulesets>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3.2</version>
+ <version>2.5.2</version>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
+ <!-- for Jenkins -->
+ <findbugsXmlOutput>true</findbugsXmlOutput>
+ <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
+ <xmlOutput>true</xmlOutput>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.5.2</version>
+ <configuration>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ <formats>
+ <format>html</format>
+ <format>xml</format> <!-- for Jenkins -->
+ </formats>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.4</version>
+ <version>2.6</version>
<configuration>
<linkOnly>true</linkOnly>
<offline>true</offline>
<report>project-team</report>
<!--
<report>dependency-convergence</report>
+ <report>dependency-info</report>
<report>dependency-management</report>
<report>distribution-management</report>
<report>issue-tracking</report>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8</version>
+ <version>2.9</version>
<configuration>
<skip>false</skip>
<notimestamp>true</notimestamp>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12.4</version>
<configuration>
<showSuccess>false</showSuccess>
</configuration>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
- <version>2.5.1</version>
+ <version>2.5.2</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
+ <formats>
+ <format>html</format>
+ <format>xml</format> <!-- for Jenkins -->
+ </formats>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.8</version>
+ <version>2.9.1</version>
<configuration>
<skip>false</skip>
<!-- config from property value -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>2.6</version>
+ <version>2.7.1</version>
<configuration>
<skip>false</skip>
<targetJdk>${maven.compiler.target}</targetJdk>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3.2</version>
+ <version>2.5.2</version>
<configuration>
<skip>false</skip>
<effort>Max</effort>
<threshold>Low</threshold>
+ <!-- for Jenkins -->
+ <findbugsXmlOutput>true</findbugsXmlOutput>
+ <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
+ <xmlOutput>true</xmlOutput>
<!-- excludeFilterFile/ -->
</configuration>
</plugin>
List<CameraMotion> list = motion.getCameraMotionList();
int count = list.size();
- dumpInt(count);
+ dumpLeInt(count);
for(CameraMotion cameraMotion : list){
int frame = cameraMotion.getFrameNumber();
- dumpInt(frame);
+ dumpLeInt(frame);
float range = cameraMotion.getRange();
- dumpFloat(range);
+ dumpLeFloat(range);
MkPos3D targetPos = cameraMotion.getCameraTarget();
- dumpFloat((float) targetPos.getXpos());
- dumpFloat((float) targetPos.getYpos());
- dumpFloat((float) targetPos.getZpos());
+ dumpLeFloat((float) targetPos.getXpos());
+ dumpLeFloat((float) targetPos.getYpos());
+ dumpLeFloat((float) targetPos.getZpos());
CameraRotation rotation = cameraMotion.getCameraRotation();
- dumpFloat(rotation.getLatitude());
- dumpFloat(rotation.getLongitude());
- dumpFloat(rotation.getRoll());
+ dumpLeFloat(rotation.getLatitude());
+ dumpLeFloat(rotation.getLongitude());
+ dumpLeFloat(rotation.getRoll());
dumpCameraCurve(cameraMotion);
- dumpInt(cameraMotion.getProjectionAngle());
+ dumpLeInt(cameraMotion.getProjectionAngle());
byte perspectiveSwitch;
if(cameraMotion.hasPerspective()) perspectiveSwitch = 0x00;
List<LuminousMotion> list = motion.getLuminousMotionList();
int count = list.size();
- dumpInt(count);
+ dumpLeInt(count);
for(LuminousMotion luminousMotion : list){
int frame = luminousMotion.getFrameNumber();
- dumpInt(frame);
+ dumpLeInt(frame);
LuminousColor color = luminousMotion.getColor();
- dumpFloat(color.getColR());
- dumpFloat(color.getColG());
- dumpFloat(color.getColB());
+ dumpLeFloat(color.getColR());
+ dumpLeFloat(color.getColG());
+ dumpLeFloat(color.getColB());
LuminousVector vector = luminousMotion.getDirection();
- dumpFloat(vector.getVecX());
- dumpFloat(vector.getVecY());
- dumpFloat(vector.getVecZ());
+ dumpLeFloat(vector.getVecX());
+ dumpLeFloat(vector.getVecY());
+ dumpLeFloat(vector.getVecZ());
}
return;
List<ShadowMotion> list = motion.getShadowMotionList();
int count = list.size();
- dumpInt(count);
+ dumpLeInt(count);
for(ShadowMotion shadowMotion : list){
int frame = shadowMotion.getFrameNumber();
- dumpInt(frame);
+ dumpLeInt(frame);
ShadowMode mode = shadowMotion.getShadowMode();
byte shadowType = mode.getEncodedByte();
dumpByte(shadowType);
float rawParam = shadowMotion.getRawScopeParam();
- dumpFloat(rawParam);
+ dumpLeFloat(rawParam);
}
return;