388566 Always publish IUs regardless of the status

- In order to preserve the old behaviour for callers that ignore the
  error status (like the PDE headless build), the created, potentially
  broken IUs need to be written to the metadata repository. This is the
  same as with artifacts, which are also written regardless of the
  status, so I don't see any problems with this behaviour.

Bug: 388566 Published products are broken if included fragments are not in context
diff --git a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/Publisher.java b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/Publisher.java
index 76df608..2ad155e 100644
--- a/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/Publisher.java
+++ b/bundles/org.eclipse.equinox.p2.publisher/src/org/eclipse/equinox/p2/publisher/Publisher.java
@@ -241,9 +241,7 @@
 			if (Tracing.DEBUG_PUBLISHING)
 				Tracing.debug("Publishing complete. Result=" + finalStatus); //$NON-NLS-1$
 
-			// if there were no errors, publish all the ius.
-			if (finalStatus.isOK() || finalStatus.matches(IStatus.INFO | IStatus.WARNING))
-				savePublishedIUs();
+			savePublishedIUs();
 
 			if (!finalStatus.isOK())
 				return finalStatus;