Hi, I just deployed a modified version of jmoby-1.1.3-taverna-2 (and
jmoby-dashboard) to the myGrid repository.
The modification that was needed was an outdated <repository> listing. From:
<repository>
<id>java.net</id>
<url>https://maven-repository.dev.java.net/repository/</url>
<layout>legacy</layout>
</repository>
to:
<repository>
<id>java.net</id>
<url>http://download.java.net/maven/1</url>
<layout>legacy</layout>
</repository>
See
http://www.mygrid.org.uk/maven/repository/org/biomoby/jmoby/1.1.3-taverna-2/jmoby-1.1.3-taverna-2.pom
The reason is that Maven earlier than 2.2 don't seem to handle 301
Permanent redirect - and instead stores the HTML for the redirection
page directly in .m2/repository - even when you get a 404 after the
redirection - leading to build errors like:
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
error: error reading
C:\Users\hudson\.m2\repository\commons-discovery\commons-discovery\0.4\commons-discovery-0.4.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\commons-dbcp\commons-dbcp\1.1\commons-dbcp-1.1.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\commons-configuration\commons-configuration\1.5\commons-configuration-1.5.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\castor\castor\0.9.5\castor-0.9.5.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\com\hp\hpl\jena\jena\2.5.4\jena-2.5.4.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\javax\xml\jaxb-impl\2.0EA3\jaxb-impl-2.0EA3.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\javax\xml\jaxb-xjc\2.0EA3\jaxb-xjc-2.0EA3.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\com\ibm\icu\icu4j\3.8\icu4j-3.8.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\com\artofsolving\jodconverter\2.2.1\jodconverter-2.2.1.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\org\openoffice\juh\2.3.1\juh-2.3.1.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\mysql\mysql-connector-java\3.1.14\mysql-connector-java-3.1.14.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\org\apache\ant\ant-nodeps\1.7.0\ant-nodeps-1.7.0.jar;
error in opening zip file
error: error reading
C:\Users\hudson\.m2\repository\ant-contrib\ant-contrib\1.0b2\ant-contrib-1.0b2.jar;
error in opening zip file
I've updated the biomoby-activity to depend on this new jmoby artifact.
--
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information