...
Code Block | ||||
---|---|---|---|---|
| ||||
<plugin> <artifactId>maven-uportal-plugin</artifactId> <groupId>org.jasig.portal</groupId> <version>1.0.0-M4-SNAPSHOT<M4</version> <configuration> <contextName>${pom.artifactId}</contextName> <artifactId>${pom.artifactId}</artifactId> <artifactGroupId>${pom.groupId}</artifactGroupId> <artifactVersion>${pom.version}</artifactVersion> <removeExistingDirectories>true</removeExistingDirectories> <extractWars>true</extractWars> </configuration> </plugin> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<profiles> <profile> <id>localdev</id> <build> <plugins> <plugin> <groupId>org.apache.portals.pluto</groupId> <artifactId>maven-pluto-plugin</artifactId> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>assemble</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.1</version> <configuration> <classifier>localdev</classifier> <warName>${project.artifactId}</warName> <webXml>${project.build.directory}/pluto-resources/web.xml</webXml> <overlays> <overlay> <groupId>org.jasig.resourceserver</groupId> <artifactId>resource-server-content</artifactId> <includes> <include>rs/jquery/1.6.1/</include> <include>rs/jqueryui/1.8.13/</include> <include>rs/fluid/1.4.0/js</include> </includes> </overlay> </overlays> </configuration> </plugin> <plugin> <artifactId>maven-uportal-plugin</artifactId> <groupId>org.jasig.portal</groupId> <version>1.0.0-M4-SNAPSHOT<SNASHOT</version> <configuration> <contextName>${pom.artifactId}</contextName> <artifactId>${pom.artifactId}</artifactId> <artifactGroupId>${pom.groupId}</artifactGroupId> <artifactVersion>${pom.version}</artifactVersion> <artifactClassifier>localdev</artifactClassifier> <removeExistingDirectories>true</removeExistingDirectories> <extractWars>true</extractWars> </configuration> </plugin> </plugins> </build> </profile> </profiles> |
...