debian/ 0000755 0000000 0000000 00000000000 12141564264 007173 5 ustar debian/libcodenarc-groovy-java.links 0000644 0000000 0000000 00000000077 12141564127 014746 0 ustar usr/share/java/CodeNarc.jar usr/share/groovy/lib/CodeNarc.jar
debian/rules 0000755 0000000 0000000 00000001027 12141564127 010251 0 ustar #!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java
%:
dh $@ --with javahelper
override_jh_build:
ant -f debian/build.xml
override_jh_clean:
jh_clean
ant -f debian/build.xml clean
mh_clean
override_dh_install:
dh_install
mh_installpoms -plibcodenarc-groovy-java
mh_installjar -plibcodenarc-groovy-java -l pom.xml target/CodeNarc.jar
get-orig-source:
cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
uscan \
--verbose \
--rename \
--destdir $(CURDIR) \
--watchfile debian/watch \
--force-download
debian/watch 0000644 0000000 0000000 00000000115 12141564127 010217 0 ustar version=3
http://sf.net/codenarc/CodeNarc-(.+)-bin\.tar\.gz debian jh_repack
debian/build.xml 0000644 0000000 0000000 00000002706 12141564127 011017 0 ustar
debian/changelog 0000644 0000000 0000000 00000003341 12141564127 011044 0 ustar codenarc (0.17-2) unstable; urgency=low
* Upload to unstable.
* d/control: Remove DM-Upload-Allowed flag.
* d/control: Bump Standards-Version to 3.9.4 (no changes needed).
* d/control: Use canonical URL for Vcs-* fields.
-- Damien Raude-Morvan Mon, 06 May 2013 01:14:21 +0200
codenarc (0.17-1) experimental; urgency=low
* New upstream release.
* Add myself as Uploaders.
* d/patches/gmetrics_interface_sourcecode.diff: Drop, fixed upstream.
* d/patches/groovy_18.diff: Fix Groovy 1.8 compat.
* d/classpath-debian: Add ant.jar.
* d/build.{xml,properties}: Small directory fixes for new upstream.
-- Damien Raude-Morvan Mon, 20 Aug 2012 23:06:53 +0200
codenarc (0.13-2) unstable; urgency=low
[ Miguel Landaeta]
* Fix FTBFS error due to changes in GMetrics library. (Closes: #655807).
* Bump Standards-Version to 3.9.3. No changes were required.
* Update copyright file.
[ tony mancill ]
* Set DMUA flag.
-- Miguel Landaeta Fri, 15 Jun 2012 19:19:49 -0430
codenarc (0.13-1) unstable; urgency=low
* New upstream release.
* Bump Standards-Version to 3.9.2. No changes were required.
* Update copyright dates and make it DEP-5 compliant.
* Correctly order dh7 call helper parameters.
* Enable jh_depends during build since is working again.
* Set Class-Path in CodeNarc jar.
-- Miguel Landaeta Wed, 11 May 2011 20:28:17 -0430
codenarc (0.11-1) UNRELEASED; urgency=low
* New upstream release.
-- Miguel Landaeta Mon, 27 Dec 2010 20:29:36 -0430
codenarc (0.9-1) unstable; urgency=low
* Initial release. (Closes: #593797).
-- Miguel Landaeta Sat, 21 Aug 2010 17:53:41 -0430
debian/maven.ignoreRules 0000644 0000000 0000000 00000000075 12141564127 012521 0 ustar org.codehaus.groovy.maven.runtime gmaven-runtime-1.5 * * * *
debian/compat 0000644 0000000 0000000 00000000002 12141564127 010367 0 ustar 7
debian/libcodenarc-groovy-java-doc.javadoc 0000644 0000000 0000000 00000000074 12141564127 015775 0 ustar target/groovydoc usr/share/doc/libcodenarc-groovy-java/api
debian/build.properties 0000644 0000000 0000000 00000000154 12141564127 012406 0 ustar dir.resources=../src/main/resources
dir.build=../target
dir.src=../src/main
target=1.5
source=1.5
debug=on
debian/source/ 0000755 0000000 0000000 00000000000 12141564127 010471 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 12141564127 011677 0 ustar 3.0 (quilt)
debian/maven.rules 0000644 0000000 0000000 00000000107 12141564127 011351 0 ustar junit junit jar s/3\..*/3.x/ * *
log4j log4j jar s/1\.2\..*/1.2.x/ * *
debian/patches/ 0000755 0000000 0000000 00000000000 12141564127 010620 5 ustar debian/patches/groovy_18.diff 0000644 0000000 0000000 00000005252 12141564127 013313 0 ustar Description: Fix compat with Groovy 1.8
RegexExpression and method
GroovyCodeVisitor.visitRegexExpression(RegexExpression expression) was
removed in 1.8
Author: Damien Raude-Morvan
Last-Update: 2012-08-29
Forwarded: no
--- a/src/main/groovy/org/codenarc/results/FileResults.groovy
+++ b/src/main/groovy/org/codenarc/results/FileResults.groovy
@@ -63,7 +63,7 @@
* @param recursive - true if the returned count should include subdirectories as well; defaults to true
* @return the number of violations with the specified priority
*/
- @Override
+ //@Override
int getNumberOfViolationsWithPriority(int priority, boolean recursive=true) {
violations.sum(0) { violation -> violation.rule.priority == priority ? 1 : 0}
}
@@ -73,7 +73,7 @@
* @param recursive - true if the returned count should include subdirectories as well
* @return the total number of files (with or without violations)
*/
- @Override
+ //@Override
int getTotalNumberOfFiles(boolean recursive=true) {
1
}
@@ -83,7 +83,7 @@
* @param recursive - ignored; defaults to true
* @return the number of files containing violations
*/
- @Override
+ //@Override
int getNumberOfFilesWithViolations(boolean recursive=true) {
violations.empty ? 0 : 1
}
@@ -100,4 +100,4 @@
String toString() {
"FileResults($path) $violations"
}
-}
\ No newline at end of file
+}
--- a/src/main/java/org/codenarc/rule/AbstractFieldVisitor.java
+++ b/src/main/java/org/codenarc/rule/AbstractFieldVisitor.java
@@ -404,7 +404,7 @@
throw new UnsupportedOperationException();
}
- @Override
+ //@Override
public final void visitRegexExpression(RegexExpression expression) {
throw new UnsupportedOperationException();
}
--- a/src/main/java/org/codenarc/rule/AbstractMethodCallExpressionVisitor.java
+++ b/src/main/java/org/codenarc/rule/AbstractMethodCallExpressionVisitor.java
@@ -399,9 +399,9 @@
super.visitFieldExpression(expression);
}
- @Override
+ //@Override
public final void visitRegexExpression(RegexExpression expression) {
- super.visitRegexExpression(expression);
+ //super.visitRegexExpression(expression);
}
@Override
--- a/src/main/java/org/codenarc/rule/AbstractMethodVisitor.java
+++ b/src/main/java/org/codenarc/rule/AbstractMethodVisitor.java
@@ -432,7 +432,7 @@
throw new UnsupportedOperationException();
}
- @Override
+ //@Override
public final void visitRegexExpression(RegexExpression expression) {
throw new UnsupportedOperationException();
}
debian/patches/series 0000644 0000000 0000000 00000000017 12141564127 012033 0 ustar groovy_18.diff
debian/libcodenarc-groovy-java.poms 0000644 0000000 0000000 00000000010 12141564127 014567 0 ustar pom.xml
debian/classpath-debian 0000644 0000000 0000000 00000000156 12141564127 012320 0 ustar usr/share/java/ant.jar
usr/share/java/groovy-all.jar
usr/share/java/log4j-1.2.jar
usr/share/java/GMetrics.jar
debian/control 0000644 0000000 0000000 00000004424 12141564127 010600 0 ustar Source: codenarc
Maintainer: Debian Java Maintainers
Uploaders: Miguel Landaeta ,
Damien Raude-Morvan
Section: java
Priority: optional
Build-Depends: ant,
debhelper (>= 7.0.50~),
default-jdk,
default-jdk-doc,
groovy,
javahelper,
libgmetrics-groovy-java,
liblog4j1.2-java,
maven-repo-helper
Standards-Version: 3.9.4
Homepage: http://codenarc.sourceforge.net/
Vcs-Git: git://anonscm.debian.org/pkg-java/codenarc.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/codenarc.git
Package: libcodenarc-groovy-java
Architecture: all
Depends: ant, groovy, libgmetrics-groovy-java, liblog4j1.2-java, ${misc:Depends}
Suggests: libcodenarc-groovy-java-doc
Description: Groovy library that provides static analysis features for Groovy code
CodeNarc is a static analysis tool for Groovy source code,
enabling monitoring and enforcement of many coding standards
and best practices. CodeNarc applies a set of Rules
(predefined and/or custom) that are applied to each Groovy
file, and generates an HTML report of the results, including
a list of rules violated for each source file, and a count
of the number of violations per package and for the whole
project.
.
CodeNarc is similar to popular static analysis tools such as
PMD or Checkstyle, but is targeted at Groovy source code
instead of Java.
Package: libcodenarc-groovy-java-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}
Recommends: libcodenarc-groovy-java
Suggests: default-jdk-doc
Description: Documentation for libcodenarc-groovy-java
Documentation for CodeNarc that is a static analysis tool
for Groovy source code, enabling monitoring and enforcement
of many coding standards and best practices. CodeNarc applies
a set of Rules (predefined and/or custom) that are applied
to each Groovy file, and generates an HTML report of the
results, including a list of rules violated for each source
file, and a count of the number of violations per package
and for the whole project.
.
CodeNarc is similar to popular static analysis tools such as
PMD or Checkstyle, but is targeted at Groovy source code
instead of Java.
debian/copyright 0000644 0000000 0000000 00000002051 12141564127 011122 0 ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: CodeNarc
Upstream-Contact: Chris Mair
Source: http://sourceforge.net/projects/codenarc/files/
Files: *
Copyright: © 2008-2011, Chris Mair ,
© 2008-2011, Hamlet D'Arcy
License: Apache-2.0
Files: debian/*
Copyright: © 2010-2011, Miguel Landaeta
License: Apache-2.0
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
/usr/share/common-licenses/Apache-2.0 (on Debian systems)
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.