Home | History | Annotate | Download | only in src
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3 To build, you need to have Maven 2 installed.
      4 
      5 To compile, run:
      6 
      7     mvn compile
      8 
      9 To run tests, run:
     10 
     11     mvn test
     12 
     13 To run one particular test, e.g. TestSomeTest, run:
     14 
     15     mvn test -Dtest=TestSomeTest
     16 
     17 To build the jars, run:
     18 
     19     mvn package
     20 
     21 To create and upload a release, run:
     22 
     23     mvn deploy
     24 
     25 To build the site and upload it, run:
     26 
     27     mvn site:deploy
     28 
     29 To perform a complete release, run:
     30 
     31     mvn clean compile package site assembly:assembly deploy site:deploy
     32 
     33 To actually upload the artifact to sourceforge, it must be manually ftp'd:
     34 
     35     lftp ftp://upload.sourceforge.net/incoming/ -e "put `ls target/jline-*.zip`"
     36 
     37 To make a bundle and request that ibilio upload it, do:
     38 
     39     mvn source:jar javadoc:jar repository:bundle-create
     40 
     41     scp target/jline-*-bundle.jar shell.sourceforge.net:/home/groups/j/jl/jline/htdocs
     42 
     43     Make a request like at http://jira.codehaus.org/browse/MAVENUPLOAD-1003
     44 
     45 -->
     46 <project xmlns="http://maven.apache.org/POM/4.0.0"
     47   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     48   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
     49     http://maven.apache.org/maven-v4_0_0.xsd">
     50 
     51   <modelVersion>4.0.0</modelVersion>
     52   <groupId>jline</groupId>
     53   <artifactId>jline</artifactId>
     54   <packaging>jar</packaging>
     55   <name>JLine</name>
     56   <version>1.0</version>
     57   <description>JLine is a java library for reading and editing user input in console applications. It features tab-completion, command history, password masking, customizable keybindings, and pass-through handlers to use to chain to other console applications.</description>
     58   <url>http://jline.sourceforge.net</url>
     59   <issueManagement>
     60     <system>sourceforge</system>
     61     <url>http://sourceforge.net/tracker/?group_id=64033&atid=506056</url>
     62   </issueManagement>
     63   <inceptionYear>2002</inceptionYear>
     64   <mailingLists>
     65     <mailingList>
     66       <name>JLine users</name>
     67       <subscribe>https://lists.sourceforge.net/lists/listinfo/jline-users</subscribe>
     68       <post>jline-users (a] lists.sourceforge.net</post>
     69       <archive>http://sourceforge.net/mailarchive/forum.php?forum=jline-users</archive>
     70     </mailingList>
     71   </mailingLists>
     72 
     73   <developers>
     74     <developer>
     75       <id>mprudhom</id>
     76       <name>Marc Prud'hommeaux</name>
     77       <email>mwp1 (a] cornell.edu</email>
     78     </developer>
     79     <developer>
     80       <id>headius</id>
     81       <name>Charles Oliver Nutter</name>
     82       <email>headius (a] headius.com</email>
     83     </developer>
     84   </developers>
     85   <licenses>
     86     <license>
     87       <name>BSD</name>
     88       <url>LICENSE.txt</url>
     89     </license>
     90   </licenses>
     91   <scm>
     92     <connection>scm:git://github.com/jline/jline.git</connection>
     93     <developerConnection>scm:git://github.com/jline/jline.git</developerConnection>
     94     <url>https://github.com/jline/jline</url>
     95   </scm>
     96   <dependencies>
     97     <dependency>
     98       <groupId>junit</groupId>
     99       <artifactId>junit</artifactId>
    100       <version>3.8.1</version>
    101       <scope>test</scope>
    102     </dependency>
    103   </dependencies>
    104 
    105   <build>
    106     <plugins>
    107       <plugin>
    108         <groupId>org.apache.maven.plugins</groupId>
    109         <artifactId>maven-surefire-plugin</artifactId>
    110         <configuration>
    111           <useFile>false</useFile>
    112           <trimStackTrace>false</trimStackTrace>
    113         </configuration>
    114       </plugin>
    115       <plugin>
    116         <groupId>org.apache.maven.plugins</groupId>
    117         <artifactId>maven-compiler-plugin</artifactId>
    118         <configuration>
    119           <source>1.3</source>
    120           <target>1.3</target>
    121         </configuration>
    122       </plugin>
    123       <plugin>
    124         <groupId>org.apache.maven.plugins</groupId>
    125         <artifactId>maven-site-plugin</artifactId>
    126         <configuration>
    127           <stagingDirectory>../site-staging</stagingDirectory>
    128         </configuration>
    129       </plugin>
    130       <plugin>
    131         <groupId>org.apache.maven.plugins</groupId>
    132         <artifactId>maven-assembly-plugin</artifactId>
    133         <configuration>
    134           <descriptors>
    135             <descriptor>src/assembly/assembly.xml</descriptor>
    136           </descriptors>
    137         </configuration>
    138       </plugin>
    139       <plugin>
    140         <groupId>org.apache.felix</groupId>
    141         <artifactId>maven-bundle-plugin</artifactId>
    142         <version>2.0.0</version>
    143         <executions>
    144           <execution>
    145             <id>bundle-manifest</id>
    146             <phase>process-classes</phase>
    147             <goals>
    148               <goal>manifest</goal>
    149             </goals>
    150             <configuration>
    151               <instructions>
    152                 <Import-Package>!jline*,javax.swing;resolution:=optional,*</Import-Package>
    153                 <DynamicImport-Package>*</DynamicImport-Package>
    154               </instructions>
    155             </configuration>
    156           </execution>
    157         </executions>
    158       </plugin>
    159       <plugin>
    160         <artifactId>maven-jar-plugin</artifactId>
    161         <configuration>
    162           <archive>
    163             <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
    164           </archive>
    165         </configuration>
    166       </plugin>
    167     </plugins>
    168   </build>
    169 
    170   <reporting>
    171     <plugins>
    172       <plugin>
    173         <groupId>org.codehaus.mojo</groupId>
    174         <artifactId>jxr-maven-plugin</artifactId>
    175         <configuration>
    176           <aggregate>true</aggregate>
    177         </configuration>
    178       </plugin>
    179       <plugin>
    180         <groupId>org.apache.maven.plugins</groupId>
    181         <artifactId>maven-javadoc-plugin</artifactId>
    182         <configuration>
    183           <aggregate>true</aggregate>
    184           <linksource>true</linksource>
    185           <links>
    186             <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
    187           </links>
    188         </configuration>
    189       </plugin>
    190       <plugin>
    191         <groupId>org.apache.maven.plugins</groupId>
    192         <artifactId>maven-pmd-plugin</artifactId>
    193       </plugin>
    194       <plugin>
    195         <groupId>org.apache.maven.plugins</groupId>
    196         <artifactId>maven-project-info-reports-plugin</artifactId>
    197         <reportSets>
    198           <reportSet>
    199             <reports>
    200               <report>project-team</report>
    201               <report>mailing-list</report>
    202               <report>issue-tracking</report>
    203               <report>license</report>
    204               <report>scm</report>
    205             </reports>
    206           </reportSet>
    207         </reportSets>
    208       </plugin>
    209       <plugin>
    210         <groupId>org.codehaus.mojo</groupId>
    211         <artifactId>surefire-report-maven-plugin</artifactId>
    212       </plugin>
    213     </plugins>
    214   </reporting>
    215   <distributionManagement>
    216     <repository>
    217       <id>jline</id>
    218       <url>scp://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/m2repo</url>
    219     </repository>
    220     <snapshotRepository>
    221       <id>jline</id>
    222       <url>scp://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/m2snapshot</url>
    223     </snapshotRepository>
    224     <site>
    225       <id>jline</id>
    226       <name>jline</name>
    227       <url>scpexe://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/</url>
    228     </site>
    229   </distributionManagement>
    230 </project>
    231