[
http://jira.codehaus.org/browse/MOJO-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Wiedmann closed MOJO-1471.
---------------------------------
Resolution: Fixed
Fix Version/s: xml-maven-plugin 1.0-beta-4
Catalogs can now be given as URL's.
> Allow catalog-files to be loaded from external urls
> ---------------------------------------------------
>
> Key: MOJO-1471
> URL: http://jira.codehaus.org/browse/MOJO-1471
> Project: Mojo
> Issue Type: Improvement
> Components: xml
> Environment: I try the following:
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>xml-maven-plugin</artifactId>
> <executions>
> <execution>
> <phase>validate</phase>
> <goals>
> <goal>validate</goal>
> </goals>
> <configuration>
> <validationSets>
> <validationSet>
> <dir>somedirector</dir>
> <includes>
> <include>*.xml</include>
> </includes>
> <publicId>http://someplublicid/</publicId>
> <validating>true</validating>
> </validationSet>
> </validationSets>
> <catalogs>
>
> <catalog>http://someurl/somepath/spice_online_catalog.xml</catalog>
> </catalogs>
> </configuration>
> </execution>
> </executions>
> </plugin>
> Reporter: Andreas Eternach
> Assignee: Jochen Wiedmann
> Fix For: xml-maven-plugin 1.0-beta-4
>
>
> Internally the class AbstractXmlMojo handles all catalog-locations as
> File-Object.
> It checks whether the file is absolute, if not, then the pase-dir is
> prepended.
> After this the catalog location is
> baseDir/http://someurl/somepath/spice_online_catalog.xml.
> The catalog can not be loaded.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email