diff --git a/word2html/.cvsignore b/word2html/.cvsignore deleted file mode 100644 index e5e33942..00000000 --- a/word2html/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -target -velocity.log -maven.log diff --git a/word2html/announcements/1.3.ann b/word2html/announcements/1.3.ann deleted file mode 100644 index d63a2ea3..00000000 --- a/word2html/announcements/1.3.ann +++ /dev/null @@ -1,17 +0,0 @@ -The Maven team is pleased to announce the Word2HTML plugin 1.3 release! - -http://maven.apache.org/reference/plugins/word2html/ - -The Maven Word2HTML plugin is a plugin that automates the conversion of .doc files into HTML. - -Changes in this version: - -o Correctly handle files with .. in the names -o Open the word documents in readonly mode -o Make plugin run when maven site is invoked - -You can download the Word2HTML plugin here: -http://www.ibiblio.org/maven/maven/plugins/maven-word2html-plugin-1.3.jar - -Have fun! -dIon \ No newline at end of file diff --git a/word2html/plugin.jelly b/word2html/plugin.jelly deleted file mode 100644 index f4b16e7e..00000000 --- a/word2html/plugin.jelly +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - scanning: ${wordSrcDir} - - - - - - - - - - - - - - Generating from ${file} to ${docsDest} - - - - - - - - - - - - - - - - - - - diff --git a/word2html/plugin.properties b/word2html/plugin.properties deleted file mode 100644 index 4a00e87c..00000000 --- a/word2html/plugin.properties +++ /dev/null @@ -1 +0,0 @@ -maven.word2html.src.dir=MAVEN_WORD2HTML_SRC_DIR_NOT_SET diff --git a/word2html/project.properties b/word2html/project.properties deleted file mode 100644 index d23f31d1..00000000 --- a/word2html/project.properties +++ /dev/null @@ -1,4 +0,0 @@ -maven.xdoc.date=left -## maven.xdoc.version=1.3 -maven.license.licenseFile=${basedir}/../LICENSE.txt - diff --git a/word2html/project.xml b/word2html/project.xml deleted file mode 100644 index 3ea1ecba..00000000 --- a/word2html/project.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - ../project.xml - 3 - maven-word2html-plugin - Maven Word to HTML Plug-in - 1.4 - A Maven plugin to convert word docs into html for project usage - Convert Word docs to HTML - http://maven.apache.org/reference/plugins/word2html/ - /www/maven.apache.org/reference/plugins/word2html/ - - scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/word2html/ - http://cvs.apache.org/viewcvs/maven-plugins/word2html/ - - - - dIon Gillard - dion - dion@multitask.com.au - Multitask Consulting - - Java Developer - - - - diff --git a/word2html/src/plugin-resources/word2html.vbs b/word2html/src/plugin-resources/word2html.vbs deleted file mode 100644 index 54963c9c..00000000 --- a/word2html/src/plugin-resources/word2html.vbs +++ /dev/null @@ -1,83 +0,0 @@ -' Word2HTML.vbs -' $Id: word2html.vbs,v 1.5 2003/08/28 05:15:09 dion Exp $ -Option Explicit - -' Creates the output directories to the same depth as the inputFile specified -' param inBaseDir The base directory for input files -' param inputFile The file being processed -' param outBaseDir The base directory for output files -Function CreateOutputDirectories(inBaseDir, inputFile, outBaseDir) - Dim relativePath - relativePath = Mid(inputFile, Len(inBaseDir)+1) - - ' ensure the path doesn't end with a \ - If Left(relativePath, 1) = "\" Then - relativePath = Right(relativePath, Len(relativePath) - 1) - End If - - ' ensure the input basedir doesn't end with a \ - If Right(inBaseDir, 1) = "\" Then - baseDir = Left(inBaseDir, Len(inBaseDir) - 1) - End If - - ' ensure the output basedir doesn't end with a \ - If Right(outBaseDir, 1) = "\" Then - outBaseDir = Left(outBaseDir, Len(outBaseDir) - 1) - End If - - Dim index, folder, paths, Files - paths = Split(relativePath, "\") - folder = outBaseDir - Set Files = WScript.CreateObject("Scripting.FileSystemObject") - For index = LBound(paths) to UBound(paths) -1 - folder = folder & "\" & paths(index) - If Not Files.FolderExists(folder) Then - Files.CreateFolder(folder) - End If - Next - - CreateOutputDirectories = folder -End Function - -Function ExportAsHTML(inputFile, outputFile) - Dim obj, HTMLFormat, wdDoNotSaveChanges - Set obj = WScript.CreateObject("Word.Application") - HTMLFormat = 8 - wdDoNotSaveChanges = 0 - - obj.Visible = FALSE - obj.Documents.Open inputFile,,True - obj.ActiveDocument.SaveAs outputFile, HTMLFormat - obj.Quit wdDoNotSaveChanges - -End Function - -' Main chunk of code -Dim basedir, FileSys, inputFile, outputDir, outputFile -On Error Resume Next - -' work out the directory structure for the input file -Set FileSys = WScript.CreateObject("Scripting.FileSystemObject") - -' Fully Qualified File name -inputFile=FileSys.GetAbsolutePathName(WScript.Arguments(0)) -' Directory to place results in -outputDir=FileSys.GetAbsolutePathName(WScript.Arguments(1)) -' base directory for the input file -basedir = FileSys.GetAbsolutePathName(WScript.Arguments(2)) - -outputFile = CreateOutputDirectories(basedir, inputFile, outputDir) & "\" & _ - FileSys.GetBaseName(inputFile) & ".html" - -' check if output file exists and is newer than input file -' if it is, skip output -If FileSys.Exists(outputFile) Then - Dim fileOutput, fileInput - Set fileOutput = FileSys.GetFile(outputFile) - Set fileInput = FileSys.GetFile(inputFile) - If fileOutput.DateLastModified < fileInput.DateLastModified Then - ExportAsHTML inputFile, outputFile - End If -Else - ExportAsHTML inputFile, outputFile -End If \ No newline at end of file diff --git a/word2html/xdocs/.cvsignore b/word2html/xdocs/.cvsignore deleted file mode 100644 index cb6131bb..00000000 --- a/word2html/xdocs/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -stylesheets diff --git a/word2html/xdocs/1.3/changes.xml b/word2html/xdocs/1.3/changes.xml deleted file mode 100644 index 245c3588..00000000 --- a/word2html/xdocs/1.3/changes.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - Changes - dIon Gillard - - - - - - - Correctly handle files with .. in the names - - - Open the word documents in readonly mode - - - Make plugin run when maven site is invoked - - - - - - diff --git a/word2html/xdocs/1.3/goals.xml b/word2html/xdocs/1.3/goals.xml deleted file mode 100644 index c3324e22..00000000 --- a/word2html/xdocs/1.3/goals.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Maven word2html Plug-in Goals - dIon Gillard - - - - - word2html:generate - Generate HTML docs from Word via CScript - - - word2html:prepare-filesystem - Create directories needed for the plugin - - - - \ No newline at end of file diff --git a/word2html/xdocs/1.3/index.xml b/word2html/xdocs/1.3/index.xml deleted file mode 100644 index 3443ad7f..00000000 --- a/word2html/xdocs/1.3/index.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Maven Word 2 HTML Plug-in - dIon Gillard - - - -
-

- This plug-in allows you to write your project documentation in Microsoft - Word, and generate HTML from it on a Windows platform - only. -

-

- It converts Word documents to HTML using the - - Microsoft® Windows® Script. You will need this installed to - successfully use this plugin. -

-

- To use this plug-in, make sure the property - ${maven.word2html.src.dir} has been set and run the - site:generate goal. -

-

- All documents matching *.doc in the directory will be - converted to HTML. -

-
- -
diff --git a/word2html/xdocs/1.3/navigation.xml b/word2html/xdocs/1.3/navigation.xml deleted file mode 100644 index 6545ac52..00000000 --- a/word2html/xdocs/1.3/navigation.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - Maven word2html Plugin - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/word2html/xdocs/1.3/properties.xml b/word2html/xdocs/1.3/properties.xml deleted file mode 100644 index 9bad61e4..00000000 --- a/word2html/xdocs/1.3/properties.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - word2html Properties - dIon Gillard - - -
- - - - - - - - - - - -
PropertyOptional?Description
maven.word2html.src.dirYes -

Default value is - MAVEN_WORD2HTML_SRC_DIR_NOT_SET.

-
-
- -
\ No newline at end of file diff --git a/word2html/xdocs/changes.xml b/word2html/xdocs/changes.xml deleted file mode 100644 index 245c3588..00000000 --- a/word2html/xdocs/changes.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - Changes - dIon Gillard - - - - - - - Correctly handle files with .. in the names - - - Open the word documents in readonly mode - - - Make plugin run when maven site is invoked - - - - - - diff --git a/word2html/xdocs/current/changes.xml b/word2html/xdocs/current/changes.xml deleted file mode 100644 index 60a0c45a..00000000 --- a/word2html/xdocs/current/changes.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - Changes - dIon Gillard - - - - - - update to use maven.docs.*/maven.gen.docs - set maven.xdoc.version to 1.3 release for site - - - - - Correctly handle files with .. in the names - - - Open the word documents in readonly mode - - - Make plugin run when maven site is invoked - - - - - - diff --git a/word2html/xdocs/current/goals.xml b/word2html/xdocs/current/goals.xml deleted file mode 100644 index c3324e22..00000000 --- a/word2html/xdocs/current/goals.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Maven word2html Plug-in Goals - dIon Gillard - - - - - word2html:generate - Generate HTML docs from Word via CScript - - - word2html:prepare-filesystem - Create directories needed for the plugin - - - - \ No newline at end of file diff --git a/word2html/xdocs/current/index.xml b/word2html/xdocs/current/index.xml deleted file mode 100644 index 3443ad7f..00000000 --- a/word2html/xdocs/current/index.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Maven Word 2 HTML Plug-in - dIon Gillard - - - -
-

- This plug-in allows you to write your project documentation in Microsoft - Word, and generate HTML from it on a Windows platform - only. -

-

- It converts Word documents to HTML using the - - Microsoft® Windows® Script. You will need this installed to - successfully use this plugin. -

-

- To use this plug-in, make sure the property - ${maven.word2html.src.dir} has been set and run the - site:generate goal. -

-

- All documents matching *.doc in the directory will be - converted to HTML. -

-
- -
diff --git a/word2html/xdocs/current/properties.xml b/word2html/xdocs/current/properties.xml deleted file mode 100644 index 9bad61e4..00000000 --- a/word2html/xdocs/current/properties.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - word2html Properties - dIon Gillard - - -
- - - - - - - - - - - -
PropertyOptional?Description
maven.word2html.src.dirYes -

Default value is - MAVEN_WORD2HTML_SRC_DIR_NOT_SET.

-
-
- -
\ No newline at end of file diff --git a/word2html/xdocs/goals.xml b/word2html/xdocs/goals.xml deleted file mode 100644 index c3324e22..00000000 --- a/word2html/xdocs/goals.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Maven word2html Plug-in Goals - dIon Gillard - - - - - word2html:generate - Generate HTML docs from Word via CScript - - - word2html:prepare-filesystem - Create directories needed for the plugin - - - - \ No newline at end of file diff --git a/word2html/xdocs/index.xml b/word2html/xdocs/index.xml deleted file mode 100644 index 3443ad7f..00000000 --- a/word2html/xdocs/index.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Maven Word 2 HTML Plug-in - dIon Gillard - - - -
-

- This plug-in allows you to write your project documentation in Microsoft - Word, and generate HTML from it on a Windows platform - only. -

-

- It converts Word documents to HTML using the - - Microsoft® Windows® Script. You will need this installed to - successfully use this plugin. -

-

- To use this plug-in, make sure the property - ${maven.word2html.src.dir} has been set and run the - site:generate goal. -

-

- All documents matching *.doc in the directory will be - converted to HTML. -

-
- -
diff --git a/word2html/xdocs/navigation.xml b/word2html/xdocs/navigation.xml deleted file mode 100644 index 5dcfa20c..00000000 --- a/word2html/xdocs/navigation.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - Maven word2html Plugin - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/word2html/xdocs/properties.xml b/word2html/xdocs/properties.xml deleted file mode 100644 index 9bad61e4..00000000 --- a/word2html/xdocs/properties.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - word2html Properties - dIon Gillard - - -
- - - - - - - - - - - -
PropertyOptional?Description
maven.word2html.src.dirYes -

Default value is - MAVEN_WORD2HTML_SRC_DIR_NOT_SET.

-
-
- -
\ No newline at end of file