/[schmitzm]/trunk/schmitzm-parent/pom.xml
ViewVC logotype

Diff of /trunk/schmitzm-parent/pom.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1787 by alfonx, Mon Nov 21 17:52:44 2011 UTC revision 2410 by keeb, Thu Dec 4 18:40:27 2014 UTC
# Line 4  Line 4 
4    
5          <groupId>de.schmitzm</groupId>          <groupId>de.schmitzm</groupId>
6          <artifactId>schmitzm-parent</artifactId>          <artifactId>schmitzm-parent</artifactId>
7          <version>2.7-SNAPSHOT</version>          <version>2.8-SNAPSHOT</version>
8          <packaging>pom</packaging>          <packaging>pom</packaging>
9          <description>Describes maven pom settings for all schmitz modules</description>          <description>Describes maven pom settings for all schmitz modules</description>
10    
# Line 14  Line 14 
14          <properties>          <properties>
15                  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>                  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16                  <schmitzm.version>${project.version}</schmitzm.version>                  <schmitzm.version>${project.version}</schmitzm.version>
17  <!--            <geotools.version>8-SNAPSHOT</geotools.version> -->                  <!-- <geotools.version>8-SNAPSHOT</geotools.version> -->
18                  <geotools.version>2.7.3</geotools.version>                  <geotools.version>2.7.5</geotools.version>
19          </properties>          </properties>
20    
21          <issueManagement>          <issueManagement>
# Line 96  Line 96 
96                  <dependency>                  <dependency>
97                          <groupId>junit</groupId>                          <groupId>junit</groupId>
98                          <artifactId>junit</artifactId>                          <artifactId>junit</artifactId>
99                          <version>4.8.2</version>                          <version>4.11</version>
100                          <type>jar</type>                          <type>jar</type>
101                          <scope>test</scope>                          <scope>test</scope>
102                  </dependency>                  </dependency>
           
103                  <dependency>                  <dependency>
 <!--                     Logging with log4j. Die MVN dependency fuer 1.2.15 ist defekt. downgraded -->  
 <!--                            to 1.2.14 http://jira.codehaus.org/browse/MEV-649 -->  
104                          <groupId>log4j</groupId>                          <groupId>log4j</groupId>
105                          <artifactId>log4j</artifactId>                          <artifactId>log4j</artifactId>
106                          <version>1.2.14</version>                          <version>1.2.17</version>
107                  </dependency>                  </dependency>
108    
109                    <!-- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J:
110                            Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder
111                            for further details. -->
112                    <dependency>
113                            <groupId>org.slf4j</groupId>
114                            <artifactId>slf4j-log4j12</artifactId>
115                            <version>1.7.2</version>
116                    </dependency>
117    
118          </dependencies>          </dependencies>
119    
120          <build>          <build>
# Line 116  Line 123 
123                          <plugin>                          <plugin>
124                                  <groupId>org.apache.maven.plugins</groupId>                                  <groupId>org.apache.maven.plugins</groupId>
125                                  <artifactId>maven-jar-plugin</artifactId>                                  <artifactId>maven-jar-plugin</artifactId>
126                                  <version>2.3.1</version>                                  <version>2.4</version>
127                                    <configuration>
128                                            <archive>
129                                                    <!-- http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/no_redeploy.html -->
130                                                    <manifestEntries>
131                                                            <Permissions>all-permissions</Permissions>
132                                                            <Codebase>*</Codebase>
133                                                    </manifestEntries>
134                                            </archive>
135                                    </configuration>
136                                  <executions>                                  <executions>
137                                          <execution>                                          <execution>
138                                                  <goals>                                                  <goals>
# Line 130  Line 146 
146                          <plugin>                          <plugin>
147                                  <groupId>org.apache.maven.plugins</groupId>                                  <groupId>org.apache.maven.plugins</groupId>
148                                  <artifactId>maven-resources-plugin</artifactId>                                  <artifactId>maven-resources-plugin</artifactId>
149                                  <version>2.4.2</version>                                  <version>2.5</version>
150                            </plugin>
151    
152                            <plugin>
153                                    <groupId>org.apache.maven.plugins</groupId>
154                                    <artifactId>maven-source-plugin</artifactId>
155                                    <executions>
156                                            <execution>
157                                                    <id>attach-sources</id>
158                                                    <goals>
159                                                            <goal>test-jar</goal>
160                                                            <goal>jar</goal>
161                                                    </goals>
162                                            </execution>
163                                    </executions>
164                            </plugin>
165    
166                            <!-- ################# SONDERZEICHEN BEHANDLUNG ################## -->
167                            <plugin>
168                                    <artifactId>maven-antrun-plugin</artifactId>
169                                    <version>1.3</version>
170    
171                                    <executions>
172                                            <execution>
173                                                    <phase>compile</phase>
174                                                    <goals>
175                                                            <goal>run</goal>
176                                                    </goals>
177                                                    <configuration>
178    
179                                                            <tasks>
180                                                                    <taskdef resource="net/sf/antcontrib/antlib.xml">
181                                                                            <classpath refid="maven.dependency.classpath" />
182                                                                    </taskdef>
183    
184                                                                    <typedef name="native2ascii"
185                                                                            classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii">
186                                                                            <classpath refid="maven.dependency.classpath" />
187                                                                    </typedef>
188    
189                                                                    <for param="file"
190                                                                            description="Alle .properties nach .propertieNative umbenennen">
191                                                                            <path>
192                                                                                    <fileset dir="src" includes="**/*.properties" />
193                                                                            </path>
194                                                                            <sequential>
195                                                                                    <move file="@{file}" overwrite="true" tofile="@{file}Native"
196                                                                                            verbose="false" preservelastmodified="true" />
197                                                                            </sequential>
198                                                                    </for>
199    
200                                                                    <native2ascii encoding="UTF8" src="src"
201                                                                            includes="**/*.propertiesNative" dest="src" ext=".properties" />
202    
203                                                                    <for param="file">
204                                                                            <path>
205                                                                                    <fileset dir="src" includes="**/*.propertiesNative" />
206                                                                            </path>
207                                                                            <sequential>
208                                                                                    <delete file="@{file}" quiet="true" />
209                                                                            </sequential>
210                                                                    </for>
211    
212                                                            </tasks>
213                                                    </configuration>
214                                            </execution>
215                                    </executions>
216                          </plugin>                          </plugin>
217    
218                          <plugin>                          <plugin>
219                                  <groupId>org.apache.maven.plugins</groupId>                                  <groupId>org.apache.maven.plugins</groupId>
220                                  <artifactId>maven-compiler-plugin</artifactId>                                  <artifactId>maven-compiler-plugin</artifactId>
221                                  <version>2.2</version>                                  <version>3.0</version>
222                                  <configuration>                                  <configuration>
223                                          <source>1.6</source>                                          <source>1.7</source>
224                                          <target>1.6</target>                                          <target>1.7</target>
225    
226                                            <showDeprecation>true</showDeprecation>
227                                            <showWarnings>true</showWarnings>
228                                            <executable>${env.JAVA_HOME}/bin/javac</executable>
229                                            <fork>true</fork>
230    
231                                          <excludes>                                          <excludes>
232                                                  <exclude>**/.svn</exclude> <!-- ??? -->                                                  <exclude>**/.svn</exclude>
233                                          </excludes>                                          </excludes>
234                                  </configuration>                                  </configuration>
235                          </plugin>                          </plugin>
   
 <!--                    <plugin> -->  
 <!--                            <artifactId>maven-antrun-plugin</artifactId> -->  
 <!--                            <version>1.3</version> -->  
   
 <!--                            <executions> -->  
 <!--                                    <execution> -->  
 <!--                                            <phase>compile</phase> -->  
 <!--                                            <goals> -->  
 <!--                                                    <goal>run</goal> -->  
 <!--                                            </goals> -->  
 <!--                                            <configuration> -->  
   
 <!--                                                    <tasks> -->  
 <!--                                                            <taskdef resource="net/sf/antcontrib/antlib.xml"> -->  
 <!--                                                                    <classpath refid="maven.dependency.classpath" /> -->  
 <!--                                                            </taskdef> -->  
   
 <!--                                                            <typedef name="native2ascii" -->  
 <!--                                                                    classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"> -->  
 <!--                                                                    <classpath refid="maven.dependency.classpath" /> -->  
 <!--                                                            </typedef> -->  
   
 <!--                                                            <for param="file" -->  
 <!--                                                                    description="Alle .properties nach .propertieNative umbenennen"> -->  
 <!--                                                                    <path> -->  
 <!--                                                                            <fileset dir="src" includes="**/*.properties" /> -->  
 <!--                                                                    </path> -->  
 <!--                                                                    <sequential> -->  
 <!--                                                                            <move file="@{file}" overwrite="true" tofile="@{file}Native" -->  
 <!--                                                                                    verbose="false" preservelastmodified="true" /> -->  
 <!--                                                                    </sequential> -->  
 <!--                                                            </for> -->  
   
 <!--                                                            <native2ascii encoding="UTF8" src="src" -->  
 <!--                                                                    includes="**/*.propertiesNative" dest="src" ext=".properties" /> -->  
   
 <!--                                                            <for param="file"> -->  
 <!--                                                                    <path> -->  
 <!--                                                                            <fileset dir="src" includes="**/*.propertiesNative" /> -->  
 <!--                                                                    </path> -->  
 <!--                                                                    <sequential> -->  
 <!--                                                                            <delete file="@{file}" quiet="true" /> -->  
 <!--                                                                    </sequential> -->  
 <!--                                                            </for> -->  
   
 <!--                                                    </tasks> -->  
 <!--                                            </configuration> -->  
 <!--                                    </execution> -->  
 <!--                            </executions> -->  
 <!--                    </plugin> -->  
   
236                  </plugins>                  </plugins>
237                  <pluginManagement>                  <pluginManagement>
238                          <plugins>                          <plugins>
239                                  <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->                                  <!--This plugin's configuration is used to store Eclipse m2e settings
240                                            only. It has no influence on the Maven build itself. -->
241                                  <plugin>                                  <plugin>
242                                          <groupId>org.eclipse.m2e</groupId>                                          <groupId>org.eclipse.m2e</groupId>
243                                          <artifactId>lifecycle-mapping</artifactId>                                          <artifactId>lifecycle-mapping</artifactId>
# Line 233  Line 270 
270                                  </plugin>                                  </plugin>
271                          </plugins>                          </plugins>
272                  </pluginManagement>                  </pluginManagement>
         </build>  
273    
274    
275    
         <repositories>  
276    
277    
278    
279    
280            </build>
281            <!-- Wikisquare Artifactory is no more
282    
283            <repositories>
284                  <repository>                  <repository>
285                          <snapshots>                          <snapshots>
286                                  <enabled>false</enabled>                                  <enabled>false</enabled>
# Line 275  Line 317 
317                  </snapshotRepository>                  </snapshotRepository>
318    
319          </distributionManagement>          </distributionManagement>
320            -->
321            <profiles>
322                    <profile>
323                            <id>tweakJdk7Path</id>
324    
325                            <build>
326                                    <plugins>
327    
328                                            <plugin>
329                                                    <groupId>org.apache.maven.plugins</groupId>
330                                                    <artifactId>maven-compiler-plugin</artifactId>
331                                                    <version>3.0</version>
332                                                    <configuration>
333                                                            <source>1.7</source>
334                                                            <target>1.7</target>
335    
336                                                            <showDeprecation>true</showDeprecation>
337                                                            <showWarnings>true</showWarnings>
338                                                            <executable>/usr/lib/jvm/java-7-oracle/bin/javac</executable>
339                                                            <fork>true</fork>
340    
341                                                            <excludes>
342                                                                    <exclude>**/.svn</exclude>
343                                                            </excludes>
344                                                    </configuration>
345                                            </plugin>
346                                    </plugins>
347    
348    
349                            </build>
350    
351                    </profile>
352            </profiles>
353  </project>  </project>

Legend:
Removed from v.1787  
changed lines
  Added in v.2410

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26