Source

xwork / pom.xml

Diff from to

File pom.xml

     <modelVersion>4.0.0</modelVersion>
     <groupId>opensymphony</groupId>
     <artifactId>xwork</artifactId>
-    <version>1.2.2-SNAPSHOT</version>
+    <version>1.2.2</version>
     <name>XWork</name>
     <description>
         XWork is an command-pattern framework that is used to power WebWork
         <system>JIRA</system>
         <url>http://jira.opensymphony.com/browse/XW</url>
     </issueManagement>
+    <distributionManagement>
+        <!--
+          For this to work, you need to:
+
+          1) Get the private key from someone that trusts you :)
+          2) Add the following to ~/.m2/settings.xml
+
+          <settings>
+              ...
+              <servers>
+                  <server>
+                        <id>opensymphony</id>
+                        <username>maven</username>
+                        <privateKey>/path/to/private/maven_opensymphony_key</privateKey>
+                  </server>
+              </servers>
+              ...
+          </settings>
+          -->
+        <repository>
+            <id>opensymphony</id>
+            <name>OpenSymphony Maven Repository</name>
+            <url>scp://maven2.opensymphony.com/opt/repository/maven2</url>
+        </repository>
+    </distributionManagement>
     <mailingLists>
         <mailingList>
             <name>WebWork users list</name>
             <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
-                  <source>1.4</source>
-                  <target>1.4</target>
+                    <source>1.4</source>
+                    <target>1.4</target>
                 </configuration>
             </plugin>
             <plugin>
                     <groups>
                         <group>
                             <title>XWork Packages</title>
-                            <packages>com.opensymphony.xwork2*</packages>
+                            <packages>com.opensymphony.xwork*</packages>
                         </group>
                     </groups>
                     <show>private</show>
                 </executions>
             </plugin>
         </plugins>
-	<defaultGoal>install</defaultGoal>
+        <defaultGoal>install</defaultGoal>
     </build>
     <dependencies>
         <dependency>
             <artifactId>commons-logging</artifactId>
             <version>1.0.4</version>
         </dependency>
-       <dependency>
+        <dependency>
             <groupId>opensymphony</groupId>
             <artifactId>ognl</artifactId>
             <version>2.6.11</version>