Skip to content
Snippets Groups Projects
Commit 700bf2c6 authored by srosse's avatar srosse
Browse files

no-jira: allow snapshot from our repo

parent 938b6367
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.openolat</groupId>
<artifactId>openolat-lms</artifactId>
<version>10.3-SNAPSHOT</version>
<version>11.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>OpenOLAT LMS</name>
<url>http://www.openolat.org</url>
......@@ -1065,9 +1065,9 @@
</snapshots>
</repository>
<repository>
<id>maven2-repository.java.net</id>
<id>java.net-Public</id>
<name>Java.net repository for Maven</name>
<url>https://maven.java.net/content/repositories/public</url>
<url>https://maven.java.net/content/groups/public/</url>
<layout>default</layout>
</repository>
<repository>
......@@ -1088,6 +1088,16 @@
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
<repository>
<id>www2.ph.ed.ac.uk</id>
<url>http://www2.ph.ed.ac.uk/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>openolat-repo</id>
......@@ -1099,7 +1109,7 @@
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
......
......@@ -990,8 +990,8 @@ ldap.learningResourceManagerRoleValue=
# Build properties
#####
application.name=OpenOLAT
build.version=10.3a
build.identifier=openolat103a-dev
build.version=11.0a
build.identifier=openolat110a-dev
build.repo.revision=local-devel
#####
......
......@@ -329,7 +329,7 @@ public class AssessmentItemPackageTest {
ResourceLocator fileResourceLocator = new PathResourceLocator(outputFile.toPath());
AssessmentObjectXmlLoader assessmentObjectXmlLoader = new AssessmentObjectXmlLoader(qtiXmlReader, fileResourceLocator);
ItemValidationResult item = assessmentObjectXmlLoader.loadResolveAndValidateItem(outputFile.toURI());
System.out.println("Has errors: " + item.hasErrors());
System.out.println("Has errors: " + (item.getModelValidationErrors().size() > 0));
}
private P getParagraph(QtiNode parent, String content) {
......
......@@ -167,10 +167,10 @@ public class AssessmentTestPackageTest {
AssessmentObjectXmlLoader assessmentObjectXmlLoader = new AssessmentObjectXmlLoader(qtiXmlReader, fileResourceLocator);
TestValidationResult test = assessmentObjectXmlLoader.loadResolveAndValidateTest(outputFile.toURI());
System.out.println("Has errors: " + test.hasErrors());
for(Notification notification: test.getErrors()) {
System.out.println("Has errors: " + (test.getModelValidationErrors().size() > 0));
for(Notification notification: test.getModelValidationErrors()) {
System.out.println(notification.getQtiNode() + " : " + notification.getMessage());
}
Assert.assertFalse(test.hasErrors());
Assert.assertTrue(test.getModelValidationErrors().isEmpty());
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment