Skip to content

Instantly share code, notes, and snippets.

<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.6</source>
<target>jsr14</target>
</configuration>
</plugin>
1) null returned by binding at org.sonatype.guice.bean.binders.LocatorWiring
but org.antlr.mojo.antlr3.Antlr3ErrorLog.buildContext is not @Nullable
while locating org.eclipse.tesla.incremental.BuildContext
for field at org.antlr.mojo.antlr3.Antlr3ErrorLog.buildContext(Unknown Source)
while locating org.antlr.mojo.antlr3.Antlr3ErrorLog
while locating org.antlr.mojo.antlr3.Antlr3Mojo
1 error
at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:974)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000)
[java] [INFO] Tesla Shell :: Extensions :: LOGBack .............. SKIPPED
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] BUILD FAILURE
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] Total time: 1:24.409s
[java] [INFO] Finished at: Wed Oct 12 22:54:26 EDT 2011
[java] [INFO] Final Memory: 30M/120M
[java] [INFO] ------------------------------------------------------------------------
[java] [ERROR] Failed to execute goal org.eclipse.tesla.plugins:tesla-proviso-plugin:0.0.5-SNAPSHOT:provision (provision) on project tesla: Execution provision of goal org.eclipse.tesla.plugins:tesla-proviso-plugin:0.0.5-SNAPSHOT:provision failed: Could not find artifact org.eclipse.tesla:tesla-split-localrepo:jar:1.0-SNAPSHOT -> [Help 1]
[java] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tesla.plugins:tesla-proviso-plugin:0.0.5-SN
From c629178ab19564f640d4c521b141421e03cbae70 Mon Sep 17 00:00:00 2001
From: Igor Fedorenko <igor@ifedorenko.com>
Date: Tue, 18 Oct 2011 12:37:08 -0400
Subject: [PATCH] Fixed new empty files are not reported as modified
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
---
.../internal/IncrementalFileOutputStream.java | 2 +
.../internal/DefaultBuildContextTest.java | 89 ++++++++++++++++++++
2 files changed, 91 insertions(+), 0 deletions(-)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project org.eclipse.m2e.parent: Failed to deploy artifacts: Could not transfer artifact org.eclipse.m2e:org.eclipse.m2e.parent:pom:1.0.200-20111019.194937-12 from/to forge-snapshots (https://repository.sonatype.org/content/repositories/snapshots): Access denied to: https://repository.sonatype.org/content/repositories/snapshots/org/eclipse/m2e/org.eclipse.m2e.parent/1.0.200-SNAPSHOT/org.eclipse.m2e.parent-1.0.200-20111019.194937-12.pom -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project org.eclipse.m2e.parent: Failed to deploy artifacts: Could not transfer artifact org.eclipse.m2e:org.eclipse.m2e.parent:pom:1.0.200-20111019.194937-12 from/to forge-snapshots (https://repository.sonatype.org/content/repositories/snapshots): Access denied to: https://repository.sonatype.org/content/repos
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.eclipse:org.eclipse.equinox.p2-aggregator:0.0.1-SNAPSHOT (/code/git.eclipse.org/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-aggregator/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.eclipse:org.eclipse.equinox.p2-parent:0.0.1-SNAPSHOT: Could not find artifact org.eclipse.runtime:eclipse-runtime-parent:pom:1.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ org.eclipse:org.eclipse.equinox.p2-parent:0.0.1-SNAPSHOT, /code/git.eclipse.org/rt.equinox.p2/org.eclipse.equinox.p2.releng/org.eclipse.equinox.p2-parent/pom.xml, line 5, column 11 -> [Help 2]
diff --git a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java
index 10790a0..895e6e5 100644
--- a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java
+++ b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java
@@ -27,7 +27,6 @@ import org.eclipse.equinox.internal.p2.publisher.eclipse.GeneratorBundleInfo;
import org.eclipse.equinox.p2.metadata.*;
import org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription;
import org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitFragmentDescription;
-import org.eclipse.equinox.p2.metadata.Version;
import org.eclipse.equinox.p2.metadata.VersionRange;
diff --git a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
index 96b8274..8bb6909 100644
--- a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
+++ b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
@@ -96,6 +96,8 @@ public class DefaultPluginDescriptorCache
clone.setId( original.getId() );
clone.setIsolatedRealm( original.isIsolatedRealm() );
clone.setSource( original.getSource() );
+
+ clone.setDependencies( original.getDependencies() );
// let external providers contribute additional metadata
for (Plugin plugin : project.getBuildPlugins()) {
if (plugin.isExtensions()) {
// due to maven classloading model limitations, build extensions plugins cannot share classes
// since tycho core, i.e. this code, is loaded as a build extension, no other extensions plugin
// can load classes from tycho core
// https://cwiki.apache.org/MAVEN/maven-3x-class-loading.html
continue;
}
try {
/**
* TODO pluginDescriptor classRealm and artifacts are set as a side effect of this
* call, which is not nice.
* @throws PluginResolutionException
*/
public ClassRealm getPluginRealm( MavenSession session, PluginDescriptor pluginDescriptor )
throws PluginResolutionException, PluginManagerException
{
ClassRealm pluginRealm = pluginDescriptor.getClassRealm();
if ( pluginRealm != null )