Re: example for settings.xml

2009-03-01 Thread linchongsu
you can get reference from http://maven.apache.org/settings.html
Best Regards!

On Sun, Mar 1, 2009 at 3:21 PM, nani2ratna nani2ra...@gmail.com wrote:


 Hi,

 Thank you very much for your replies.
 Actually i didnt understand properly about settings.xml.
 I didnt put anything in that file.
 Thats why it was not working.
 I went through some forums then i put the default values.
 Now its working fine.
 Thank you very much for giving these replies.

 Thanks and Regards
 Ratna Sekhar





 Ian Petzer wrote:
 
  Hi Ratna,
 
  To be honest you don't really need much of anything in a settings.xml
  file.
  The defaults are enough to get Maven working.
 
  I actually run with a settings.xml file that looks much like the snippet
  below You could create your own settings.xml file like this but I doubt
 it
  would solve your problem.
 
  Maybe you should paste your error message that you get:
 
  -
 
  settings xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/xsd/settings-1.0.0.xsd;
 
  mirrors
  /mirrors
  servers
  /servers
 
  /settings
 
 
  ---
 
  On Sat, Feb 28, 2009 at 10:35 PM, nani2ratna nani2ra...@gmail.com
 wrote:
 
 
  Hi,
 
  I am new user to maven.
  I installed maven perfectly. I did first hello world perfectly.
  Now i want to create a project for struts and hibernate.
  Then i gave command to generate folder for web application.
  It also worked fine, now i put struts in dependency.
  But its giving error that settings.xml is not working.
  I want to start developing with struts very new version 2.1.6 GA.
  So can please send me the proper settings.xml.
 
  Thanks and Regards
  Ratna
  -
  View this message in context:
  http://www.nabble.com/example-for-settings.xml-tp22267685p22267685.html
  Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/example-for-settings.xml-tp22267685p22270551.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 
漠洋(苏琳冲)
SuLinchong
Phone   13656669328
Qq387973308
Msn  sulinch...@hotmail.com


[ANN] Maven Doxia and Doxia Sitetools 1.0 Released

2009-03-01 Thread Dennis Lundberg

The Maven team is pleased to announce the release of Maven Doxia and
Doxia Sitetools, version 1.0.

http://maven.apache.org/doxia/

Release Notes - Maven Doxia - Version 1.0

** Task
* [DOXIA-254] - Using the last version of modello-maven-plugin


Release Notes - Maven Doxia Sitetools - Version 1.0

** Bug
* [DOXIASITETOOLS-13] - NPE when generating Maven site
* [DOXIASITETOOLS-16] - NullPointerException
* [DOXIASITETOOLS-17] - generated site.css is 0 bytes

** Improvement
* [DOXIASITETOOLS-1] - Provide a schema for site.xml


** Wish
* [DOXIASITETOOLS-8] - The order of title tag and meta tag



Enjoy!

- The Maven Team

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: example for settings.xml

2009-03-01 Thread Ian Petzer
Ratna,

Now that you have a better understanding of the settings.xml file, I would
recommend that you specify a mirror for the main maven site that is located
close to you geographically. Encourage the rest of your team to do the same,
or even think about putting in a local repository for your organisation.

Your Maven will run faster due to a lower latency connection and you'll be
less load on the Maven servers.

Ian

On Sun, Mar 1, 2009 at 7:21 AM, nani2ratna nani2ra...@gmail.com wrote:


 Hi,

 Thank you very much for your replies.
 Actually i didnt understand properly about settings.xml.
 I didnt put anything in that file.
 Thats why it was not working.
 I went through some forums then i put the default values.
 Now its working fine.
 Thank you very much for giving these replies.

 Thanks and Regards
 Ratna Sekhar





 Ian Petzer wrote:
 
  Hi Ratna,
 
  To be honest you don't really need much of anything in a settings.xml
  file.
  The defaults are enough to get Maven working.
 
  I actually run with a settings.xml file that looks much like the snippet
  below You could create your own settings.xml file like this but I doubt
 it
  would solve your problem.
 
  Maybe you should paste your error message that you get:
 
  -
 
  settings xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/xsd/settings-1.0.0.xsd;
 
  mirrors
  /mirrors
  servers
  /servers
 
  /settings
 
 
  ---
 
  On Sat, Feb 28, 2009 at 10:35 PM, nani2ratna nani2ra...@gmail.com
 wrote:
 
 
  Hi,
 
  I am new user to maven.
  I installed maven perfectly. I did first hello world perfectly.
  Now i want to create a project for struts and hibernate.
  Then i gave command to generate folder for web application.
  It also worked fine, now i put struts in dependency.
  But its giving error that settings.xml is not working.
  I want to start developing with struts very new version 2.1.6 GA.
  So can please send me the proper settings.xml.
 
  Thanks and Regards
  Ratna
  -
  View this message in context:
  http://www.nabble.com/example-for-settings.xml-tp22267685p22267685.html
  Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/example-for-settings.xml-tp22267685p22270551.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: Eclipse and maven

2009-03-01 Thread John Wooten
Made change suggested to targetJdk, and yes I am running 1.5 as the  
default.  Got the following:


[INFO] Generating PMD Report report.
[WARNING] Unable to locate Source XRef to link to - DISABLED
[WARNING] File encoding has not been set, using platform encoding  
MacRoman, i.e. build is platform dependent!
[WARNING] Error while parsing /Users/woo/Development/workspaces/areteq/ 
modules/Foundation/src/main/java/com/areteq/common/ 
HashMapHandler.java: Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing /Users/woo/Development/workspaces/areteq/ 
modules/Foundation/src/main/java/com/areteq/common/ 
HashMapHandler.java: Can't use generics unless running in JDK 1.5 mode!

[

What else can be wrong?
On Feb 28, 2009, at 12:55 PM, Edelson, Justin wrote:


targetJdk



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Un-mavenize a Maven2 project ?

2009-03-01 Thread Mark Struberg
All they have to do is unziping the maven.zip and set the PATH.

Really, all other options - _including_ manual eclipse project config and ANT 
setup - are _much_  more time consuming than this.

You don't even have to give them a share and create a logon for each of the 
students. Simply direct them to 
http://maven.apache.org/download

LieGrue,
strub

--- Ian Petzer ianpet...@gmail.com schrieb am Sa, 28.2.2009:

 Von: Ian Petzer ianpet...@gmail.com
 Betreff: Re: Un-mavenize a Maven2 project ?
 An: Maven Users List users@maven.apache.org
 Datum: Samstag, 28. Februar 2009, 21:25
 Hi Alessio,
 
 A possible solution to your problem that would allow you to
 keep your
 mavenised project and isolate your students from Maven
 would be:
 
 1) Generate an eclipse project using Maven
 2) Create a lib folder in your project structure (at the
 same level as src)
 3) Manually or automatically copy the the project
 dependencies from your
 local repo into the lib folder (maintaining their relative
 directory
 structures)
 4) Distribute the project to your students. Each of them
 will have to use
 the 'Import existing eclipse project' option to get
 it into their workspace.
 5) All of the project dependencies are mapped relative to
 the M2_REPO
 variable, so your students would have to create this
 variable and then point
 it at the lib folder containing the dependencies.
 
 By this point they should be up and running and ready to
 code.
 
 I haven't tried this but I think it should work fine.
 You could also
 distribute the lib folder seperately to the project if you
 preferred that.
 
 Ian
 
 
 
 
 On Fri, Feb 27, 2009 at 6:44 PM, Mark Struberg
 strub...@yahoo.de wrote:
 
  but ant must be installed also before it can be used.
 And installing ant is
  the same effort than installing maven.
  So this will not add anything to his problem.
 
  LieGrue,
  strub
 
 
  --- David Weintraub qazw...@gmail.com schrieb
 am Fr, 27.2.2009:
 
   Von: David Weintraub qazw...@gmail.com
   Betreff: Re: Un-mavenize a Maven2
 project ?
   An: Maven Users List
 users@maven.apache.org
   Datum: Freitag, 27. Februar 2009, 19:18
   Would Ant be okay to use?
  
   You don't have to demavenize a thing -- just
 add a
   build.xml to your project.
  
   We converted many of our projects from Ant to
 Maven, but
   still have
   both the build.xml and pom.xml in the root
 directory. I
   even removed
   the third party jars from our repository.
 Instead, I added
   Ant's get
   task to the build.xml to fetch the needed jars.
 It is up to
   the tech
   leads to decide whether to use Maven or Ant in
 our
   continuous build
   process although more and more projects are now
 being built
   with
   Maven.
  
   Then again, installed Maven, set the settings.xml
 in the
   Maven
   directory, then tarred it up and pass it out to
 the
   students. It's
   pretty self contained. All they need to do is
 untar it
   somewhere, and
   put a link to the mvn script into
 their PATH.
   That will allow the
   students to learn Maven while they are at it.
  
   Might as well let your students learn how to use
 Maven now
   while their
   brains are still soft and moist rather than wait
 a few
   years after
   brain hardening has started to set in.
  
   On Fri, Feb 27, 2009 at 2:19 AM, Alessio Pace
   alessio.p...@gmail.com wrote:
Hi,
   
a project I'm working on is built by
 Maven2. It is
   a single module, it uses
M2 merely for dependency managament.
   
I have to let some students play with it as
 part of a
   lab project. Their
machines just have plain Eclipse, and the
 users are
   Maven-unaware, and I
can't afford to make them pre-install
 Maven or
   install it during the lab
session (too few hours).
   
What I wanted to do is to
 un-mavenize the
   project, creating a separate
source tree in the old fashion: without the
 pom.xml
   but with a libs
directory filled with all the jars my
 project depends
   on. Possibly also with
the Eclipse .project and .classpath files
 already
   configured (ok ok, this is
optional).
   
Thanks in advance for any suggestion on how
 to achieve
   that, or with
comments if you ever had to deal with such a
 situation
   (and possibly if you
want me to discourage to go with the
 un-mavenize
   process)
   
Regards,
Alessio Pace.
   
  
  
  
   --
   --
   David Weintraub
   qazw...@gmail.com
  
  
 -
   To unsubscribe, e-mail:
 users-unsubscr...@maven.apache.org
   For additional commands, e-mail:
   users-h...@maven.apache.org
 
 
 
 
 
 -
  To unsubscribe, e-mail:
 users-unsubscr...@maven.apache.org
  For additional commands, e-mail:
 users-h...@maven.apache.org
 
 




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional 

Re: Un-mavenize a Maven2 project ?

2009-03-01 Thread David Weintraub
On Fri, Feb 27, 2009 at 1:44 PM, Mark Struberg strub...@yahoo.de wrote:
 but ant must be installed also before it can be used. And installing ant is 
 the same effort than installing maven.
 So this will not add anything to his problem.

Ant is included when you install Eclipse. It's one of the reasons our
developers aren't exactly on board with our conversion to Maven. They
don't have to install Ant, and Maven's configuration isn't exactly
straight forward because of the changes you have to make to the
settings.xml file in order to use our local repository.

I publish the settings.xml, and I have a preconfigured Maven install,
but you can't beat something that's already included when you download
Eclipse.

--
David Weintraub
qazw...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: example for settings.xml

2009-03-01 Thread Rusty Wright

And here are some instructions for that:

 http://maven.apache.org/guides/mini/guide-mirror-settings.html


Ian Petzer wrote:

Ratna,

Now that you have a better understanding of the settings.xml file, I would
recommend that you specify a mirror for the main maven site that is located
close to you geographically. Encourage the rest of your team to do the same,
or even think about putting in a local repository for your organisation.

Your Maven will run faster due to a lower latency connection and you'll be
less load on the Maven servers.

Ian

On Sun, Mar 1, 2009 at 7:21 AM, nani2ratna nani2ra...@gmail.com wrote:


Hi,

Thank you very much for your replies.
Actually i didnt understand properly about settings.xml.
I didnt put anything in that file.
Thats why it was not working.
I went through some forums then i put the default values.
Now its working fine.
Thank you very much for giving these replies.

Thanks and Regards
Ratna Sekhar





Ian Petzer wrote:

Hi Ratna,

To be honest you don't really need much of anything in a settings.xml
file.
The defaults are enough to get Maven working.

I actually run with a settings.xml file that looks much like the snippet
below You could create your own settings.xml file like this but I doubt

it

would solve your problem.

Maybe you should paste your error message that you get:

-

settings xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd;

mirrors
/mirrors
servers
/servers

/settings


---

On Sat, Feb 28, 2009 at 10:35 PM, nani2ratna nani2ra...@gmail.com

wrote:

Hi,

I am new user to maven.
I installed maven perfectly. I did first hello world perfectly.
Now i want to create a project for struts and hibernate.
Then i gave command to generate folder for web application.
It also worked fine, now i put struts in dependency.
But its giving error that settings.xml is not working.
I want to start developing with struts very new version 2.1.6 GA.
So can please send me the proper settings.xml.

Thanks and Regards
Ratna
-
View this message in context:
http://www.nabble.com/example-for-settings.xml-tp22267685p22267685.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





--
View this message in context:
http://www.nabble.com/example-for-settings.xml-tp22267685p22270551.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven reporting

2009-03-01 Thread Rusty Wright

For example, the version of a plugin can be overridden but the configuration 
for the plugin isn't?


EJ Ciramella wrote:

OY - gotcha.

Some maven 2 things work such that any configuration in a child pom overwrites 
what's in a parent, just not in the reporting stanzas?

H.

Thank you! 


-Original Message-
From: Nick Stolwijk [mailto:nick.stolw...@gmail.com] 
Sent: Friday, February 27, 2009 4:10 PM

To: Maven Users List
Subject: Re: Maven reporting

Most plugins have a skip option, ie. pmd [1] and checkstyle [2]. You can 
configure the report inside your own pom with the skip option enabled. If the 
plugin you are targetting doesn't have, please submit a feature request. It 
isn't hard to build in.

Hth,

[1] http://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#skip
[2] 
http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#skip

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Fri, Feb 27, 2009 at 10:04 PM, EJ Ciramella ecirame...@upromise.com wrote:
We have a standard corp type pom that defines a list of reports that 
should be run/generated as part of every site build.


In a project that has this corp pom listed as a parent, I'd like to 
NOT run a few of those reports.  Is there a way to exclude/override 
which reports are run?




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Database plugin

2009-03-01 Thread Rusty Wright

Try looking here: http://mojo.codehaus.org/plugins.html

You could also suggest to the Scriptella folks that they provide maven plugin 
functionality.


Sommers, Elizabeth wrote:

Before I reinvent the wheel, does anybody have a good plugin for JDBC?
I am going to be mining data from attached artifacts.  If anybody has
mavenized Scriptella it would be perfect.

Thanks

Liz Sommers
somme...@pragmatics.com
 


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven reporting

2009-03-01 Thread Stephen Connolly
but the first version of a plugin used in a reactor is the one that  
gets used, so if the parent is part of the same reactor, *and* gets  
built first, your override of the version in the child will be ignored


Sent from my [rhymes with myPod] ;-)

On 1 Mar 2009, at 19:59, Rusty Wright rusty.wri...@gmail.com wrote:

For example, the version of a plugin can be overridden but the  
configuration for the plugin isn't?



EJ Ciramella wrote:

OY - gotcha.
Some maven 2 things work such that any configuration in a child pom  
overwrites what's in a parent, just not in the reporting stanzas?

H.
Thank you! -Original Message-
From: Nick Stolwijk [mailto:nick.stolw...@gmail.com] Sent: Friday,  
February 27, 2009 4:10 PM

To: Maven Users List
Subject: Re: Maven reporting
Most plugins have a skip option, ie. pmd [1] and checkstyle [2].  
You can configure the report inside your own pom with the skip  
option enabled. If the plugin you are targetting doesn't have,  
please submit a feature request. It isn't hard to build in.

Hth,
[1] http://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#skip
[2] 
http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#skip
Nick Stolwijk
~Java Developer~
Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl
On Fri, Feb 27, 2009 at 10:04 PM, EJ Ciramella ecirame...@upromise.com 
 wrote:
We have a standard corp type pom that defines a list of reports  
that should be run/generated as part of every site build.


In a project that has this corp pom listed as a parent, I'd like  
to NOT run a few of those reports.  Is there a way to exclude/ 
override which reports are run?



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Modules navigation area empty with generated content when site:site is run on an aggregator POM

2009-03-01 Thread Dennis Lundberg
The Site Plugin doesn't add links to modules by default. This is
something you have to configure. Add a small site.xml to your aggregator
project like this:

project
  body
menu ref=modules /
  /body
/project

See more about the site descriptor here:
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html

Carr, Brian M wrote:
 I have a simple aggregator pom which defines a number of modules which are
 located in the directory directly beneath them.  The site generated for the
 aggregator seems to know that it should care about it's modules (a modules
 section appears on the generated target/site/index.html, but it has no items
 listed).  The child sites has no modules menu item at all (as expected).
 I have no site.xml, so I am looking for default behavior here for now.
 Below is a minimal example which shows the behavior.
 
 Versions:
 Java version: 1.5.0_16
 OS name: mac os x version: 10.5.6 arch: i386 Family: unix
 
 Tested with both:
 Maven 2.0.9 with maven-site-plugin 2.0-beta-6
 Maven 2.0.10 with maven-site-plugin 2.0-beta-7
 
 directory layout:
 
 site-test
 |-pom.xml
 |-site-two
 |-\-pom.xml
 |-site-three
 |-\-pom.xml
 
 site-test/pom.xml:
 project
   modelVersion4.0.0/modelVersion
   groupIdcom.example/groupId
   artifactIdsite-test/artifactId
   nameTop Level Site Test/name
   version1.0-SNAPSHOT/version
   packagingpom/packaging
 
   modules
 modulesite-two/module
 modulesite-three/module
   /modules
 /project
 
 site-two/pom.xml:
 project
   modelVersion4.0.0/modelVersion
   groupIdcom.example/groupId
   artifactIdsite-two/artifactId
   nameSecond Level Site Test/name
   version1.0-SNAPSHOT/version
   packagingjar/packaging
 /project
 
 
 Am I missing a critical configuration stanza here?  I can't find anything in
 the plugin docs or FAQs which suggest that I need anything if I'm not trying
 to customize the output.
 
 --b
 __
 Brian M. Carr
 Identity and Access Management
 ITS Applications
 University of Texas at Austin
 V: 512-232-6419
 F: 512-471-5746
 brianmc...@austin.utexas.edu


-- 
Dennis Lundberg

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: [ANN] Maven Doxia and Doxia Sitetools 1.0 Released

2009-03-01 Thread Borut Bolčina
Congratulations.

Now, how do I use confluence wiki format for generating my maven project docs?
http://maven.apache.org/doxia/modules/index.html#Confluence

I posted a question two days ago with a subject Generating site with
confluence markup.

Cheers,
Borut

Which version of maven, site-plugin

2009/3/1 Dennis Lundberg denn...@apache.org

 The Maven team is pleased to announce the release of Maven Doxia and
 Doxia Sitetools, version 1.0.

 http://maven.apache.org/doxia/

 Release Notes - Maven Doxia - Version 1.0

 ** Task
    * [DOXIA-254] - Using the last version of modello-maven-plugin


 Release Notes - Maven Doxia Sitetools - Version 1.0

 ** Bug
    * [DOXIASITETOOLS-13] - NPE when generating Maven site
    * [DOXIASITETOOLS-16] - NullPointerException
    * [DOXIASITETOOLS-17] - generated site.css is 0 bytes

 ** Improvement
    * [DOXIASITETOOLS-1] - Provide a schema for site.xml


 ** Wish
    * [DOXIASITETOOLS-8] - The order of title tag and meta tag



 Enjoy!

 - The Maven Team

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: [ANN] Maven Doxia and Doxia Sitetools 1.0 Released

2009-03-01 Thread Mohan KR
So will the site plugin automatically pick this up?


Thanks,
mohan kr

-Original Message-
From: Dennis Lundberg [mailto:denn...@apache.org] 
Sent: Sunday, March 01, 2009 6:43 AM
To: annou...@maven.apache.org; Maven Users List
Cc: Maven Developers List
Subject: [ANN] Maven Doxia and Doxia Sitetools 1.0 Released


The Maven team is pleased to announce the release of Maven Doxia and
Doxia Sitetools, version 1.0.

http://maven.apache.org/doxia/

Release Notes - Maven Doxia - Version 1.0

** Task
* [DOXIA-254] - Using the last version of modello-maven-plugin


Release Notes - Maven Doxia Sitetools - Version 1.0

** Bug
* [DOXIASITETOOLS-13] - NPE when generating Maven site
* [DOXIASITETOOLS-16] - NullPointerException
* [DOXIASITETOOLS-17] - generated site.css is 0 bytes

** Improvement
* [DOXIASITETOOLS-1] - Provide a schema for site.xml


** Wish
* [DOXIASITETOOLS-8] - The order of title tag and meta tag



Enjoy!

- The Maven Team

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven-bundle-plugin Scala

2009-03-01 Thread Stuart McCulloch
2009/3/1 Josh Suereth joshua.suer...@gmail.com

 Apache Felix Users -

 I'm currently working om a scalac (the scala compiler) plugin that enforces
 all package imports within a scala module either come from that module or
 are exported by another module on its classpath.  I'd like to integrate
 into
 the bundle lifecycle.  Currently, for jar/war projects, the
 maven-scala-plugin executes before the maven-compiler-plugin (generating
 .class files for the .scala files and simply parsing the .java), then the
 maven-compiler plugin handles the actual  .java compilation and the whole
 lifecycle is happy.   Is this approach feasible for integration with the
 maven-bundle-plugin?


yes, it should be feasible - if you have any problems send a note to the
Apache Felix
users list (us...@felix.apache.org) as the maven-bundle-plugin is a Felix
sub-project.

Thanks!!
 -Josh Suereth


-- 
Cheers, Stuart


Re: Generating site with confluence markup

2009-03-01 Thread Dirk Olmes
Borut Bolčina wrote:
 Hello,
 
 I am trying to generate a site with doxia confluence format, but getting an
 error.
[...]

 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Internal error in the plugin manager executing goal
 'org.apache.maven.plugins:maven-site-plugin:2.0-beta-7:site': Unable to find
 the mojo 'org.apache.maven.plugins:maven-site-plu
 gin:2.0-beta-7:site' in the plugin
 'org.apache.maven.plugins:maven-site-plugin'
 org.apache.maven.doxia.logging.Log

This clearly looks like a connection bug to the central repo to me (it
may be a temporary outage). I use the twiki site module which follows
the same approach. Here's the pom snippet that works for me:

build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
version2.0-beta-7/version
dependencies
dependency
groupIdorg.apache.maven.doxia/groupId
artifactIddoxia-module-confluence/artifactId
version1.0/version
/dependency
/dependencies
configuration
inputEncodingUTF-8/inputEncoding
outputEncodingUTF-8/outputEncoding
/configuration
/plugin
/plugins
/build

 I have src/site/confluence/index.confluence with some confluence style
 markup and a src/site/site.xml with some menu items, one of them referencing
 index.html. Is this the right approach?

Yes, this is the right approach and it worked for me with the POM
snippet above.

-dirk

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven-bundle-plugin Scala

2009-03-01 Thread Mark Derricutt
I've used the scala plugin and the felix bundle plugin together in the past
with no problems, everything seemed to work perfectly normal, and the bnd
tool used by the bundle plugin operates on class files).
...and then Buffy staked Edward.  The End.


On Mon, Mar 2, 2009 at 8:14 PM, Stuart McCulloch mccu...@gmail.com wrote:

 2009/3/1 Josh Suereth joshua.suer...@gmail.com

  I'm currently working om a scalac (the scala compiler) plugin that
 enforces
  all package imports within a scala module either come from that module
 or
  are exported by another module on its classpath.  I'd like to integrate
  into
  the bundle lifecycle.  Currently, for jar/war projects, the



Re: Generating site with confluence markup

2009-03-01 Thread Lukas Theussl


You can't use version 1.1-SNAPSHOT of the confluence module with 
site-plugin-2.0-beta-7 (doxia.logging is only available in doxia 1.1). The site 
plugin has to be updated first to use doxia 1.1 which is scheduled to happen in 
version 2.1 [1].


HTH,
-Lukas

[1] http://jira.codehaus.org/browse/MSITE-298


Dirk Olmes wrote:

Borut Bolčina wrote:

Hello,

I am trying to generate a site with doxia confluence format, but getting an
error.

[...]


[ERROR] BUILD ERROR
[INFO]

[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-site-plugin:2.0-beta-7:site': Unable to find
the mojo 'org.apache.maven.plugins:maven-site-plu
gin:2.0-beta-7:site' in the plugin
'org.apache.maven.plugins:maven-site-plugin'
org.apache.maven.doxia.logging.Log


This clearly looks like a connection bug to the central repo to me (it
may be a temporary outage). I use the twiki site module which follows
the same approach. Here's the pom snippet that works for me:

build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
version2.0-beta-7/version
dependencies
dependency
groupIdorg.apache.maven.doxia/groupId
artifactIddoxia-module-confluence/artifactId
version1.0/version
/dependency
/dependencies
configuration
inputEncodingUTF-8/inputEncoding
outputEncodingUTF-8/outputEncoding
/configuration
/plugin
/plugins
/build


I have src/site/confluence/index.confluence with some confluence style
markup and a src/site/site.xml with some menu items, one of them referencing
index.html. Is this the right approach?


Yes, this is the right approach and it worked for me with the POM
snippet above.

-dirk

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org