Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated version to 2.4 (couldn't use the release plugin's prepare goa…

…l because we're depending on a SNAPSHOT of docbkx)
  • Loading branch information...
commit f3e514653ed95718aef29ff86e7584edf31bac36 1 parent e055557
@tobrien tobrien authored
View
2  nxbook-content/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.sonatype.nexusbook</groupId>
<artifactId>nxbook-parent</artifactId>
- <version>2.4-SNAPSHOT</version>
+ <version>2.4</version>
</parent>
<artifactId>nxbook-content</artifactId>
<packaging>jar</packaging>
View
2  nxbook-epub/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.sonatype.nexusbook</groupId>
<artifactId>nxbook-parent</artifactId>
- <version>2.4-SNAPSHOT</version>
+ <version>2.4</version>
</parent>
<artifactId>nxbook-epub</artifactId>
<packaging>jar</packaging>
View
136 nxbook-epub/pom.xml.versionsBackup
@@ -0,0 +1,136 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.sonatype.nexusbook</groupId>
+ <artifactId>nxbook-parent</artifactId>
+ <version>2.4-SNAPSHOT</version>
+ </parent>
+ <artifactId>nxbook-epub</artifactId>
+ <packaging>jar</packaging>
+ <name>Repository Management with Nexus (ePub)</name>
+ <description>A book about Sonatype Nexus</description>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>true</filtering>
+ <includes>
+ <include>epub_chunk.xsl</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cjcook</groupId>
+ <artifactId>docbook-plugin</artifactId>
+ <version>1.0</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <escapeString>\</escapeString>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>com.agilejava.docbkx</groupId>
+ <artifactId>docbkx-maven-plugin</artifactId>
+ <version>${docbkx-tools.version}</version>
+ <dependencies>
+ <dependency>
+ <groupId>docbook</groupId>
+ <artifactId>docbook-xml</artifactId>
+ <version>4.5</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>generate-epub</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>generate-epub</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <sourceDirectory>${basedir}/target/docbook</sourceDirectory>
+ <targetDirectory>${basedir}/target/epub</targetDirectory>
+ <includes>book-nexus.xml</includes>
+ <xincludeSupported>true</xincludeSupported>
+ <bookFile>${project.build.directory}/book-nexus.epub</bookFile>
+ <htmlStylesheet>epub-custom.css</htmlStylesheet>
+ <epubCustomization>${basedir}/src/main/resources/epub-custom.xsl</epubCustomization>
+ <postProcess>
+ <!-- Copy the images -->
+ <copy todir="${project.build.directory}/epub/figs/web">
+ <fileset dir="target/docbook/figs/web" />
+ </copy>
+ <copy todir="${project.build.directory}/epub"
+ file="src/main/resources/epub-custom.css"/>
+ </postProcess>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>nxbook-content</artifactId>
+ <version>${project.version}</version>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${basedir}/target/docbook</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <classesDirectory>${basedir}/target/epub</classesDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>install-epub</id>
+ <phase>install</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+ <file>${basedir}/target/epub/book-nexus.epub</file>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <version>${version}</version>
+ <packaging>epub</packaging>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>nxbook-content</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+</project>
View
2  nxbook-examples/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.sonatype.nexusbook</groupId>
<artifactId>nxbook-parent</artifactId>
- <version>2.4-SNAPSHOT</version>
+ <version>2.4</version>
</parent>
<artifactId>nxbook-examples</artifactId>
<packaging>jar</packaging>
View
2  nxbook-html/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.sonatype.nexusbook</groupId>
<artifactId>nxbook-parent</artifactId>
- <version>2.4-SNAPSHOT</version>
+ <version>2.4</version>
</parent>
<artifactId>nxbook-html</artifactId>
<packaging>jar</packaging>
View
2  nxbook-pdf/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.sonatype.nexusbook</groupId>
<artifactId>nxbook-parent</artifactId>
- <version>2.4-SNAPSHOT</version>
+ <version>2.4</version>
</parent>
<artifactId>nxbook-pdf</artifactId>
<packaging>jar</packaging>
View
2  nxbook-site/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.sonatype.nexusbook</groupId>
<artifactId>nxbook-parent</artifactId>
- <version>2.4-SNAPSHOT</version>
+ <version>2.4</version>
</parent>
<artifactId>nxbook-site</artifactId>
<packaging>jar</packaging>
View
2  pom.xml
@@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.sonatype.nexusbook</groupId>
<artifactId>nxbook-parent</artifactId>
- <version>2.4-SNAPSHOT</version>
+ <version>2.4</version>
<packaging>pom</packaging>
<name>Respository Management with Nexus</name>
<description>A book about Sonatype Nexus</description>
View
163 pom.xml.versionsBackup
@@ -1,163 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.sonatype.nexusbook</groupId>
- <artifactId>nxbook-parent</artifactId>
- <version>2.2</version>
- <packaging>pom</packaging>
- <name>Respository Management with Nexus</name>
- <description>A book about Sonatype Nexus</description>
- <url>http://nexus.sonatype.org/book</url>
- <organization>
- <name>Sonatype, Inc.</name>
- <url>http://www.sonatype.com</url>
- </organization>
- <properties>
- <book.title>Repository Management with Nexus</book.title>
- <book.subtitle>A User's Guide to Nexus Professional</book.subtitle>
- <organization.address>800 W. El Camino Real, Suite 400, Mountain View, CA, 94040</organization.address>
- <organization.slogan>Sonatype: The Maven Company</organization.slogan>
- <organization.logo>http://www.sonatype.com/sites/all/themes/sonatype/images/sonatype_logo.gif</organization.logo>
- <copyright.year>2010</copyright.year>
- <nexus.version>1.6.0</nexus.version>
- <nexus.bundle.name>nexus-professional-webapp-${nexus.version}-bundle</nexus.bundle.name>
- <nexus.version.name>nexus-professional-webapp-${nexus.version}</nexus.version.name>
- <nexusopen.version>1.6.0</nexusopen.version>
- <nexusopen.bundle.name>nexus-oss-webapp-${nexusopen.version}-bundle</nexusopen.bundle.name>
- <nexusopen.version.name>nexus-oss-webapp-${nexusopen.version}</nexusopen.version.name>
- <maven.book.baseurl>http://books.sonatype.com/maven-book-stage</maven.book.baseurl>
- <nexus.migration.version>1.2</nexus.migration.version>
- <nexus.migration.package>nexus-migration-plugin-packaging-${nexus.migration.version}-webapp.zip</nexus.migration.package>
- <artifactory.version>2.2.1</artifactory.version>
- </properties>
- <developers>
- <developer>
- <id>tobrien</id>
- <name>Tim O'Brien</name>
- <email>tobrien@sonatype.com</email>
- <organization>Sonatype, Inc.</organization>
- <organizationUrl>http://www.sonatype.com</organizationUrl>
- <roles>
- <role>Author</role>
- </roles>
- </developer>
- </developers>
- <modules>
- <module>nxbook-content</module>
- <module>nxbook-eclipse</module>
- <module>nxbook-examples</module>
- <module>nxbook-html</module>
- <module>nxbook-pdf</module>
- <module>nxbook-site</module>
- </modules>
- <profiles>
- <profile>
- <id>publish</id>
- <distributionManagement>
- <site>
- <id>sonatype-site</id>
- <name>Sonatype Book Examples</name>
- <url>scp://deployer@172.16.0.1/var/www/domains/sonatype.com/books/htdocs/nexus-book/parent</url>
- </site>
- </distributionManagement>
- <properties>
- <maven.book.baseurl>http://books.sonatype.com/maven-book</maven.book.baseurl>
- </properties>
- </profile>
- <profile>
- <id>publish-external</id>
- <distributionManagement>
- <site>
- <id>sonatype-site</id>
- <name>Sonatype Book Examples</name>
- <url>scp://deployer@svn.sonatype.com/var/www/domains/sonatype.com/books/htdocs/nexus-book/parent</url>
- </site>
- </distributionManagement>
- <properties>
- <maven.book.baseurl>http://books.sonatype.com/maven-book</maven.book.baseurl>
- </properties>
- </profile>
- <profile>
- <id>stage</id>
- <distributionManagement>
- <site>
- <id>sonatype-site</id>
- <name>Sonatype Book Examples</name>
- <url>scp://deployer@172.16.0.1/var/www/domains/sonatype.com/books/htdocs/nexus-book-stage/parent</url>
- </site>
- </distributionManagement>
- </profile>
- <profile>
- <id>stage-external</id>
- <distributionManagement>
- <site>
- <id>sonatype-site</id>
- <name>Sonatype Book Examples</name>
- <url>scp://deployer@svn.sonatype.com/var/www/domains/sonatype.com/books/htdocs/nexus-book-stage/parent</url>
- </site>
- </distributionManagement>
- </profile>
- </profiles>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.0-beta-9</version>
- <configuration>
- <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- <goals>clean compile install site-deploy</goals>
- <releaseProfiles>publish</releaseProfiles>
- <preparationGoals>clean install</preparationGoals>
- <useReleaseProfile>false</useReleaseProfile>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.scm</groupId>
- <artifactId>maven-scm-provider-gitexe
- </artifactId>
- <version>1.2</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-plugin</artifactId>
- <version>1.2</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.scm</groupId>
- <artifactId>maven-scm-provider-gitexe
- </artifactId>
- <version>1.2</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
- <scm>
- <connection>scm:git:git://github.com/sonatype/nexus-book.git</connection>
- <url>scm:git:git://github.com/sonatype/nexus-book.git</url>
- <developerConnection>scm:git:git://github.com/sonatype/nexus-book.git</developerConnection>
- </scm>
- <distributionManagement>
- <repository>
- <id>forge-releases</id>
- <name>Sonatype Forge Releases</name>
- <url>http://repository.sonatype.org/content/repositories/releases</url>
- </repository>
- <snapshotRepository>
- <id>forge-snapshots</id>
- <name>Sonatype Forge Snapshot</name>
- <url>http://repository.sonatype.org/content/repositories/snapshots</url>
- </snapshotRepository>
- </distributionManagement>
-</project>
Please sign in to comment.
Something went wrong with that request. Please try again.