Author: rec
Date: Wed Jul  3 11:56:33 2013
New Revision: 1499342

URL: http://svn.apache.org/r1499342
Log:
[UIMA-3046] uimaFIT build unable to find jcasgen-maven-plugin snapshot
- Added Apache snapshot repositories for dependencies and plugins

Modified:
    uima/sandbox/uimafit/trunk/pom.xml

Modified: uima/sandbox/uimafit/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/sandbox/uimafit/trunk/pom.xml?rev=1499342&r1=1499341&r2=1499342&view=diff
==============================================================================
--- uima/sandbox/uimafit/trunk/pom.xml (original)
+++ uima/sandbox/uimafit/trunk/pom.xml Wed Jul  3 11:56:33 2013
@@ -46,13 +46,41 @@
                <jiraVersion>12323969</jiraVersion>
        </properties>
 
-       <!-- override pom setting in the build project. JIRA 5.1 needs different
+       <!-- override pom setting in the build project. JIRA 5.1 needs 
different 
                URL -->
        <issueManagement>
                <system>Jira</system>
                <url>https://issues.apache.org/jira/browse/UIMA</url>
        </issueManagement>
 
+       <repositories>
+               <repository>
+                       <id>apache.snapshots</id>
+                       <name>Apache Snapshot Repository</name>
+                       <url>http://repository.apache.org/snapshots</url>
+                       <releases>
+                               <enabled>false</enabled>
+                       </releases>
+               </repository>
+       </repositories>
+
+       <pluginRepositories>
+               <pluginRepository>
+                       <id>apache.snapshots.plugins</id>
+                       <name>Apache Snapshot Repository - Maven plugins</name>
+                       <url>http://repository.apache.org/snapshots</url>
+                       <layout>default</layout>
+                       <releases>
+                               <enabled>false</enabled>
+                       </releases>
+                       <snapshots>
+                               <enabled>true</enabled>
+                               <checksumPolicy>fail</checksumPolicy>
+                               <updatePolicy>never</updatePolicy>
+                       </snapshots>
+               </pluginRepository>
+       </pluginRepositories>
+
        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
@@ -189,7 +217,8 @@
                                                </goals>
                                                <configuration>
                                                        <source>
-                                                               def noticeFile 
= new File(project.basedir.path + "/NOTICE");
+                                                               def noticeFile 
= new File(project.basedir.path +
+                                                               "/NOTICE");
                                                                if 
(noticeFile.exists()) {
                                                                
project.properties.postNoticeText = noticeFile.text;
                                                                }


Reply via email to