Home | History | Annotate | Download | only in 4.0.8
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 
      3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      4 
      5     <parent>
      6         <groupId>org.sonatype.oss</groupId>
      7         <artifactId>oss-parent</artifactId>
      8         <version>9</version>
      9     </parent>
     10 
     11     <modelVersion>4.0.0</modelVersion>
     12     <groupId>org.antlr</groupId>
     13     <artifactId>ST4</artifactId>
     14     <packaging>jar</packaging>
     15 
     16     <!--
     17         The version number defined here in the version tag indicates how the
     18         jar is named and released. When it ends with SNAPSHOT, it will be stored
     19         in your local repository (~/m2 on UNIX) as stringtemplate-X.Y-SNAPSHOT, but
     20         will be deplyed to the ANTLR snapshot repository at antlr.org with the word
     21         SNAPSHOT replaced with the the data, time and unique number.
     22     -->
     23 
     24     <version>4.0.8</version>
     25 
     26     <!--
     27         The name of the project as seen by IDEs and release documentation etc.
     28     -->
     29 
     30     <name>StringTemplate 4</name>
     31     <description>StringTemplate is a java template engine for generating source code,
     32 web pages, emails, or any other formatted text output.
     33 
     34 StringTemplate is particularly good at multi-targeted code generators,
     35 multiple site skins, and internationalization/localization. 
     36 
     37 It evolved over years of effort developing jGuru.com. 
     38 
     39 StringTemplate also generates the stringtemplate website: http://www.stringtemplate.org
     40 and powers the ANTLR v3 code generator. Its distinguishing characteristic 
     41 is that unlike other engines, it strictly enforces model-view separation.
     42 
     43 Strict separation makes websites and code generators more flexible
     44 and maintainable; it also provides an excellent defense against malicious
     45 template authors.
     46 
     47 There are currently about 600 StringTemplate source downloads a month.
     48     </description>
     49     
     50     <properties>
     51         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     52         <java5.home>${env.JAVA5_HOME}</java5.home>
     53         <java6.home>${env.JAVA6_HOME}</java6.home>
     54         <bootclasspath.java5>${java5.home}/lib/rt.jar</bootclasspath.java5>
     55         <bootclasspath.java6>${java6.home}/lib/rt.jar</bootclasspath.java6>
     56         <bootclasspath.compile>${bootclasspath.java5}</bootclasspath.compile>
     57         <bootclasspath.testCompile>${bootclasspath.java6}</bootclasspath.testCompile>
     58     </properties>
     59     
     60     <!--
     61         The URL of the base project
     62       -->
     63 
     64     <url>http://www.stringtemplate.org</url>
     65     <developers>
     66         <developer>
     67             <name>Terence Parr</name>
     68             <organization>USFCA</organization>
     69             <organizationUrl>http://www.cs.usfca.edu</organizationUrl>
     70             <email>parrt (a] antlr.org</email>
     71             <roles>
     72                 <role>Project Leader</role>
     73                 <role>Developer - Java Target</role>
     74             </roles>
     75             <timezone>PST</timezone>
     76         </developer>
     77         <developer>
     78             <name>Sam Harwell</name>
     79             <organization>Tunnel Vision Laboratories, LLC</organization>
     80             <organizationUrl>http://tunnelvisionlabs.com</organizationUrl>
     81             <email>sam (a] tunnelvisionlabs.com</email>
     82             <roles>
     83                 <role>Developer</role>
     84             </roles>
     85             <timezone>CST</timezone>
     86         </developer>
     87         <developer>
     88             <name>Jim Idle</name>
     89             <organization>Temporal Wave LLC</organization>
     90             <organizationUrl>http://www.temporal-wave.com</organizationUrl>
     91             <email>jimi (a] temporal-wave.com</email>
     92             <roles>
     93                 <role>Developer - Maven stuff</role>
     94             </roles>
     95             <timezone>PST</timezone>
     96         </developer>
     97     </developers>
     98 
     99     <licenses>
    100         <license>
    101             <name>BSD licence</name>
    102             <url>http://antlr.org/license.html</url>
    103             <distribution>repo</distribution>
    104         </license>
    105     </licenses>
    106 
    107     <issueManagement>
    108         <system>GitHub Issues</system>
    109         <url>https://github.com/antlr/stringtemplate4/issues</url>
    110     </issueManagement>
    111 
    112     <scm>
    113         <url>git://github.com/antlr/stringtemplate4.git</url>
    114         <connection>scm:git:git://github.com/antlr/stringtemplate4.git</connection>
    115         <developerConnection>scm:git:git (a] github.com:antlr/stringtemplate4.git</developerConnection>
    116       <tag>4.0.8</tag>
    117   </scm>
    118 
    119     <dependencies>
    120         <dependency>
    121             <groupId>junit</groupId>
    122             <artifactId>junit</artifactId>
    123             <version>4.10</version>
    124             <scope>test</scope>
    125         </dependency>
    126 
    127         <dependency>
    128             <groupId>org.antlr</groupId>
    129             <artifactId>antlr-runtime</artifactId>
    130             <version>3.5.2</version>
    131             <scope>compile</scope>
    132         </dependency>
    133             
    134     </dependencies>
    135 
    136     <profiles>
    137         <profile>
    138             <id>sonatype-oss-release</id>
    139             <build>
    140                 <plugins>
    141                     <plugin>
    142                         <groupId>org.apache.maven.plugins</groupId>
    143                         <artifactId>maven-compiler-plugin</artifactId>
    144                         <executions>
    145                             <execution>
    146                                 <id>default-compile</id>
    147                                 <configuration>
    148                                     <compilerArguments>
    149                                         <bootclasspath>${bootclasspath.compile}</bootclasspath>
    150                                     </compilerArguments>
    151                                 </configuration>
    152                             </execution>
    153                             <execution>
    154                                 <id>default-testCompile</id>
    155                                 <configuration>
    156                                     <compilerArguments>
    157                                         <bootclasspath>${bootclasspath.testCompile}</bootclasspath>
    158                                     </compilerArguments>
    159                                 </configuration>
    160                             </execution>
    161                         </executions>
    162                     </plugin>
    163 
    164                     <plugin>
    165                         <groupId>org.apache.maven.plugins</groupId>
    166                         <artifactId>maven-shade-plugin</artifactId>
    167                         <version>2.2</version>
    168                         <executions>
    169                             <execution>
    170                                 <phase>package</phase>
    171                                 <goals>
    172                                     <goal>shade</goal>
    173                                 </goals>
    174                                 <configuration>
    175                                     <minimizeJar>true</minimizeJar>
    176                                     <createDependencyReducedPom>false</createDependencyReducedPom>
    177                                     <shadedArtifactAttached>true</shadedArtifactAttached>
    178                                     <createSourcesJar>true</createSourcesJar>
    179                                     <shadeSourcesContent>true</shadeSourcesContent>
    180                                     <shadedClassifierName>complete</shadedClassifierName>
    181                                     <relocations>
    182                                         <relocation>
    183                                             <pattern>org.antlr</pattern>
    184                                             <shadedPattern>st4hidden.org.antlr</shadedPattern>
    185                                         </relocation>
    186                                     </relocations>
    187                                 </configuration>
    188                             </execution>
    189                         </executions>
    190                     </plugin>
    191                 </plugins>
    192             </build>
    193         </profile>
    194     </profiles>
    195 
    196     <build>
    197         <defaultGoal>install</defaultGoal>
    198 
    199         <!--
    200             The root of the source code for StringTemplate
    201         -->
    202         <sourceDirectory>src</sourceDirectory>
    203 
    204         <!--
    205             The root of the test source code for StringTemplate.
    206         -->
    207         <testSourceDirectory>test</testSourceDirectory>
    208 
    209         <!--
    210             All the resources that should be on the classpath, when 
    211             the junit tests are run. Here we need to include the test
    212             source code directory as the .st files loaded dynamically
    213             by the tests, are located underneath this tree.
    214         -->
    215         <testResources>
    216             <testResource>
    217                 <directory>test</directory>
    218             </testResource>
    219         </testResources>
    220 
    221         <plugins>
    222             <plugin>
    223                 <groupId>org.apache.maven.plugins</groupId>
    224                 <artifactId>maven-jar-plugin</artifactId>
    225                 <version>2.4</version>
    226                 <configuration>
    227                     <archive>
    228                         <manifest>
    229                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
    230                         </manifest>
    231                     </archive>
    232                 </configuration>
    233             </plugin>
    234 
    235            <plugin>
    236                 <groupId>org.antlr</groupId>
    237                 <artifactId>antlr3-maven-plugin</artifactId>
    238                 <version>3.5.2</version>
    239                 <configuration>
    240                     <libDirectory>src/org/stringtemplate/v4/compiler</libDirectory>
    241                     <sourceDirectory>src</sourceDirectory>
    242                     <verbose>true</verbose>
    243                 </configuration>
    244                 <executions>
    245                     <execution>
    246                         <goals>
    247                             <goal>antlr</goal>
    248                         </goals>
    249                     </execution>
    250                 </executions>
    251             </plugin>
    252 
    253             <plugin>
    254                 <groupId>org.apache.maven.plugins</groupId>
    255                 <artifactId>maven-compiler-plugin</artifactId>
    256                 <version>3.1</version>
    257                 <configuration>
    258                     <sourceDirectory>src</sourceDirectory>
    259                     <showWarnings>true</showWarnings>
    260                     <showDeprecation>true</showDeprecation>
    261                     <compilerArgs>
    262                         <arg>-Xlint</arg>
    263                         <arg>-Xlint:-serial</arg>
    264                     </compilerArgs>
    265                 </configuration>
    266 
    267                 <executions>
    268                     <execution>
    269                         <id>default-compile</id>
    270                         <configuration>
    271                             <source>1.5</source>
    272                             <target>1.5</target>
    273                         </configuration>
    274                     </execution>
    275                     <execution>
    276                         <id>default-testCompile</id>
    277                         <configuration>
    278                             <source>1.6</source>
    279                             <target>1.6</target>
    280                         </configuration>
    281                     </execution>
    282                 </executions>
    283             </plugin>
    284 
    285             <plugin>
    286                 <groupId>org.apache.maven.plugins</groupId>
    287                 <artifactId>maven-release-plugin</artifactId>
    288                 <!-- override the version inherited from the parent -->
    289                 <version>2.5</version>
    290                 <configuration>
    291                     <arguments>-Psonatype-oss-release ${release.arguments}</arguments>
    292                 </configuration>
    293             </plugin>
    294 
    295             <plugin>
    296                 <groupId>org.apache.maven.plugins</groupId>
    297                 <artifactId>maven-surefire-plugin</artifactId>
    298                 <version>2.17</version>
    299                 <configuration>
    300                     <additionalClasspathElements>
    301                         <additionalClasspathElement>${basedir}/src</additionalClasspathElement>
    302                     </additionalClasspathElements>
    303                 </configuration>
    304             </plugin>
    305 
    306             <plugin>
    307                 <groupId>org.codehaus.mojo</groupId>
    308                 <artifactId>findbugs-maven-plugin</artifactId>
    309                 <version>2.5.3</version>
    310                 <configuration>
    311                     <findbugsXmlOutput>true</findbugsXmlOutput>
    312                     <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
    313                     <xmlOutput>true</xmlOutput>
    314                 </configuration>
    315             </plugin>
    316 
    317             <plugin>
    318                 <groupId>org.apache.maven.plugins</groupId>
    319                 <artifactId>maven-source-plugin</artifactId>
    320                 <!-- override the version inherited from the parent -->
    321                 <version>2.2.1</version>
    322             </plugin>
    323 
    324             <plugin>
    325                 <groupId>org.apache.maven.plugins</groupId>
    326                 <artifactId>maven-javadoc-plugin</artifactId>
    327                 <!-- override the version inherited from the parent -->
    328                 <version>2.9.1</version>
    329                 <configuration>
    330                     <quiet>true</quiet>
    331                 </configuration>
    332             </plugin>
    333 
    334             <plugin>
    335                 <groupId>org.apache.maven.plugins</groupId>
    336                 <artifactId>maven-gpg-plugin</artifactId>
    337                 <!-- override the version inherited from the parent -->
    338                 <version>1.5</version>
    339             </plugin>
    340 
    341         </plugins>
    342     </build>
    343 </project>
    344 
    345