Changeset 1691


Ignore:
Timestamp:
10/14/11 04:33:08 (7 months ago)
Author:
jharrop
Message:

remove auto activation trick

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/pom.xml

    r1690 r1691  
    604604                 
    605605        </dependencies> 
    606         <distributionManagement> 
    607                 <repository> 
    608                         <uniqueVersion>false</uniqueVersion> 
    609                         <id>docx4j</id> 
    610                         <url>svn:http://dev.plutext.org/svn/docx4j/trunk/docx4j/m2</url> 
    611                 </repository> 
    612         </distributionManagement> 
    613  
    614 <!--  a by-default active profile. 
    615      This 'maven pattern' avoids some issues when one is behind a http proxy  
    616      or using a maven proxy.  
    617       
    618         The trick is the auto activation: when included as a dependency in another  
    619         project, the profile is not active (and therefore will not slow down the  
    620         other project as Maven will in this case not fetch from the remote docx4j repo). It will only active by default for docx4j development. 
    621  
    622         In other words, maven projects using docx4j can control which repo they'll  
    623         use for fetching docx4j and can use a maven proxy.      
    624      --> 
    625 <profiles> 
    626   <profile> 
    627     <id>docx4j-repositories</id> 
    628         <repositories> 
    629                 <repository> 
    630                         <id>Maven Snapshots</id> 
    631                         <url> 
    632                                 http://people.apache.org/repo/m2-snapshot-repository 
    633                         </url> 
    634                         <snapshots> 
    635                                 <enabled>true</enabled> 
    636                         </snapshots> 
    637                         <releases> 
    638                                 <enabled>false</enabled> 
    639                         </releases> 
    640                 </repository> 
    641                 <repository> 
    642                         <id>docx4j</id> 
    643                         <name>docx4j Maven 2 repository</name> 
    644                         <url>http://dev.plutext.org/svn/docx4j/trunk/docx4j/m2</url> 
    645                 </repository> 
    646                 <repository> 
    647                         <id>webdavclient4j</id> 
    648                         <name>webdavclient4j Maven 2 repository</name> 
    649                         <url>https://webdavclient4j.svn.sourceforge.net/svnroot/webdavclient4j/trunk/m2</url> 
    650                 </repository> 
    651  
    652                 <repository> 
    653       <id>maven2-repository.dev.java.net</id> 
    654       <name>Java.net Repository for Maven</name> 
    655       <url>http://download.java.net/maven/2/</url> 
    656     </repository>                
    657         </repositories> 
    658     <!-- <pluginRepositories>...</pluginRepositories> --> 
    659     <activation> 
    660       <file> 
    661         <missing>AFileWhichDoesNotExist.WeNeedThisProfileAlways</missing> 
    662       </file> 
    663     </activation> 
    664   </profile> 
    665 </profiles> 
    666606 
    667607                <!--  comment this out, until the Windows path issues below are fixed in m2eclipse 
Note: See TracChangeset for help on using the changeset viewer.