changed layout to default maven2 structure

This commit is contained in:
Erik Forkalsrud 2010-02-06 12:52:30 -08:00
parent 74c29c8ac1
commit a6d3fc333f
33 changed files with 6 additions and 14 deletions

16
pom.xml
View file

@ -25,12 +25,11 @@
<timezone>PST</timezone> <timezone>PST</timezone>
</developer> </developer>
</developers> </developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build> <build>
<finalName>album</finalName> <finalName>photo</finalName>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource><directory>etc</directory></resource>
</resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -40,13 +39,6 @@
<target>1.5</target> <target>1.5</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceDirectory>webapp</warSourceDirectory>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.mortbay.jetty</groupId> <groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId> <artifactId>maven-jetty-plugin</artifactId>

View file

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 499 B

View file

Before

Width:  |  Height:  |  Size: 540 B

After

Width:  |  Height:  |  Size: 540 B

View file

Before

Width:  |  Height:  |  Size: 509 B

After

Width:  |  Height:  |  Size: 509 B

View file

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

View file

Before

Width:  |  Height:  |  Size: 443 B

After

Width:  |  Height:  |  Size: 443 B

View file

Before

Width:  |  Height:  |  Size: 511 B

After

Width:  |  Height:  |  Size: 511 B

View file

@ -9,7 +9,7 @@ public class OggIdentifierTest {
@Test @Test
public void testVideoIdentifier() throws Exception { public void testVideoIdentifier() throws Exception {
Codec codec = OggIdentifier.getIdentifier(getClass().getResourceAsStream("videoheader.ogg")); Codec codec = OggIdentifier.getIdentifier(getClass().getResourceAsStream("/videoheader.ogg"));
Assert.assertNotNull(codec); Assert.assertNotNull(codec);
Assert.assertEquals("video/ogg; codecs=theora", codec.getMimeType()); Assert.assertEquals("video/ogg; codecs=theora", codec.getMimeType());
} }
@ -18,7 +18,7 @@ public class OggIdentifierTest {
@Test @Test
public void testAudioIdentifier() throws Exception { public void testAudioIdentifier() throws Exception {
Codec codec = OggIdentifier.getIdentifier(getClass().getResourceAsStream("musicheader.ogg")); Codec codec = OggIdentifier.getIdentifier(getClass().getResourceAsStream("/musicheader.ogg"));
Assert.assertNotNull(codec); Assert.assertNotNull(codec);
Assert.assertEquals("audio/ogg; codecs=vorbis", codec.getMimeType()); Assert.assertEquals("audio/ogg; codecs=vorbis", codec.getMimeType());
} }