Repository: cxf Updated Branches: refs/heads/master 9c68cd239 -> e2eacb217
Add a setup.eclipse profile to ignore access errors to avoid errors in eclipse Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/e2eacb21 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e2eacb21 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e2eacb21 Branch: refs/heads/master Commit: e2eacb21745088475dbcda3353f25a0663e671d5 Parents: 9c68cd2 Author: Daniel Kulp <[email protected]> Authored: Tue Apr 29 11:02:46 2014 -0400 Committer: Daniel Kulp <[email protected]> Committed: Tue Apr 29 11:02:46 2014 -0400 ---------------------------------------------------------------------- maven-plugins/java2wadl-plugin/pom.xml | 30 ++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/e2eacb21/maven-plugins/java2wadl-plugin/pom.xml ---------------------------------------------------------------------- diff --git a/maven-plugins/java2wadl-plugin/pom.xml b/maven-plugins/java2wadl-plugin/pom.xml index 2b9c4a1..2907733 100644 --- a/maven-plugins/java2wadl-plugin/pom.xml +++ b/maven-plugins/java2wadl-plugin/pom.xml @@ -165,7 +165,35 @@ </dependency> </dependencies> </profile> - + <profile> + <id>setup.eclipse</id> + <build> + <defaultGoal>process-test-sources</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>setup.eclipse.project.wadl2java</id> + <phase>process-test-sources</phase> + <configuration> + <target> + <!-- The javadoc dumping capability requires com.sun classes from with rt/classes.jar --> + <propertyfile file="${basedir}/.settings/org.eclipse.jdt.core.prefs"> + <entry key="org.eclipse.jdt.core.compiler.problem.forbiddenReference" value="ignore" /> + </propertyfile> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project>
