Revision: 579
Author: mr0...@mro.name
Date: Mon Jul 27 08:33:31 2009
Log: issue#108 better make the deployment target depend on machine+user but  
on profiles.
http://code.google.com/p/piccolo2d/source/detail?r=579

Modified:
  /piccolo2d.java/branches/mvn4hudson/parent/pom.xml

=======================================
--- /piccolo2d.java/branches/mvn4hudson/parent/pom.xml  Mon Jul 27 07:23:53  
2009
+++ /piccolo2d.java/branches/mvn4hudson/parent/pom.xml  Mon Jul 27 08:33:31  
2009
@@ -318,24 +318,25 @@
                        </plugin>
                </plugins>
        </reporting>
-       <profiles>
-               <profile>
-                       <id>hudson</id>
-                       <distributionManagement>
-                               <site>
-                                       <id>hudson.p2d.trunk</id>
-                                       <url>file:///var/www/piccolo2d/</url>
-                               </site>
-                       </distributionManagement>
-               </profile>
-               <profile>
-                       <id>dropbox</id>
-                       <distributionManagement>
-                               <site>
-                                       <id>dropbox.p2d.trunk</id>
-                                       
<url>file://${HOME}/Dropbox/Public/piccolo2d.java/site-stage/</url>
-                               </site>
-                       </distributionManagement>
-               </profile>
-       </profiles>
+       <distributionManagement>
+<!-- use a ~/.m2/settings.xml like this:
+<settings>
+  <profiles>
+    <profile>
+      <id>always</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <properties>
+         
<piccolo2d.file.site.base>file:///var/www/piccolo2d/</piccolo2d.file.site.base>
+      </properties>
+    </profile>
+  </profiles>
+</settings>
+-->
+               <site>
+                       <id>maven.site</id>
+                       <url>${piccolo2d.file.site.base}</url>
+               </site>
+       </distributionManagement>
  </project>

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to