[
http://jira.jboss.com/jira/browse/JBPORTAL-1687?page=comments#action_1237... ]
Wesley Hales commented on JBPORTAL-1687:
----------------------------------------
I went ahead and wrote a simple perl & xslt script that indexes all the jars in
repository.jboss.org. This makes life much easier in finding dependencies to migrate the
modules, but it will become stale on a daily basis. The jboss-repo.xml could probably be
created nightly somewhere...
I also attached the .pl and .xsl files to generate the index. Note, the code was thrown
together fairly quick and you WILL need to cleanup the generated xml using find &
replace for some elements. Any improvements are appreciated ;)
1.) svn co
https://svn.jboss.org/repos/repository.jboss.org/maven2
2.) add the pl and xsl file to the maven2 folder
3.) perl gen-pom.pl
4.) view the gen-pom.xml file in firefox and edit the xml by finding & removing
non-xml elements until it finally renders in the browser.
5.) click on view generated source, and you have a list of all dependencies
I did a count on the jars and there were approx 977 in repo to date. This xml contains
around 833 which is enough to probably migrate most projects. If you can't find your
dependency here, do a google search using "my.jar"
site:http://repository.jboss.org/maven2 just to make sure.
Maven modules migration
-----------------------
Key: JBPORTAL-1687
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1687
Project: JBoss Portal
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Reporter: Julien Viet
Assigned To: Wesley Hales
Fix For: 2.8 Final
Attachments: gen-pom.pl, jboss-repo.xml, pom-template.xsl
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira