-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
40 lines (26 loc) · 1.14 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
This is the start of an export utility to export the CXF
confluence spaces to the sites. To run this manually, you need to
have a copy of the CXF website checked out to a local directory:
svn checkout https://svn.apache.org/repos/infra/websites/production/cxf/content
Build:
mvn install
You will need to pass credentials for a valid confluence user. This can be
done in one of two ways:
1) Command line:
-Dconfluence.user=username -Dconfluence.password=password
2) Profile in .m2/settings.xml
<profile>
<id>confluence</id>
<properties>
<confluence.user>user</confluence.user>
<confluence.password>passwd</confluence.password>
</properties>
</profile>
To export the space:
mvn -Pconfluence exec:java -Dcxf.site.output=/path/to/content
should appear in /path/to/content/
In the confluence profile above, you could add a property like:
<cxf.site.output>/path/to/content</cxf.site.output>
to simplify passing that into the command.
When you commit any changes in the content directory, the changes
should be "live" fairly quickly due to the svnpubsub process.