Skip to content

Commit a6af8b1

Browse files
committed
tweaking the FTP deploying
1 parent ea3fe49 commit a6af8b1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,15 @@
8484
<!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
8585
<site>
8686
<id>mybatis.site</id>
87-
<url>ftp://${mybatis.host}/core/</url>
87+
<!--
88+
| make it overridible, FTP is terribly slow when launched from Maven Wagon
89+
| an alternative strategy could be deploying the site locally
90+
|
91+
| -Dsite.deploymentUrl=file://...
92+
|
93+
| then async redeploying it via Filezilla/whatelese
94+
-->
95+
<url>${site.deploymentUrl}</url>
8896
</site>
8997
</distributionManagement>
9098

@@ -94,6 +102,10 @@
94102
<osgi.export>org.apache.ibatis.*;version=${project.version};-noimport:=true</osgi.export>
95103
<osgi.import>!ognl,net.sf.cglib.proxy;resolution:=optional,org.apache.commons.logging;resolution:=optional,org.apache.log4j;resolution:=optional,org.slf4j;resolution:=optional,*</osgi.import>
96104
<osgi.dynamicImport>*</osgi.dynamicImport>
105+
<!--
106+
| see distributionManagement.site.url
107+
-->
108+
<site.deploymentUrl>ftp://${mybatis.host}/core/</site.deploymentUrl>
97109
</properties>
98110

99111
<dependencies>

0 commit comments

Comments
 (0)