You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jk...@apache.org on 2011/01/20 05:28:41 UTC

svn commit: r1061119 - /incubator/opennlp/trunk/opennlp-maxent/pom.xml

Author: jkosin
Date: Thu Jan 20 04:28:41 2011
New Revision: 1061119

URL: http://svn.apache.org/viewvc?rev=1061119&view=rev
Log:
OPENNLP-19: added plugins for java-doc and source jar files to be created for the release

Modified:
    incubator/opennlp/trunk/opennlp-maxent/pom.xml

Modified: incubator/opennlp/trunk/opennlp-maxent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-maxent/pom.xml?rev=1061119&r1=1061118&r2=1061119&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-maxent/pom.xml (original)
+++ incubator/opennlp/trunk/opennlp-maxent/pom.xml Thu Jan 20 04:28:41 2011
@@ -48,9 +48,7 @@
 	</dependencies>
 
 	<build>
-		<finalName>${project.groupId}-${project.artifactId}-${project.version}</finalName>
 		<plugins>
-
 			<plugin>
 				<artifactId>maven-assembly-plugin</artifactId>
 				<version>2.2-beta-2</version>
@@ -60,27 +58,57 @@
 					</descriptors>
 				</configuration>
 			</plugin>
-	      <plugin>
-	        <groupId>org.apache.rat</groupId>
-	        <artifactId>apache-rat-plugin</artifactId>
-	        <executions>
-	          <execution>
-	            <id>default-cli</id>
-	            <configuration>
-	              <excludes>
-	                <exclude>CHANGES</exclude>
-	                <exclude>lib/ASL</exclude>
-	                <exclude>lib/LIBNOTES</exclude>
-	                <exclude>META-INF/MANIFEST.MF</exclude>
-	                <exclude>samples/sports/*.test</exclude> <!-- sample data -->
-	                <exclude>src/main/java/opennlp/maxent/AllEnglishAffixes.txt</exclude> <!-- test data -->
-	                <exclude>src/test/resources/data/opennlp/maxent/io/*.txt</exclude> <!-- test data -->
-	                <exclude>src/test/resources/data/opennlp/maxent/*.txt</exclude> <!-- test data -->
-	              </excludes>              
-	            </configuration>
-	          </execution>
-	        </executions>
-	      </plugin>		
+
+			<plugin>
+				<artifactId>maven-javadoc-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>create-javadoc-jar</id>
+						<goals>
+							<goal>jar</goal>
+						</goals>
+						<phase>package</phase>
+						<configuration>
+							<source>${maven.compile.source}</source>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			
+			<plugin>
+				<artifactId>maven-source-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>create-source-jar</id>
+						<goals>
+							<goal>jar</goal>
+						</goals>
+						<phase>package</phase>
+					</execution>
+				</executions>
+			</plugin>
+
+			<plugin>
+				<groupId>org.apache.rat</groupId>
+				<artifactId>apache-rat-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>default-cli</id>
+						<configuration>
+							<excludes>
+								<exclude>CHANGES</exclude>
+								<exclude>lib/ASL</exclude>
+								<exclude>lib/LIBNOTES</exclude>
+								<exclude>META-INF/MANIFEST.MF</exclude>
+								<exclude>samples/sports/*.test</exclude> <!-- sample data -->
+								<exclude>src/main/java/opennlp/maxent/AllEnglishAffixes.txt</exclude> <!-- test data -->
+								<exclude>src/test/resources/data/opennlp/maxent/io/*.txt</exclude> <!-- test data -->
+								<exclude>src/test/resources/data/opennlp/maxent/*.txt</exclude> <!-- test data -->
+							</excludes>              
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>		
 		</plugins>
 	</build>
 </project>
\ No newline at end of file