1 package org.apache.maven.plugin.cxx.utils.release;
2
3 /*
4 * Copyright (C) 2011-2016, Neticoa SAS France - Tous droits réservés.
5 * Author(s) : Franck Bonin, Neticoa SAS France
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 */
20
21 import java.util.List;
22 import org.apache.maven.shared.release.env.ReleaseEnvironment;
23 import org.apache.maven.shared.release.ReleaseResult;
24 import org.apache.maven.project.MavenProject;
25 import org.apache.maven.plugin.MojoExecutionException;
26 import org.apache.maven.plugin.MojoFailureException;
27
28 /**
29 *
30 * @author Franck Bonin
31 *
32 * @plexus.component role="org.apache.maven.plugin.cxx.utils.release.CxxReleasePhase" role-hint="CopyPomsIntoBranchPhase"
33 */
34 public class CopyPomsIntoBranchPhase
35 extends CxxAbstractReleasePhase
36 {
37 @Override
38 public ReleaseResult run( CxxReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment,
39 List<MavenProject> reactorProjects )
40 throws MojoExecutionException, MojoFailureException
41 {
42 ReleaseResult result = new ReleaseResult();
43
44 logInfo( result, "TODO" );
45
46 return result;
47 }
48 }