[Yanel-commits] rev 26786 - in public/yanel/contributions/realms/maven: . config res-configs

simon at wyona.com simon at wyona.com
Fri Aug 17 17:47:58 CEST 2007


Author: simon
Date: 2007-08-17 17:47:57 +0200 (Fri, 17 Aug 2007)
New Revision: 26786

Modified:
   public/yanel/contributions/realms/maven/README.txt
   public/yanel/contributions/realms/maven/config/data-repository.xml
   public/yanel/contributions/realms/maven/res-configs/directory.yanel-rc
Log:
change to VFileSystem. now it's possible to browse the repo via directory resource-type.

Modified: public/yanel/contributions/realms/maven/README.txt
===================================================================
--- public/yanel/contributions/realms/maven/README.txt	2007-08-17 15:37:26 UTC (rev 26785)
+++ public/yanel/contributions/realms/maven/README.txt	2007-08-17 15:47:57 UTC (rev 26786)
@@ -7,20 +7,3 @@
 <content src="/home/simon/.m2/repository/"/>
 or
 <content src="/var/www/wyona.org/app/maven2/"/>
-
-add an info file to the repo (e.g. /var/www/wyona.org/app/maven2/info.xhtml)
-which is showing up if accessing a directory (e.g. http://www.wyona.org/maven2/xalan/xalan/2.7.0/)
-
-example content of such a file (info.xhtml):
-
-<html>
-  <head>
-    <title>Wyona Maven Repository</title>
-    <style></style>
-  </head>
-  <body>
-    <h1>Wyona Maven Repository</h1>
-    <p>This is the wyona maven repository. This is not thought to be used by humans, rather by maven.</p>
-  </body>
-</html>
-

Modified: public/yanel/contributions/realms/maven/config/data-repository.xml
===================================================================
--- public/yanel/contributions/realms/maven/config/data-repository.xml	2007-08-17 15:37:26 UTC (rev 26785)
+++ public/yanel/contributions/realms/maven/config/data-repository.xml	2007-08-17 15:47:57 UTC (rev 26786)
@@ -1,10 +1,13 @@
 <?xml version="1.0"?>
 
-<repository class="org.wyona.yarep.impl.repo.fs.FileSystemRepository">
+<repository>
   <name>Maven Data Repository</name>
-  <paths class="org.wyona.yarep.impl.DefaultMapImpl" src="../data-paths" fallback="true">
+  <paths class="org.wyona.yarep.impl.VFileSystemMapImpl" src="/home/simon/.m2/repository/">
     <ignore pattern=".*\.svn"/>
     <ignore pattern=".*\.yarep"/>
   </paths>
-  <content src="/home/simon/.m2/repository/"/>
+
+  <storage class="org.wyona.yarep.core.impl.vfs.VFileSystemStorage">
+    <content src="/home/simon/.m2/repository/"/>
+  </storage>  
 </repository>

Modified: public/yanel/contributions/realms/maven/res-configs/directory.yanel-rc
===================================================================
--- public/yanel/contributions/realms/maven/res-configs/directory.yanel-rc	2007-08-17 15:37:26 UTC (rev 26785)
+++ public/yanel/contributions/realms/maven/res-configs/directory.yanel-rc	2007-08-17 15:47:57 UTC (rev 26786)
@@ -1,8 +1,5 @@
 <?xml version="1.0"?>
 
 <yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
-  <yanel:rti name="xml" namespace="http://www.wyona.org/yanel/resource/1.0"/>
-
-  <yanel:property name="yanel-path" value="/info.xhtml"/>
-  <yanel:property name="mime-type" value="application/xhtml+xml"/>
+  <yanel:rti name="directory" namespace="http://www.wyona.org/yanel/resource/1.0"/>
 </yanel:resource-config>
\ No newline at end of file



More information about the Yanel-commits mailing list