Help - error creating change log

2003-08-05 Thread Eran Chinthaka
   
I got following error, when i was trying to use maven site:generate
command. PLease someone help me to correct this. 
 
Thankx in advance.
 
Chinthaka
 
 
 java:compile:
[echo] Compiling to E:\projects\MavenTest/target/classes
 

[echo] Generating the Checkstyle...
checkstyle:init:
 
checkstyle:license:
 
checkstyle:report:
[echo] Using C:\Documents and
Settings\eurcolche\.maven\plugins\maven-checks
tyle-plugin-2.0-SNAPSHOT\plugin-resources/sun_checks.xml for checkstyle
...
 
[echo] Generating the Change Log...
maven-changelog-plugin:report:
[echo] Generating the changelog report
 
BUILD FAILED
File.. file:/C:/Documents and
Settings/eurcolche/.maven/plugins/maven-change
log-plugin-1.3-SNAPSHOT/
Element... changelog:changelog
Line.. 61
Column 15
java.lang.reflect.InvocationTargetException
Total time:  34 seconds

  _  

 
 Upgrade Your Email - Click here! 


Re: Artifact plugin confusion

2003-08-05 Thread khote
http://maven.apache.org/reference/user-guide.html

in the behavioural properties it mentions a (default) value for downloading
the jars and plugins etc.

  maven.repo.remote  The repository maven should use to download
artifacts (jars etc) that it can't find in the local repository
http://www.ibiblio.org/maven


In my build.properties I set
maven.repo.remote=http://www.ibiblio.org/mave,http://web1.ias.csusb.edu ...
and a couple of others, such as the struts binaries location.

when I ran a maven command that decided it needed another plugin, it went
through this list to find them.


I'm still trying to learn about uploading my work to a remote repository.  I
have a cvs server all set up on web1, I can do all the normal cvs commands
to commit, checkout, login, etc. from the command line.

when I run maven site:sshdeploy it builds the tars, then just sits there.
I'm running locally on win2k, it's a linux remote server.


- Original Message - 
From: "Alwyn Schoeman" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>; "khote"
<[EMAIL PROTECTED]>
Sent: Monday, August 04, 2003 9:32 PM
Subject: Re: Artifact plugin confusion


> 
> As far as I understand it maven.repo.remote is a list of remote
> repositories used for downloading jars from.
>
> maven.repo.list is a list of repositories to which you will deploy
> your artifact using the deploy goal.
> 
>
> On Tue, Aug 05, 2003 at 12:33:24PM +0800, khote wrote:
> > In http://maven.apache.org/reference/plugins/artifact/properties.html
> >
> > we see the property maven.repo.list
> > (And the examples link doesn't work
> > http://maven.apache.org/reference/plugins/artifact/example.html)
> >
> > In http://maven.apache.org/reference/plugins/artifact/examples.html
> >
> > we see the property maven.repo.repos being used.
> >
> > Is this a confusion?  two different concepts?
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> -- 
> Alwyn Schoeman
> SMART Money Inc.
>
> If you're a SMARTY and you're using the better DNS connections, you
> can access my homepage at http://nevyn.smarties.com.ph/Members/alwyn.
> The other unlucky ones: http://10.126.136.35/myplone
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] JIRA and CVS

2003-08-05 Thread Konstantin Priblouda

--- Jeffrey Bonevich <[EMAIL PROTECTED]> wrote:
> Totally off the Maven topic, but I was interested in
> the project's use 
> of JIRA for issue tracking.  Could anyone give me a
> quick run-down or 
> point me at the atlassian documentation that
> describes integration of 
> CVS with JIRA (i.e. associate resources in CVS with
> a given issue; view 
> the resource with a link through ViewCVS or some
> other repository 
> browsing service, etc.)?  Is this even possible in
> JIRA?  I noticed in 
> the commit info for maven source files that often a
> JIRA issue number 
> appears...is this automagically being populated
> using a tool?  or just 
> convention of developers?
> 
> Is any one aware of open source (or OSS-friendly)
> issue tracking 
> software that has this level of integration with
> CVS?
> 
> I appreciate any responses I get, and they can be
> off the list as well 
> if that works better.

XDoclet jira listens on mailing list and placess all
the emails with issue reference in subject  as
comments to respective issues. 

Used mostly for CVS commit logs. 

regards,

=
[ Konstantin Pribluda ( ko5tik ) ]
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
[ http://www.pribluda.de ]

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: New to Maven

2003-08-05 Thread Kumar, Vaidhyanatha K.
Shelly,
I have been using maven for a month.
>From what I know, you need web ONLY to do the initial install, CVS updates etc. 
>Beyond that, you really don't need a web connection. Most of the jar files can be 
>kept in the local repository.
Maven is the way to go!
Vaidhy Kumar

-Original Message-
From: Shelly_Singh [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 12:04 AM
To: Maven Users List
Subject: New to Maven


Hi All,
I am very new to maven. I do not have internet access, but have access to the web 
documents. 
Can I use maven, or do I need to have internet access to use maven. Is there a 
workaround without using internet.
Please guide me.

Thanks and Regards, 
Shelly Singh 
Infosys Technologies Ltd., Pune. 
Tel: +91 20 2932800 Ext: 2174 

 



RE: Building beta-10

2003-08-05 Thread Howard M. Lewis Ship
Hm.  Now it works for me as well?

This is very strange, because I distinctly remember doing this exact steps; deleting 
.maven,
rebuilding, running maven.  Yesterday it failed, today it works.

Before I hang my head in utter shame ... have any of the -snapshot jars changed since 
yesterday?

Anyway, I'm back to trying to build my clover patch.  I'll keep you posted.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 05, 2003 11:49 AM
> To: Maven Users List
> Subject: RE: Building beta-10
> 
> 
> Hi Howard,
> 
> I just pulled down maven 1.0 beta 10 and successfully ran
> 
> 'maven site'
> 
> for hivemind.
> 
> Can you please delete %USERPROFILE%\.maven\plugins if on 
> windows and try 
> it again?
> 
> Thanks.
> 
> [echo] Generating 
> C:/source/jakarta/jakarta-commons-sandbox/hivemind/target/docs
> /localization.html 
> from C:\source\jakarta\jakarta-c 
> ommons-sandbox\hivemind\xdocs\localization.xml
> [echo] Generating 
> C:/source/jakarta/jakarta-commons-sandbox/hivemind/target/docs
> /registry.html 
> from C:\source\jakarta\jakarta-commo 
> ns-sandbox\hivemind\xdocs\registry.xml
> [echo] Generating 
> C:/source/jakarta/jakarta-commons-sandbox/hivemind/target/docs
> /rules.html 
> from C:\source\jakarta\jakarta-commons-
> sandbox\hivemind\xdocs\rules.xml
> [echo] Generating 
> C:/source/jakarta/jakarta-commons-sandbox/hivemind/target/docs
> /services.html 
> from C:\source\jakarta\jakarta-commo 
> ns-sandbox\hivemind\xdocs\services.xml
> BUILD SUCCESSFUL
> Total time: 7 minutes 56 seconds
> --
> dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
> 
> 
> "Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote on 
> 05/08/2003 09:17:58 
> PM:
> 
> > No, as I said, I pulled down the beta-10 release and tried to build
> > that but it doesn't work.
> > 
> > --
> > Howard M. Lewis Ship
> > Creator, Tapestry: Java Web Components 
> > http://jakarta.apache.org/tapestry
> > 
> > 
> > 
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, August 04, 2003 10:22 PM
> > > To: Maven Users List
> > > Subject: RE: Building beta-10
> > > 
> > > 
> > > Are you building from CVS Head? If so, please don't expect it
> > > to work at 
> > > the moment.
> > > --
> > > dIon Gillard, Multitask Consulting
> > > Blog:  http://blogs.codehaus.org/people/dion/
> > > 
> > > 
> > > "Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote on
> > > 05/08/2003 04:32:22 
> > > AM:
> > > 
> > > > I tried that, but thought I must have missed something.
> > > > 
> > > > Using beta-10 binary download, I can build my project 
> (HiveMind) 
> > > > no
> > > problem.
> > > > 
> > > > When building from source, it fails:
> > > > 
> > > > 
> > > > [echo] Generating the Unit Tests...
> > > > maven-junit-report-plugin:report:
> > > > java:prepare-filesystem:
> > > > 
> > > > java:compile:
> > > > [echo] Compiling to C:\workspace\hivemind/target/classes
> > > > 
> > > > BUILD FAILED
> > > > File.. file:/C:/Documents and Settings/Howard/.
> > > > maven/plugins/maven-java-plugin-1.3/
> > > > Element... ant:javac
> > > > Line.. 34
> > > > Column 54
> > > > srcdir attribute must be set!
> > > > Total time:  49 seconds
> > > > 
> > > > That's the tail end of "maven site".
> > > > 
> > > > --
> > > > Howard M. Lewis Ship
> > > > Creator, Tapestry: Java Web Components
> > > > http://jakarta.apache.org/tapestry
> > > > 
> > > > 
> > > > 
> > > > > -Original Message-
> > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > > Sent: Monday, August 04, 2003 12:40 PM
> > > > > To: Maven Users List
> > > > > Subject: Re: Building beta-10
> > > > > 
> > > > > 
> > > > > Why are you running maven maven:install?
> > > > > 
> > > > > ant -f build-bootstrap.xml already installs maven
> > > > > --
> > > > > dIon Gillard, Multitask Consulting
> > > > > Blog:  http://blogs.codehaus.org/people/dion/
> > > > > 
> > > > > 
> > > > > "Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote on 
> 05/08/2003 
> > > > > 01:54:38
> > > > > AM:
> > > > > 
> > > > > > Move Maven frustration.
> > > > > > 
> > > > > > I wanted to fix the Clover plugin, because it isn't sorting 
> > > > > > the
> > > > > > way I'd like it to (and doesn't provide a property 
> to control 
> > > > > > sorting).
> > > > > > 
> > > > > > I downloaded via CVS Maven beta-10.
> > > > > > 
> > > > > > ant -f build-bootstrap.xml
> > > > > > 
> > > > > > Seems to work fine.
> > > > > > 
> > > > > > maven maven:install
> > > > > > 
> > > > > > Chugs along for a couple of minutes, and ends with:
> > > > > > 
> > > > > > +
> > > > > > | Building Maven Changelog Plug-in
> > > > > > | Memory: 57M/88M
> > > > > > +
> > > > > > Attempting to download r

MavenGoals XDoc

2003-08-05 Thread khote
I generated an XDoc for the "maven --help" and "maven --goals", got kind of
tired of looking at the text version, wanted it on my work site.

I don't know if a file attachment will make it through to this user's list,
some won't do that.



  
Maven Usage, Plugins and Goals
  

  




  maven --help
  usage: maven [options] [goal [goal2 [goal3] ... ]]
  
OptionsAction
-D,--define arg  Define a system property
-E,--emacs   Produce logging information without adornments
-X,--debug   Produce execution debug output
-b,--nobannerSuppress logo banner
-d,--dir arg Set effective working directory
-e,--exception   Produce exception stack traces
-f,--find argSet project file and effective working directory by finding the project file
-g,--goals   Display available goals
-h,--helpDisplay help information
-i,--infoDisplay system information
-o,--offline Build is happening offline
-p,--pom arg Set project file
-v,--version Display version information
  



  maven --goals


  

  
  generate-build Generate an Ant build file

  

  

  
  generate Generate source from antlr grammars
  prepare-filesystem Make any necessary directories for antlr processing

  
  
  

  
  clean Safely delete an installed appserver instance
  cycle Forced install and start of a appserver instance
  init  Initialize resources needed for the plugin
  install   Install a appserver instance
  reinstall Reinstall a appserver instance
  restart   Restart a appserver instance
  start Start a appserver instance
  stop  Stop a appserver instance

  

  

  
  loadnull

  
  
  

  
  generate-xmlnull

  
  
  

  
  ajdocJavadoc source using ajdoc
  compileCompile code with AspectJ

  

  
  

  
  cactifywar  Cactify the application war
  compile  Compiles the cactus tests
  init  null
  match  Execute all the Cactus tests matching the given 'testmatch' variable
  report  Generate a report from the test results
  single  Run a single Cactus Test Case
  test  Run all Cactus Test Cases

  
  
  

  
  prepare-filesystemMake any necessary directories for castor processing

  

  
  

  
  reportGenerate a changes report

  
  

  
   [checkstyle] : Perform checkstyle checks

  
  init  null
  license  null
  report  Perform checkstyle checks

  

  
  

  
  clean  Remove all project artifacts

  
  
  

  
  html-report  Generate HTML test coverage reports with Clover
  on  Create the needed directory structure
  swing-report  Generate Swing test coverage reports with Clover
  test  null

  
  
  

  
  init  Validate the Maven XML project descriptor

  
  
  

  
  help  Print the help message.
  listGoals  List all available goals

  
  
  
  
  
  
  
  
  
  
  
  

  
  build  Build a complete distribution.
  build-bin  Build the binary distribution.
  build-setup  Set up directories for a distribution build
  build-src  Build the source distribution.
  deploy  Deploy a distribution
  deploy-bin  Deploy a binary distribution
  deploy-snapshot  Deploy a snapshot distribution
  deploy-src  Deploy a source distribution
  prepare-bin-filesystem  Builds the binary distribution file system.
  prepare-src-filesystem  Builds the source distribution file system.

  
  
  
  

  
  transform  Transform any docbook-simple source into xdocs for later use 

  
  
  
  
  
  

  
  deploy  Deploys the ear to the remote repository 
  deploy-snapshot  Deploys the snapshot version of  the ear to remote repository
  ear  Build an ear file
  generate-ear-descriptor  Generates the ear descriptor
  init  Initialise filesystem and other resources for an ear
  install  Install the ear in the local repository
  install-snapshot  Install the snapshot version of the ear in the local repository
  loa

RE: Building beta-10

2003-08-05 Thread dion
Hi Howard,

I just pulled down maven 1.0 beta 10 and successfully ran

'maven site'

for hivemind.

Can you please delete %USERPROFILE%\.maven\plugins if on windows and try 
it again?

Thanks.

[echo] Generating 
C:/source/jakarta/jakarta-commons-sandbox/hivemind/target/docs/localization.html 
from C:\source\jakarta\jakarta-c
ommons-sandbox\hivemind\xdocs\localization.xml
[echo] Generating 
C:/source/jakarta/jakarta-commons-sandbox/hivemind/target/docs/registry.html 
from C:\source\jakarta\jakarta-commo
ns-sandbox\hivemind\xdocs\registry.xml
[echo] Generating 
C:/source/jakarta/jakarta-commons-sandbox/hivemind/target/docs/rules.html 
from C:\source\jakarta\jakarta-commons-
sandbox\hivemind\xdocs\rules.xml
[echo] Generating 
C:/source/jakarta/jakarta-commons-sandbox/hivemind/target/docs/services.html 
from C:\source\jakarta\jakarta-commo
ns-sandbox\hivemind\xdocs\services.xml
BUILD SUCCESSFUL
Total time: 7 minutes 56 seconds
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote on 05/08/2003 09:17:58 
PM:

> No, as I said, I pulled down the beta-10 release and tried to build 
> that but it doesn't work.
> 
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, August 04, 2003 10:22 PM
> > To: Maven Users List
> > Subject: RE: Building beta-10
> > 
> > 
> > Are you building from CVS Head? If so, please don't expect it 
> > to work at 
> > the moment.
> > --
> > dIon Gillard, Multitask Consulting
> > Blog:  http://blogs.codehaus.org/people/dion/
> > 
> > 
> > "Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote on 
> > 05/08/2003 04:32:22 
> > AM:
> > 
> > > I tried that, but thought I must have missed something.
> > > 
> > > Using beta-10 binary download, I can build my project (HiveMind) no
> > problem.
> > > 
> > > When building from source, it fails:
> > > 
> > > 
> > > [echo] Generating the Unit Tests...
> > > maven-junit-report-plugin:report:
> > > java:prepare-filesystem:
> > > 
> > > java:compile:
> > > [echo] Compiling to C:\workspace\hivemind/target/classes
> > > 
> > > BUILD FAILED
> > > File.. file:/C:/Documents and Settings/Howard/. 
> > > maven/plugins/maven-java-plugin-1.3/
> > > Element... ant:javac
> > > Line.. 34
> > > Column 54
> > > srcdir attribute must be set!
> > > Total time:  49 seconds
> > > 
> > > That's the tail end of "maven site".
> > > 
> > > --
> > > Howard M. Lewis Ship
> > > Creator, Tapestry: Java Web Components 
> > > http://jakarta.apache.org/tapestry
> > > 
> > > 
> > > 
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > Sent: Monday, August 04, 2003 12:40 PM
> > > > To: Maven Users List
> > > > Subject: Re: Building beta-10
> > > > 
> > > > 
> > > > Why are you running maven maven:install?
> > > > 
> > > > ant -f build-bootstrap.xml already installs maven
> > > > --
> > > > dIon Gillard, Multitask Consulting
> > > > Blog:  http://blogs.codehaus.org/people/dion/
> > > > 
> > > > 
> > > > "Howard M. Lewis Ship" <[EMAIL PROTECTED]> wrote on
> > > > 05/08/2003 01:54:38 
> > > > AM:
> > > > 
> > > > > Move Maven frustration.
> > > > > 
> > > > > I wanted to fix the Clover plugin, because it isn't sorting the 
> > > > > way I'd like it to (and doesn't provide a property to control 
> > > > > sorting).
> > > > > 
> > > > > I downloaded via CVS Maven beta-10.
> > > > > 
> > > > > ant -f build-bootstrap.xml
> > > > > 
> > > > > Seems to work fine.
> > > > > 
> > > > > maven maven:install
> > > > > 
> > > > > Chugs along for a couple of minutes, and ends with:
> > > > > 
> > > > > +
> > > > > | Building Maven Changelog Plug-in
> > > > > | Memory: 57M/88M
> > > > > +
> > > > > Attempting to download regexp-1.2.jar.
> > > > > ..
> > > > > .
> > > > > 
> > > > > clean:clean:
> > > > > [delete] Deleting directory C:\workspace\maven\src\plugins-
> > > > > build\changelog\target
> > > > > 
> > > > > clean:
> > > > > 
> > > > > plugin:
> > > > > java:prepare-filesystem:
> > > > > [mkdir] Created dir: C:\workspace\maven\src\plugins-
> > > > > build\changelog\target\classes
> > > > > 
> > > > > java:compile:
> > > > > [echo] Compiling to c:\workspace\maven\src\plugins-
> > > > > build\changelog/target/classes
> > > > > [javac] Compiling 17 source files to 
> > > > > C:\workspace\maven\src\plugins-build\changelog\target\classes
> > > > > C:\workspace\maven\src\plugins- 
> > > > > 
> > > > 
> > build\changelog\src\main\org\apache\maven\cvslib\CvsChangeLogGenerat
> > > > o
> > > > > r.java:106: cannot resolve symbol
> > > > > symbol  : method splitSCMConnection (java.lang.String)
> > > > > location: class org.apache.maven.project.Repository
> > > > > Str

RE: Problem with last cvs checkout...

2003-08-05 Thread Vincent Massol
Hi Sebastien,

You should not use the latest HEAD version as it is unstable. You should
use the released b10 for now. What I did suggest to you in another email
was to build the Cactus plugin *only* from the CVS HEAD version.

Cheers,
-Vincent

> -Original Message-
> From: BRUNOT Sébastien [mailto:[EMAIL PROTECTED]
> Sent: 05 August 2003 13:40
> To: '[EMAIL PROTECTED]'
> Subject: Problem with last cvs checkout...
> 
> Hi,
> 
> I've "checkouted" maven sources one hour ago, and have successfully
built
> maven... But when i try to run it, I have a message saying that it
can't
> find a repository directory under ${user.home} (there is one, created
by
> maven b10), and create a directory named "${user.home}" (!) under my
> project
> directory.
> 
> Anybody got the same problem ?
> 
> My build was done unsing maven-beta10 environment variables.
> 
> Sebastien BRUNOT
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Artifact plugin confusion

2003-08-05 Thread Alwyn Schoeman

As far as I understand it maven.repo.remote is a list of remote
repositories used for downloading jars from.

maven.repo.list is a list of repositories to which you will deploy
your artifact using the deploy goal.


On Tue, Aug 05, 2003 at 12:33:24PM +0800, khote wrote:
> In http://maven.apache.org/reference/plugins/artifact/properties.html
> 
> we see the property maven.repo.list
> (And the examples link doesn't work
> http://maven.apache.org/reference/plugins/artifact/example.html)
> 
> In http://maven.apache.org/reference/plugins/artifact/examples.html
> 
> we see the property maven.repo.repos being used.
> 
> Is this a confusion?  two different concepts?
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



-- 
Alwyn Schoeman
SMART Money Inc.

If you're a SMARTY and you're using the better DNS connections, you
can access my homepage at http://nevyn.smarties.com.ph/Members/alwyn.
The other unlucky ones: http://10.126.136.35/myplone

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cross referencer gets NumberFormatException

2003-08-05 Thread John Farrell
On Tue, 5 Aug 2003 02:28 pm, dion gillard wrote:
> Are you 100% sure it's the xref that's doing this?

No, I have been trying to figure out why I thought that. I now think I have 
xref turned off, and it is still happening. I can't figure out what's causing 
it now.

John

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how do I get resources in my jar file?

2003-08-05 Thread Jefferson K. French
test:compile has java:jar-resources as a prereq.

On Tue, 5 Aug 2003, at 16:48:03 [GMT +1000] John Farrell wrote:

> It looks to me as if the setting in the POM is accessible from
> java:jar-resources. But what calls java:jar-resources? java:jar does not, it 
> just calls jar:jar. jar:jar does not. Nothing seems to, actually.

-- 
mailto:[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how do I get resources in my jar file?

2003-08-05 Thread John Farrell
I am running maven beta 10, and cannot get resources copied into my jar file. 
I have made extensive investigations. In the POM, I have this:


  
${basedir}/src/res

  *.properties

  


I found this goal which seems to copy resources as I need:

  


  ${pom.build.resources}
  

  

Notice I have added an echo there, so when I do "maven java:jar-resources", I 
get:

java:jar-resources:
[echo] [[dir = /home/john/mainline/mp-base/src/res]]
BUILD SUCCESSFUL

It looks to me as if the setting in the POM is accessible from 
java:jar-resources. But what calls java:jar-resources? java:jar does not, it 
just calls jar:jar. jar:jar does not. Nothing seems to, actually.

I tried adding a preGoal to maven.xml, 


  


but that didn't seem to achieve it, because there are still no resources in 
the jar. Could someone please advise on how it's supposed to work, and what 
I'm doing wrong? Thanks,

John

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]