Examples of DuplicateProjectException


Examples of org.apache.maven.project.DuplicateProjectException

            MavenProject project = (MavenProject) project2;

            String id = ArtifactUtils.versionlessKey(project.getGroupId(), project.getArtifactId());

            if (dag.getVertex(id) != null) {
                throw new DuplicateProjectException("Project '" + id + "' is duplicated in the reactor");
            }

            dag.addVertex(id);

            projectMap.put(id, project);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.