o adding guide for netbeans, thanks to raphael

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321193 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2005-10-14 19:34:27 +00:00
parent 0d93c160bc
commit ffcedd9584
7 changed files with 24 additions and 100 deletions

View File

@ -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)

View File

@ -1,24 +0,0 @@
------
Summary of Maven 2.x documentation
------
Jason van Zyl
------
12 October 2005
------
Documentation
* Getting Started Guide
* {{{getting-started/index.html}Getting Started Guide}}
* Developer Guides
* {{{development/guide-m2-development.html}Guide to Developing Maven 2.x}}
* {{{development/guide-building-m2.html}Guide to Building Maven 2.x}}
* Plug-in Guides
* {{{plugin/guide-plugin-development.html}Plug-in Developer's Guide}}

View File

@ -40,7 +40,7 @@ Documentation
* {{{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}}
@ -50,6 +50,10 @@ Documentation
* {{{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}}
* {{{mini/guide-pom-properties.html}Guide to using POM properties}}

View File

@ -1,17 +0,0 @@
------
Guide to using Netbeans with Maven 2.x
------
Jason van Zyl
------
12 October 2005
------
Guide to using Netbeans with Maven 2.x
To generate the Netbeans project files from your POM you execute the following command:
+----+
m2 ...
+----+

View File

@ -30,11 +30,22 @@ echo >> $toc
(
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
)