View Javadoc
1   package org.apache.maven.report.projectinfo.stubs;
2   
3   import java.util.Arrays;
4   import java.util.List;
5   
6   
7   /*
8    * Licensed to the Apache Software Foundation (ASF) under one
9    * or more contributor license agreements.  See the NOTICE file
10   * distributed with this work for additional information
11   * regarding copyright ownership.  The ASF licenses this file
12   * to you under the Apache License, Version 2.0 (the
13   * "License"); you may not use this file except in compliance
14   * with the License.  You may obtain a copy of the License at
15   *
16   *   http://www.apache.org/licenses/LICENSE-2.0
17   *
18   * Unless required by applicable law or agreed to in writing,
19   * software distributed under the License is distributed on an
20   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21   * KIND, either express or implied.  See the License for the
22   * specific language governing permissions and limitations
23   * under the License.
24   */
25  
26  /**
27   * @author ltheussl
28   * @version $Id$
29   */
30  public class ModulesStub
31      extends ProjectInfoProjectStub
32  {
33      @Override
34      protected String getPOM()
35      {
36          return "modules-plugin-config.xml";
37      }
38  
39      @Override
40      public List<String> getModules()
41      {
42          return Arrays.asList( "subproject1", "subproject2" );
43      }
44  }