Core now moved to common.

This commit is contained in:
Erlend Hamnaberg 2009-11-08 19:01:36 +01:00
parent e0a6c0a2bd
commit 7167a7a4ad
36 changed files with 36 additions and 223 deletions

View File

@ -16,13 +16,20 @@
</description>
<dependencies>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common-lang</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common-io</artifactId>
</dependency>
<dependency>
<groupId>jmagick</groupId>
<artifactId>jmagick</artifactId>
<version>6.2.4</version>
<scope>provided</scope>
<optional>true</optional>
<artifactId>jmagick</artifactId>
<version>6.2.4</version>
<optional>true</optional>
</dependency>
</dependencies>
</project>

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -19,12 +19,10 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common-lang</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common-lang</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>

View File

@ -22,20 +22,33 @@
<module>common-image</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>jmagick</groupId>
<artifactId>jmagick</artifactId>
<version>6.2.4</version>
<scope>provided</scope>
<optional>true</optional>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common-lang</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common-lang</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common-io</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
<version>4.5</version>
<artifactId>junit</artifactId>
<version>4.7</version>
<scope>test</scope>
</dependency>
@ -45,5 +58,6 @@
<version>1.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -1,74 +0,0 @@
<?xml version="1.0"?>
<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>
<artifactId>twelvemonkeys-core</artifactId>
<groupId>com.twelvemonkeys</groupId>
<version>2.3-SNAPSHOT</version>
<name>TwelveMonkeys Core</name>
<description>
The TwelveMonkeys Core library. Contains common utility classes.
</description>
<parent>
<groupId>com.twelvemonkeys</groupId>
<artifactId>twelvemonkeys-parent</artifactId>
<version>2.0</version>
</parent>
<dependencies>
<dependency>
<groupId>jmagick</groupId>
<artifactId>jmagick</artifactId>
<version>6.2.4</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock-cglib</artifactId>
<version>1.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<configuration>
<archive>
<manifestEntries>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Vendor>TwelveMonkeys</Implementation-Vendor>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-URL>http://github.com/haraldk/TwelveMonkeys</Implementation-URL>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,111 +0,0 @@
##############################################################################
#
# MIME type mappings for MIMEUtil.
# $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/resources/com/twelvemonkeys/net/MIMEUtil.properties#2 $
#
##############################################################################
#
# Format:
# <default ext>[','<alt ext>','<alt ext>..]=<default mime>[';'<alt mime>';'<alt mime>..]
#
# If possible, the "default ext" and "default mime" must be the official file
# extension and MIME type respectively.
#
# See http://www.iana.org/assignments/media-types/ for the complete list.
#
# TODO: Change to this format: http://java.sun.com/javase/6/docs/api/javax/activation/MimetypesFileTypeMap.html
# Application types
doc,dot=application/msword
bin,exe,arc,lha,lhx,lzx,zoo=application/octet-stream
arj=application/arj
pdf=application/pdf
ai,eps,ps=application/postscript
ppt=application/vnd.ms-powerpoint;application/x-powerpoint;application/powerpoint
csh=application/x-csh
gtar=application/x-gtar
gz,gzip,z=application/x-gzip;application/x-compressed
class=application/x-java-vm
ser=application/x-java-serialized-object
jar=application/x-java-archive
tex=application/x-tex;application/x-latex
texinfo,texi=application/x-texinfo
t,tr,roff=application/x-troff
sh=application/x-sh
tar=application/x-tar
zip=application/zip
hqx=application/binhex
swf=application/x-shockwave-flash
xls=application/vnd.ms-excel
prc,pdb,pqa,oprc=application/vnd.palm
ogg=application/ogg
# Audio types
au,snd=audio/basic
wav=audio/x-wav;audio/wav
aiff,aif,aifc=audio/x-aiff
midi,mid=audio/x-midi
gsm,gsd=audio/x-gsm
mp3=audio/x-mpeg-3;audio/mpeg3
ram,ra=audio/x-pn-realaudio;audio/x-realaudio
# Image types
bmp=image/bmp;image/x-bmp;image/x-win-bmp
cgm=image/cgm
ras=image/cmu-raster;image/x-cmu-raster
gif=image/gif
ico=image/ico;image/x-icon
ief=image/ief
iff,ilbm=image/x-iff;image/iff
jpeg,jpg,jpe,jfif=image/jpeg;image/x-jpeg
jpm=image/jpm
png=image/png;image/x-png
# NOTE: image/svg-xml is an old reccomendation, should not be used
svg,svgz=image/svg+xml;image/svg-xml;image/x-svg
tga=image/targa;image/x-targa
tif,tiff=image/tiff;image/x-tiff
ras,rast=image/x-cmu-raster;image/cmu-raster
pict,pct,pic=image/x-pict;image/pict
pcd=image/x-pcd;image/pcd
pcx=image/x-pcx
#pdb=image/x-palm-db;image/palm-db
pnm=image/x-portable-anymap
pbm=image/x-portable-bitmap
pgm=image/x-portable-graymap
ppm=image/x-portable-pixmap
psd=image/x-psd;image/psd
wbmp=image/vnd.wap.wbmp;image/x-wbmp
wmf,emf=image/x-wmf;image/wmf;windows/metafile
xbm=image/x-xbitmap;image/x-xbm;image/xbm
xpm=image/x-xpixmap
xwd=image/x-windowdump
# Message types
# No known file extensions
# Model types
vrml;wrl;wrz=model/vrml;x-world/x-vrml
# Multipart types
# No known file extensions
# Text types
txt=text/plain
html,htm=text/html
xml=text/xml;application/xml
css=text/css
js=text/javascript
rtf,rtx=text/richtext;application/rtf;application/x-rtf
xhtml,xht=application/xhtml+xml
sgml,sgm=text/sgml;text/x-sgml
wml=vnd.wap.wml
wmls=vnd.wap.wmlscript
ics=text/calendar
# Video types
mpg,mpeg,mpe=video/mpeg
qt,mov=video/quicktime
avi=video/x-msvideo;video/msvideo;video/avi
movie=video/x-sgi-movie
scm=video/x-scm
rv=video/vnd.rn-realvideo

View File

@ -1,21 +0,0 @@
- Remove util.BASE64, make clients use io.Base64.
- Rename core to common?
- Split up into three sub modules?
- common-core
- lang
- util
- common-io
- io
- io.enc
- io.ole2 (or move to separate module?)
- net (or move to separate module?)
- xml (or move to separate module?)
- common-image
- image
- common-sandbox
- all unreleased/experimental stuff
- Test cases for the OLE2Compound stuff
- Test cases for encoder/decoders
- Test cases in general