Skip to content

Commit

Permalink
To v1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Sep 22, 2023
1 parent fe071d7 commit 18c2ce4
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 10 deletions.
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.neuroml.model</groupId>
<artifactId>org.neuroml.model</artifactId>
<version>1.9.1</version>
<version>1.10.0</version>
<packaging>bundle</packaging>
<properties>
<build.version2>2.3</build.version2>
<build.version2>2.3.1</build.version2>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand All @@ -19,12 +19,12 @@
<dependency>
<groupId>org.neuroml.model.injectingplugin</groupId>
<artifactId>org.neuroml.model.injectingplugin</artifactId>
<version>1.9.1</version>
<version>1.10.0</version>
</dependency>
<dependency>
<groupId>org.neuroml.core</groupId>
<artifactId>neuroml2-base-definitions</artifactId>
<version>1.9.1</version>
<version>1.10.0</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -64,7 +64,7 @@
&lt;br /&gt;
&lt;br /&gt;
</top>
<bottom>Copyright NeuroML Contributors 2022</bottom>
<bottom>Copyright NeuroML Contributors 2023</bottom>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -105,7 +105,7 @@
</goals>
<configuration>
<resourceBundles>
<resourcebundle>org.neuroml.core:neuroml2-base-definitions:1.9.1</resourcebundle>
<resourcebundle>org.neuroml.core:neuroml2-base-definitions:1.10.0</resourcebundle>
</resourceBundles>
</configuration>
</execution>
Expand Down Expand Up @@ -198,7 +198,7 @@
<plugin>
<groupId>org.neuroml.model.injectingplugin</groupId>
<artifactId>org.neuroml.model.injectingplugin</artifactId>
<version>1.9.1</version>
<version>1.10.0</version>
</plugin>
</plugins>
</configuration>
Expand Down
7 changes: 4 additions & 3 deletions src/main/java/org/neuroml/model/util/NeuroMLElements.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class NeuroMLElements {

public static final String ORG_NEUROML_MODEL_VERSION = "1.9.1";
public static final String ORG_NEUROML_MODEL_VERSION = "1.10.0";

public static final String NAMESPACE_URI_VERSION_2 = "http://www.neuroml.org/schema/neuroml2";

Expand All @@ -17,11 +17,12 @@ public class NeuroMLElements {
public static final String DEFAULT_SCHEMA_LOCATION_VERSION_2_1 = "https://raw.githubusercontent.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.1.xsd";
public static final String DEFAULT_SCHEMA_LOCATION_VERSION_2_2 = "https://raw.githubusercontent.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.2.xsd";
public static final String DEFAULT_SCHEMA_LOCATION_VERSION_2_3 = "https://raw.githubusercontent.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.3.xsd";
public static final String DEFAULT_SCHEMA_LOCATION_VERSION_2_3_1 = "https://raw.githubusercontent.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.3.1.xsd";


public static final String LATEST_SCHEMA_VERSION = "2.3";
public static final String LATEST_SCHEMA_VERSION = "2.3.1";
public static final String LATEST_SCHEMA = "/Schemas/NeuroML2/NeuroML_v"+LATEST_SCHEMA_VERSION+".xsd";
public static final String LATEST_SCHEMA_LOCATION = DEFAULT_SCHEMA_LOCATION_VERSION_2_3;
public static final String LATEST_SCHEMA_LOCATION = DEFAULT_SCHEMA_LOCATION_VERSION_2_3_1;

// Top level...
public static final String NEUROML_ROOT = "neuroml";
Expand Down
23 changes: 23 additions & 0 deletions src/main/resources/bindings/NeuroML_v2.3.1.xjb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

<jxb:bindings version="2.0"
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema">

<jxb:bindings schemaLocation="../NeuroML_v2.3.1.xsd" node="/xs:schema">

<jxb:schemaBindings>
<jxb:package name="org.neuroml.model"/>
</jxb:schemaBindings>

<jxb:bindings node=".//xs:attribute[@name='morphology']">
<jxb:property name="morphologyAttr"/>
</jxb:bindings>

<jxb:bindings node=".//xs:attribute[@name='biophysicalProperties']">
<jxb:property name="biophysicalPropertiesAttr"/>
</jxb:bindings>


</jxb:bindings>

</jxb:bindings>

0 comments on commit 18c2ce4

Please sign in to comment.