smooks / unedifact

Smooks UN/EDIFACT Artifact Generation Sources
http://www.smooks.org
36 stars 37 forks source link

Unable to build source code against Smooks version 1.5 with Maven #21

Closed manish-in-java closed 6 years ago

manish-in-java commented 6 years ago

Attempting to build source code from the 1.4 tag leads to a build failure.

> mvn package
> ...
> Failed to execute goal
> The POM for org.eclipse.xsd:org.eclipse.xsd:jar:2.6.0.v20100914-1218 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

Indeed, version 2.6.0.v20100914-1218 of the said dependency does not exist on Maven Central.

manish-in-java commented 6 years ago

The earliest dependency version available in Maven Central is 2.7.0-v20110606-0949. Upgrading to this version now fails the build with the following error.

> mvn package
> ...
> Failed to execute goal
> A required class was missing while executing org.milyn:maven-ect-plugin:1.5:generate: org/eclipse/emf/ecore/EAttribute
manish-in-java commented 6 years ago

The org.eclipse.emf.ecore.EAttribute class is part of the org.eclipse.emf:org.eclipse.emf.ecore dependency. The dependency version included in the plugin POM does not exist on Maven Central, hence the build failure. The closest dependency version available on Maven Central is 2.7.0-v20110605-0747. Upgrading to this version now fails the build with the following error.

> mvn package
> ...
> Failed to execute goal org.milyn:maven-ect-plugin:1.5:generate
> A required class was missing while executing org.milyn:maven-ect-plugin:1.5:generate: org/eclipse/emf/common/notify/Notifier
manish-in-java commented 6 years ago

The org.eclipse.emf.common.notify.Notifier class is part of the org.eclipse.emf:org.eclipse.emf.common dependency. The dependency version included in the plugin POM does not exist on Maven Central, hence the build failure. The closest dependency version available on Maven Central is 2.6.0.v20100614-1136. Upgrading to this version now fails the build with the following error.

> mvn package
> ...
> Failed to execute goal org.milyn:maven-ect-plugin:1.5:generate
> A required class was missing while executing org.milyn:maven-ect-plugin:1.5:generate: org/eclipse/xsd/ecore/EcoreSchemaBuilder
manish-in-java commented 6 years ago

The org.eclipse.xsd.ecore.EcoreSchemaBuilder is part of the org.eclipse.xsd:org.eclipse.xsd module. The closest dependency version available on Maven Central is 2.7.0-v20110606-0949.

manish-in-java commented 6 years ago

Fixed transitive dependency versions to get the build working.