Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2011-2013 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package org.kuali.maven.plugins.externals;
Display svn:externals definitions

public class ShowMojo extends AbstractMojo {
	SVNUtils svnUtils = SVNUtils.getInstance();

The Maven project object

	private MavenProject project;

The directory to examine for svn:externals definitions

expression="${}" default-value="${project.basedir}"
	private File directory;
	public void execute() throws MojoExecutionException {
		getLog().info("Examining " + .getAbsolutePath());
		// Extract svn:externals info from the root of the checkout
		getLog().info("Located " + externals.size() + " svn:externals");
		int count = 1;
		for (SVNExternal external : externals) {
			getLog().info(" " + (count++) + "   " + external.getPath() + " " + external.getUrl());
	public MavenProject getProject() {
		return ;
	public File getDirectory() {
		return ;
	public void setDirectory(File file) {
		this. = file;
New to GrepCode? Check out our FAQ X