changed layout to default maven2 structure
16
pom.xml
|
|
@ -25,12 +25,11 @@
|
|||
<timezone>PST</timezone>
|
||||
</developer>
|
||||
</developers>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<build>
|
||||
<finalName>album</finalName>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<resources>
|
||||
<resource><directory>etc</directory></resource>
|
||||
</resources>
|
||||
<finalName>photo</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
|
@ -40,13 +39,6 @@
|
|||
<target>1.5</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<configuration>
|
||||
<warSourceDirectory>webapp</warSourceDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
<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
|
||||
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.assertEquals("video/ogg; codecs=theora", codec.getMimeType());
|
||||
}
|
||||
|
|
@ -18,7 +18,7 @@ public class OggIdentifierTest {
|
|||
@Test
|
||||
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.assertEquals("audio/ogg; codecs=vorbis", codec.getMimeType());
|
||||
}
|
||||