File tree 2 files changed +30
-26
lines changed
2 files changed +30
-26
lines changed Original file line number Diff line number Diff line change 34
34
<netbeans .hint.deploy.server>Tomcat60</netbeans .hint.deploy.server>
35
35
</properties >
36
36
37
+ <distributionManagement >
38
+ <site >
39
+ <id >jansi-gh-pages</id >
40
+ <url >scm:git:https://github.com/fusesource/jansi.git</url >
41
+ </site >
42
+ </distributionManagement >
43
+
37
44
<dependencies >
38
45
39
46
<dependency >
142
149
143
150
<configuration >
144
151
<webappDirectory >${basedir} /src</webappDirectory >
145
- <remoteServerId >website.fusesource.org</remoteServerId >
146
- <remoteServerUrl >dav:http://fusesource.com/forge/dav/${forge-project-id} /versions/${project.version} /website/</remoteServerUrl >
147
152
</configuration >
148
153
149
154
<executions >
154
159
</goals >
155
160
<phase >package</phase >
156
161
</execution >
162
+ </executions >
163
+ </plugin >
164
+
165
+ <plugin >
166
+ <groupId >org.apache.maven.plugins</groupId >
167
+ <artifactId >maven-scm-publish-plugin</artifactId >
168
+ <version >1.1</version >
169
+ <configuration >
170
+ <scmBranch >gh-pages</scmBranch >
171
+ <content >${project.build.directory} /sitegen</content >
172
+ </configuration >
173
+ <executions >
157
174
<execution >
158
- <id >deploy </id >
175
+ <id >gh-pages </id >
159
176
<goals >
160
- <goal >deploy </goal >
177
+ <goal >publish-scm </goal >
161
178
</goals >
162
- <phase >deploy </phase >
163
- </execution >
179
+ <phase >install </phase >
180
+ </execution >
164
181
</executions >
165
-
166
182
</plugin >
167
183
168
184
<plugin >
187
203
</systemProperties >
188
204
<scanIntervalSeconds >0</scanIntervalSeconds >
189
205
</configuration >
190
-
191
206
</plugin >
192
207
193
208
<plugin >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ How the website works
44
44
also built using Maven so, you would
45
45
46
46
cd ${project_id}-website
47
- mvn install
47
+ mvn package
48
48
49
49
If you want to edit the files in your text editor and be able to
50
50
immediately see the site re-rendered in a browser then use
@@ -62,22 +62,11 @@ How the website works
62
62
.right
63
63
:markdown
64
64
65
- The site is automatically deployed by the CI builds, so you can
66
- simply wait for the changes to be automatically pushed to the project
67
- site.
68
-
69
- You can manually deploy the site using Maven:
65
+ # The site is automatically deployed by the CI builds, so you can
66
+ # simply wait for the changes to be automatically pushed to the project
67
+ # site.
70
68
71
- mvn deploy
72
-
73
- Since deployment to our webserver requires proper authorization,
74
- you will need to add an entry to your ~/.m2/settings.xml file simlilar
75
- to:
69
+ The site is deployed through GitHub gh-pages branch: you can deploy the site using Maven:
76
70
77
- {pygmentize:: xml}
78
- <server>
79
- <id>${project_id}-website</id>
80
- <username>xxxx</username>
81
- <password>xxxxx</password>
82
- </server>
83
- {pygmentize}
71
+ mvn install
72
+
You can’t perform that action at this time.
0 commit comments