Permalink
Browse files

All modules are now present in the menu

All links are working
  • Loading branch information...
1 parent 9e40643 commit 2bc785c6d59f6f68619d1c08daa53253a1486045 @cedmail cedmail committed Jan 19, 2012
Showing with 41 additions and 14 deletions.
  1. +41 −1 pom.xml
  2. 0 src/site/apt/{index.apt → wiki.apt}
  3. +0 −13 src/site/site.xml
View
42 pom.xml
@@ -51,7 +51,9 @@
<version>1.2-SNAPSHOT</version>
<packaging>war</packaging>
<description>This is a custom module for running on a Jahia server.</description>
-
+ <properties>
+ <maven3.site.plugin.version>3.0</maven3.site.plugin.version>
+ </properties>
<scm>
<connection>scm:git:git@github.com:Jahia/JahiApp-Wiki.git</connection>
<url>scm:git:git@github.com:Jahia/JahiApp-Wiki.git</url>
@@ -211,4 +213,42 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>maven-3</id>
+ <activation>
+ <file>
+ <!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
+ <exists>${basedir}</exists>
+ </file>
+ </activation>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>${maven3.site.plugin.version}</version>
+ <configuration>
+ <relativizeDecorationLinks>true</relativizeDecorationLinks>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-descriptor</id>
+ <goals>
+ <goal>attach-descriptor</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
File renamed without changes.
View
@@ -7,17 +7,4 @@
<src>images/logo-top.png</src>
<href>../../index.html</href>
</bannerLeft>
- <body>
- <menu ref="parent" />
- <menu name="Overview">
- <item name="Introduction" href="./index.html"/>
- <item name="Usage" href="./usage.html" collapse="false">
- <item name="Wiki integration" href="./usage.html#Top"/>
- <item name="Flag Content" href="./usage.html#Flag"/>
- <item name="Add/Remove Mixin with rules" href="./usage.html#How"/>
- </item>
- </menu>
- <menu ref="modules" />
- <menu ref="reports"/>
- </body>
</project>

0 comments on commit 2bc785c

Please sign in to comment.