You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2013/01/20 10:16:36 UTC

git commit: ISIS-310: fix to example pom

Updated Branches:
  refs/heads/master 2b44850ee -> f8c1953b1


ISIS-310: fix to example pom


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/f8c1953b
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/f8c1953b
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/f8c1953b

Branch: refs/heads/master
Commit: f8c1953b11e0bc124920c1bfd5ec123b387bf62d
Parents: 2b44850
Author: Dan Haywood <da...@apache.org>
Authored: Sun Jan 20 08:57:19 2013 +0000
Committer: Dan Haywood <da...@apache.org>
Committed: Sun Jan 20 08:57:19 2013 +0000

----------------------------------------------------------------------
 example/misc/metamodel/namefile/pom.xml |   79 ++++++++++++++-----------
 1 files changed, 44 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/f8c1953b/example/misc/metamodel/namefile/pom.xml
----------------------------------------------------------------------
diff --git a/example/misc/metamodel/namefile/pom.xml b/example/misc/metamodel/namefile/pom.xml
index 3e26c15..27f522f 100644
--- a/example/misc/metamodel/namefile/pom.xml
+++ b/example/misc/metamodel/namefile/pom.xml
@@ -1,44 +1,53 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you 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.
--->
-<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">
-	<modelVersion>4.0.0</modelVersion>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+    license agreements. See the NOTICE file distributed with this work for additional 
+    information regarding copyright ownership. The ASF licenses this file to 
+    you 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. -->
+<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">
+    <modelVersion>4.0.0</modelVersion>
 
     <groupId>org.apache.isis.example.misc</groupId>
-	<artifactId>metamodel-namefile</artifactId>
+    <artifactId>metamodel-namefile</artifactId>
     <version>1.0.1-SNAPSHOT</version>
-    
-	<name>Example ProgModel: Namefile Facet</name>
 
-	<dependencies>
-		<dependency>
-			<groupId>org.apache.isis.core</groupId>
-			<artifactId>isis-core-runtime</artifactId>
-			<version>1.0.1-SNAPSHOT</version>
-		</dependency>
+    <name>Example ProgModel: Namefile Facet</name>
 
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
+    <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>2.3.1</version>
+                    <configuration>
+                        <source>1.6</source>
+                        <target>1.6</target>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.isis.core</groupId>
+            <artifactId>isis-core-runtime</artifactId>
+            <version>1.0.1-SNAPSHOT</version>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
             <scope>test</scope>
-			<version>4.11</version>
-		</dependency>
+            <version>4.11</version>
+        </dependency>
         <dependency>
             <groupId>org.jmock</groupId>
             <artifactId>jmock</artifactId>
@@ -63,5 +72,5 @@
         </dependency>
 
     </dependencies>
-	
+
 </project>