[cal10n-dev] [GIT] Compiler assisted localization library branch, master, updated. v0.7.2-3-g0b40565
added by portage for gitosis-gentoo
git-noreply at pixie.qos.ch
Fri Jul 2 18:44:38 CEST 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Compiler assisted localization library".
The branch, master has been updated
via 0b405651421875e9b89323e715439529327845f8 (commit)
from 244fa7e59f474de84f700c98338aec4a329f046a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.qos.ch/gitweb/?p=cal10n.git;a=commit;h=0b405651421875e9b89323e715439529327845f8
http://github.com/ceki/cal10n/commit/0b405651421875e9b89323e715439529327845f8
commit 0b405651421875e9b89323e715439529327845f8
Author: Ceki Gulcu <ceki at qos.ch>
Date: Fri Jul 2 18:40:59 2010 +0200
- fixed VerifyMojo problem when run with Maven 3. See http://jira.qos.ch/browse/CAL-18
diff --git a/cal10n-api/src/main/java/ch/qos/cal10n/verifier/MessageKeyVerifier.java b/cal10n-api/src/main/java/ch/qos/cal10n/verifier/MessageKeyVerifier.java
index 212655f..84b673e 100644
--- a/cal10n-api/src/main/java/ch/qos/cal10n/verifier/MessageKeyVerifier.java
+++ b/cal10n-api/src/main/java/ch/qos/cal10n/verifier/MessageKeyVerifier.java
@@ -160,7 +160,6 @@ public class MessageKeyVerifier implements IMessageKeyVerifier {
}
for (String localeName : localeNameArray) {
Locale locale = MiscUtil.toLocale(localeName);
- System.out.println(locale);
List<Cal10nError> tmpList = verify(locale);
errorList.addAll(tmpList);
}
diff --git a/maven-cal10n-plugin/src/main/java/ch/qos/cal10n/plugins/VerifyMojo.java b/maven-cal10n-plugin/src/main/java/ch/qos/cal10n/plugins/VerifyMojo.java
index 584e668..c01bba8 100644
--- a/maven-cal10n-plugin/src/main/java/ch/qos/cal10n/plugins/VerifyMojo.java
+++ b/maven-cal10n-plugin/src/main/java/ch/qos/cal10n/plugins/VerifyMojo.java
@@ -40,12 +40,18 @@ import org.apache.maven.plugin.MojoFailureException;
import ch.qos.cal10n.Cal10nConstants;
import ch.qos.cal10n.verifier.IMessageKeyVerifier;
+
+// Adding @requiresDependencyResolution fixes
+
/**
* Verifies resources bundles in various locales against an enumType
- *
+ *
+ *
+ *
* @goal verify
* @phase verify
* @requiresProject true
+ * @requiresDependencyResolution
*/
public class VerifyMojo extends AbstractMojo {
@@ -76,7 +82,7 @@ public class VerifyMojo extends AbstractMojo {
/**
* @parameter expression="${localRepository}"
* @required
- * @readonly
+ * @readonly
* @since 1.0
*/
private ArtifactRepository localRepository;
diff --git a/pom.xml b/pom.xml
index 78e826c..71eb176 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,6 +61,55 @@
</resource>
</resources>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.1</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.1.1</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.4.2</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+
+ </plugins>
+
+
+ </pluginManagement>
+
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
-----------------------------------------------------------------------
Summary of changes:
.../ch/qos/cal10n/verifier/MessageKeyVerifier.java | 1 -
.../java/ch/qos/cal10n/plugins/VerifyMojo.java | 10 +++-
pom.xml | 49 ++++++++++++++++++++
3 files changed, 57 insertions(+), 3 deletions(-)
hooks/post-receive
--
Compiler assisted localization library
More information about the cal10n-dev
mailing list