You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ch...@apache.org on 2017/05/24 04:56:59 UTC

[3/9] carbondata-site git commit: pdf plugins added

pdf plugins added


Project: http://git-wip-us.apache.org/repos/asf/carbondata-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/carbondata-site/commit/88ecec59
Tree: http://git-wip-us.apache.org/repos/asf/carbondata-site/tree/88ecec59
Diff: http://git-wip-us.apache.org/repos/asf/carbondata-site/diff/88ecec59

Branch: refs/heads/asf-site
Commit: 88ecec59d6718a56e40e58bda0128e5bf560eb4d
Parents: 7a262a0
Author: jatin <ja...@knoldus.in>
Authored: Mon May 22 14:10:21 2017 +0530
Committer: jatin <ja...@knoldus.in>
Committed: Mon May 22 14:10:21 2017 +0530

----------------------------------------------------------------------
 pom.xml | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 85 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/carbondata-site/blob/88ecec59/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8b1154e..0c1a1cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,6 +125,86 @@
                 </execution>
             </executions>
         </plugin>
+        <!--PDF Generation Plugin -->
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-pdf-plugin</artifactId>
+            <version>1.3</version>
+            <executions>
+                <execution>
+                    <id>pdf</id>
+                    <phase>site</phase>
+                    <goals>
+                        <goal>pdf</goal>
+                    </goals>
+                    <configuration>
+                        <outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
+                        <includeReports>false</includeReports>
+                    </configuration>
+                </execution>
+            </executions>
+        </plugin>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-resources-plugin</artifactId>
+            <version>3.0.2</version>
+            <executions>
+                <execution>
+                    <id>publish-pdf</id>
+                    <phase>install</phase>
+                    <goals>
+                        <goal>copy-resources</goal>
+                    </goals>
+                    <configuration>
+                        <outputDirectory>${basedir}/src/pdf</outputDirectory>
+                        <resources>
+                            <resource>
+                                <directory>${basedir}/target/pdf</directory>
+                                <filtering>false</filtering>
+                                <includes>
+                                    <include>**/*.pdf</include>
+                                </includes>
+                            </resource>
+                        </resources>
+                    </configuration>
+                </execution>
+                <execution>
+                    <id>publish-site</id>
+                    <phase>install</phase>
+                    <goals>
+                        <goal>copy-resources</goal>
+                    </goals>
+                    <configuration>
+                        <outputDirectory>${basedir}/content</outputDirectory>
+                        <resources>
+                            <resource>
+                                <directory>${basedir}/target/site-17</directory>
+                                <filtering>false</filtering>
+                            </resource>
+                        </resources>
+                    </configuration>
+                </execution>
+                <execution>
+                    <id>copy-pdf</id>
+                    <phase>install</phase>
+                    <goals>
+                        <goal>copy-resources</goal>
+                    </goals>
+                    <configuration>
+                        <outputDirectory>${basedir}/content/pdf/</outputDirectory>
+                        <resources>
+                            <resource>
+                                <directory>${basedir}/target/pdf</directory>
+                                <filtering>false</filtering>
+                                <includes>
+                                    <include>**/*.pdf</include>
+                                </includes>
+                            </resource>
+                        </resources>
+                    </configuration>
+                </execution>
+            </executions>
+        </plugin>
     </plugins>
   </build>
 
@@ -134,7 +214,11 @@
       <artifactId>scala-library</artifactId>
       <version>2.12.1</version>
     </dependency>
-
+      <dependency>
+          <groupId>org.apache.maven.doxia</groupId>
+          <artifactId>doxia-module-markdown</artifactId>
+          <version>1.6</version>
+      </dependency>
     <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
     <dependency>
       <groupId>org.apache.httpcomponents</groupId>