/[protege]/protege4/plugins/org.coode.dlquery/branches/maven/pom.xml
ViewVC logotype

Annotation of /protege4/plugins/org.coode.dlquery/branches/maven/pom.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20815 - (hide annotations) (download) (as text)
Tue Nov 16 00:17:22 2010 UTC (2 years, 6 months ago) by johner
File MIME type: text/xml
File size: 9972 byte(s)
versioning for final artifact
1 johner 20702 <?xml version="1.0" encoding="UTF-8"?>
2 johner 20792 <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/maven-v4_0_0.xsd">
3 johner 20702
4     <modelVersion>4.0.0</modelVersion>
5     <groupId>edu.stanford.smi.protegex</groupId>
6     <artifactId>dlquery</artifactId>
7     <packaging>jar</packaging>
8     <name>protege-plugin-dlquery</name>
9 johner 20792 <version>0.0.3</version>
10 johner 20702
11     <properties>
12     <maven.compiler.source>1.6</maven.compiler.source>
13     <maven.compiler.target>1.6</maven.compiler.target>
14     </properties>
15    
16 johner 20707 <distributionManagement>
17 johner 20792 <!-- If this pom.xml is executed on a developer's machine (mvn deploy)
18     the developer's local repositories will be used, if executed on the BMIR the BMIR repositories. -->
19 johner 20707 <repository>
20     <id>releases</id>
21 johner 20792 <name>Releases</name>
22     <url>http://localhost:8081/nexus/content/repositories/releases</url>
23 johner 20707 </repository>
24    
25     <snapshotRepository>
26     <id>snapshots</id>
27 johner 20792 <name>Snapshots</name>
28     <url>http://localhost:8081/nexus/content/repositories/snapshots</url>
29 johner 20707 </snapshotRepository>
30 johner 20792
31     <site>
32     <id>snapshots</id>
33     <url>file://C:\Users\DrCJ\workspaceMavenProtege\protege-plugin-dlquery\doc/</url>
34     </site>
35    
36 johner 20707 </distributionManagement>
37    
38 johner 20792 <scm>
39     <connection>scm:svn:http://smi-protege.stanford.edu/repos/protege/protege4/plugins/org.coode.dlquery/tags/dlquery-0.0.3</connection>
40 johner 20815 <developerConnection>scm:svn:http://smi-protege.stanford.edu/repos/protege/protege4/plugins/org.coode.dlquery/tags/dlquery-0.0.3</developerConnection>
41 johner 20792 <tag>HEAD</tag>
42 johner 20815 <url>http://smi-protege.stanford.edu/repos/protege/protege4/plugins/org.coode.dlquery/tags/dlquery</url>
43 johner 20792 </scm>
44    
45 johner 20707
46 johner 20792
47 johner 20702 <dependencies>
48     <dependency>
49     <groupId>edu.stanford.smi.protegex.owl</groupId>
50     <artifactId>owlapi</artifactId>
51     <version>3.1.0.Svn_1620_3_1_0_release_2010_11_04_0253</version>
52     </dependency>
53    
54     <dependency>
55     <groupId>edu.stanford.smi.protegex.editor</groupId>
56     <artifactId>owl</artifactId>
57     <version>3.1.0.Svn_1620_3_1_0_release_2010_11_04_0253</version>
58     </dependency>
59    
60     <dependency>
61     <groupId>edu.stanford.smi.protegex.editor</groupId>
62     <artifactId>application</artifactId>
63     <version>4.1.0.b213_2010_11_04_0252</version>
64     </dependency>
65    
66     <dependency>
67     <groupId>edu.stanford.bmir.core</groupId>
68     <artifactId>common</artifactId>
69     <version>4.1.0.b213_2010_11_04_0252</version>
70     </dependency>
71 johner 20707
72 johner 20702 <dependency>
73     <groupId>edu.stanford.bmir.core</groupId>
74     <artifactId>log4j</artifactId>
75     <version>1.0</version>
76     </dependency>
77 johner 20707
78 johner 20702 <dependency>
79     <groupId>org.testng</groupId>
80     <artifactId>testng</artifactId>
81     <version>5.10</version>
82     <classifier>jdk15</classifier>
83     <scope>test</scope>
84     </dependency>
85     </dependencies>
86    
87     <description>DL-Query-Description</description>
88     <organization>
89     <name>Stanford University, BMIR</name>
90     </organization>
91    
92     <build>
93 johner 20815 <!-- The final name uses the build namber plugin. You can either us the repository id,
94     an incremental number or a timestamp. or combination of those -->
95     <finalName>${project.artifactId}-${project.version}-r${buildNumber}</finalName>
96    
97 johner 20702 <plugins>
98 johner 20815 <!-- This plugin is needed to autoincrement the version number -->
99     <plugin>
100     <groupId>org.codehaus.mojo</groupId>
101     <artifactId>buildnumber-maven-plugin</artifactId>
102     <version>1.0-beta-3</version>
103     <executions>
104     <execution>
105     <phase>validate</phase>
106     <goals>
107     <goal>create</goal>
108     </goals>
109     </execution>
110     </executions>
111     <configuration>
112     <!-- the "0" refers to item[0] which is the timestamp -->
113     <format>{0,date,yyyy-MM-dd-HH-mm-ss}</format>
114     <items>
115     <item>timestamp</item>
116     </items>
117     </configuration>
118     </plugin>
119 johner 20702
120     <!-- Create jar file -->
121     <plugin>
122     <groupId>org.apache.maven.plugins</groupId>
123     <artifactId>maven-jar-plugin</artifactId>
124     <version>2.3.1</version>
125     </plugin>
126 johner 20792
127     <!-- Updates release number, can also tag in SVN -->
128     <plugin>
129     <artifactId>maven-release-plugin</artifactId>
130     </plugin>
131 johner 20815
132     <!-- The properties plugin might be used to define certain parameters
133     in a properties file. for demonstration purposes we did that to
134     demonstrate how to customize the output directory (s. "next" plugin) -->
135     <plugin>
136     <groupId>org.codehaus.mojo</groupId>
137     <artifactId>properties-maven-plugin</artifactId>
138     <version>1.0-alpha-1</version>
139     <executions>
140     <execution>
141     <phase>initialize</phase>
142     <goals>
143     <goal>read-project-properties</goal>
144     </goals>
145     <configuration>
146     <files>
147     <file>src/main/resources/example.properties</file>
148     </files>
149     </configuration>
150     </execution>
151     </executions>
152     </plugin>
153    
154     <!-- Optional: Copy output additionally to a specified directory-->
155     <plugin>
156     <artifactId>maven-resources-plugin</artifactId>
157     <version>2.4.3</version>
158     <executions>
159     <execution>
160     <id>copy-resources</id>
161     <!-- here the phase you need -->
162     <phase>test</phase>
163     <goals>
164     <goal>copy-resources</goal>
165     </goals>
166     <configuration>
167     <outputDirectory>${outputdir}</outputDirectory>
168     <resources>
169     <resource>
170     <directory>src</directory>
171     <filtering>true</filtering>
172     </resource>
173     </resources>
174     </configuration>
175     </execution>
176     </executions>
177     </plugin>
178 johner 20792
179 johner 20707 <!-- Execution of unit tests Generates output for reporting plugin -->
180 johner 20702 <plugin>
181     <groupId>org.apache.maven.plugins</groupId>
182     <artifactId>maven-surefire-plugin</artifactId>
183     <configuration>
184 johner 20707 <!-- We set skip to true. So the unit tests can be explicitly defined
185     in xml file reference below -->
186 johner 20702 <skip>true</skip>
187 johner 20707 </configuration>
188 johner 20702 <executions>
189     <execution>
190     <id>unit-tests</id>
191     <phase>test</phase>
192     <goals>
193     <goal>test</goal>
194     </goals>
195     <configuration>
196     <skip>false</skip>
197     <suiteXmlFiles>
198     <suiteXmlFile>src/test/resources/unit-tests.xml</suiteXmlFile>
199     </suiteXmlFiles>
200     </configuration>
201     </execution>
202     </executions>
203     </plugin>
204 johner 20815
205     <!-- -->
206 johner 20702
207     <!-- Compile Java Code -->
208     <plugin>
209     <groupId>org.apache.maven.plugins</groupId>
210     <artifactId>maven-compiler-plugin</artifactId>
211     <version>2.0.2</version>
212     <configuration>
213     <source>${maven.compiler.source}</source>
214     <target>${maven.compiler.target}</target>
215     </configuration>
216     </plugin>
217     </plugins>
218     </build>
219     <reporting>
220     <plugins>
221     <!-- JavaDoc -->
222     <plugin>
223     <groupId>org.apache.maven.plugins</groupId>
224     <artifactId>maven-javadoc-plugin</artifactId>
225     </plugin>
226    
227 johner 20707 <!-- JXR Plugin produces a cross-reference of the project's sources. The
228     generated reports make it easier for the user to reference or find specific
229     lines of code. It is also handy when used with the PMD Plugin for referencing
230     errors found in the code -->
231 johner 20702 <plugin>
232     <groupId>org.apache.maven.plugins</groupId>
233     <artifactId>maven-jxr-plugin</artifactId>
234     </plugin>
235    
236 johner 20707 <!--PMD scans Java source code and looks for potential problems like:
237     - Possible bugs - empty try/catch/finally/switch statements - Dead code -
238     unused local variables, parameters and private methods - Suboptimal code
239     - wasteful String/StringBuffer usage - Overcomplicated expressions - unnecessary
240     if statements, for loops that could be while loops - Duplicate code - copied/pasted
241     code means copied/pasted bugs -->
242 johner 20702 <plugin>
243     <groupId>org.apache.maven.plugins</groupId>
244     <artifactId>maven-pmd-plugin</artifactId>
245     <configuration>
246     <linkXref>true</linkXref>
247     <targetJdk>1.5</targetJdk>
248     </configuration>
249     </plugin>
250    
251     <!-- creates the web interface version of the test results -->
252     <plugin>
253     <groupId>org.apache.maven.plugins</groupId>
254     <artifactId>maven-surefire-report-plugin</artifactId>
255     </plugin>
256    
257 johner 20707 <!-- JDepend determines architecture metrics as (cyclic) dependencies
258     of packages -->
259 johner 20702 <plugin>
260     <groupId>org.codehaus.mojo</groupId>
261     <artifactId>jdepend-maven-plugin</artifactId>
262     </plugin>
263    
264     <!-- Cobertura determines statement and branch coverage -->
265     <plugin>
266     <groupId>org.codehaus.mojo</groupId>
267     <artifactId>cobertura-maven-plugin</artifactId>
268     <version>2.3</version>
269     <configuration>
270     <formats>
271     <format>xml</format>
272     <format>html</format>
273     </formats>
274     </configuration>
275     </plugin>
276    
277     <!-- Checkstyle verifies compliance with coding stanards/guidelines -->
278     <plugin>
279     <groupId>org.apache.maven.plugins</groupId>
280     <artifactId>maven-checkstyle-plugin</artifactId>
281     <version>2.1</version>
282     <configuration>
283     <configLocation>
284     ${basedir}/src/main/resources/checkstyle/protege.xml
285     </configLocation>
286     </configuration>
287     </plugin>
288    
289     <!-- Findbugs -->
290     <plugin>
291     <groupId>org.codehaus.mojo</groupId>
292     <artifactId>findbugs-maven-plugin</artifactId>
293     <version>1.1.1</version>
294     </plugin>
295    
296 johner 20707 <!-- source measurement suite for Java which produces quantity & complexity
297     metrics -->
298 johner 20702 <plugin>
299     <groupId>org.codehaus.mojo</groupId>
300     <artifactId>javancss-maven-plugin</artifactId>
301     <version>2.0-beta-2</version>
302     </plugin>
303    
304 johner 20707 <!-- XRadar summarizing/consolidating reports -->
305 johner 20702 <plugin>
306     <groupId>net.sf.xradar</groupId>
307     <artifactId>maven-xradar-plugin</artifactId>
308     <version>1.2.2</version>
309     <configuration>
310     <autoRadar>false</autoRadar>
311 johner 20707 <!--false to execute only the plugins declared -->
312 johner 20702 </configuration>
313     </plugin>
314     </plugins>
315    
316     </reporting>
317    
318     </project>

protege-admin@lists.stanford.edu
ViewVC Help
Powered by ViewVC 1.1.18