1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
---|
3 | <modelVersion>4.0.0</modelVersion>
|
---|
4 | <groupId>net.sf.jupload</groupId>
|
---|
5 | <artifactId>maven-translation-plugin</artifactId>
|
---|
6 | <packaging>maven-plugin</packaging>
|
---|
7 | <version>1.0.0</version>
|
---|
8 | <name>jupload-translation</name>
|
---|
9 | <description>This plugin manages the translation of JUpload. It's aim
|
---|
10 | is to standardize the file formats, and to emphasize the missing
|
---|
11 | translation in each translation file.</description>
|
---|
12 | <url>http://jupload.sourceforge.net</url>
|
---|
13 |
|
---|
14 | <profiles>
|
---|
15 | <profile>
|
---|
16 | <!--
|
---|
17 | This profile activate all reporting for the JUpload site. It's
|
---|
18 | activated by default. It's main use is ... that it can be
|
---|
19 | deactivated. Useful, for checking the APT files rendering. Executing
|
---|
20 | 'mvn site -Dskip.reporting' will deactivate default profiles, and
|
---|
21 | quickly generate the maven site, from the previously run reports.
|
---|
22 | -->
|
---|
23 | <id>reporting</id>
|
---|
24 | <activation>
|
---|
25 | <property>
|
---|
26 | <name>!skip.reporting</name>
|
---|
27 | </property>
|
---|
28 | </activation>
|
---|
29 | <reporting>
|
---|
30 | <plugins>
|
---|
31 | <plugin>
|
---|
32 | <groupId>org.codehaus.mojo</groupId>
|
---|
33 | <artifactId>cobertura-maven-plugin</artifactId>
|
---|
34 | <version>2.4</version>
|
---|
35 | </plugin>
|
---|
36 | <plugin>
|
---|
37 | <groupId>org.apache.maven.plugins</groupId>
|
---|
38 | <artifactId>maven-pmd-plugin</artifactId>
|
---|
39 | <version>2.4</version>
|
---|
40 | <configuration>
|
---|
41 | <targetJdk>1.5</targetJdk>
|
---|
42 | <rulesets>
|
---|
43 | <ruleset>/rulesets/basic.xml</ruleset>
|
---|
44 | <ruleset>/rulesets/controversial.xml</ruleset>
|
---|
45 | </rulesets>
|
---|
46 | <format>xml</format>
|
---|
47 | <linkXref>true</linkXref>
|
---|
48 | <sourceEncoding>utf-8</sourceEncoding>
|
---|
49 | <minimumTokens>100</minimumTokens>
|
---|
50 | </configuration>
|
---|
51 | </plugin>
|
---|
52 | <plugin>
|
---|
53 | <artifactId>maven-surefire-plugin</artifactId>
|
---|
54 | <version>2.5</version>
|
---|
55 | </plugin>
|
---|
56 | <plugin>
|
---|
57 | <groupId>org.apache.maven.plugins</groupId>
|
---|
58 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
59 | <version>2.6.1</version>
|
---|
60 | </plugin>
|
---|
61 | <plugin>
|
---|
62 | <groupId>org.apache.maven.plugins</groupId>
|
---|
63 | <artifactId>maven-jxr-plugin</artifactId>
|
---|
64 | <version>2.1</version>
|
---|
65 | </plugin>
|
---|
66 | <plugin>
|
---|
67 | <groupId>org.apache.maven.plugins</groupId>
|
---|
68 | <artifactId>maven-clover-plugin</artifactId>
|
---|
69 | <version>2.4</version>
|
---|
70 | </plugin>
|
---|
71 | <!--
|
---|
72 | One of these plugins seem to generates an error, when executing
|
---|
73 | the release:perform <plugin> <groupId>org.codehaus.mojo</groupId>
|
---|
74 | <artifactId>scmchangelog-maven-plugin</artifactId>
|
---|
75 | <version>1.3</version> </plugin> <plugin>
|
---|
76 | <groupId>org.apache.maven.plugins</groupId>
|
---|
77 | <artifactId>maven-changelog-plugin</artifactId>
|
---|
78 | <version>2.1</version> </plugin>
|
---|
79 | -->
|
---|
80 | <!--
|
---|
81 | <plugin> Needs
|
---|
82 | org.apache.maven.shared:maven-doxia-tools:jar:1.0.2, whose
|
---|
83 | download doesn't work, from my network !
|
---|
84 | <groupId>org.apache.maven.plugins</groupId>
|
---|
85 | <artifactId>maven-changes-plugin</artifactId>
|
---|
86 | <version>2.3</version> </plugin>
|
---|
87 | -->
|
---|
88 | <plugin>
|
---|
89 | <groupId>org.codehaus.mojo</groupId>
|
---|
90 | <artifactId>taglist-maven-plugin</artifactId>
|
---|
91 | <version>2.4</version>
|
---|
92 | </plugin>
|
---|
93 | </plugins>
|
---|
94 | </reporting>
|
---|
95 | </profile>
|
---|
96 | </profiles>
|
---|
97 |
|
---|
98 | <dependencies>
|
---|
99 | <!--
|
---|
100 | <dependency> <groupId>commons-lang</groupId>
|
---|
101 | <artifactId>commons-lang</artifactId> <version>2.5</version>
|
---|
102 | </dependency>
|
---|
103 | -->
|
---|
104 | <dependency>
|
---|
105 | <groupId>junit</groupId>
|
---|
106 | <artifactId>junit</artifactId>
|
---|
107 | <version>4.5</version>
|
---|
108 | <scope>test</scope>
|
---|
109 | </dependency>
|
---|
110 | <dependency>
|
---|
111 | <groupId>log4j</groupId>
|
---|
112 | <artifactId>log4j</artifactId>
|
---|
113 | <version>1.2.13</version>
|
---|
114 | </dependency>
|
---|
115 | <dependency>
|
---|
116 | <groupId>org.apache.maven</groupId>
|
---|
117 | <artifactId>maven-plugin-api</artifactId>
|
---|
118 | <version>2.0</version>
|
---|
119 | </dependency>
|
---|
120 | <dependency>
|
---|
121 | <groupId>org.apache.velocity</groupId>
|
---|
122 | <artifactId>velocity</artifactId>
|
---|
123 | <version>1.6.4</version>
|
---|
124 | </dependency>
|
---|
125 | </dependencies>
|
---|
126 | <build>
|
---|
127 | <plugins>
|
---|
128 | <plugin>
|
---|
129 | <groupId>org.apache.maven.plugins</groupId>
|
---|
130 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
131 | <configuration>
|
---|
132 | <source>1.5</source>
|
---|
133 | <target>1.5</target>
|
---|
134 | </configuration>
|
---|
135 | </plugin>
|
---|
136 | </plugins>
|
---|
137 | </build>
|
---|
138 | <distributionManagement>
|
---|
139 | <!--
|
---|
140 | We have no Maven repository yet. So release are to be deployed on a
|
---|
141 | local repository.... TODO: have a real repository. Publish to Maven
|
---|
142 | Central Repository?
|
---|
143 | -->
|
---|
144 | <repository>
|
---|
145 | <id>${jupload.distributionManagement.repository.id}</id>
|
---|
146 | <name>${jupload.distributionManagement.repository.name}</name>
|
---|
147 | <url>${jupload.distributionManagement.repository.url}</url>
|
---|
148 | </repository>
|
---|
149 | <snapshotRepository>
|
---|
150 | <id>${jupload.distributionManagement.snapshotRepository.id}</id>
|
---|
151 | <name>${jupload.distributionManagement.snapshotRepository.name}</name>
|
---|
152 | <url>${jupload.distributionManagement.snapshotRepository.url}</url>
|
---|
153 | </snapshotRepository>
|
---|
154 | </distributionManagement>
|
---|
155 |
|
---|
156 | <!--
|
---|
157 | Reporting: see the 'reporting' profile, here above.
|
---|
158 | -->
|
---|
159 |
|
---|
160 | </project>
|
---|