View Javadoc
1   /*
2    * The akquinet maven-latex-plugin project
3    *
4    * Copyright (c) 2011 by akquinet tech@spree GmbH
5    *
6    * Licensed under the Apache License, Version 2.0 (the "License");
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    *
10   * http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  
19  package eu.simuline.m2latex.mojo;
20  
21  import eu.simuline.m2latex.core.Target;
22  
23  import org.apache.maven.plugins.annotations.Mojo;
24  
25  import java.util.SortedSet;
26  import java.util.TreeSet;
27  //import java.util.EnumSet;
28  
29  /**
30   * Build HTML documents and XHTML documents from LaTeX sources 
31   * for the goal <code>html</code> which is not tied to a lifecycle phase. 
32   */
33  @Mojo(name = "html")
34  public class HtmlMojo extends CfgLatexMojo {
35  
36     public SortedSet<Target> getTargetSet() {
37         SortedSet<Target> res = new TreeSet<Target>();
38         res.add(Target.html);
39         return res;
40         //return EnumSet.of(Target.html);
41     }
42  }