summaryrefslogtreecommitdiff
path: root/src/jline/pom.xml
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-12-12 19:13:10 +0000
committerPaul Phillips <paulp@improving.org>2010-12-12 19:13:10 +0000
commit5d6b870ea8b7b62670d616b055b85b03f061ba2b (patch)
treee419b0033657dfa3a49ce3513458a04f32c59816 /src/jline/pom.xml
parent9c238c6accf43f2bfe9bcfcdc7aa2384e71dc165 (diff)
downloadscala-5d6b870ea8b7b62670d616b055b85b03f061ba2b.tar.gz
scala-5d6b870ea8b7b62670d616b055b85b03f061ba2b.tar.bz2
scala-5d6b870ea8b7b62670d616b055b85b03f061ba2b.zip
New jline: BSD licensed, based on [ https://git...
New jline: BSD licensed, based on [ https://github.com/jdillon/jline2 ] with additional code thanks to [ https://github.com/huynhjl/jline2 ]. Replaces lib/jline.jar with build of these sources, and modifies trunk code to work with the new jar. Hopeful improvements including baseline functionality on cygwin and 64bit windows, as well as more accurate line wrapping / cursor positioning on all platforms and ctrl-R history search. For the time being the canonical source repository is this: https://github.com/paulp/jline2 The enclosed sources are a mirror of that repository, and should be treated as read-only in the scala svn repository. No review, codewise, but people are very strongly encouraged to try it out and report any regressions.
Diffstat (limited to 'src/jline/pom.xml')
-rw-r--r--src/jline/pom.xml495
1 files changed, 272 insertions, 223 deletions
diff --git a/src/jline/pom.xml b/src/jline/pom.xml
index ac0e188585..71043e32c2 100644
--- a/src/jline/pom.xml
+++ b/src/jline/pom.xml
@@ -1,224 +1,273 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-To build, you need to have Maven 2 installed.
-
-To compile, run:
-
- mvn compile
-
-To run tests, run:
-
- mvn test
-
-To run one particular test, e.g. TestSomeTest, run:
-
- mvn test -Dtest=TestSomeTest
-
-To build the jars, run:
-
- mvn package
-
-To create and upload a release, run:
-
- mvn deploy
-
-To build the site and upload it, run:
-
- mvn site:deploy
-
-To perform a complete release, run:
-
- mvn clean compile package site assembly:assembly deploy site:deploy
-
-To actually upload the artifact to sourceforge, it must be manually ftp'd:
-
- lftp ftp://upload.sourceforge.net/incoming/ -e "put `ls target/jline-*.zip`"
-
-To make a bundle and request that ibilio upload it, do:
-
- mvn source:jar javadoc:jar repository:bundle-create
-
- scp target/jline-*-bundle.jar shell.sourceforge.net:/home/groups/j/jl/jline/htdocs
-
- Make a request like at http://jira.codehaus.org/browse/MAVENUPLOAD-1003
-
--->
-<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">
-
-<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-</properties>
- <modelVersion>4.0.0</modelVersion>
- <groupId>jline</groupId>
- <artifactId>jline</artifactId>
- <packaging>jar</packaging>
- <name>JLine</name>
- <version>0.9.95-SNAPSHOT</version>
- <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>
- <url>http://jline.sourceforge.net</url>
- <issueManagement>
- <system>sourceforge</system>
- <url>http://sourceforge.net/tracker/?group_id=64033&amp;atid=506056</url>
- </issueManagement>
- <inceptionYear>2002</inceptionYear>
- <mailingLists>
- <mailingList>
- <name>JLine users</name>
- <subscribe>https://lists.sourceforge.net/lists/listinfo/jline-users</subscribe>
- <post>jline-users@lists.sourceforge.net</post>
- <archive>http://sourceforge.net/mailarchive/forum.php?forum=jline-users</archive>
- </mailingList>
- </mailingLists>
-
- <developers>
- <developer>
- <id>mprudhom</id>
- <name>Marc Prud'hommeaux</name>
- <email>mwp1@cornell.edu</email>
- </developer>
- </developers>
- <licenses>
- <license>
- <name>BSD</name>
- <url>LICENSE.txt</url>
- </license>
- </licenses>
- <scm>
- <connection>scm:cvs:pserver:anonymous@jline.cvs.sourceforge.net:/cvsroot/jline:jline</connection>
- <developerConnection>scm:cvs:ext:${maven.username}@jline.cvs.sourceforge.net:/cvsroot/jline:jline</developerConnection>
- <url>http://jline.cvs.sourceforge.net/jline</url>
- </scm>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <!--
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jalopy-maven-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- <configuration>
- <fileFormat>UNIX</fileFormat>
- <convention>codestyle.xml</convention>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>format</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- <testFailureIgnore>true</testFailureIgnore> -->
- <useFile>false</useFile>
- <trimStackTrace>false</trimStackTrace>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <showWarnings>true</showWarnings>
- <compilerArgument>-Xlint:unchecked</compilerArgument>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <configuration>
- <stagingDirectory>../site-staging</stagingDirectory>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/assembly.xml</descriptor>
- </descriptors>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jxr-maven-plugin</artifactId>
- <configuration>
- <aggregate>true</aggregate>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <aggregate>true</aggregate>
- <linksource>true</linksource>
- <links>
- <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
- </links>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <reportSets>
- <reportSet>
- <reports>
- <!-- <report>dependencies</report> -->
- <!-- <report>cim</report> -->
- <!-- <report>cobertura</report> -->
- <report>project-team</report>
- <report>mailing-list</report>
- <report>issue-tracking</report>
- <report>license</report>
- <report>scm</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>surefire-report-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
- <distributionManagement>
- <repository>
- <id>jline</id>
- <url>scp://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/m2repo</url>
- </repository>
- <snapshotRepository>
- <id>jline</id>
- <url>scp://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/m2snapshot</url>
- </snapshotRepository>
- <site>
- <id>jline</id>
- <name>jline</name>
- <url>scpexe://shell.sourceforge.net/home/groups/j/jl/jline/htdocs/</url>
- </site>
- </distributionManagement>
-</project>
+<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">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.sonatype.forge</groupId>
+ <artifactId>forge-parent</artifactId>
+ <version>6</version>
+ </parent>
+
+ <groupId>org.sonatype.jline</groupId>
+ <artifactId>jline</artifactId>
+ <name>JLine</name>
+ <version>2.6-SNAPSHOT</version>
+
+ <organization>
+ <name>Sonatype</name>
+ <url>http://sonatype.org</url>
+ </organization>
+
+ <licenses>
+ <license>
+ <name>The BSD License</name>
+ <url>http://www.opensource.org/licenses/bsd-license.php</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:git:git://github.com/jdillon/jline2.git</connection>
+ <developerConnection>scm:git:ssh://git@github.com/jdillon/jline2.git</developerConnection>
+ <url>http://github.com/jdillon/jline2</url>
+ </scm>
+
+ <ciManagement>
+ <system>Hudson</system>
+ <url>https://grid.sonatype.org/ci/job/JLine2</url>
+ </ciManagement>
+
+ <developers>
+ <developer>
+ <id>jdillon</id>
+ <name>Jason Dillon</name>
+ <email>jason@planet57.com</email>
+ <roles>
+ <role>Build Master</role>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ </developers>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <!--
+ <repositories>
+ <repository>
+ <id>jansi</id>
+ <url>http://jansi.fusesource.org/repo/snapshot</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ -->
+
+ <dependencies>
+ <dependency>
+ <groupId>org.fusesource.jansi</groupId>
+ <artifactId>jansi</artifactId>
+ <version>1.4</version>
+ <!--<scope>provided</scope>-->
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+
+ <resources>
+ <resource>
+ <directory>${project.basedir}/src/main/resources</directory>
+ <filtering>false</filtering>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+
+ <resource>
+ <directory>${project.basedir}/src/main/filtered-resources</directory>
+ <filtering>true</filtering>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ </resources>
+
+ <testResources>
+ <testResource>
+ <directory>${project.basedir}/src/test/resources</directory>
+ <filtering>false</filtering>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </testResource>
+
+ <testResource>
+ <directory>${project.basedir}/src/test/filtered-resources</directory>
+ <filtering>true</filtering>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </testResource>
+ </testResources>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.6</version>
+ <configuration>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <forkMode>once</forkMode>
+ <argLine>-ea</argLine>
+ <failIfNoTests>false</failIfNoTests>
+ <workingDirectory>${project.build.directory}</workingDirectory>
+ <excludes>
+ <exclude>**/Abstract*.java</exclude>
+ <exclude>**/Test*.java</exclude>
+ </excludes>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.1.0</version>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ <configuration>
+ <instructions>
+ <Import-Package>!jline*,javax.swing;resolution:=optional,*</Import-Package>
+ <DynamicImport-Package>*</DynamicImport-Package>
+ </instructions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.3.1</version>
+ <configuration>
+ <archive>
+ <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+ </archive>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <version>1.4</version>
+ </plugin>
+
+ <!-- include all the dependencies into the jar so it can run standalone -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <artifactSet>
+ <excludes>
+ <exclude>junit:junit</exclude>
+ </excludes>
+ </artifactSet>
+ <filters>
+ <filter>
+ <artifact>org.fusesource.jansi:jansi</artifact>
+ <excludes>
+ <exclude>META-INF/maven/**</exclude>
+ <exclude>*.txt</exclude>
+ <exclude>junit/**</exclude>
+ <exclude>org/junit/**</exclude>
+ <exclude>org/hamcrest/**</exclude>
+ <exclude>org/fusesource/hawtjni/runtime/Jni*</exclude>
+ <exclude>org/fusesource/hawtjni/runtime/*Flag*</exclude>
+ <exclude>org/fusesource/hawtjni/runtime/T32*</exclude>
+ <exclude>org/fusesource/hawtjni/runtime/NativeStats*</exclude>
+ </excludes>
+ </filter>
+ </filters>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>retro</id>
+ <activation>
+ <property>
+ <name>retro</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>retrotranslator-maven-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>translate-project</goal>
+ </goals>
+ <configuration>
+ <classifier>jdk14</classifier>
+ <attach>true</attach>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project> \ No newline at end of file