xmlbeans, difference between scomp and mvn package

Laurent GARNIER <[email protected]> Tue, 30 Aug 2022 22:56:23 +0200
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <CAKUZsD25ZRLjURUyQVNLtYRZYB0F6ujhSXBipWjVN_5e84=zgg@mail.gmail.com>
Hi,
I have a schema file and compilation with scomp is fine.
But when I try to use maven possibility (to put targeted jar in
artifactory), base types (String, etc) are missing in target jar.
Schema and pom are in attached files.
Can someone help me ?
I searched for a while to resolve this problem.
Did I miss something ?
Many thanks
Laurent
(sorry for my poor english, I'm french...)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
pom.xml (text/xml, 1.5 KB)
<?xml version="1.0"?>
<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.mia.itmf.xml</groupId>
    <artifactId>datamigratortype</artifactId>
    <version>1.4.2-SNAPSHOT</version>
    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
    <packaging>jar</packaging>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.xmlbeans</groupId>
                <artifactId>xmlbeans</artifactId>
                <version>5.1.0</version>
                <executions><execution><goals><goal>compile</goal></goals></execution></executions>
				<configuration>
					<mdefNamespaces>
						<mdefNamespace>http://www.datamigrator.itmf.mia.com/type</mdefNamespace>
					</mdefNamespaces>
				</configuration>
                <dependencies>
                    <dependency>
                        <groupId>org.apache.logging.log4j</groupId>
                        <artifactId>log4j-core</artifactId>
                        <version>2.17.1</version>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        
		<!-- https://mvnrepository.com/artifact/org.apache.xmlbeans/xmlbeans -->
		<dependency>
			<groupId>org.apache.xmlbeans</groupId>
			<artifactId>xmlbeans</artifactId>
			<version>5.1.0</version>
		</dependency>

    </dependencies>
</project>