You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2006/05/25 10:52:16 UTC
svn commit: r409335 -
/incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiJarMojo.java
Author: rickhall
Date: Thu May 25 01:52:15 2006
New Revision: 409335
URL: http://svn.apache.org/viewvc?rev=409335&view=rev
Log:
Modified the plugin to only issue warnings when it finds missing imports
when verifying an existing import-package header; previously it was issuing
errors.
Modified:
incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiJarMojo.java
Modified: incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiJarMojo.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiJarMojo.java?rev=409335&r1=409334&r2=409335&view=diff
==============================================================================
--- incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiJarMojo.java (original)
+++ incubator/felix/trunk/tools/maven2/maven-osgi-plugin/src/main/java/org/apache/felix/tools/maven/plugin/OsgiJarMojo.java Thu May 25 01:52:15 2006
@@ -335,8 +335,7 @@
test.removeAll(declaredImports);
for (Iterator m = test.iterator(); m.hasNext();) {
Object o = m.next();
- getLog().error("[OSGi] MISSING IMPORT: " + o);
- throw new MojoExecutionException("Missing Import " + o);
+ getLog().warn("[OSGi] MISSING IMPORT: " + o);
}
test = new HashSet(declaredImports);