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>0.9.94</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 </developers> 80 <licenses> 81 <license> 82 <name>BSD</name> 83 <url>LICENSE.txt</url> 84 </license> 85 </licenses> 86 <scm> 87 <connection>scm:cvs:pserver:anonymous (a] jline.cvs.sourceforge.net:/cvsroot/jline:jline</connection> 88 <developerConnection>scm:cvs:ext:${maven.username}@jline.cvs.sourceforge.net:/cvsroot/jline:jline</developerConnection> 89 <url>http://jline.cvs.sourceforge.net/jline</url> 90 </scm> 91 <dependencies> 92 <dependency> 93 <groupId>junit</groupId> 94 <artifactId>junit</artifactId> 95 <version>3.8.1</version> 96 <scope>compile</scope> 97 </dependency> 98 </dependencies> 99 <build> 100 <plugins> 101 <!-- 102 <plugin> 103 <groupId>org.codehaus.mojo</groupId> 104 <artifactId>jalopy-maven-plugin</artifactId> 105 <version>1.0-SNAPSHOT</version> 106 <configuration> 107 <fileFormat>UNIX</fileFormat> 108 <convention>codestyle.xml</convention> 109 </configuration> 110 <executions> 111 <execution> 112 <goals> 113 <goal>format</goal> 114 </goals> 115 </execution> 116 </executions> 117 </plugin> 118 --> 119 <plugin> 120 <artifactId>maven-surefire-plugin</artifactId> 121 <configuration> 122 <!-- <testFailureIgnore>true</testFailureIgnore> --> 123 <useFile>false</useFile> 124 <trimStackTrace>false</trimStackTrace> 125 </configuration> 126 </plugin> 127 <plugin> 128 <artifactId>maven-compiler-plugin</artifactId> 129 <configuration> 130 <source>1.3</source> 131 <target>1.3</target> 132 </configuration> 133 </plugin> 134 <plugin> 135 <artifactId>maven-site-plugin</artifactId> 136 <configuration> 137 <stagingDirectory>../site-staging</stagingDirectory> 138 </configuration> 139 </plugin> 140 <plugin> 141 <artifactId>maven-assembly-plugin</artifactId> 142 <configuration> 143 <descriptors> 144 <descriptor>src/assembly/assembly.xml</descriptor> 145 </descriptors> 146 </configuration> 147 </plugin> 148 </plugins> 149 </build> 150 151 <reporting> 152 <plugins> 153 <plugin> 154 <groupId>org.codehaus.mojo</groupId> 155 <artifactId>jxr-maven-plugin</artifactId> 156 <configuration> 157 <aggregate>true</aggregate> 158 </configuration> 159 </plugin> 160 <plugin> 161 <groupId>org.apache.maven.plugins</groupId> 162 <artifactId>maven-javadoc-plugin</artifactId> 163 <configuration> 164 <aggregate>true</aggregate> 165 <linksource>true</linksource> 166 <links> 167 <link>http://java.sun.com/j2se/1.5.0/docs/api</link> 168 </links> 169 </configuration> 170 </plugin> 171 <plugin> 172 <artifactId>maven-pmd-plugin</artifactId> 173 </plugin> 174 <plugin> 175 <artifactId>maven-project-info-reports-plugin</artifactId> 176 <reportSets> 177 <reportSet> 178 <reports> 179 <!-- <report>dependencies</report> --> 180 <!-- <report>cim</report> --> 181 <!-- <report>cobertura</report> --> 182 <report>project-team</report> 183 <report>mailing-list</report> 184 <report>issue-tracking</report> 185 <report>license</report> 186 <report>scm</report> 187 </reports> 188 </reportSet> 189 </reportSets> 190 </plugin> 191 <plugin> 192 <groupId>org.codehaus.mojo</groupId> 193 <artifactId>surefire-report-maven-plugin</artifactId> 194 </plugin> 195 </plugins> 196 </reporting> 197 <distributionManagement> 198 <repository> 199 <id>jline</id> 200 <url>scp://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/m2repo</url> 201 </repository> 202 <snapshotRepository> 203 <id>jline</id> 204 <url>scp://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/m2snapshot</url> 205 </snapshotRepository> 206 <site> 207 <id>jline</id> 208 <name>jline</name> 209 <url>scpexe://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/</url> 210 </site> 211 </distributionManagement> 212 </project> 213