You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2005/10/27 20:56:51 UTC

svn commit: r328921 - in /maven/components/trunk/maven-site: my-app/ my-app/src/main/resources/META-INF/ src/site/apt/guides/ src/site/apt/guides/mini/

Author: jvanzyl
Date: Thu Oct 27 11:56:43 2005
New Revision: 328921

URL: http://svn.apache.org/viewcvs?rev=328921&view=rev
Log:
o breaking out the installation of 3rd party JARs into a separate guide
  and referencing it from the coping with sun jars guide.
  

Added:
    maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-installing-3rd-party-jars.apt   (with props)
Modified:
    maven/components/trunk/maven-site/my-app/pom.xml
    maven/components/trunk/maven-site/my-app/src/main/resources/META-INF/application.properties
    maven/components/trunk/maven-site/src/site/apt/guides/index.apt
    maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt

Modified: maven/components/trunk/maven-site/my-app/pom.xml
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/my-app/pom.xml?rev=328921&r1=328920&r2=328921&view=diff
==============================================================================
--- maven/components/trunk/maven-site/my-app/pom.xml (original)
+++ maven/components/trunk/maven-site/my-app/pom.xml Thu Oct 27 11:56:43 2005
@@ -13,6 +13,7 @@
 
   <properties>
     <pkey>pvalue</pkey>
+    <target>${pom.build.directory}</target>
   </properties>
 
   <dependencies>
@@ -48,7 +49,7 @@
             </manifest>
             <manifestEntries>
               <mode>development</mode>
-              <url>${pom.url}</url>
+              <url>${target}</url>
             </manifestEntries>
           </archive>
         </configuration>

Modified: maven/components/trunk/maven-site/my-app/src/main/resources/META-INF/application.properties
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/my-app/src/main/resources/META-INF/application.properties?rev=328921&r1=328920&r2=328921&view=diff
==============================================================================
--- maven/components/trunk/maven-site/my-app/src/main/resources/META-INF/application.properties (original)
+++ maven/components/trunk/maven-site/my-app/src/main/resources/META-INF/application.properties Thu Oct 27 11:56:43 2005
@@ -2,3 +2,5 @@
 project=${pom.name}
 value=${pkey}
 java.version=${java.version}
+target=${target}
+foo=${pom.build.directory}

Modified: maven/components/trunk/maven-site/src/site/apt/guides/index.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/index.apt?rev=328921&r1=328920&r2=328921&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/index.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/index.apt Thu Oct 27 11:56:43 2005
@@ -48,6 +48,8 @@
 
  * {{{mini/guide-ide-netbeans/guide-ide-netbeans.html}Guide to Using maven 2 in Netbeans 4.0 (4.1 and 5.0)}}
 
+ * {{{mini/guide-installing-3rd-party-jars.html}Guide to installing 3rd party JARs}}
+
  * {{{mini/guide-m1-m2.html}Guide to Moving From Maven 1.x to Maven 2.x}}
 
  * {{{mini/guide-manifest.html}Guide to Working with Manifests}}

Modified: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt?rev=328921&r1=328920&r2=328921&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-coping-with-sun-jars.apt Thu Oct 27 11:56:43 2005
@@ -65,11 +65,6 @@
  location and retrieval information.
 
  Once you have downloaded a particular SUN JAR to your system you can install the JAR
- in your local repository using a the install plug-in:
+ in your local repository. Please refer to our {{{guide-installing-3rd-party-jars.html}Guide to installing 3rd party JARs}}
+ for instructions on how to accomplish this.
 
-+----+
-
-mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \
-    -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
-
-+----+

Added: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-installing-3rd-party-jars.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-installing-3rd-party-jars.apt?rev=328921&view=auto
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-installing-3rd-party-jars.apt (added)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-installing-3rd-party-jars.apt Thu Oct 27 11:56:43 2005
@@ -0,0 +1,22 @@
+ ------
+ Guide to installing 3rd party JARs
+ ------
+ Jason van Zyl
+ ------
+ 12 October 2005
+ ------
+
+Guide to installing 3rd party JARs
+
+ Often times you will have 3rd party JARs that you need to put in your local repository for use in your
+ builds. The JARs must be placed in the local repository in the correct place in order for it to be correctly
+ picked up by Maven. To make this easier, and then error prone, we have provide a goal in the install plug-in
+ which should make this relatively painless. To install a JAR in the local repository use the following
+ command:
+
++----+
+
+mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \
+    -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
+
++----+

Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-installing-3rd-party-jars.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-installing-3rd-party-jars.apt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"