You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:25:23 UTC

[sling-servlet-archetype] 03/39: generate pom needs source=1.5 to support annotations

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag sling-servlet-archetype-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-servlet-archetype.git

commit f6b7d31207a67cd05f92a7bd1fcaab092b5f7138
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Mon Nov 29 08:32:59 2010 +0000

    generate pom needs source=1.5 to support annotations
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/archetypes/servlet@1040034 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/resources/archetype-resources/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml
index d1e95e8..583ff6b 100644
--- a/src/main/resources/archetype-resources/pom.xml
+++ b/src/main/resources/archetype-resources/pom.xml
@@ -46,6 +46,14 @@
                 <extensions>true</extensions>
                 <version>2.0.1</version>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
     <dependencies>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.