Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 381057 | Differences between
and this patch

Collapse All | Expand All

(-)a/eclipse-parent/pom.xml (-3 / +3 lines)
Lines 508-516 Link Here
508
    <profile>
508
    <profile>
509
      <id>api-generation</id>
509
      <id>api-generation</id>
510
      <activation>
510
      <activation>
511
        <file>
511
        <property>
512
          <exists>.apibuild.xml</exists>
512
          <name>!longnotexistingproperty</name>
513
        </file>
513
        </property>
514
      </activation>
514
      </activation>
515
      <build>
515
      <build>
516
        <plugins>
516
        <plugins>
(-)a/maven-cbi-plugin/src/main/java/org/eclipse/cbi/mojo/GenerateAPIBuildXMLMojo.java (-1 / +3 lines)
Lines 89-98 public class GenerateAPIBuildXMLMojo extends AbstractMojo { Link Here
89
		File dotProject = new File(project.getBasedir(), ".project");
89
		File dotProject = new File(project.getBasedir(), ".project");
90
		if (!dotProject.exists()) {
90
		if (!dotProject.exists()) {
91
			// no .project
91
			// no .project
92
			project.getProperties().setProperty("eclipserun.skip", "true");
92
			return;
93
			return;
93
		}
94
		}
94
		if (dotProjectContainsApiNature(dotProject)) {
95
		if (dotProjectContainsApiNature(dotProject)) {
95
			generateBuildXML();
96
			generateBuildXML();
97
		} else {
98
			project.getProperties().setProperty("eclipserun.skip", "true");
96
		}
99
		}
97
	}
100
	}
98
	
101
	
99
- 

Return to bug 381057