Skip to content
Commits on Source (5)
language: java
jdk:
- oraclejdk8
- openjdk7
script: mvn verify
matrix:
include:
- dist: bionic
jdk: openjdk11
allow_failures:
- dist: bionic
jdk: openjdk12
......@@ -3,7 +3,7 @@ pipeline {
agent any
tools {
jdk 'Java 8'
jdk 'Java 11'
maven 'Maven 3.5.4'
}
......
pipeline {
agent any
tools {
jdk 'Java 8'
jdk 'Java 11'
maven 'Maven 3.5.4'
}
triggers {
......
rome (1.12.2-1) unstable; urgency=medium
* Team upload.
* New upstream release
* Standards-Version updated to 4.5.0
-- Emmanuel Bourg <ebourg@apache.org> Sun, 26 Jan 2020 15:39:02 +0100
rome (1.12.1-1) unstable; urgency=medium
* Team upload.
......
......@@ -9,7 +9,7 @@ Build-Depends:
libmaven-bundle-plugin-java,
libslf4j-java,
maven-debian-helper
Standards-Version: 4.4.0
Standards-Version: 4.5.0
Vcs-Git: https://salsa.debian.org/java-team/rome.git
Vcs-Browser: https://salsa.debian.org/java-team/rome
Homepage: http://rometools.github.io/rome/
......
......@@ -6,7 +6,7 @@
<groupId>com.rometools</groupId>
<artifactId>rome-parent</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
<packaging>pom</packaging>
<modules>
......@@ -61,7 +61,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<version>3.8.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
......@@ -101,7 +101,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.3.0</version>
<version>4.2.1</version>
<executions>
<execution>
<id>bundle</id>
......@@ -115,7 +115,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.20</version>
<version>2.22.2</version>
<executions>
<execution>
<goals>
......@@ -163,9 +163,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<version>3.1.1</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<source>1.6</source>
<doclint>none</doclint>
</configuration>
<executions>
<execution>
......@@ -207,42 +208,42 @@
<dependency>
<groupId>com.rometools</groupId>
<artifactId>rome</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</dependency>
<dependency>
<groupId>com.rometools</groupId>
<artifactId>rome-certiorem</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</dependency>
<dependency>
<groupId>com.rometools</groupId>
<artifactId>rome-certiorem-webapp</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</dependency>
<dependency>
<groupId>com.rometools</groupId>
<artifactId>rome-fetcher</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</dependency>
<dependency>
<groupId>com.rometools</groupId>
<artifactId>rome-modules</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</dependency>
<dependency>
<groupId>com.rometools</groupId>
<artifactId>rome-opml</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</dependency>
<dependency>
<groupId>com.rometools</groupId>
<artifactId>rome-propono</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</dependency>
<dependency>
<groupId>com.rometools</groupId>
<artifactId>rome-utils</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</dependency>
<!-- JDOM -->
<dependency>
......@@ -250,6 +251,11 @@
<artifactId>jdom2</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
......@@ -340,6 +346,11 @@
<artifactId>wiremock</artifactId>
<version>1.58</version>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
</dependencyManagement>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>com.rometools</groupId>
<artifactId>rome-parent</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</parent>
<artifactId>rome-certiorem-webapp</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>com.rometools</groupId>
<artifactId>rome-parent</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</parent>
<artifactId>rome-certiorem</artifactId>
......
......@@ -6,7 +6,7 @@
<parent>
<groupId>com.rometools</groupId>
<artifactId>rome-parent</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</parent>
<artifactId>rome-fetcher</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>com.rometools</groupId>
<artifactId>rome-parent</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</parent>
<artifactId>rome-modules</artifactId>
......
......@@ -206,7 +206,7 @@ public class ITunesParser implements ModuleParser {
final Element explicit = element.getChild("explicit", ns);
if (explicit != null && explicit.getValue() != null) {
String explicitValue = explicit.getValue().trim();
String explicitValue = explicit.getValue().trim().toLowerCase();
if (EXPLICIT_TRUE.contains(explicitValue)) {
module.setExplicit(true);
......
......@@ -20,6 +20,7 @@
package com.rometools.modules.itunes;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
......@@ -173,4 +174,30 @@ public class ITunesParserTest extends AbstractTestCase {
assertNull(module.getDuration());
}
public void testExplicitnessTrue() throws Exception {
ArrayList<String> xmlFiles = new ArrayList<String>();
xmlFiles.add("explicitness-capital-yes.xml");
xmlFiles.add("explicitness-yes.xml");
for (String xml : xmlFiles) {
SyndFeed feed = new SyndFeedInput().build(new XmlReader(getClass().getResource(xml)));
FeedInformationImpl module = (FeedInformationImpl) feed.getModule(AbstractITunesObject.URI);
assertTrue(module.getExplicitNullable());
}
}
public void testExplicitnessFalse() throws Exception {
ArrayList<String> xmlFiles = new ArrayList<String>();
xmlFiles.add("explicitness-no.xml");
xmlFiles.add("explicitness-clean.xml");
for (String xml : xmlFiles) {
SyndFeed feed = new SyndFeedInput().build(new XmlReader(getClass().getResource(xml)));
FeedInformationImpl module = (FeedInformationImpl) feed.getModule(AbstractITunesObject.URI);
assertFalse(module.getExplicitNullable());
}
}
}
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<itunes:explicit>Yes</itunes:explicit>
</channel>
</rss>
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<itunes:explicit>clean</itunes:explicit>
</channel>
</rss>
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<itunes:explicit>no</itunes:explicit>
</channel>
</rss>
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<itunes:explicit>yes</itunes:explicit>
</channel>
</rss>
......@@ -5,7 +5,7 @@
<parent>
<groupId>com.rometools</groupId>
<artifactId>rome-parent</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</parent>
<artifactId>rome-opml</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>com.rometools</groupId>
<artifactId>rome-parent</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</parent>
<artifactId>rome-osgi-test</artifactId>
......@@ -63,6 +63,11 @@
<artifactId>rome-fetcher</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
......@@ -71,31 +76,31 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>5.4.0</version>
<version>6.0.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-container-native</artifactId>
<version>4.8.0</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit4</artifactId>
<version>4.8.0</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-link-mvn</artifactId>
<version>4.8.0</version>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-wrap</artifactId>
<version>2.4.5</version>
<version>2.6.1</version>
<scope>test</scope>
</dependency>
</dependencies>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>com.rometools</groupId>
<artifactId>rome-parent</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</parent>
<artifactId>rome-propono</artifactId>
......@@ -45,6 +45,10 @@
<groupId>net.oauth.core</groupId>
<artifactId>oauth</artifactId>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>com.rometools</groupId>
<artifactId>rome-parent</artifactId>
<version>1.12.1</version>
<version>1.12.2</version>
</parent>
<artifactId>rome-utils</artifactId>
......