I hereby claim:
- I am altfatterz on github.
- I am altfatterz (https://keybase.io/altfatterz) on keybase.
- I have a public key ASAnynokbxBgngEwA0RkQqIKpe6I9hDyZb7E2fyurSOozwo
To claim this, I am signing this object:
| #!/bin/sh | |
| REMOTE=mb | |
| BRANCH=$(git rev-parse --abbrev-ref HEAD) | |
| BATCH_SIZE=10 | |
| # count the number of commits to push | |
| n=$(git rev-list --count HEAD) | |
| echo "Commits to push: $n" |
| <build> | |
| <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> | |
| <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-clean-plugin</artifactId> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> |
I hereby claim:
To claim this, I am signing this object:
| <dependency> | |
| <groupId>javax.xml.bind</groupId> | |
| <artifactId>jaxb-api</artifactId> | |
| <version>2.2.7</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.sun.xml.bind</groupId> | |
| <artifactId>jaxb-impl</artifactId> | |
| <version>2.2.7</version> | |
| </dependency> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xs:schema elementFormDefault="qualified" | |
| targetNamespace="http://www.backbase.com/ns/widgets" | |
| xmlns:bb="http://www.backbase.com/ns/widgets" | |
| xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
| <!-- widget definition root element --> | |
| <xs:element name="widget" type="bb:widgetType"/> | |
| <!-- widget definition data types --> |
| @XmlAccessorType(XmlAccessType.FIELD) | |
| public class WidgetResourceRef { | |
| @XmlAttribute | |
| private String type; | |
| @XmlAttribute | |
| private String src; | |
| /** Default constructor, needed for JAXB framework */ |
| @XmlRootElement(name = "widget", namespace = "http://www.backbase.com/ns/widgets") | |
| @XmlAccessorType(XmlAccessType.FIELD) | |
| public class WidgetConfig { | |
| @XmlElementWrapper(name = "resources", namespace = "http://www.backbase.com/ns/widgets") | |
| @XmlElement(name = "resource", namespace = "http://www.backbase.com/ns/widgets") | |
| private List<WidgetResourceRef> widgetResourceRefs; | |
| public WidgetConfig() { | |
| widgetResourceRefs = new ArrayList<>(); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <bb:widget xmlns:bb="http://www.backbase.com/ns/widgets"> | |
| <bb:resources> | |
| <bb:resource type="text/css" src="css/wrap-layout.css"/> | |
| <bb:resource type="text/javascript" src="template/wrap-layout.js"/> | |
| <bb:resource type="image/png" src="png/wrap-layout.js"/> | |
| </bb:resources> | |
| </bb:widget> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <beans xmlns="http://www.springframework.org/schema/beans" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:oxm="http://www.springframework.org/schema/oxm" | |
| xsi:schemaLocation="http://www.springframework.org/schema/beans | |
| http://www.springframework.org/schema/beans/spring-beans.xsd | |
| http://www.springframework.org/schema/oxm | |
| http://www.springframework.org/schema/oxm/spring-oxm.xsd"> | |
| <oxm:jaxb2-marshaller id="marshaller"> |
| @XmlSchema( | |
| xmlns = { | |
| @XmlNs(prefix = "bb", namespaceURI ="http://www.backbase.com/ns/widgets"), | |
| }, | |
| elementFormDefault = XmlNsForm.QUALIFIED | |
| ) | |
| package com.za.jaxb.widget; | |
| import javax.xml.bind.annotation.XmlNs; | |
| import javax.xml.bind.annotation.XmlNsForm; |