* fixed Maven URL
authorSvjatoslav Agejenko <n0@n0-Aspire-8920.(none)>
Sun, 30 Dec 2012 00:06:24 +0000 (02:06 +0200)
committerSvjatoslav Agejenko <n0@n0-Aspire-8920.(none)>
Sun, 30 Dec 2012 00:06:24 +0000 (02:06 +0200)
* Also publish source and javadoc artifacts

pom.xml

diff --git a/pom.xml b/pom.xml
index 5010b41..4712a2f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,7 @@
             </testResource>
         </testResources>
         <plugins>
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
@@ -44,6 +45,7 @@
                     <encoding>UTF-8</encoding>
                 </configuration>
             </plugin>
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-resources-plugin</artifactId>
                     <encoding>UTF-8</encoding>
                 </configuration>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>2.2.1</version>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.9</version>
+                <executions>
+                    <execution>
+                        <id>attach-javadocs</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
         </plugins>
 
         <extensions>
         <repository>
             <id>svjatoslav.eu</id>
             <name>Svjatoslav repository</name>
-            <url>http://svjatoslav.eu/static/maven/</url>
+            <url>http://www2.svjatoslav.eu/maven/</url>
         </repository>
     </repositories>
 
+
     <distributionManagement>
         <snapshotRepository>
             <id>svjatoslav.eu</id>
             <name>svjatoslav.eu</name>
-            <url>scp://svjatoslav.eu/var/lib/tomcat6/_svjatoslav.eu/static/maven</url>
+            <url>scp://svjatoslav.eu:7022/var/www/maven</url>
         </snapshotRepository>
     </distributionManagement>