changed layout to default maven2 structure
16
pom.xml
|
|
@ -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>
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 499 B |
|
Before Width: | Height: | Size: 540 B After Width: | Height: | Size: 540 B |
|
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 509 B |
|
Before Width: | Height: | Size: 550 B After Width: | Height: | Size: 550 B |
|
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 511 B |
|
|
@ -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());
|
||||||
}
|
}
|
||||||