maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r321193 - in /maven/components/trunk/maven-site: ./ src/site/apt/guides/ src/site/apt/guides/mini/
Date Fri, 14 Oct 2005 19:34:40 GMT
Author: jvanzyl
Date: Fri Oct 14 12:34:27 2005
New Revision: 321193

URL: http://svn.apache.org/viewcvs?rev=321193&view=rev
Log:
o adding guide for netbeans, thanks to raphael

Added:
    maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module.apt
      - copied unchanged from r321165, maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt
    maven/components/trunk/maven-site/src/site/apt/guides/mini/template.txt
      - copied unchanged from r321165, maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-template.txt
Removed:
    maven/components/trunk/maven-site/src/site/apt/guides/header.apt
    maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-ide-netbeans.apt
    maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-multi-module-build.txt
    maven/components/trunk/maven-site/src/site/apt/guides/mini/guide-template.txt
Modified:
    maven/components/trunk/maven-site/ideas.txt
    maven/components/trunk/maven-site/src/site/apt/guides/index.apt
    maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh

Modified: maven/components/trunk/maven-site/ideas.txt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/ideas.txt?rev=321193&r1=321192&r2=321193&view=diff
==============================================================================
--- maven/components/trunk/maven-site/ideas.txt (original)
+++ maven/components/trunk/maven-site/ideas.txt Fri Oct 14 12:34:27 2005
@@ -13,61 +13,11 @@
    We might want to do something where we say it is a best practice to
    specify a ${user} and take it from the environment and allow an override.
 
-* Guide to using project properties
-
-Actually, no. It's *like* the properties defined in profiles in syntax,
-but this is a properties section that is specified as a direct child of
-the <project> element. So:
-
 - testing a plugin
-
 - How to get started behind an NTLM proxy.
-
 - How snapshots works
-
 - How do i use the lifecycle provided by a plugin:
-
-make sure you turn on the extension option
-
-<packaging>nbm</packaging>, <build><plugins><plugin><groupId/><artifactId/><extensions>true</extensions></plugin></plugins></build>
-
-==
-
-What expressions are available for use in the mojos?
-
-           <jason> maybe i can generate doco from @tags in the expression evaluator
or something
-<jason> that's where it's localized right?
-<jdcasey> um, sort of
-<jdcasey> we have the roots there, but we're using the ReflectionValueExtractor from
there
-<jdcasey> it can easily get pretty ugly
-<jason> i'll make a list of those
-<jdcasey> I'm thinking of making a mapping resource for expressions, for use in the
error diagnoser...maybe we can reuse that?
-<jason> of the ones that are not referenced in the plugin expression evaluator where
can i find them?
-<jason> sure
-<jason> a single place would be nice
-<jdcasey> they're (a) listed in the expression evaluator, (b) available as POM properties,
(c) available as system properties, or (d) available reflectively from the api rooted in one
of the four or five data objects
-<jdcasey> yup, I think we need that
-
-note from andy
-
-             Jason,
-
-Follow up to our irc chat about suggesting that windows m2 users move their
-repos to a location without embedded spaces. I think it would be helpful to
-people if we were to place a notification about this in a prominent place
-on the M2 site and in the getting started guide.  Parting of the marketing
-chat could be "Windows M2 Users Prepare for surefire and Java compiler
-forking by moving your M2 repository to a file system location that doesn't
-contain embedded spaces!"
-
-The default user.home on windows is c:\documents and settings\<username>\
-
-The repo location can be changed in the settings.xml file located at
-${user.home}/.m2/settings.xml
-
-I've pasted an example of a trivial modified settings.xml file below.
-
-<settings>
-   <localRepository>F:\m2-repository\repository</localRepository>
-</settings>
-
+- How do i disable ibiblio
+- using version ranges
+- plugin expressions (look at bob allison's work)
+- overriding the central repository (use central)

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=321193&r1=321192&r2=321193&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 Fri Oct 14 12:34:27 2005
@@ -40,7 +40,7 @@
 
  * {{{mini/guide-ide-idea.html}Guide to using IDEA with Maven 2.x}}
 
- * {{{mini/guide-ide-netbeans.html}Guide to using Netbeans with Maven 2.x}}
+ * {{{mini/guide-ide-netbeans/guide-ide-netbeans.html}Guide to Using maven 2 in Netbeans
4.0 (4.1 and 5.0)}}
 
  * {{{mini/guide-m1-m2.html}Guide to Moving From Maven 1.x to Maven 2.x}}
 
@@ -49,6 +49,10 @@
  * {{{mini/guide-maven-classloading.html}Guide to Maven Classloading}}
 
  * {{{mini/guide-mirror-settings.html}Guide to Mirror Settings}}
+
+ * {{{mini/guide-multi-module.html}Guide to creating a multi-module build}}
+
+ * {{{mini/guide-multi-module.html~}Guide to creating a multi-module build}}
 
  * {{{mini/guide-multiple-repositories.html}Guide to using Multiple Repositories}}
 

Modified: maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh?rev=321193&r1=321192&r2=321193&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh (original)
+++ maven/components/trunk/maven-site/src/site/apt/guides/mktoc.sh Fri Oct 14 12:34:27 2005
@@ -30,11 +30,22 @@
 (
   cd mini
 
-  for i in `ls guide-*.apt`
+  for i in `ls -d guide-*`
   do
-   title=`grep "^ Guide" $i | sed 's/^ *//'`
-   i=`echo $i | sed 's/\.apt/\.html/'`
-   [ ! -z "$title" ] && echo " * {{{mini/$i}$title}}" >> $toc && echo
>> $toc
+   if [ -d $i ]
+   then
+     (
+       cd $i
+       title=`grep "^ *Guide" ${i}.apt | sed 's/^ *//'`
+       i=`echo $i | sed 's/\.apt/\.html/'`
+       [ ! -z "$title" ] && echo " * {{{mini/$i/$i.html}$title}}" >> $toc &&
echo >> $toc
+     )
+   else
+     title=`grep "^ Guide" $i | sed 's/^ *//'`
+     i=`echo $i | sed 's/\.apt/\.html/'`
+     [ ! -z "$title" ] && echo " * {{{mini/$i}$title}}" >> $toc &&
echo >> $toc
+   fi
+  
   done       
 )       
 



Mime
View raw message