From: Olyutorskii Date: Sun, 27 Nov 2011 05:58:07 +0000 (+0900) Subject: Maven3対応。 X-Git-Tag: fromMercurial~18 X-Git-Url: http://git.osdn.net/view?p=mikutoga%2FPmd2XML.git;a=commitdiff_plain;h=058207caae3aa2af57a8107090f034450167a19f Maven3対応。 --- diff --git a/.hgeol b/.hgeol index c2e4f82..8458257 100644 --- a/.hgeol +++ b/.hgeol @@ -9,6 +9,11 @@ **.xsd = LF **.dtd = LF -**.css = LF **.html = LF +**.htm = LF +**.css = LF + **.png = BIN +**.gif = BIN +**.jpeg = BIN +**.jpg = BIN diff --git a/.hgignore b/.hgignore index 7454a09..3ce27c0 100644 --- a/.hgignore +++ b/.hgignore @@ -1,12 +1,36 @@ -syntax: regexp - -\.orig$ -\.orig\..*$ -\.chg\..*$ -\.rej$ -\.conflict\~$ -^maven-build\.properties$ -^maven-build\.xml$ -^nb-configuration\.xml$ -^nbactions\.xml$ -^target$ +######################### +# for Mercurial hgignore +######################### + + +##################### +syntax: regexp + +^nb-configuration\.xml$ +^nbactions\.xml$ +^\.classpath$ +^\.project$ + +\.orig$ +\.orig\..*$ +\.chg\..*$ +\.rej$ +\.conflict\~$ +^target/ +^build/ +^bin/ +^nbproject/ +^\.settings/ + + +##################### +syntax: glob + +.DS_Store +_MACOSX +[Tt]humbs.db +[Dd]esktop.ini +core + + +### EOF ### diff --git a/CHANGELOG.txt b/CHANGELOG.txt index bf60f49..8c4d115 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,9 @@ Pmd2XML 変更履歴 +X.XXX.X (20XX-XX-XX) + ・Maven3対応。 + 1.102.4 (2010-10-09) ・TogaGem1.105.2のバグ修正(接続ボーンを持たない剛体の件)に対処。 diff --git a/README.txt b/README.txt index 3eff83c..405b557 100644 --- a/README.txt +++ b/README.txt @@ -30,16 +30,6 @@ Pmd2XMLは、同じMikuTogaプロジェクト内のTogaGemライブラリを用 原則として、JRE1.6に準拠した実行系であれば、プラットフォームを選びません。 -=== アーカイブ管理体制 === - - このアーカイブは、UTF-8による開発環境を前提として構成されています。 - このアーカイブの原本となる開発資産は、 - http://hg.sourceforge.jp/view/mikutoga/Pmd2XML - を上位に持つMercurialリポジトリで管理されています。 - アーカイブの代わりにMercurialを通じての開発資産へのアクセスが可能です。 - # hg clone http://hg.sourceforge.jp/view/mikutoga/Pmd2XML - - === 開発プロジェクト運営元 === http://sourceforge.jp/projects/mikutoga/ まで。 @@ -47,7 +37,7 @@ Pmd2XMLは、同じMikuTogaプロジェクト内のTogaGemライブラリを用 === ディレクトリ内訳構成 === -基本的にはMaven2のmaven-archetype-quickstart構成に準じます。 +基本的にはMaven3のmaven-archetype-quickstart構成に準じます。 ./README.txt あなたが今見てるこれ。 @@ -58,8 +48,11 @@ Pmd2XMLは、同じMikuTogaプロジェクト内のTogaGemライブラリを用 ./LICENSE.txt ライセンスに関して。 +./SCM.txt + ソースコード管理に関して。 + ./pom.xml - Maven2用プロジェクト構成定義ファイル。 + Maven3用プロジェクト構成定義ファイル。 ./src/main/java/ Javaのソースコード。 diff --git a/SCM.txt b/SCM.txt new file mode 100644 index 0000000..7cde56b --- /dev/null +++ b/SCM.txt @@ -0,0 +1,48 @@ +[UTF-8 Japanese] + + P m d 2 X M L + バージョン管理システムに関する情報 + + Copyright(c) 2011 olyutorskii + + +=== バージョン管理体制 === + + このアーカイブの原本は、Mercurial(hg)でバージョン管理されています。 + このアーカイブの原本となる開発資産は、 + http://hg.sourceforge.jp/view/mikutoga/Pmd2XML + を上位に持つMercurialリポジトリで管理されています。 + アーカイブの代わりにMercurialを通じての開発資産へのアクセスが可能です。 + # hg clone http://hg.sourceforge.jp/view/mikutoga/Pmd2XML + + +=== 各種設定ファイル === + +./.hgignore + +Mercurial 管理の対象外にさせたいファイル群の設定です。 +IDE独自の設定ファイルは基本的に管理対象外とするつもりです。 + + +./.hgeol + +Mercurial の EOL Extension 用の設定です。 +非バイナリなテキストファイルの改行コードに関する設定です。 +・拡張子が *.txt なローカルファイルの改行文字はローカルの環境に合わせる。 +・拡張子が *.java なローカルファイルの改行文字はローカルの環境に合わせる。 +・それ以外の非バイナリなローカルファイルの改行文字は基本LFで統一。 +・リポジトリ上の全ての非バイナリファイルの改行文字は基本LFで統一。 +というポリシーで運用しています。 +EOL Extensionを有効にしないと設定が反映されません。 + + +=== リンク === + +・http://mercurial.selenic.com/ +・http://mercurial.selenic.com/wiki/.hgignore +・http://www.selenic.com/mercurial/hgignore.5.html +・http://mercurial.selenic.com/wiki/EolExtension +・http://tortoisehg.bitbucket.org/ + + +--- EOF --- diff --git a/build.xml b/fixcrlf.xml similarity index 62% rename from build.xml rename to fixcrlf.xml index 321ecbd..90a7b46 100644 --- a/build.xml +++ b/fixcrlf.xml @@ -1,25 +1,14 @@ - + - + - - - - - - - - - - - - - - - - + + +CAUTION : This is not build-file for project-building. +It's just adapting project-files for native environment. + @@ -29,17 +18,16 @@ @@ -51,9 +39,18 @@ /> + + diff --git a/pom.xml b/pom.xml index 47fcbc5..98ec3fc 100644 --- a/pom.xml +++ b/pom.xml @@ -1,8 +1,7 @@ - + Pmd2XML is a PMD-XML converter for MikuMikuDance. - + --> http://sourceforge.jp/projects/mikutoga/ 2010 @@ -60,7 +58,7 @@ - 2.2.1 + 2.2 @@ -91,18 +89,12 @@ UTF-8 UTF-8 - ${project.basedir}/src/main/config + ${project.basedir}/src/main/config - - org.apache.maven.plugins.shade.resource.ManifestResourceTransformer - - jp.sourceforge.mikutoga.pmd2xml.Pmd2Xml - - - ${maven.compiler.source} + ${project.mainconf}/checks.xml + false - - ${project.myrepoconf}/checks.xml + jp.sourceforge.mikutoga.pmd2xml.Pmd2Xml @@ -113,14 +105,14 @@ junit junit - [4.8.2,) + 4.10 test jp.sourceforge.mikutoga togagem - 2.101.2 + 2.101.3-SNAPSHOT compile @@ -136,6 +128,22 @@ org.apache.maven.plugins + maven-enforcer-plugin + 1.0.1 + + + + [2.2,) + + + [1.6,) + + + + + + + org.apache.maven.plugins maven-clean-plugin 2.4.1 @@ -144,7 +152,11 @@ ${project.basedir} **/.DS_Store + **/_MACOSX **/Thumbs.db + **/thumbs.db + **/Desktop.ini + **/desktop.ini **/core @@ -173,8 +185,10 @@ 2.3.2 + + ${project.mainentry} + - ${project.mainentry} ${project.organization.name} @@ -183,19 +197,8 @@ org.apache.maven.plugins - maven-assembly-plugin - 2.2.1 - - - src/main/assembly/descriptor.xml - - - - - - org.apache.maven.plugins maven-shade-plugin - 1.4 + 1.5 package @@ -218,17 +221,12 @@ org.apache.maven.plugins - maven-enforcer-plugin - 1.0.1 + maven-assembly-plugin + 2.2.1 - - - [2.2,3) - - - [1.6,) - - + + src/main/assembly/descriptor.xml + @@ -255,6 +253,63 @@ + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.10 + + false + true + + + + + org.apache.maven.plugins + maven-site-plugin + 3.0 + + true + ja + ${project.build.sourceEncoding} + ${project.reporting.outputEncoding} + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.8 + + + + + org.apache.maven.plugins + maven-pmd-plugin + 2.6 + + ${maven.compiler.target} + + ${project.mainconf}/pmdrules.xml + + + + + + org.codehaus.mojo + findbugs-maven-plugin + 2.3.2 + + Max + Low + + + @@ -270,17 +325,33 @@ src/main/resources - **/*.css - **/*.html - **/*.png - **/*.properties **/*.txt + + **/*.properties + **/*.xml **/*.xsd **/*.dtd + + **/*.html + **/*.htm + **/*.css + + **/*.png + **/*.gif + **/*.jpeg + **/*.jpg **/version.properties + + **/.DS_Store + **/_MACOSX + **/Thumbs.db + **/thumbs.db + **/Desktop.ini + **/desktop.ini + **/core @@ -294,15 +365,34 @@ org.apache.maven.plugins - maven-site-plugin - 3.0 + maven-project-info-reports-plugin + 2.4 - ja - true - true - ${project.build.sourceEncoding} - ${project.reporting.outputEncoding} + true + true + + + + index + summary + license + dependencies + plugins + scm + project-team + + + + @@ -310,28 +400,81 @@ maven-javadoc-plugin 2.8 + false + true + true protected + maven + + + + + javadoc + + + + + + + org.apache.maven.plugins + maven-jxr-plugin + 2.3 + + false + + + + + org.apache.maven.plugins + maven-surefire-report-plugin + 2.10 + + false + + + + + report-only + + + + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.5.1 + + ${project.build.sourceEncoding} org.apache.maven.plugins maven-checkstyle-plugin - 2.6 + 2.8 - ${checkstyle.config.location} - UTF-8 + false + + + + + checkstyle + + + org.apache.maven.plugins maven-pmd-plugin - 2.5 + 2.6 + false ${maven.compiler.target} - ${project.myrepoconf}/pmdrules.xml + ${project.mainconf}/pmdrules.xml @@ -349,30 +492,23 @@ findbugs-maven-plugin 2.3.2 + false Max Low - ${project.build.sourceEncoding} - ${project.reporting.outputEncoding} - + org.codehaus.mojo - cobertura-maven-plugin - 2.5.1 - - - - org.codehaus.mojo javancss-maven-plugin 2.0 - org.apache.maven.plugins - maven-jxr-plugin - 2.2 + org.codehaus.mojo + jdepend-maven-plugin + 2.0-beta-2 diff --git a/src/main/assembly/descriptor.xml b/src/main/assembly/descriptor.xml index b744cbd..5712cd3 100644 --- a/src/main/assembly/descriptor.xml +++ b/src/main/assembly/descriptor.xml @@ -1,15 +1,15 @@ - + src @@ -21,10 +21,14 @@ - *.txt pom.xml - build.xml + fixcrlf.xml + *.txt + + nb-configuration.xml + nbactions.xml + true diff --git a/src/main/config/checks.xml b/src/main/config/checks.xml index 67da074..c21c580 100644 --- a/src/main/config/checks.xml +++ b/src/main/config/checks.xml @@ -1,13 +1,13 @@ - + + "-//Puppy Crawl//DTD Check Configuration 1.3//EN" + "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> + + + + + + + + @@ -59,17 +70,9 @@ - - - - + @@ -103,6 +106,7 @@ + @@ -120,11 +124,7 @@ - - - + @@ -144,6 +144,7 @@ + @@ -155,7 +156,7 @@ - + @@ -167,6 +168,7 @@ + @@ -216,10 +218,9 @@ - + @@ -235,6 +236,8 @@ + + @@ -244,7 +247,12 @@ - + + + @@ -278,6 +286,7 @@ + @@ -286,7 +295,10 @@ - + @@ -323,7 +335,10 @@ - + @@ -339,7 +354,8 @@ SL, SR, SL_ASSIGN, SR_ASSIGN, MINUS, STAR, DIV, MOD, - PLUS_ASSIGN, MINUS_ASSIGN, STAR_ASSIGN, DIV_ASSIGN, MOD_ASSIGN, + PLUS_ASSIGN, MINUS_ASSIGN, + STAR_ASSIGN, DIV_ASSIGN, MOD_ASSIGN, EQUAL, NOT_EQUAL, GT, GE, LT, LE, " /> @@ -362,6 +378,7 @@ --> + diff --git a/src/main/config/pmdrules.xml b/src/main/config/pmdrules.xml index 1b5fcf2..65d196b 100644 --- a/src/main/config/pmdrules.xml +++ b/src/main/config/pmdrules.xml @@ -1,4 +1,4 @@ - + + + custom rulesets for project + + @@ -29,18 +33,26 @@ + + + + + - + + + + @@ -54,8 +66,14 @@ - + + + + + + + diff --git a/src/main/config/suppressions.xml b/src/main/config/suppressions.xml new file mode 100644 index 0000000..728df15 --- /dev/null +++ b/src/main/config/suppressions.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + +