From 600587e5b0acc3ede9f82340c0acd6d70e12d12b Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 4 Oct 2014 20:05:38 +0200 Subject: [PATCH] Move fortran into own sub-module --- pmd-fortran/pom.xml | 137 ++++++++++++++++++ .../sourceforge/pmd/cpd/FortranLanguage.java | 0 .../sourceforge/pmd/cpd/FortranTokenizer.java | 0 .../lang/fortran/FortranLanguageModule.java | 0 .../net.sourceforge.pmd.lang.Language | 1 + .../pmd/cpd/FortranTokenizerTest.java | 0 .../net.sourceforge.pmd.lang.Language | 1 - pom.xml | 1 + 8 files changed, 139 insertions(+), 1 deletion(-) create mode 100644 pmd-fortran/pom.xml rename {pmd => pmd-fortran}/src/main/java/net/sourceforge/pmd/cpd/FortranLanguage.java (100%) rename {pmd => pmd-fortran}/src/main/java/net/sourceforge/pmd/cpd/FortranTokenizer.java (100%) rename {pmd => pmd-fortran}/src/main/java/net/sourceforge/pmd/lang/fortran/FortranLanguageModule.java (100%) create mode 100644 pmd-fortran/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language rename {pmd => pmd-fortran}/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java (100%) diff --git a/pmd-fortran/pom.xml b/pmd-fortran/pom.xml new file mode 100644 index 0000000000..5cb3b57113 --- /dev/null +++ b/pmd-fortran/pom.xml @@ -0,0 +1,137 @@ + + + 4.0.0 + pmd-fortran + PMD Fortran + + + net.sourceforge.pmd + pmd-aggregate + 5.1.4-SNAPSHOT + + + + + + maven-resources-plugin + + false + + ${*} + + + + + + + com.atlassian.maven.plugins + maven-clover2-plugin + + ${java.version} + ${basedir}/../pmd/licences/clover2.license + + + + pre-site + + instrument + + + + + + + + + net.sourceforge.pmd + pmd + ${project.version} + + + net.sourceforge.pmd + pmd-test + ${project.version} + + + org.apache.ant + ant + provided + + + org.apache.ant + ant-testutil + test + + + jaxen + jaxen + + + xercesImpl + xerces + + + xalan + xalan + + + icu4j + com.ibm.icu + + + + + com.beust + jcommander + + + org.ow2.asm + asm + + + net.sourceforge.saxon + saxon + + + net.sourceforge.saxon + saxon + dom + runtime + + + junit + junit + test + + + xerces + xercesImpl + jar + compile + + + net.java.dev.javacc + javacc + + + commons-io + commons-io + + + org.mockito + mockito-all + test + + + org.apache.commons + commons-lang3 + + + org.slf4j + slf4j-api + test + + + diff --git a/pmd/src/main/java/net/sourceforge/pmd/cpd/FortranLanguage.java b/pmd-fortran/src/main/java/net/sourceforge/pmd/cpd/FortranLanguage.java similarity index 100% rename from pmd/src/main/java/net/sourceforge/pmd/cpd/FortranLanguage.java rename to pmd-fortran/src/main/java/net/sourceforge/pmd/cpd/FortranLanguage.java diff --git a/pmd/src/main/java/net/sourceforge/pmd/cpd/FortranTokenizer.java b/pmd-fortran/src/main/java/net/sourceforge/pmd/cpd/FortranTokenizer.java similarity index 100% rename from pmd/src/main/java/net/sourceforge/pmd/cpd/FortranTokenizer.java rename to pmd-fortran/src/main/java/net/sourceforge/pmd/cpd/FortranTokenizer.java diff --git a/pmd/src/main/java/net/sourceforge/pmd/lang/fortran/FortranLanguageModule.java b/pmd-fortran/src/main/java/net/sourceforge/pmd/lang/fortran/FortranLanguageModule.java similarity index 100% rename from pmd/src/main/java/net/sourceforge/pmd/lang/fortran/FortranLanguageModule.java rename to pmd-fortran/src/main/java/net/sourceforge/pmd/lang/fortran/FortranLanguageModule.java diff --git a/pmd-fortran/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language b/pmd-fortran/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language new file mode 100644 index 0000000000..bf4133fb47 --- /dev/null +++ b/pmd-fortran/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language @@ -0,0 +1 @@ +net.sourceforge.pmd.lang.fortran.FortranLanguageModule diff --git a/pmd/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java b/pmd-fortran/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java similarity index 100% rename from pmd/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java rename to pmd-fortran/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java diff --git a/pmd/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language b/pmd/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language index 9f364ed3ff..b35b5aa41f 100644 --- a/pmd/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language +++ b/pmd/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language @@ -1,2 +1 @@ -net.sourceforge.pmd.lang.fortran.FortranLanguageModule net.sourceforge.pmd.lang.ruby.RubyLanguageModule diff --git a/pom.xml b/pom.xml index e0abe243e4..e200dbc94f 100644 --- a/pom.xml +++ b/pom.xml @@ -635,6 +635,7 @@ pmd-cpp pmd-xml pmd-php + pmd-fortran pmd-dist