(fix) generate source to target folder

This commit is contained in:
Andreas Penski (init) 2020-04-29 17:17:16 +02:00
parent a739868c3b
commit 5886c9a0db
2 changed files with 0 additions and 112 deletions

35
pom.xml
View file

@ -145,18 +145,6 @@
</resources> </resources>
<plugins> <plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<filesets>
<fileset>
<directory>src/generated/java</directory>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
@ -278,28 +266,6 @@
</executions> </executions>
</plugin> </plugin>
<plugin>
<!-- Integrate the /src/main/generated folder -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/generated/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- Generate model classes --> <!-- Generate model classes -->
<plugin> <plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId> <groupId>org.jvnet.jaxb2.maven2</groupId>
@ -316,7 +282,6 @@
<extension>true</extension> <extension>true</extension>
<schemaDirectory>src/main/model/xsd</schemaDirectory> <schemaDirectory>src/main/model/xsd</schemaDirectory>
<bindingDirectory>src/main/model/binding</bindingDirectory> <bindingDirectory>src/main/model/binding</bindingDirectory>
<generateDirectory>src/generated/java</generateDirectory>
<packageLevelAnnotations>false</packageLevelAnnotations> <packageLevelAnnotations>false</packageLevelAnnotations>
<args> <args>
<arg>-Xinheritance</arg> <arg>-Xinheritance</arg>

View file

@ -1,77 +0,0 @@
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 generiert
// Siehe <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2020.04.29 um 05:05:04 PM CEST
//
package de.kosit.validationtool.model.daemon;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each Java content interface and Java element interface generated in the
* de.kosit.validationtool.model.daemon package.
* <p>
* An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content.
* The Java representation of XML content can consist of schema derived interfaces and classes representing the binding
* of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in
* this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _Health_QNAME = new QName("http://www.xoev.de/de/validator/framework/1/daemon", "health");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package:
* de.kosit.validationtool.model.daemon
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link HealthType }
*
*/
public HealthType createHealthType() {
return new HealthType();
}
/**
* Create an instance of {@link ApplicationType }
*
*/
public ApplicationType createApplicationType() {
return new ApplicationType();
}
/**
* Create an instance of {@link MemoryType }
*
*/
public MemoryType createMemoryType() {
return new MemoryType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link HealthType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link HealthType }{@code >}
*/
@XmlElementDecl(namespace = "http://www.xoev.de/de/validator/framework/1/daemon", name = "health")
public JAXBElement<HealthType> createHealth(HealthType value) {
return new JAXBElement<HealthType>(_Health_QNAME, HealthType.class, null, value);
}
}