diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-09-10 16:47:50 +0600 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-09-10 16:47:50 +0600 |
commit | 66b298b234225afafb4eb538071bb2bbd8309ee0 (patch) | |
tree | 5ebfc2162cd36e4a3df95922dc34d63df876342c /sonar-application/pom.xml | |
parent | 3ed3d2b1ccf2a5f3444ae1befff09b4a6f654604 (diff) | |
download | sonarqube-66b298b234225afafb4eb538071bb2bbd8309ee0.tar.gz sonarqube-66b298b234225afafb4eb538071bb2bbd8309ee0.zip |
Reformat POMs according to Maven POM Convention
Diffstat (limited to 'sonar-application/pom.xml')
-rw-r--r-- | sonar-application/pom.xml | 131 |
1 files changed, 68 insertions, 63 deletions
diff --git a/sonar-application/pom.xml b/sonar-application/pom.xml index 33bb7ab3843..b7b000e9e8e 100644 --- a/sonar-application/pom.xml +++ b/sonar-application/pom.xml @@ -1,78 +1,19 @@ <?xml version="1.0" encoding="UTF-8"?> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> + <parent> <groupId>org.codehaus.sonar</groupId> <artifactId>sonar</artifactId> <version>3.3-SNAPSHOT</version> </parent> + <artifactId>sonar-application</artifactId> <packaging>jar</packaging> + <name>Sonar :: Application</name> <description>Package the standalone distribution</description> - <build> - <plugins> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <appendAssemblyId>false</appendAssemblyId> - <finalName>sonar-${project.version}</finalName> - <descriptors> - <descriptor>assembly.xml</descriptor> - </descriptors> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <phase>package</phase> - <configuration> - <target> - <checksum file="${project.build.directory}/sonar-${project.version}.zip" algorithm="md5" /> - <checksum file="${project.build.directory}/sonar-${project.version}.zip" algorithm="sha" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - <executions> - <execution> - <id>enforce-distribution-size</id> - <goals> - <goal>enforce</goal> - </goals> - <phase>verify</phase> - <configuration> - <rules> - <requireFilesSize> - <maxsize>54000000</maxsize> - <minsize>52000000</minsize> - <files> - <file>${project.build.directory}/sonar-${project.version}.zip</file> - </files> - </requireFilesSize> - </rules> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> + <dependencies> <dependency> <groupId>org.codehaus.sonar</groupId> @@ -227,6 +168,70 @@ </dependency> </dependencies> + <build> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <appendAssemblyId>false</appendAssemblyId> + <finalName>sonar-${project.version}</finalName> + <descriptors> + <descriptor>assembly.xml</descriptor> + </descriptors> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <configuration> + <target> + <checksum file="${project.build.directory}/sonar-${project.version}.zip" algorithm="md5" /> + <checksum file="${project.build.directory}/sonar-${project.version}.zip" algorithm="sha" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>enforce-distribution-size</id> + <goals> + <goal>enforce</goal> + </goals> + <phase>verify</phase> + <configuration> + <rules> + <requireFilesSize> + <maxsize>54000000</maxsize> + <minsize>52000000</minsize> + <files> + <file>${project.build.directory}/sonar-${project.version}.zip</file> + </files> + </requireFilesSize> + </rules> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + <profiles> <profile> <id>release</id> |