Skip to content

Commit

Permalink
tested successfully issue #8 on maven-tiles experimental version
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurizio Pillitu committed May 23, 2013
1 parent 2fe4b78 commit ac3977d
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

<properties>
<tile.eclipse>it.session.maven.tiles:maven-eclipse-tile:1.0</tile.eclipse>
<tile.enforcer>it.session.maven.tiles:maven-enforcer-tile:1.0</tile.enforcer>
<tile.maven.repositories>it.session.maven.tiles:session-repositories-tile:1.0</tile.maven.repositories>
<tile.licensing>it.session.maven.tiles:session-license-tile:1.0</tile.licensing>

Expand Down
1 change: 1 addition & 0 deletions wicket-build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<module>tiles/session-repositories-tile</module>
<module>tiles/maven-compile-tile</module>
<module>tiles/maven-eclipse-tile</module>
<module>tiles/maven-enforcer-tile</module>
<module>tiles/maven-jetty-tile</module>
<module>tiles/maven-resources-tile</module>
</modules>
Expand Down
52 changes: 52 additions & 0 deletions wicket-build/tiles/maven-enforcer-tile/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. See accompanying LICENSE file.
-->
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>it.session.maven.tiles</groupId>
<artifactId>maven-enforcer-tile</artifactId>
<packaging>pom</packaging>
<version>1.0</version>
<name>Maven Tile - Maven Enforcer Plugin configuration</name>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>enforce</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requirePluginVersions>
<message>Always define plugin versions!</message>
<banLatest>true</banLatest>
<banRelease>true</banRelease>
<banSnapshots>true</banSnapshots>
<phases>clean,deploy,site</phases>
</requirePluginVersions>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit ac3977d

Please sign in to comment.