How to get report?

2006-09-11 Thread jiangshachina

Hello,
I have run some Maven2 build with Continuum1.0.3.
It's said that Continuum can show report (not building output) about junit,
failed issue...
How can I get it?
Configure Maven2 POM or Continuum?

a cup of Java, cheers!
Sha Jiang
-- 
View this message in context: 
http://www.nabble.com/How-to-get-report--tf2250510.html#a6241698
Sent from the Continuum - Users forum at Nabble.com.



Re: How to get report?

2006-09-11 Thread Emmanuel Venisse

where did you see it? junit report is a 1.1 feature.

Emmanuel

jiangshachina a écrit :

Hello,
I have run some Maven2 build with Continuum1.0.3.
It's said that Continuum can show report (not building output) about junit,
failed issue...
How can I get it?
Configure Maven2 POM or Continuum?

a cup of Java, cheers!
Sha Jiang




Re: Session time too short

2006-09-11 Thread Emmanuel Venisse

I'm sorry, but it sin't possible to modify it.

Emmanuel

Steve Baker a écrit :

Can someone please point out how to extend the session time so that I
don't have to log into continuum every time I need to check a build?

This wouldn't be such a problem if the login redirected to the
originally requested page. Always redirecting to the homepage makes it
impossible to deep link from other sites.

cheers







Re: pre-build changes

2006-09-11 Thread Emmanuel Venisse
It isn't possible and it isn't recommended to do it because if you change dependencies versions in 
continuum without to change them in your scm, you'll build a project that won't be the real one.


It's better to change dependencies versions in your project.xml

Emmanuel

Andrei Savitski a écrit :

Hello all,

We have several projects added to the Continuum, and all this projects
are building once per day. Every project have its dependencies (all
are maven1 projects).
My question is, how can I change versions of some dependencies in every 
project?

For example, I know exactly, what version of some library will be used
in next production version, and I want to build all projects using
this version even if developers put for some reason other version in
dependencies block, or forget to change it.


Regards,
Andrei







Re: How to get report?

2006-09-11 Thread jiangshachina

Hello Emmanuel,
It means that I have a fault. I'm sorry of that.
Does Continuue noly run Maven(or Ant ...) build logic with some specific
regular?
Does it not report any more information?
It seems that CruiseControll do more things than Continuum *_*

a cup of Java, cheers!
Sha Jiang


Emmanuel Venisse wrote:
 
 where did you see it? junit report is a 1.1 feature.
 
 Emmanuel
 
 jiangshachina a écrit :
 Hello,
 I have run some Maven2 build with Continuum1.0.3.
 It's said that Continuum can show report (not building output) about
 junit,
 failed issue...
 How can I get it?
 Configure Maven2 POM or Continuum?
 
 a cup of Java, cheers!
 Sha Jiang
 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-get-report--tf2250510.html#a6243013
Sent from the Continuum - Users forum at Nabble.com.



howto use doxia confluence module ?

2006-09-11 Thread Nicolas De Loof


Hello,

I'd like to use confluence markup for my project doc instead of APT. 
Doxia project site has no doc at all (that sounds interesting for a 
documentation tool ;-)) and I can't find help in google or maling list 
archives ... as searching for doxia+confluence points me to wikis 
powered by confluence !


Is there any HowTo for doxia ?

Nico.





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



Re: exporting database files through maven 1.0.2

2006-09-11 Thread Arnaud HERITIER

You can use the torque plugin
http://db.apache.org/torque/releases/torque-3.2/maven-plugin/goals.html

Arnaud

On 9/7/06, manoj kaushik [EMAIL PROTECTED] wrote:


hi everybody
i want to know that if there is any plugin or way in maven 1.0.2 with
which
i can export database files . any help regarding this will be highly
appreciated.
thanks in advance
Manoj Kaushik




Re: Maven1.1 is adding jars I don't want to my unit test classpath

2006-09-11 Thread Arnaud HERITIER

I can't have a look at this now.
Can you open an issue on Jira please ?
http://jira.codehaus.org/browse/MPTEST

thanks.

Arnaud

On 9/7/06, David G. Paschich [EMAIL PROTECTED] wrote:


Quick summary:  It appears that the Maven test module in Maven 1.1 beta 3
is
adding, among other things, log4j and Xerces to my classpath before
running
unit tests.  Can I get it to stop?  I tried setting
maven.test.excludeXmlApis to yes but that had no effect.

Why do I want to do this?

I do most of my development using Eclipse, and had an existing project
which
uses Maven 1.1 to build.  I ran maven eclipse, loaded it up, and then
ran
the unit tests, which failed with an error indicating that a class in
Apache
commons-logging was missing.  But at the command line, the unit tests
succeeded without error.

After doing some digging, I added explicit dependencies on commons-logging
and log4j to my project.xml, re-ran maven eclipse, and now the tests run
fine in Eclipse.

Here's my concern.  I didn't list these packages as dependencies in my
project, but Maven added them to my classpath anyway when running unit
tests.  However, this code is going to get eventually deployed in an
environment where those packages may or may not be present, in versions
which may or may not be compatible with the ones Maven so helpfully added
for me.   So now I don't entirely trust my unit tests -- I would much
rather
have them fail if they need a jar not explicitly listed in the project
dependencies to run.

Can anyone help me out here?  The only knobs I see in the test plugin
documentation which seem relevant are maven.junit.fork and
maven.test.excludeXmlApis -- I tried all 4 combinations of yes and no
for those two values and still see the problem occuring.  I'm using Java
1.4.2.

Thanks,

--
David G. Paschich
[EMAIL PROTECTED]





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




Surefire problem with test-jar in a reactor

2006-09-11 Thread _Seb_

Hi,

I am using a test-jar to share a test framework between several modules of
my project. When I run a clean integration-test like release:prepare does,
on my entire project I have the error message below.

It seems that surefire does not get test jars of dependent modules in the
target directory of theses modules but try to get them from the repository.
Does anybody else have seen this before ? Is this a bug ?

Thanx for your help

Seb



[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   OPEN GLOBAL
[INFO]   TECHNIQUE
[INFO]   technique-types
[INFO]   technique-serveur
[INFO]   technique-composants
[INFO]   technique-client
[INFO]   technique-web
[INFO]   COMMUN
[INFO]   commun-serveur
[INFO]   commun-client
[INFO]   ACCES
[INFO]   acces-serveur
[INFO]   acces-client
[INFO]   GTP
[INFO]   gtp-serveur
[INFO]   gtp-client
[INFO]   OPEN
[INFO]   open-serveur
[INFO]   open-client
[INFO]   PUNCHING
[INFO]   punching-domaine-connecteur
[INFO]   punching-domaine
[INFO]   punching-synchro
[INFO]   open-web
[INFO]   punching-UC
[INFO]   punching-native
[INFO]   punching-UC-virtuelle
[INFO]   punching-connecteur
[INFO]   punching-connecteur-web
[INFO]   PRODUCTION OPEN
[INFO]

[INFO] Building OPEN GLOBAL
[INFO]task-segment: [clean, integration-test]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory P:\eclipse-workspace\open\target
[INFO] Deleting directory P:\eclipse-workspace\open\target\classes
[INFO] Deleting directory P:\eclipse-workspace\open\target\test-classes
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] NOT adding sources to attached artifacts for packaging: 'pom'.
[INFO]

[INFO] Building TECHNIQUE
[INFO]task-segment: [clean, integration-test]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory P:\eclipse-workspace\open\technique\target
[INFO] Deleting directory P:\eclipse-workspace\open\technique\target\classes
[INFO] Deleting directory
P:\eclipse-workspace\open\technique\target\test-classes
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] NOT adding sources to attached artifacts for packaging: 'pom'.
[INFO]

[INFO] Building technique-types
[INFO]task-segment: [clean, integration-test]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory
P:\eclipse-workspace\open\technique\technique-types\target
[INFO] Deleting directory
P:\eclipse-workspace\open\technique\technique-types\target\classes
[INFO] Deleting directory
P:\eclipse-workspace\open\technique\technique-types\target\test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 65 source files to
P:\eclipse-workspace\open\technique\technique-types\target\classes
[INFO] [antrun:run {execution: Changement du numero version}]
[INFO] Executing tasks
 [echo] R6_2C10-SNAPSHOT
 [echo] 6.2C10-SNAPSHOT
[INFO] Executed tasks
[INFO] [antrun:run {execution: Changement du numero version}]
[INFO] Executing tasks
 [echo] R6_2C10-SNAPSHOT
 [echo] 6.2C10-SNAPSHOT
[INFO] Executed tasks
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 2 source files to
P:\eclipse-workspace\open\technique\technique-types\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
P:\eclipse-workspace\open\technique\technique-types\target\surefire-reports

---
 T E S T S
---
Running com.bodet.open.types.TestNumeroVersion
Version en cours : 0.0A0
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running com.bodet.open.temps.TestDateHeure
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec

Results :
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar:
P:\eclipse-workspace\open\technique\technique-types\target\technique-types-R6_2C10-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar 

Re: AddressException in notifying with multiple email addresses

2006-09-11 Thread Adam Hardy

OK, here it is.

http://jira.codehaus.org/browse/CONTINUUM-860

I hope this doesn't seem a rude question, but what is the plan regarding 
the Maven Repository Manager? Is it competition, a replacement, a 
substitute? There are a couple of questions I have about possible 
functionality enhancements.


Regards
Adam

Emmanuel Venisse wrote:

Please, file an issue.

Emmanuel

Johnson, Jonathan a écrit :

Adam,

I had the same problem.  I wanted to define the notifications in the POM
and not through the Continuum admin screen.   The whole comma (why not
';'?) separated list thing never worked for me.   So in each of my sub
module POM.XML files I added sections like this and it has worked
perfectly since.  (A comma separate list is really not a good idea 
since it circumvents

the advantages of well-formed and repeatable XML elements.)

   ciManagement
systemContinuum/system
urlhttp://yourcontinuumservermachine:8080/continuum/url
notifiers
notifier
typemail/type
configuration
address[EMAIL PROTECTED]/address
/configuration
sendOnErrortrue/sendOnError
sendOnFailuretrue/sendOnFailure
sendOnSuccessfalse/sendOnSuccess
sendOnWarningtrue/sendOnWarning
/notifier
notifier
typemail/type
configuration
address[EMAIL PROTECTED] /address
/configuration
sendOnErrortrue/sendOnError
sendOnFailuretrue/sendOnFailure
sendOnSuccessfalse/sendOnSuccess
sendOnWarningtrue/sendOnWarning
/notifier
notifier
typemail/type
configuration
address[EMAIL PROTECTED] /address
/configuration
sendOnErrortrue/sendOnError
sendOnFailuretrue/sendOnFailure
sendOnSuccesstrue/sendOnSuccess
sendOnWarningtrue/sendOnWarning
/notifier
/notifiers
/ciManagement

I tried adding this notifiers list to the parent POM.XML but that did
not work.  I had to add it to each sub-module pom.xml.  I also tried
referencing the list of the developers ids in my parent pom to get their
emails but that did not work either.  From what I have experienced the
developers list and the notifiers lists are separate even though
some of the information is duplicated and cannot be connected.

Good luck/

- Jonathan


-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, 
September 08, 2006 1:34 PM

To: continuum-users@maven.apache.org
Subject: AddressException in notifying with multiple email addresses

Hi Continuum People,

I am looking at a problem whose solution has eluded me for the past 
couple of hours.


I set up my continuum with a single notification address via the pom.xml

and everything worked. I then added extra email addresses delimited by 
commas so:


 
address[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],jua

[EMAIL PROTECTED]/address

and continuum 1.0.3 seemed to like it and picked it up and displayed 
it in the project config. Javamail 1.3.2 though does not like it. I 
get the


stack trace:

javax.mail.internet.AddressException: Illegal route-addr in string 
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cerve

[EMAIL PROTECTED]''

(see more log output below).

Interestingly sendmail on my linux box where continuum runs is quite 
happy with the format:


[EMAIL PROTECTED]:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail 
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cervera

@no.com

Lastly, here's the application.xml for the notification. Any help 
gratefully received.


Adam

!--
| The mail notifier
|--
component
   roleorg.codehaus.plexus.notification.notifier.Notifier/role
   role-hintmail/role-hint
 
implementationorg.apache.maven.continuum.notification.mail.MailContinu

umNotifier/implementation
   requirements
 requirement
   roleorg.codehaus.plexus.velocity.VelocityComponent/role
 /requirement
 requirement
   roleorg.apache.maven.continuum.store.ContinuumStore/role
 /requirement
 requirement
   roleorg.codehaus.plexus.mailsender.MailSender/role
 /requirement
 requirement
 
roleorg.apache.maven.continuum.configuration.ConfigurationService/rol

e
 /requirement
   /requirements
   configuration
 from-mailbox/from-mailbox
 from-name/from-name
 timestamp-formatEEE, d MMM  HH:mm:ss Z/timestamp-format
 includeBuildResulttrue/includeBuildResult
 alwaysSendtrue/alwaysSend
   /configuration
/component

component
   roleorg.codehaus.plexus.notification.RecipientSource/role
 
implementationorg.apache.maven.continuum.notification.ContinuumRecipie

ntSource/implementation
   configuration
 !--
 Setting this propery will make Continuum send all 

Different behavior between jar and zip dependency

2006-09-11 Thread _Seb_

Hi,

I have another problem with reactor. When I have a dependency from one
module to another one with type jar, everything is ok, the latter one get
the jar in the target directory of the first one. If I do the same with a
dependency of type zip, I have an error because the latter module try to
download the zip from my repository.

Does somebody knows why ? How can I depend on a zip file in my reactor if I
want to do a release ?

Regards

Seb
-- 
View this message in context: 
http://www.nabble.com/Different-behavior-between-jar-and-zip-dependency-tf2251348.html#a6243862
Sent from the Maven - Users forum at Nabble.com.


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



axistools plugin

2006-09-11 Thread Richard Fagot

I tryed to use the axistools plugin but the following error occurs :
The plugin 'org.apache.maven.plugins:maven-axis-plugin' does not exist 
or no valid version could be found


my pom.xml contains :
 !-- WSDL2Java --
   plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdaxistools-maven-plugin/artifactId
   configuration
 testCasestrue/testCases
 serverSidetrue/serverSide
 packageSpacemyPackage/packageSpace
 
outputDirectory${basedir}/src/main/java/outputDirectory

   /configuration
   executions
   execution
   goals
   goalwsdl2java/goal
   /goals
   /execution
   /executions
   /plugin   



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



SaxParseException when using DBUnit in M2 build

2006-09-11 Thread Bengt-Erik Fröberg

Hi!
I'm using maven 2.0.4 with the Surefire plugin 2.2 to test a couple of
DAOs set up with Hibernate.
At all tests i get the following exception, and I'm not able to find
the cause, which I suspect lies within DBUnit 2.1...
I realize that this is probably not a Maven2 problem, but as I guess
that many of you use DBUnit, som may recognize it and suggest a
solution.


org.dbunit.dataset.DataSetException:
org.xml.sax.SAXNotSupportedException: not supported setting property
http://xml.org/sax/properties/lexical-handler
  at 
org.dbunit.dataset.xml.FlatXmlProducer.produce(FlatXmlProducer.java:165)
  at org.dbunit.dataset.CachedDataSet.init(CachedDataSet.java:71)
  at org.dbunit.dataset.xml.FlatXmlDataSet.init(FlatXmlDataSet.java:200)
  at org.dbunit.dataset.xml.FlatXmlDataSet.init(FlatXmlDataSet.java:187)
  at 
ks.rah.avik2.dao.DBUnitOperationWrapper.getDataSet(DBUnitOperationWrapper.java:74)
  at 
ks.rah.avik2.dao.DBUnitOperationWrapper.cleanInsert(DBUnitOperationWrapper.java:84)
  at 
ks.rah.avik2.dao.AbstractDaoTestBase.onSetUp(AbstractDaoTestBase.java:65)
  at ks.rah.avik2.dao.TestFunctionDao.onSetUp(TestFunctionDao.java:45)

Grateful for any help!

/B-E

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



Re: axistools plugin

2006-09-11 Thread Dirk Olmes

 I tryed to use the axistools plugin but the following error occurs :
 The plugin 'org.apache.maven.plugins:maven-axis-plugin' does not exist
 or no valid version could be found

Did you configure maven to use the mojo plugin repo? Make sure you have

  pluginRepositories
pluginRepository
  idMaven Plugin Snapshots/id
  urlhttp://snapshots.maven.codehaus.org/maven2//url
  snapshots
enabledtrue/enabled
  /snapshots
  releases
enabledtrue/enabled
  /releases
/pluginRepository
  /pluginRepositories

included in either your settings.xml or the pom of your project.

HTH,

-dirk

-- 
Anyway kids, have fun, play nicely, be good. And remember - if it ain't
broke, hit it again.


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



Re: How to get report?

2006-09-11 Thread Emmanuel Venisse
Continuum 1.0.3 doesn't generate itself junit report. You can generate it with surefire report 
plugin and add site goal to your build definition


Emmanuel

jiangshachina a écrit :

Hello Emmanuel,
It means that I have a fault. I'm sorry of that.
Does Continuue noly run Maven(or Ant ...) build logic with some specific
regular?
Does it not report any more information?
It seems that CruiseControll do more things than Continuum *_*

a cup of Java, cheers!
Sha Jiang


Emmanuel Venisse wrote:

where did you see it? junit report is a 1.1 feature.

Emmanuel

jiangshachina a écrit :

Hello,
I have run some Maven2 build with Continuum1.0.3.
It's said that Continuum can show report (not building output) about
junit,
failed issue...
How can I get it?
Configure Maven2 POM or Continuum?

a cup of Java, cheers!
Sha Jiang









Re: AddressException in notifying with multiple email addresses

2006-09-11 Thread Emmanuel Venisse



Adam Hardy a écrit :

OK, here it is.

http://jira.codehaus.org/browse/CONTINUUM-860


Thanks.



I hope this doesn't seem a rude question, but what is the plan regarding 
the Maven Repository Manager? Is it competition, a replacement, a 
substitute? There are a couple of questions I have about possible 
functionality enhancements.


The new name of MAven Repository Manager is Archiva. If you have questions about it, you can send a 
mail to archiva-users@maven.apache.org


Emmanuel



Regards
Adam

Emmanuel Venisse wrote:

Please, file an issue.

Emmanuel

Johnson, Jonathan a écrit :

Adam,

I had the same problem.  I wanted to define the notifications in the POM
and not through the Continuum admin screen.   The whole comma (why not
';'?) separated list thing never worked for me.   So in each of my sub
module POM.XML files I added sections like this and it has worked
perfectly since.  (A comma separate list is really not a good idea 
since it circumvents

the advantages of well-formed and repeatable XML elements.)

   ciManagement
systemContinuum/system
urlhttp://yourcontinuumservermachine:8080/continuum/url
notifiers
notifier
typemail/type
configuration
address[EMAIL PROTECTED]/address
/configuration
sendOnErrortrue/sendOnError
sendOnFailuretrue/sendOnFailure
sendOnSuccessfalse/sendOnSuccess
sendOnWarningtrue/sendOnWarning
/notifier
notifier
typemail/type
configuration
address[EMAIL PROTECTED] /address
/configuration
sendOnErrortrue/sendOnError
sendOnFailuretrue/sendOnFailure
sendOnSuccessfalse/sendOnSuccess
sendOnWarningtrue/sendOnWarning
/notifier
notifier
typemail/type
configuration
address[EMAIL PROTECTED] /address
/configuration
sendOnErrortrue/sendOnError
sendOnFailuretrue/sendOnFailure
sendOnSuccesstrue/sendOnSuccess
sendOnWarningtrue/sendOnWarning
/notifier
/notifiers
/ciManagement

I tried adding this notifiers list to the parent POM.XML but that did
not work.  I had to add it to each sub-module pom.xml.  I also tried
referencing the list of the developers ids in my parent pom to get their
emails but that did not work either.  From what I have experienced the
developers list and the notifiers lists are separate even though
some of the information is duplicated and cannot be connected.

Good luck/

- Jonathan


-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, 
September 08, 2006 1:34 PM

To: continuum-users@maven.apache.org
Subject: AddressException in notifying with multiple email addresses

Hi Continuum People,

I am looking at a problem whose solution has eluded me for the past 
couple of hours.


I set up my continuum with a single notification address via the pom.xml

and everything worked. I then added extra email addresses delimited 
by commas so:


 
address[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],jua

[EMAIL PROTECTED]/address

and continuum 1.0.3 seemed to like it and picked it up and displayed 
it in the project config. Javamail 1.3.2 though does not like it. I 
get the


stack trace:

javax.mail.internet.AddressException: Illegal route-addr in string 
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cerve

[EMAIL PROTECTED]''

(see more log output below).

Interestingly sendmail on my linux box where continuum runs is quite 
happy with the format:


[EMAIL PROTECTED]:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail 
[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cervera

@no.com

Lastly, here's the application.xml for the notification. Any help 
gratefully received.


Adam

!--
| The mail notifier
|--
component
   roleorg.codehaus.plexus.notification.notifier.Notifier/role
   role-hintmail/role-hint
 
implementationorg.apache.maven.continuum.notification.mail.MailContinu

umNotifier/implementation
   requirements
 requirement
   roleorg.codehaus.plexus.velocity.VelocityComponent/role
 /requirement
 requirement
   roleorg.apache.maven.continuum.store.ContinuumStore/role
 /requirement
 requirement
   roleorg.codehaus.plexus.mailsender.MailSender/role
 /requirement
 requirement
 
roleorg.apache.maven.continuum.configuration.ConfigurationService/rol

e
 /requirement
   /requirements
   configuration
 from-mailbox/from-mailbox
 from-name/from-name
 timestamp-formatEEE, d MMM  HH:mm:ss Z/timestamp-format
 includeBuildResulttrue/includeBuildResult
 alwaysSendtrue/alwaysSend
   /configuration
/component

component
   

[m2] Example/reference how to write an M2 report plugin

2006-09-11 Thread Benoit Xhenseval
Hi *,

We shall be looking at porting an m1 report plugin to m2.  The report reads xml 
files, generates charts and reports.

Maven2 seems to be very different to m1 in that area and we were wondering if 
there was an example or a 'clean' implementation of a report plugin for m2 we 
could base ours on?  I do not think that the m2 book mentions writing a report.

Should we look at Checkstyle plugin? PMD? another one?  
We're looking for a simple and clean reference implementation!

Many thanks

Benoit.



Re: Invalid URL

2006-09-11 Thread Yann Le Du

Hi Ken,

For now, and as is said in the error message, you cannot use SCM URLs.

As a workaround, you can :

  - checkout sources locally, and use file upload
  - setup a CVS repo viewer like ViewVC (formerly ViewCVS), and use http
  URL
  - setup your CVS repo on WebDAV, and use http URL

HTH,
- Yann

2006/9/11, K Burns [EMAIL PROTECTED]:


Hi,

I'm trying to set up a new M2 project, using Continuum 1.0.3. My project
structure is:

parent_project
child_project1
child_project2

where the 2 children are defined in the parent pom.xml


I'm entering a POM URL of the format:


scm:cvs:pserver:username:password@ip_address:/usr/cvs/repo_name:parent_project_path

but am getting an error:

You must provide a valid URL(http, https, ftp and file protocols are
allowed)

CVS is up and running (verified outside of Continuum) with the details as
above.

Why is Continuum unhappy with my URL.

Many thanks,

Ken




PHP and Maven2?

2006-09-11 Thread Alexander Hars

Hi,

Is anybody using Maven2 for a PHP project? Are there any best practices 
to start out with (e.g. directory layout etc.)?
I would like to use Maven for a new PHP project but all I found so far 
was a Php Plugin for Maven1.


Thanks,

Alexander



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



Managed bean always is null running on jetty

2006-09-11 Thread Dudu

I have a jsf application.
When I run my app on eclipse or other ide, it runs ok, but when I do
jetty:run, no errors is happen, but in parts of code that I get the managed
bean using ValueBinding objects, the valueBinding always return nullPointer
exception, but this behavior is happening only on jetty.
And to run in eclipse, I do eclipse:eclipse to libraries be the same.
Any idea? thanks all!


Re: [m2] maven-release-plugin: how about a prompt for customizing commit comment during release preparation ?

2006-09-11 Thread Dario Luis Coneglian Oliveros

Please find it at http://jira.codehaus.org/browse/MRELEASE-156 .
For those of you who also want this feature, please vote for it.
Thanks,
Dário

Jorg Heymans wrote:


Sounds like a perfectly valid usecase to me, create a ticket on
jira.codehaus.org/browse/MRELEASE in case nobody else chips in here.

Jorg

On 6/6/06, Dario Luis Coneglian Oliveros [EMAIL PROTECTED] wrote:



Hi there,

I've been trying to use maven-release-plugin to prepare a release, but
whenever I do that, it fails since I have a SVN precommit hook that
integrates with an issue tracking system  which in turn waits for a
comment containing an issue number. Since release plugin adds its own
comment, such as [maven-release-plugin] prepare release ..., this
integration fails. So I was wondering if this could be prompted in the
same way for the release and next development iteration versions.
How about that ?

Please let me know any comments on this.
Thanks,
Dário



-
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: antrun plugin can't find proper jars

2006-09-11 Thread EJ Ciramella
Ok - that works, I added:

plugin

artifactIdmaven-antrun-plugin/artifactId
executions
execution
idp4sync/id
phasevalidate/phase
configuration
tasks
ant
antfile=test.xml target=build
/ant
/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions
dependencies
  dependency
groupIdant/groupId
artifactIdant-apache-oro/artifactId
version1.6.5/version
  /dependency
  dependency
groupIdoro/groupId
artifactIdoro/artifactId
version2.0.8/version
  /dependency
/dependencies
/plugin

To my parent pom, but now I see it run this sync (and fails) with every
subproject as it attempts to validate the pom.xmls.

How could I simply add to the parent pom a target (in ant speak) to sync
the entire project?  We need to recycle passwords stored in people's
home directories inside property files so using maven's build in p4
syncing stuff isn't going to work for us. 

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 08, 2006 5:31 PM
To: Maven Users List
Subject: Re: antrun plugin can't find proper jars

http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
Using optional ant tasks

Basically you add the optional jars as dependencies to the
maven-antrun-plugin itself in the build-plugins-plugin node.

Wayne

On 9/8/06, EJ Ciramella [EMAIL PROTECTED] wrote:
 Here's a better question - is anyone trying to use any of the optional
 tasks in ant via maven?

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 08, 2006 1:50 PM
 To: users@maven.apache.org
 Subject: antrun plugin can't find proper jars

 I'm running into a bit of a problem.  Since we require passwords to
log
 into perforce and for security reasons, I'm prevented from having some
 sort of shell log the build user in, I'm attempting to shell out to
ant
 so maven can sync the project directory.

 So if I do ant -f test.xml things work just fine, but when I execute
 maven, I get this:

 Embedded error: The following error occurred while executing this
line:
 E:\work\up-svcs\lty\proj\LTY-P39\test.xml:4: Could not create task
 or type of type: p4sync.

 Ant could not find the task or a class this task relies upon.


 Any suggestions?

 -
 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]


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



site generation during build

2006-09-11 Thread Jeff Mutonho

My top level pom has a reporting section that has configurations for
maven-surefire-report-plugin
maven-jxr-plugin
maven-javadoc-plugin

---
---etc


My builds are handled by Continuum.In order to deploy my project website I
have to manually do  a mvn site-deploy from the command line .How can I
get the reports to be generated and then deployed  during a Continuum build?


--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


Re: site generation during build

2006-09-11 Thread Christophe DENEUX


Hi Jeff,

In continuum, add the target site:deploy to your build definition, 
goals section




Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Jeff Mutonho a écrit :

My top level pom has a reporting section that has configurations for
maven-surefire-report-plugin
maven-jxr-plugin
maven-javadoc-plugin

---
---etc


My builds are handled by Continuum.In order to deploy my project 
website I

have to manually do  a mvn site-deploy from the command line .How can I
get the reports to be generated and then deployed  during a Continuum 
build?






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

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

Conflict with dependencies

2006-09-11 Thread Dudu

I'm using the RI implementation of JSF, and using shale-test too.
But Shale-test uses another JSF implementation, the MyFaces. And the two
implementation obviously has classes with identical names.

How can I manage conflicts like this? Is it correct to change the pom.xml of
shale to don't get the myfaces? I think no, because all developers of my
team would to do this...and the goal of maven is the distributed
development.

In case of jars conflicts, how to solve this in a automatic way to all
developers don't need to change their originally local repositories?

Thanks.


RE: Conflict with dependencies

2006-09-11 Thread Jörg Schaible
Dudu wrote on Monday, September 11, 2006 4:38 PM:

 I'm using the RI implementation of JSF, and using shale-test too.
 But Shale-test uses another JSF implementation, the MyFaces.
 And the two
 implementation obviously has classes with identical names.
 
 How can I manage conflicts like this? Is it correct to change
 the pom.xml of
 shale to don't get the myfaces? I think no, because all
 developers of my
 team would to do this...and the goal of maven is the distributed
 development. 
 
 In case of jars conflicts, how to solve this in a automatic way to all
 developers don't need to change their originally local repositories?

Use an exclusions section declaring your shale-test dependency.

- Jörg

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



Re: site generation during build

2006-09-11 Thread Jeff Mutonho

On 9/11/06, Christophe DENEUX [EMAIL PROTECTED] wrote:



Hi Jeff,

In continuum, add the target site:deploy to your build definition,
goals section



The current goal defined for the project is clean install .Should the
goals be then   clean install ,site:deploy?




Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


Re: exporting database files through maven 1.0.2

2006-09-11 Thread emerson cargnin

I thought I was the last one to be using maven 1.0.2. But planning to
upgrade already, heheheh :)

On 11/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote:

You can use the torque plugin
http://db.apache.org/torque/releases/torque-3.2/maven-plugin/goals.html

Arnaud

On 9/7/06, manoj kaushik [EMAIL PROTECTED] wrote:

 hi everybody
 i want to know that if there is any plugin or way in maven 1.0.2 with
 which
 i can export database files . any help regarding this will be highly
 appreciated.
 thanks in advance
 Manoj Kaushik






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



Re: site generation during build

2006-09-11 Thread Christophe DENEUX


No, The goals should be then   clean install site site:deploy (without 
,)




Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Jeff Mutonho a écrit :

On 9/11/06, Christophe DENEUX [EMAIL PROTECTED] wrote:



Hi Jeff,

In continuum, add the target site:deploy to your build definition,
goals section



The current goal defined for the project is clean install .Should the
goals be then   clean install ,site:deploy?




Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

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

Books

2006-09-11 Thread Douglas Ferguson
Are there any maven books that are in print?

 

I saw this one, Is it any good?

 

 http://www.amazon.com/Pro-Apache-Maven-Milind-Parikh/dp/1590595211/sr=1
-1/qid=1157988413/ref=pd_bbs_1/002-4329355-4816846?ie=UTF8s=books

 

 

This one looks out of date:

 

http://www.amazon.com/Maven-Developer-Notebook-Timothy-Brien/dp/05960075
07/sr=1-2/qid=1157988413/ref=pd_bbs_2/002-4329355-4816846?ie=UTF8s=book
s




Re: Different behavior between jar and zip dependency

2006-09-11 Thread _Seb_

Here is a JIRA issue about this problem : does somebody knows a workaround ?
This bug prevent us for using maven to do a release, we would like to have
some solution to go on before the issue is solved

Thanx

Seb


_Seb_ wrote:
 
 Hi,
 
 I have another problem with reactor. When I have a dependency from one
 module to another one with type jar, everything is ok, the latter one get
 the jar in the target directory of the first one. If I do the same with a
 dependency of type zip, I have an error because the latter module try to
 download the zip from my repository.
 
 Does somebody knows why ? How can I depend on a zip file in my reactor if
 I want to do a release ?
 
 Regards
 
 Seb
 

-- 
View this message in context: 
http://www.nabble.com/Different-behavior-between-jar-and-zip-dependency-tf2251348.html#a6249435
Sent from the Maven - Users forum at Nabble.com.


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



Re: Books

2006-09-11 Thread Kristian Nordal

On 9/11/06, Douglas Ferguson [EMAIL PROTECTED] wrote:


Are there any maven books that are in print?



http://maven.apache.org/articles.html

--
Cheers,
Kristian


Re: site generation during build

2006-09-11 Thread Jeff Mutonho

On 9/11/06, Christophe DENEUX [EMAIL PROTECTED] wrote:



No, The goals should be then   clean install site site:deploy (without
,)





Sure mate :) .Thanx

Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


How to access external properties in manifest

2006-09-11 Thread raghurajan . x . gurunathan
Hi All

I'm trying to set property from ant task and access it from maven plugin 
how can i do that.  ..?


for eg. this is what i'm trying to achieve

1. with ant-run plugin i created
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
executions
idBUILD-NUMBER-GENERATION/id
execution
goals
goalrun/goal
/goals
phasegenerate-sources/phase
configuration
tasks
   buildnumber 
file=mybuild.number/
/tasks
/configuration
/execution


2. this will create a property file calledmybuild.number in my 
${basedir} with the entry
build.number=1

3. now i'm trying to access this property ${build.number} in my ear plugin 
manifest section as

archive
manifestEntries
 Patch-Version${build.number/Patch-Version
/manifestEntries
manifest
addClasspathtrue/addClasspath
/manifest
/archive

4. but its not working in my manifest file i just see Patch-Version : 
${build.number} 

What am i missing here to make it display as Patch-Version : 1  Please 
advise


I also don't know is there any plugin availble for build numbering, (i use 
maven2 with ucm clearcase) ? thats why i haveto do in this way

Please Help

Thanks,
Raghurajan Gurunathan




-
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase  Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.


Re: Books

2006-09-11 Thread Bengt-Erik Fröberg

Check this out:

http://www.mergere.com/m2book_download.jsp

Sincerely,

/B-E

2006/9/11, Douglas Ferguson [EMAIL PROTECTED]:

Are there any maven books that are in print?



I saw this one, Is it any good?



 http://www.amazon.com/Pro-Apache-Maven-Milind-Parikh/dp/1590595211/sr=1
-1/qid=1157988413/ref=pd_bbs_1/002-4329355-4816846?ie=UTF8s=books





This one looks out of date:



http://www.amazon.com/Maven-Developer-Notebook-Timothy-Brien/dp/05960075
07/sr=1-2/qid=1157988413/ref=pd_bbs_2/002-4329355-4816846?ie=UTF8s=book
s







--
===
Utan tvivel är man inte riktigt klok. (Tage Danielsson)

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



Continuum 1.1

2006-09-11 Thread Gautham Pamu

Hi,

Could you tell us when they are releasing Continuum 1.1 release and whats
the current state of the continuum 1.1 build.

I had extracted the code from the repository and built the code but it is
not building plexus application module.
The followed the instructions in the read me file. I noticed the
continuum-plexus-application module and few other modules are
commented in the top level pom.xml file so there is no
target/plexus-test-runtime directory. When I include the commented modules,
I am getting following error.
To try continuum 1.1 do we have to build it locally or can we download from
continuum build site.

[INFO]
-
---
[INFO] Building Continuum Plexus Application
[INFO]task-segment: [clean:clean, install]
[INFO]
-
---
[INFO] [clean:clean]
[INFO] Deleting directory C:\continuum\continuum-plexus-application\target
[INFO] Deleting directory
C:\continuum\continuum-plexus-application\target\class
es
[INFO] Deleting directory
C:\continuum\continuum-plexus-application\target\test-
classes
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot find lifecycle mapping for packaging: 'plexus-application'.
Component descriptor cannot be found in the component repository:
org.apache.mav
en.lifecycle.mapping.LifecycleMappingplexus-application.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 2 minutes 55 seconds
[INFO] Finished at: Mon Sep 11 11:28:13 PDT 2006
[INFO] Final Memory: 75M/204M
[INFO]


C:\continuum

To start continuum:

$ cd continuum-plexus-application\target\plexus-test-runtime
$ .\bin\plexus.bat

--
-Gautham Pamu


RE: antrun plugin can't find proper jars

2006-09-11 Thread EJ Ciramella
So by adding a plugin to a parent pom (one with modules defined) - maven
will always run that plugin for all the submodules? 

What if I only want it to run once prior to anything else happening?

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 11, 2006 10:30 AM
To: Maven Users List
Subject: RE: antrun plugin can't find proper jars

Ok - that works, I added:

plugin

artifactIdmaven-antrun-plugin/artifactId
executions
execution
idp4sync/id
phasevalidate/phase
configuration
tasks
ant
antfile=test.xml target=build
/ant
/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions
dependencies
  dependency
groupIdant/groupId
artifactIdant-apache-oro/artifactId
version1.6.5/version
  /dependency
  dependency
groupIdoro/groupId
artifactIdoro/artifactId
version2.0.8/version
  /dependency
/dependencies
/plugin

To my parent pom, but now I see it run this sync (and fails) with every
subproject as it attempts to validate the pom.xmls.

How could I simply add to the parent pom a target (in ant speak) to sync
the entire project?  We need to recycle passwords stored in people's
home directories inside property files so using maven's build in p4
syncing stuff isn't going to work for us. 

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 08, 2006 5:31 PM
To: Maven Users List
Subject: Re: antrun plugin can't find proper jars

http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
Using optional ant tasks

Basically you add the optional jars as dependencies to the
maven-antrun-plugin itself in the build-plugins-plugin node.

Wayne

On 9/8/06, EJ Ciramella [EMAIL PROTECTED] wrote:
 Here's a better question - is anyone trying to use any of the optional
 tasks in ant via maven?

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 08, 2006 1:50 PM
 To: users@maven.apache.org
 Subject: antrun plugin can't find proper jars

 I'm running into a bit of a problem.  Since we require passwords to
log
 into perforce and for security reasons, I'm prevented from having some
 sort of shell log the build user in, I'm attempting to shell out to
ant
 so maven can sync the project directory.

 So if I do ant -f test.xml things work just fine, but when I execute
 maven, I get this:

 Embedded error: The following error occurred while executing this
line:
 E:\work\up-svcs\lty\proj\LTY-P39\test.xml:4: Could not create task
 or type of type: p4sync.

 Ant could not find the task or a class this task relies upon.


 Any suggestions?

 -
 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]


-
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: Re: Re: maven native plugin

2006-09-11 Thread dan tran

You will need to create a new provider similar to msvc

-D

On 9/11/06, Düvelmeyer, Thorsten [EMAIL PROTECTED] wrote:


Hello Dan,

sorry for that delay...

first off all i have a new question:
Would it be simple or complicated to add that Intel C++ Compiler als
Provider?
That should be files like that:
   * codecov.exe Code-coverage Tool
   * icl.cfg Configuration file for Microsoft Visual C++ .NET*
compatibility.
   * icl6.cfg Configuration file for Microsoft Visual C++* 6.0compatibility.
   * icl.exe Driver for Intel(r) C++ Compiler.
   * iclvars.bat Batch file to set environment variables.
   * icpi.exe Compiler problem isolator. Used when working with Intel
product support team.
   * libguide40.dll DLL version of libguide40.lib
   * libguide40_stats.dll DLL version of libguide40_stats.lib
   * libmmd.dll DLL version of libm.lib.
   * libmmdd.dll Debug version of libmmd.lib
   * mcpcom.exe Intel(r) C++ Compiler.
   * profmerge.exe Utility used for Profile Guided Optimizations.
   * proforder.exe Utility used for Profile Guided Optimizations.
   * tselect.exe Test Prioritization Tool
   * xilib.exe Tool used for Interprocedural Optimizations.
   * xilink.exe Tool used for Interprocedural Optimizations.
   * xilink5.exe Tool used for Interprocedural Optimizations.
   * xilink6.exe Tool used for Interprocedural Optimizations.

 It is not hard to allow user to override the default value, but I
 would like to understand is first.
 I need to run the message compiler at first because it generates a
__.h
 file, which i need in the compile step as include in many source files.
What i did now is to copy the header file via ant task to the source
directory.
I tried that, but i think that does not work because of the direct include
of these files

to specifiy resource file names, use sources elements like in the
compiler step.

Note both message and resource compiles are very untested areas, so you
help trouble shooting and providing patches are very welcome.
That works:
configuration
  compilerProvidermsvc/compilerProvider

  messageFiles
 fileName${basedir}\ReportSrvEvt.mc/fileName
 fileName${basedir}\ServiceEvt.mc/fileName
  /messageFiles


but what it the equivalent for the ressource files?


Do you know any report plugins like checkstyle or pmd for c++ code?

How can i provide patches or tests? Do i need a svn account or sent it via
email to you?


Thank yor very much!
Thorsten


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 30. August 2006 15:47
An: Düvelmeyer, Thorsten
Betreff: FW: Re: Re: maven native plugin

On 8/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 It is not hard to allow user to override the default value, but I
 would like to understand is first.
 I need to run the message compiler at first because it generates a
__.h
 file, which i need in the compile step as include in many source files.
What
 i did now is to copy the header file via ant task to the source
directory.


The message compile step should add ${project.build.directory}/native
to the include path in compile step, please file JIRA if you dont see
it show up in the compilation output


For VS6 try to set env MSVS6_INSTALL_DIR.
 That works fine - thanks!

 What can i specify for the ressource compiler? I always get an error
 when runnig this step? How can i set the ressource file names?


Please see MS rc compiler for options that you can specify.

to specifiy resource file names, use sources elements like in the
compiler step.

Note both message and resource compiles are very untested areas, so you
help trouble shooting and providing patches are very welcome.


Regards!
 Thorsten



 On 8/21/06, Düvelmeyer, Thorsten [EMAIL PROTECTED]
wrote:
 
  Hi,
 
  i have got two questions for native-maven-plugin:
 
  1. Can i change the output directory for native:compile-message?
  I need $(base_dir) instead of ${project.build.directory}/native
 
 
 Is there a reason why the current default location is not working
 for
 you?
 It is not hard to
 allow user to override the default value, but I would like to
 understand
 is
 first.
 
 
 
 2. Can i set german program path of visual studio instead of english:
  C:\Programme\... instead of C:\Program Files\...
 
 
 what version of VS do you have?
 
 For VS6 try to set env MSVS6_INSTALL_DIR.
 
 This feature is not documented yet thou.
 
 Where i can get the source code? The links in maven report seem to
 be old
  and not working.
 
 
 http://svn.codehaus.org/mojo/trunk/mojo/maven-native/
 
 
 
 Thanks a lot!
  Thorsten
 
 

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






Re: Continuum 1.1

2006-09-11 Thread Carlos Sanchez

you can try branches/continuum-acegi that works and is where a lot of
work has been done lately

On 9/11/06, Gautham Pamu [EMAIL PROTECTED] wrote:

Hi,

Could you tell us when they are releasing Continuum 1.1 release and whats
the current state of the continuum 1.1 build.

I had extracted the code from the repository and built the code but it is
not building plexus application module.
The followed the instructions in the read me file. I noticed the
continuum-plexus-application module and few other modules are
commented in the top level pom.xml file so there is no
target/plexus-test-runtime directory. When I include the commented modules,
I am getting following error.
To try continuum 1.1 do we have to build it locally or can we download from
continuum build site.

[INFO]
-
---
[INFO] Building Continuum Plexus Application
[INFO]task-segment: [clean:clean, install]
[INFO]
-
---
[INFO] [clean:clean]
[INFO] Deleting directory C:\continuum\continuum-plexus-application\target
[INFO] Deleting directory
C:\continuum\continuum-plexus-application\target\class
es
[INFO] Deleting directory
C:\continuum\continuum-plexus-application\target\test-
classes
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot find lifecycle mapping for packaging: 'plexus-application'.
Component descriptor cannot be found in the component repository:
org.apache.mav
en.lifecycle.mapping.LifecycleMappingplexus-application.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 2 minutes 55 seconds
[INFO] Finished at: Mon Sep 11 11:28:13 PDT 2006
[INFO] Final Memory: 75M/204M
[INFO]


C:\continuum

To start continuum:

 $ cd continuum-plexus-application\target\plexus-test-runtime
 $ .\bin\plexus.bat

--
-Gautham Pamu





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride


another public plugin not working properly

2006-09-11 Thread Brill Pappin

trying to release I'm getting this error:

Project ID: org.apache.maven.plugins:maven-release-plugin

Reason: Error getting POM for
'org.apache.maven.plugins:maven-release-plugin' from the repository:
Failed to resolve artifact, possibly due to a repository list that is
not appropriately equipped for this artifact's metadata.
 org.apache.maven.plugins:maven-release-plugin:pom:2.0-beta-5-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

notice the snapshot is beta-5 but the repository listed only seems to
have beta-4.

This is going through maven-proxy to I may have a misconfiguration...

- Brill Pappin

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



Re: m2 public repositories are FUBAR

2006-09-11 Thread Brill Pappin

See my note on the release plugin... not sure if this one is fubar or
not yet, but you might be able to tell quickly.

On 9/10/06, Brett Porter [EMAIL PROTECTED] wrote:

I wouldn't say it has been abandoned, but it could certainly use more
helpers, which would be much appreciated.


Ss far as I can see, its working just fine... it just needs someone to
CM and keep on top of releases its deployment.

- Brill Pappin

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



sendOnSuccess

2006-09-11 Thread Adam Hardy
Continuum is notifying me of successful builds even though I have set 
sendOnSuccess to false.


I have tried this:

notifier
  typemail/type
  sendOnSuccessfalse/sendOnSuccess
  sendOnWarningtrue/sendOnWarning
  sendOnFailuretrue/sendOnFailure
  sendOnErrortrue/sendOnError
  configuration
address[EMAIL PROTECTED]/address
  /configuration
/notifier

and I've tried completely leaving out the sendOnSuccess node.

Neither works.

I do have the alwaysSend node set in application.xml, but if I set that 
to false, continuum only sends the fails and errors when the status 
changes, and I need the email to be sent every time for failures.


Am I doing this right, or is there a further way of configuring this?


Thanks
Adam


Binding Assembly Executing to the Release Plugin

2006-09-11 Thread Douglas Ferguson
Is it possible to bind the assembly plugin to the release phase?

 

I want to create a jar with dependencies and have it get released, but I
don’t want to have to create that everytime I run install.


D-




Re: Binding Assembly Executing to the Release Plugin

2006-09-11 Thread dan tran

Use maven profile to do conditional build.  In your case, I would suggest to

create a separate project to do the assembly, and profile it to run only
when a
release occurs.

-D


On 9/11/06, Douglas Ferguson [EMAIL PROTECTED] wrote:


Is it possible to bind the assembly plugin to the release phase?



I want to create a jar with dependencies and have it get released, but I
don't want to have to create that everytime I run install.


D-






Re: Continuum 1.1

2006-09-11 Thread Emmanuel Venisse
continuum-plexus-application is an old module that we'll remove probably
in few weeks.

If you want to run continuum trunk, copy continuum-webapp war in web
contianer and run it

Emmanuel

Gautham Pamu said:
 Hi,

 Could you tell us when they are releasing Continuum 1.1 release and whats
 the current state of the continuum 1.1 build.

 I had extracted the code from the repository and built the code but it is
 not building plexus application module.
 The followed the instructions in the read me file. I noticed the
 continuum-plexus-application module and few other modules are
 commented in the top level pom.xml file so there is no
 target/plexus-test-runtime directory. When I include the commented
 modules,
 I am getting following error.
 To try continuum 1.1 do we have to build it locally or can we download
 from
 continuum build site.

 [INFO]
 -
 ---
 [INFO] Building Continuum Plexus Application
 [INFO]task-segment: [clean:clean, install]
 [INFO]
 -
 ---
 [INFO] [clean:clean]
 [INFO] Deleting directory C:\continuum\continuum-plexus-application\target
 [INFO] Deleting directory
 C:\continuum\continuum-plexus-application\target\class
 es
 [INFO] Deleting directory
 C:\continuum\continuum-plexus-application\target\test-
 classes
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Cannot find lifecycle mapping for packaging: 'plexus-application'.
 Component descriptor cannot be found in the component repository:
 org.apache.mav
 en.lifecycle.mapping.LifecycleMappingplexus-application.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 2 minutes 55 seconds
 [INFO] Finished at: Mon Sep 11 11:28:13 PDT 2006
 [INFO] Final Memory: 75M/204M
 [INFO]
 

 C:\continuum

 To start continuum:

  $ cd continuum-plexus-application\target\plexus-test-runtime
  $ .\bin\plexus.bat

 --
 -Gautham Pamu




Executable binary assembly in multi module project

2006-09-11 Thread Zaza, Dominic [CIB-IT]
I have a multi module project
 
i.e.
-top-level
  + client
  + server
  + model
  + api
  + common
  pom.xml
 
I wish to create an executable binary assembly for the server such that
I can run java -jar server.jar
 
I've added a configuration to the maven-jar-plugin to specify manifest 
mainClass , addClasspath, and classpathPrefix.
That works fine.
Now, I need to assemble the server code with all of its dependencies in one jar.
 
1.)  I've tried, at the parent pom.xml, to specify moduleSet to the assembly 
plugin for my server.
Although I did generate a jar, I'm not able to specify scope to remove my 
test dependencies.
Additionally, this is not my desired output since my server jar in bundled 
so the manifest file is one level too deep.
 
2.) I've tried to specify an assembly configuration at server/pom.xml file, 
however, when I'm in reactor mode, the assembly plugin
 doesn't find my descriptor file.
 
Help. Any suggestions on how to achieve this ?
 
Thanks in advance,
 Dominic
 
 
 


Multi-binary project

2006-09-11 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi.  If there is a src directory with .java files and a web directory
with web-related files, is there a way to build both the .jar from the
src directory and the web app from the web directory from a single
pom.xml?  Here, the target directory will at the end have an a.jar and
b.war, where a is the Java app and b is the web app.  Thanks for your
support. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: antrun plugin can't find proper jars

2006-09-11 Thread EJ Ciramella
OK - so I created a custom ant mojo but now I'm a bit confused about
dependency management.  In my pom.xml for my mojo, I have the following
dependencies:

 dependency
groupIdorg.apache.maven/groupId
artifactIdmaven-plugin-tools-ant/artifactId
version2.0.4/version
  /dependency
  dependency
groupIdant/groupId
artifactIdant/artifactId
version1.6.5/version
  /dependency
  dependency
groupIdant/groupId
artifactIdant-nodeps/artifactId
version1.6.5/version
  /dependency
  dependency
groupIdant/groupId
artifactIdant-apache-oro/artifactId
version1.6.5/version
  /dependency
  dependency
groupIdoro/groupId
artifactIdoro/artifactId
version2.0.8/version
  /dependency

In the pom.xml that I'm trying to use this new plugin, if I don't also
map these dependencies, the mojo fails.

Where is the correct location to map these dependencies? 

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 11, 2006 12:34 PM
To: Maven Users List
Subject: RE: antrun plugin can't find proper jars

So by adding a plugin to a parent pom (one with modules defined) - maven
will always run that plugin for all the submodules? 

What if I only want it to run once prior to anything else happening?

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 11, 2006 10:30 AM
To: Maven Users List
Subject: RE: antrun plugin can't find proper jars

Ok - that works, I added:

plugin

artifactIdmaven-antrun-plugin/artifactId
executions
execution
idp4sync/id
phasevalidate/phase
configuration
tasks
ant
antfile=test.xml target=build
/ant
/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions
dependencies
  dependency
groupIdant/groupId
artifactIdant-apache-oro/artifactId
version1.6.5/version
  /dependency
  dependency
groupIdoro/groupId
artifactIdoro/artifactId
version2.0.8/version
  /dependency
/dependencies
/plugin

To my parent pom, but now I see it run this sync (and fails) with every
subproject as it attempts to validate the pom.xmls.

How could I simply add to the parent pom a target (in ant speak) to sync
the entire project?  We need to recycle passwords stored in people's
home directories inside property files so using maven's build in p4
syncing stuff isn't going to work for us. 

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 08, 2006 5:31 PM
To: Maven Users List
Subject: Re: antrun plugin can't find proper jars

http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
Using optional ant tasks

Basically you add the optional jars as dependencies to the
maven-antrun-plugin itself in the build-plugins-plugin node.

Wayne

On 9/8/06, EJ Ciramella [EMAIL PROTECTED] wrote:
 Here's a better question - is anyone trying to use any of the optional
 tasks in ant via maven?

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 08, 2006 1:50 PM
 To: users@maven.apache.org
 Subject: antrun plugin can't find proper jars

 I'm running into a bit of a problem.  Since we require passwords to
log
 into perforce and for security reasons, I'm prevented from having some
 sort of shell log the build user in, I'm attempting to shell out to
ant
 so maven can sync the project directory.

 So if I do ant -f test.xml things work just fine, but when I execute
 maven, I get this:

 Embedded error: The following error occurred while executing this
line:
 E:\work\up-svcs\lty\proj\LTY-P39\test.xml:4: Could not create task
 or type of type: p4sync.

 Ant could not find the task or a class this task relies upon.


 Any suggestions?

 -
 To unsubscribe, e-mail: 

Re: rmic plugin

2006-09-11 Thread Mark Donszelmann

Hi

feel free to use ours at:

http://java.freehep.org/freehep-rmic-plugin/

Regards
Mark Donszelmann

On Sep 8, 2006, at 6:52 AM, Ruel Loehr wrote:

The bad thing about this way of doing it is that it is not  
portable.  E.g. macs don't have a tools.jar.


Ruel Loehr
JBoss, a division of Red Hat
QA

-
512-342-7840 ext 2011
Yahoo: ruelloehr
Skype: ruelloehr
AOL: dokoruel

-Original Message-
From: Borut Bolčina [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 8:47 AM
To: Maven Users List
Subject: Re: rmic plugin

Use ant task like this:

  build
plugins
  plugin
artifactIdmaven-compiler-plugin/artifactId
configuration
  source1.5/source
  target1.5/target
/configuration
  /plugin
  plugin
artifactIdmaven-site-plugin/artifactId
version2.0-beta-5/version
configuration
  inputEncodingutf-8/inputEncoding
  outputEncodingutf-8/outputEncoding
/configuration
  /plugin

  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
executions
  execution
   idprocess-classes-rmic/id !-- needs to be unique among
executions --
   phaseprocess-classes/phase
   configuration
 tasks
   echoRunning RMIC/echo
   rmic base=${project.build.directory}/classes
 classpathref=maven.compile.classpath
 classname=com.your.class.to.be.RMICompiled /
 /tasks
   /configuration
   goals
 goalrun/goal
   /goals
 /execution
/executions
dependencies
dependency
groupIdcom.sun/groupId
artifactIdtools/artifactId
scopesystem/scope
version1.5/version
systemPath${java.home}/../lib/tools.jar/systemPath
/dependency
/dependencies
  /plugin
/plugins
  /build

Then simply invoke mvn package for example.

Cheers,
Borut

2006/9/8, Israel Alvarez [EMAIL PROTECTED]:


Hi
I´d like to know if a rmic plugin for Maven2 exists and if there  
is some

documentation about it. I´ve been looking for it but I didn't find
anything.
Thanks

_
Descarga gratis la Barra de Herramientas de MSN

http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http 
%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH



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




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date:  
9/8/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date:  
9/8/2006



-
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: antrun plugin can't find proper jars

2006-09-11 Thread Wayne Fay

I would just make another submodule, get it first in my list of
modules (make the others depend on it), and put the plugin execution
in that pom.xml.

There is probably a better way to do it, but this would work, so I'd
probably just do it, and worry about finding a better way later when I
had time (which would probably never happen).

Wayne

On 9/11/06, EJ Ciramella [EMAIL PROTECTED] wrote:

So by adding a plugin to a parent pom (one with modules defined) - maven
will always run that plugin for all the submodules?

What if I only want it to run once prior to anything else happening?

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 10:30 AM
To: Maven Users List
Subject: RE: antrun plugin can't find proper jars

Ok - that works, I added:

   plugin

artifactIdmaven-antrun-plugin/artifactId
   executions
   execution
   idp4sync/id
   phasevalidate/phase
   configuration
   tasks
   ant
antfile=test.xml target=build
   /ant
   /tasks
   /configuration
   goals
   goalrun/goal
   /goals
   /execution
   /executions
   dependencies
 dependency
   groupIdant/groupId
   artifactIdant-apache-oro/artifactId
   version1.6.5/version
 /dependency
 dependency
   groupIdoro/groupId
   artifactIdoro/artifactId
   version2.0.8/version
 /dependency
   /dependencies
   /plugin

To my parent pom, but now I see it run this sync (and fails) with every
subproject as it attempts to validate the pom.xmls.

How could I simply add to the parent pom a target (in ant speak) to sync
the entire project?  We need to recycle passwords stored in people's
home directories inside property files so using maven's build in p4
syncing stuff isn't going to work for us.

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 5:31 PM
To: Maven Users List
Subject: Re: antrun plugin can't find proper jars

http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
Using optional ant tasks

Basically you add the optional jars as dependencies to the
maven-antrun-plugin itself in the build-plugins-plugin node.

Wayne

On 9/8/06, EJ Ciramella [EMAIL PROTECTED] wrote:
 Here's a better question - is anyone trying to use any of the optional
 tasks in ant via maven?

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 08, 2006 1:50 PM
 To: users@maven.apache.org
 Subject: antrun plugin can't find proper jars

 I'm running into a bit of a problem.  Since we require passwords to
log
 into perforce and for security reasons, I'm prevented from having some
 sort of shell log the build user in, I'm attempting to shell out to
ant
 so maven can sync the project directory.

 So if I do ant -f test.xml things work just fine, but when I execute
 maven, I get this:

 Embedded error: The following error occurred while executing this
line:
 E:\work\up-svcs\lty\proj\LTY-P39\test.xml:4: Could not create task
 or type of type: p4sync.

 Ant could not find the task or a class this task relies upon.


 Any suggestions?

 -
 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]


-
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]




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



Re: another public plugin not working properly

2006-09-11 Thread Wayne Fay

Snapshots are not hosted on repo1.maven.org, nor on central, etc.

You will need to add the appropriate Maven Snapshots repo to your pom.

Wayne

On 9/11/06, Brill Pappin [EMAIL PROTECTED] wrote:

trying to release I'm getting this error:

Project ID: org.apache.maven.plugins:maven-release-plugin

Reason: Error getting POM for
'org.apache.maven.plugins:maven-release-plugin' from the repository:
Failed to resolve artifact, possibly due to a repository list that is
not appropriately equipped for this artifact's metadata.
 org.apache.maven.plugins:maven-release-plugin:pom:2.0-beta-5-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

notice the snapshot is beta-5 but the repository listed only seems to
have beta-4.

This is going through maven-proxy to I may have a misconfiguration...

- Brill Pappin

-
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: Binding Assembly Executing to the Release Plugin

2006-09-11 Thread Douglas Ferguson
If I have the assembly in a project, how can I trigger a separate project 
during a release? Sorry I didn't follow that.

Also, what do you mean conditional build?

D-

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 11, 2006 12:50 PM
To: Maven Users List
Subject: Re: Binding Assembly Executing to the Release Plugin

Use maven profile to do conditional build.  In your case, I would suggest to

create a separate project to do the assembly, and profile it to run only
when a
release occurs.

-D


On 9/11/06, Douglas Ferguson [EMAIL PROTECTED] wrote:

 Is it possible to bind the assembly plugin to the release phase?



 I want to create a jar with dependencies and have it get released, but I
 don't want to have to create that everytime I run install.


 D-






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



Re: m2 public repositories are FUBAR

2006-09-11 Thread Wayne Fay

Your troubles with the release plugin are simply related to it being a
SNAPSHOT release and thus not yet fully available. Thus, not fubar,
simply not available on normal Maven repos as yet.

Wayne

On 9/11/06, Brill Pappin [EMAIL PROTECTED] wrote:

See my note on the release plugin... not sure if this one is fubar or
not yet, but you might be able to tell quickly.

On 9/10/06, Brett Porter [EMAIL PROTECTED] wrote:
 I wouldn't say it has been abandoned, but it could certainly use more
 helpers, which would be much appreciated.

Ss far as I can see, its working just fine... it just needs someone to
CM and keep on top of releases its deployment.

- Brill Pappin

-
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: antrun plugin can't find proper jars

2006-09-11 Thread EJ Ciramella
The rub is, I ONLY want to execute this from the build server (to do the
syncing with a password in the properties file as mentioned in the first
email of this type).

I don't want anyone else to run this (they can if they'd like).

So I'm a bit further now, so I've installed a snapshot version to our
internal repository and tried running it by:

mvn up.anttools:sync-plugin:sync -D
sync.dir=up-svcs/lty/proj/LTY-P39

But I'm getting:

[INFO] Internal error in the plugin manager executing goal
'up.anttools:sync-plugin:1.0-SNAPSHOT:sync': Unable to find the mojo
'up.anttools:sync-plugin:1.0-SNAPSHOT:sync' in the plugin
 'up.anttools:sync-plugin'
Component descriptor cannot be found in the component repository:
org.codehaus.plexus.component.factory.ComponentFactoryant-mojo. 

Why is it looking for a mojo with that massive name?

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 11, 2006 2:57 PM
To: Maven Users List
Subject: Re: antrun plugin can't find proper jars

I would just make another submodule, get it first in my list of
modules (make the others depend on it), and put the plugin execution
in that pom.xml.

There is probably a better way to do it, but this would work, so I'd
probably just do it, and worry about finding a better way later when I
had time (which would probably never happen).

Wayne

On 9/11/06, EJ Ciramella [EMAIL PROTECTED] wrote:
 So by adding a plugin to a parent pom (one with modules defined) -
maven
 will always run that plugin for all the submodules?

 What if I only want it to run once prior to anything else happening?

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 11, 2006 10:30 AM
 To: Maven Users List
 Subject: RE: antrun plugin can't find proper jars

 Ok - that works, I added:

plugin

 artifactIdmaven-antrun-plugin/artifactId
executions
execution
idp4sync/id
phasevalidate/phase
configuration
tasks
ant
 antfile=test.xml target=build
/ant
/tasks
/configuration
goals

goalrun/goal
/goals
/execution
/executions
dependencies
  dependency
groupIdant/groupId
artifactIdant-apache-oro/artifactId
version1.6.5/version
  /dependency
  dependency
groupIdoro/groupId
artifactIdoro/artifactId
version2.0.8/version
  /dependency
/dependencies
/plugin

 To my parent pom, but now I see it run this sync (and fails) with
every
 subproject as it attempts to validate the pom.xmls.

 How could I simply add to the parent pom a target (in ant speak) to
sync
 the entire project?  We need to recycle passwords stored in people's
 home directories inside property files so using maven's build in p4
 syncing stuff isn't going to work for us.

 -Original Message-
 From: Wayne Fay [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 08, 2006 5:31 PM
 To: Maven Users List
 Subject: Re: antrun plugin can't find proper jars

 http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
 Using optional ant tasks

 Basically you add the optional jars as dependencies to the
 maven-antrun-plugin itself in the build-plugins-plugin node.

 Wayne

 On 9/8/06, EJ Ciramella [EMAIL PROTECTED] wrote:
  Here's a better question - is anyone trying to use any of the
optional
  tasks in ant via maven?
 
  -Original Message-
  From: EJ Ciramella [mailto:[EMAIL PROTECTED]
  Sent: Friday, September 08, 2006 1:50 PM
  To: users@maven.apache.org
  Subject: antrun plugin can't find proper jars
 
  I'm running into a bit of a problem.  Since we require passwords to
 log
  into perforce and for security reasons, I'm prevented from having
some
  sort of shell log the build user in, I'm attempting to shell out to
 ant
  so maven can sync the project directory.
 
  So if I do ant -f test.xml things work just fine, but when I
execute
  maven, I get this:
 
  Embedded error: The following error occurred while executing this
 line:
  E:\work\up-svcs\lty\proj\LTY-P39\test.xml:4: Could not create
task
  or type of type: p4sync.
 
  Ant could not find the task or a class this task relies 

Re: Binding Assembly Executing to the Release Plugin

2006-09-11 Thread dan tran

maven allows you to build additional project(s) base on a condition ( ie a
external property passinging from command line )

So on your parent pom, the one that host all your project including the
assembly, create a profile to do this job

http://maven.apache.org/guides/introduction/introduction-to-profiles.html

A similar example is here

http://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/src/it/jni/native/pom.xml

where it uses a external property to trigger a native project to be built.

-D

On 9/11/06, Douglas Ferguson [EMAIL PROTECTED] wrote:


If I have the assembly in a project, how can I trigger a separate project
during a release? Sorry I didn't follow that.

Also, what do you mean conditional build?

D-

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 12:50 PM
To: Maven Users List
Subject: Re: Binding Assembly Executing to the Release Plugin

Use maven profile to do conditional build.  In your case, I would suggest
to

create a separate project to do the assembly, and profile it to run only
when a
release occurs.

-D


On 9/11/06, Douglas Ferguson [EMAIL PROTECTED] wrote:

 Is it possible to bind the assembly plugin to the release phase?



 I want to create a jar with dependencies and have it get released, but I
 don't want to have to create that everytime I run install.


 D-






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




Re: Concepts to Understand Before Using Maven

2006-09-11 Thread Jeff Jensen
If I understand which document you are referring to, it is xdoc and part of the
Maven site docs:
 http://maven.apache.org/maven-1.x/start/concepts.html

The xdoc plugin translates it to HTML.


Quoting vijay jagtap [EMAIL PROTECTED]:

 Hello

 First, thank you for your article Concepts to Understand Before Using Maven
 on jira.codehaus.org site.

 This document is html page which is in xml format.
 This document displays as standard xml page rather than web page.
 Only way to see this as normal web page is download it and rename file as
 .html.

 Do you know how to see these kind .xml pages as normal html pages and what
 kind of technology is this ?

 Thanks for you contribution to maven.

 regards
 Vijay



 -
 Get your email and more, right on the  new Yahoo.com




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



Re: another public plugin not working properly

2006-09-11 Thread Brill Pappin

Yes I understand that... in fact I do have
http://people.apache.org/maven-snapshot-repository
listed (afaik is the apache snapshot repo).

seems I need the pluginRepositories section as well as the
repositories section in the pom or plugins don't get resolved through
the proxy.

- Brill Pappin


On 9/11/06, Wayne Fay [EMAIL PROTECTED] wrote:

Snapshots are not hosted on repo1.maven.org, nor on central, etc.

You will need to add the appropriate Maven Snapshots repo to your pom.

Wayne

On 9/11/06, Brill Pappin [EMAIL PROTECTED] wrote:
 trying to release I'm getting this error:

 Project ID: org.apache.maven.plugins:maven-release-plugin

 Reason: Error getting POM for
 'org.apache.maven.plugins:maven-release-plugin' from the repository:
 Failed to resolve artifact, possibly due to a repository list that is
 not appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-release-plugin:pom:2.0-beta-5-SNAPSHOT

 from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

 notice the snapshot is beta-5 but the repository listed only seems to
 have beta-4.

 This is going through maven-proxy to I may have a misconfiguration...

 - Brill Pappin

 -
 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]




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



Re: m2 public repositories are FUBAR

2006-09-11 Thread Brill Pappin

Yes, thanks.

Although is strange that the release repository has snapshots up to 4
and the snapshot repo has them up to 5.

but it still works so I guess its not a big deal.

- Brill Pappin

On 9/11/06, Wayne Fay [EMAIL PROTECTED] wrote:

Your troubles with the release plugin are simply related to it being a
SNAPSHOT release and thus not yet fully available. Thus, not fubar,
simply not available on normal Maven repos as yet.

Wayne

On 9/11/06, Brill Pappin [EMAIL PROTECTED] wrote:
 See my note on the release plugin... not sure if this one is fubar or
 not yet, but you might be able to tell quickly.

 On 9/10/06, Brett Porter [EMAIL PROTECTED] wrote:
  I wouldn't say it has been abandoned, but it could certainly use more
  helpers, which would be much appreciated.

 Ss far as I can see, its working just fine... it just needs someone to
 CM and keep on top of releases its deployment.

 - Brill Pappin

 -
 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]




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



How to set: No Scheduled build | Only triggered build

2006-09-11 Thread Anoop kumar V

Hi Continuum users,

What is the best way to set the build schedule as never. Only when a user
triggers, should the build happen??

As of now, I have created a new schedule with the quiet period as a very
large time: 99.

But this is not foolproof. Is there an option I can set?

--
Thanks and best regards,
Anoop


Re: How to set: No Scheduled build | Only triggered build

2006-09-11 Thread Anoop kumar V

Actually - the other way I have tried (not sure if it works yet) is to just
disable all the schedules that I have. So that would only let a user click
on the build-now link to build. Otherwise a build would never happen.

-Anoop

On 9/11/06, Anoop kumar V [EMAIL PROTECTED] wrote:


Hi Continuum users,

What is the best way to set the build schedule as never. Only when a user
triggers, should the build happen??

As of now, I have created a new schedule with the quiet period as a very
large time: 99.

But this is not foolproof. Is there an option I can set?

--
Thanks and best regards,
Anoop





--
Thanks and best regards,
Anoop


ant based mojo

2006-09-11 Thread EJ Ciramella
In relation to my plugin questions below, I've moved along a bit further
-
 
I'm now able to sync via an ant based plugin, but when I package up a
plugin with things like ${p4.username}, how can I pass this stuff on to
the plugin successfully?
 
I've stashed these values inside my settings.xml file
(p4.usernamemyusername/p4.username).
 
I've tried both:
 
configuration
 p4.username${p4.username/p4.username
/configuration
 
And:
 
configuration
systemProperties
 property
   namep4.username/name
   value${p4.username}/value
 /property
 /systemProperties
 /configuration
 
But neither work and result in:
 
sync:
 [echo] about to sync //depot/up-svcs/lty/proj/LTY-P39/...
   [p4sync] error: Access for user '${p4.username}' has not been enabled
by 'p4 protect'.
 
Any other suggestions?


Re: m2 public repositories are FUBAR

2006-09-11 Thread Wayne Fay

The release repo has no snapshots. It is hosting versions 2.0-beta-1
thru 2.0-beta-4.

The snapshot repo has 2.0-beta-4-SNAPSHOT and 2.0-beta-5-SNAPSHOT.

Wayne

On 9/11/06, Brill Pappin [EMAIL PROTECTED] wrote:

Yes, thanks.

Although is strange that the release repository has snapshots up to 4
and the snapshot repo has them up to 5.

but it still works so I guess its not a big deal.

- Brill Pappin

On 9/11/06, Wayne Fay [EMAIL PROTECTED] wrote:
 Your troubles with the release plugin are simply related to it being a
 SNAPSHOT release and thus not yet fully available. Thus, not fubar,
 simply not available on normal Maven repos as yet.

 Wayne

 On 9/11/06, Brill Pappin [EMAIL PROTECTED] wrote:
  See my note on the release plugin... not sure if this one is fubar or
  not yet, but you might be able to tell quickly.
 
  On 9/10/06, Brett Porter [EMAIL PROTECTED] wrote:
   I wouldn't say it has been abandoned, but it could certainly use more
   helpers, which would be much appreciated.
 
  Ss far as I can see, its working just fine... it just needs someone to
  CM and keep on top of releases its deployment.
 
  - Brill Pappin
 
  -
  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]



-
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: ant based mojo

2006-09-11 Thread EJ Ciramella
Never mind - the mojo needs to be aware of these values - der!

I'm starting to like maven ;-) 

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 11, 2006 4:52 PM
To: Maven Users List
Subject: ant based mojo

In relation to my plugin questions below, I've moved along a bit further
-
 
I'm now able to sync via an ant based plugin, but when I package up a
plugin with things like ${p4.username}, how can I pass this stuff on to
the plugin successfully?
 
I've stashed these values inside my settings.xml file
(p4.usernamemyusername/p4.username).
 
I've tried both:
 
configuration
 p4.username${p4.username/p4.username
/configuration
 
And:
 
configuration
systemProperties
 property
   namep4.username/name
   value${p4.username}/value
 /property
 /systemProperties
 /configuration
 
But neither work and result in:
 
sync:
 [echo] about to sync //depot/up-svcs/lty/proj/LTY-P39/...
   [p4sync] error: Access for user '${p4.username}' has not been enabled
by 'p4 protect'.
 
Any other suggestions?

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



Re: Multi-binary project

2006-09-11 Thread Yann Le Du

The short answer would be no. One of Maven root principles is 1 project = 1
POM = 1 artifact.

So typically you would have one project for the jar and one project for the
war, with a dependency on the jar.

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

2006/9/11, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED]:


Hi.  If there is a src directory with .java files and a web directory
with web-related files, is there a way to build both the .jar from the
src directory and the web app from the web directory from a single
pom.xml?  Here, the target directory will at the end have an a.jar and
b.war, where a is the Java app and b is the web app.  Thanks for your
support.


This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.  If
you are not the intended recipient, you should delete this message.


Any disclosure, copying, or distribution of this message, or the taking of
any action based on it, is strictly prohibited. [v.E.1]




[maven1.x] maven-test-plugin.jar 1.8.1

2006-09-11 Thread Ming Cheung

I need maven-test-plugin-1.8.1.jar for maven 1.x for my testcase be able to
run successfully.

Recently, I downloaded the maven 1.1-beta-3. and learned it only comes with
maven-test-plugin-1.8.jar.  Is there a way to make the plugin update to
1.8.1 automatically?



Sincerely,

Ming Cheung
WebSphere Web Services Developer

Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758
Tie Line: 678-0733
Email: [EMAIL PROTECTED]

Re: Executable binary assembly in multi module project

2006-09-11 Thread Barrie Treloar

Help. Any suggestions on how to achieve this ?


Yes, search the archives.
I've posted on this numerous times.

Admittedly it is on the second page of results for assembly and binary.
See http://www.nabble.com/forum/ViewPost.jtp?post=5936062framed=y

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



Re: [maven1.x] maven-test-plugin.jar 1.8.1

2006-09-11 Thread Jeff Jensen
Read Non-Bundled Plugins here:
http://maven.apache.org/maven-1.x/start/concepts.html


Quoting Ming Cheung [EMAIL PROTECTED]:


 I need maven-test-plugin-1.8.1.jar for maven 1.x for my testcase be able to
 run successfully.

 Recently, I downloaded the maven 1.1-beta-3. and learned it only comes with
 maven-test-plugin-1.8.jar.  Is there a way to make the plugin update to
 1.8.1 automatically?



 Sincerely,

 Ming Cheung
 WebSphere Web Services Developer

 Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758
 Tie Line: 678-0733
 Email: [EMAIL PROTECTED]




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



Re: another public plugin not working properly

2006-09-11 Thread Barrie Treloar

On 9/12/06, Brill Pappin [EMAIL PROTECTED] wrote:

Yes I understand that... in fact I do have
http://people.apache.org/maven-snapshot-repository
listed (afaik is the apache snapshot repo).

seems I need the pluginRepositories section as well as the
repositories section in the pom or plugins don't get resolved through
the proxy.


This is documented in two spots:
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html
and
http://docs.codehaus.org/display/MAVENUSER/Patching+Maven+Plugins

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



Re: Continuum 1.1

2006-09-11 Thread Jason van Zyl


On 11 Sep 06, at 6:42 PM 11 Sep 06, Carlos Sanchez wrote:


you can try branches/continuum-acegi that works and is where a lot of
work has been done lately



That branch is not going to be merged with trunk so I would not  
recommend using it. It is a discussion for the Continuum developers  
and as yet, i'm not convinced of the viability of that branch and  
would vote -1 for merge to trunk if a vote were to be cast right now.  
If it's not in trunk it's not official and potentially never going to  
be supported by the community at large.



On 9/11/06, Gautham Pamu [EMAIL PROTECTED] wrote:

Hi,

Could you tell us when they are releasing Continuum 1.1 release  
and whats

the current state of the continuum 1.1 build.

I had extracted the code from the repository and built the code  
but it is

not building plexus application module.
The followed the instructions in the read me file. I noticed the
continuum-plexus-application module and few other modules are
commented in the top level pom.xml file so there is no
target/plexus-test-runtime directory. When I include the commented  
modules,

I am getting following error.
To try continuum 1.1 do we have to build it locally or can we  
download from

continuum build site.

[INFO]
- 


---
[INFO] Building Continuum Plexus Application
[INFO]task-segment: [clean:clean, install]
[INFO]
- 


---
[INFO] [clean:clean]
[INFO] Deleting directory C:\continuum\continuum-plexus-application 
\target

[INFO] Deleting directory
C:\continuum\continuum-plexus-application\target\class
es
[INFO] Deleting directory
C:\continuum\continuum-plexus-application\target\test-
classes
[INFO]
- 
---

[ERROR] BUILD ERROR
[INFO]
- 
---
[INFO] Cannot find lifecycle mapping for packaging: 'plexus- 
application'.

Component descriptor cannot be found in the component repository:
org.apache.mav
en.lifecycle.mapping.LifecycleMappingplexus-application.
[INFO]
- 
---

[INFO] For more information, run Maven with the -e switch
[INFO]
- 
---

[INFO] Total time: 2 minutes 55 seconds
[INFO] Finished at: Mon Sep 11 11:28:13 PDT 2006
[INFO] Final Memory: 75M/204M
[INFO]
- 
---


C:\continuum

To start continuum:

 $ cd continuum-plexus-application\target\plexus-test-runtime
 $ .\bin\plexus.bat

--
-Gautham Pamu





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride



Jason van Zyl
[EMAIL PROTECTED]





Re: [maven1.x] maven-test-plugin.jar 1.8.1

2006-09-11 Thread Ming Cheung
Jeff,

The maven-test-plugin only comes with 1.8 so far. There is no 1.81. 
available online 
http://maven.apache.org/maven-1.x/plugins/test/downloads.html. 

Is there another option?

Sincerely,

Ming Cheung
WebSphere Web Services Developer

Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758
Tie Line: 678-0733
Email: [EMAIL PROTECTED]




Jeff Jensen [EMAIL PROTECTED] 
09/11/2006 05:04 PM
Please respond to
Maven Users List users@maven.apache.org


To
Maven Users List users@maven.apache.org
cc

Subject
Re: [maven1.x] maven-test-plugin.jar 1.8.1






Read Non-Bundled Plugins here:
http://maven.apache.org/maven-1.x/start/concepts.html


Quoting Ming Cheung [EMAIL PROTECTED]:


 I need maven-test-plugin-1.8.1.jar for maven 1.x for my testcase be able 
to
 run successfully.

 Recently, I downloaded the maven 1.1-beta-3. and learned it only comes 
with
 maven-test-plugin-1.8.jar.  Is there a way to make the plugin update to
 1.8.1 automatically?



 Sincerely,

 Ming Cheung
 WebSphere Web Services Developer

 Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758
 Tie Line: 678-0733
 Email: [EMAIL PROTECTED]




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




Building Native Classes and library.

2006-09-11 Thread Luís Soares

Hello all,
  I am trying to build native classes with maven2 but there is an issue when 
calling javah. 

  The things should happen in the following order:

i) Build the java source classes that have calls to JNI.
   ii) Dump the class files into target/classes
  iii) Using the native-maven-plugin call javah to generate the header 
files. This needs the just compiled classes in target/classes in the 
classpath
   iv) Compile the C source files and create the library.

The problem is that the compiled classes are not available in the classpath 
when javah is called. Is there a way to do this without making use of an ant 
task?

How can I change the classpath when runnig the native-maven-plugin in order 
for the javah be called with -classpath $CLASSPATH:
${project.build.directory}/classes ?

If this is trivial, my apologies, but I have just started using maven.

Thanks.

-- 
Luís Soares


pgpmUyOyxI1on.pgp
Description: PGP signature


IDLJ plugin

2006-09-11 Thread Mark Donszelmann

Hi

we also have a plugin similar to rmic for idlj, see

http://java.freehep.org/freehep-idlj-plugin

Regards
Mark Donszelmann


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



[m2] native code compilation (javac, javah and gcc)

2006-09-11 Thread los
Hello all,
  I am trying to build native classes with maven2 but there is an issue when
calling javah.

  The things should happen in the following order:

i) Build the java source classes that have calls to JNI.
   ii) Dump the class files into target/classes
  iii) Using the native-maven-plugin call javah to generate the header
files. This needs the just compiled classes in target/classes in the
classpath
   iv) Compile the C source files and create the library.

The problem is that the compiled classes are not available in the classpath
when javah is called. Is there a way to do this using only the
native-maven-plugin?

Particularly, how can I change the classpath when runnig the
native-maven-plugin so that the javah gets called with -classpath
${maven.dependency.classpath}:${project.build.directory}/classes ?

Thanks.

-- 
Luís Soares


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



Re: Building Native Classes and library.

2006-09-11 Thread dan tran

Please file a JIRA so that ${project.build.directory}/classes  will be add
to javah classpath.

However you can create your own jar project and make it a dependency of the
javah project.

Here is an example.
http://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/src/it/jni/


-D


On 9/11/06, Luís Soares [EMAIL PROTECTED] wrote:



Hello all,
I am trying to build native classes with maven2 but there is an issue when
calling javah.

The things should happen in the following order:

   i) Build the java source classes that have calls to JNI.
  ii) Dump the class files into target/classes
iii) Using the native-maven-plugin call javah to generate the header
files. This needs the just compiled classes in target/classes in the
classpath
  iv) Compile the C source files and create the library.

The problem is that the compiled classes are not available in the
classpath
when javah is called. Is there a way to do this without making use of an
ant
task?

How can I change the classpath when runnig the native-maven-plugin in
order
for the javah be called with -classpath $CLASSPATH:
${project.build.directory}/classes ?

If this is trivial, my apologies, but I have just started using maven.

Thanks.

--
Luís Soares





Re: [m2] native code compilation (javac, javah and gcc)

2006-09-11 Thread dan tran

why are you sending the same message within 10mins? ;-)

On 9/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hello all,
I am trying to build native classes with maven2 but there is an issue when
calling javah.

The things should happen in the following order:

   i) Build the java source classes that have calls to JNI.
  ii) Dump the class files into target/classes
iii) Using the native-maven-plugin call javah to generate the header
files. This needs the just compiled classes in target/classes in the
classpath
  iv) Compile the C source files and create the library.

The problem is that the compiled classes are not available in the
classpath
when javah is called. Is there a way to do this using only the
native-maven-plugin?

Particularly, how can I change the classpath when runnig the
native-maven-plugin so that the javah gets called with -classpath
${maven.dependency.classpath}:${project.build.directory}/classes ?

Thanks.

--
Luís Soares


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




Re: [m2] native code compilation (javac, javah and gcc)

2006-09-11 Thread los
Oopss!! Sorry, my mistake. BTW, thanks for the quick reply.

 why are you sending the same message within 10mins? ;-)

 On 9/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hello all,
 I am trying to build native classes with maven2 but there is an issue
 when
 calling javah.

 The things should happen in the following order:

i) Build the java source classes that have calls to JNI.
   ii) Dump the class files into target/classes
 iii) Using the native-maven-plugin call javah to generate the header
 files. This needs the just compiled classes in target/classes in the
 classpath
   iv) Compile the C source files and create the library.

 The problem is that the compiled classes are not available in the
 classpath
 when javah is called. Is there a way to do this using only the
 native-maven-plugin?

 Particularly, how can I change the classpath when runnig the
 native-maven-plugin so that the javah gets called with -classpath
 ${maven.dependency.classpath}:${project.build.directory}/classes ?

 Thanks.

 --
 Luís Soares


 -
 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: How to set: No Scheduled build | Only triggered build

2006-09-11 Thread Anoop kumar V

Hi - Can somebody please help me a bit?

Thanks,
Anoop

On 9/11/06, Anoop kumar V [EMAIL PROTECTED] wrote:


Actually - the other way I have tried (not sure if it works yet) is to
just disable all the schedules that I have. So that would only let a user
click on the build-now link to build. Otherwise a build would never happen.

-Anoop

On 9/11/06, Anoop kumar V [EMAIL PROTECTED] wrote:

 Hi Continuum users,

 What is the best way to set the build schedule as never. Only when a
 user triggers, should the build happen??

 As of now, I have created a new schedule with the quiet period as a very
 large time: 99.

 But this is not foolproof. Is there an option I can set?

 --
 Thanks and best regards,
 Anoop




--
Thanks and best regards,
Anoop





--
Thanks and best regards,
Anoop


RE: [maven1.x] maven-test-plugin.jar 1.8.1

2006-09-11 Thread Jeff Jensen
You need to have http://cvs.apache.org/repository/ on your remote repo list
(maven.repo.remote property).
There are 1.8.1 and 1.9 snapshots there.

http://maven.apache.org/maven-1.x/using/repositories.html


-Original Message-
From: Ming Cheung [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 11, 2006 5:41 PM
To: Maven Users List
Cc: Maven Users List
Subject: Re: [maven1.x] maven-test-plugin.jar 1.8.1

Jeff,

The maven-test-plugin only comes with 1.8 so far. There is no 1.81. 
available online
http://maven.apache.org/maven-1.x/plugins/test/downloads.html. 

Is there another option?

Sincerely,

Ming Cheung
WebSphere Web Services Developer

Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733
Email: [EMAIL PROTECTED]




Jeff Jensen [EMAIL PROTECTED]
09/11/2006 05:04 PM
Please respond to
Maven Users List users@maven.apache.org


To
Maven Users List users@maven.apache.org
cc

Subject
Re: [maven1.x] maven-test-plugin.jar 1.8.1






Read Non-Bundled Plugins here:
http://maven.apache.org/maven-1.x/start/concepts.html


Quoting Ming Cheung [EMAIL PROTECTED]:


 I need maven-test-plugin-1.8.1.jar for maven 1.x for my testcase be able 
to
 run successfully.

 Recently, I downloaded the maven 1.1-beta-3. and learned it only comes 
with
 maven-test-plugin-1.8.jar.  Is there a way to make the plugin update to
 1.8.1 automatically?



 Sincerely,

 Ming Cheung
 WebSphere Web Services Developer

 Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758
 Tie Line: 678-0733
 Email: [EMAIL PROTECTED]




-
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]



Javadoc + Chinese character

2006-09-11 Thread jiangshachina

Hello,
I'm using Windows2K + JDK1.5.0_08
In JDK1.5.0, many items(package-summary, package-use, Class,
Constructor Summary ...) in Javadoc pages are Chinese characters.
If I directly use command javadoc in cmd window, all of javadoc generated
is OK.
But if I use mvn javadoc:javadoc for generating javadoc, the chinese
character will be bad character.
How can I cancel the trouble?
Thanks!

a cup of Java, cheers!
Sha Jiang
-- 
View this message in context: 
http://www.nabble.com/Javadoc-%2B-Chinese-character-tf2256463.html#a6258835
Sent from the Maven - Users forum at Nabble.com.


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



Re: exporting database files through maven 1.0.2

2006-09-11 Thread manoj kaushik

hi Arnaud
thanks for the reply

Manoj Kaushik

On 9/11/06, emerson cargnin [EMAIL PROTECTED] wrote:


I thought I was the last one to be using maven 1.0.2. But planning to
upgrade already, heheheh :)

On 11/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote:
 You can use the torque plugin
 http://db.apache.org/torque/releases/torque-3.2/maven-plugin/goals.html

 Arnaud

 On 9/7/06, manoj kaushik [EMAIL PROTECTED] wrote:
 
  hi everybody
  i want to know that if there is any plugin or way in maven 1.0.2 with
  which
  i can export database files . any help regarding this will be highly
  appreciated.
  thanks in advance
  Manoj Kaushik
 
 



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




Re: How to set: No Scheduled build | Only triggered build

2006-09-11 Thread Anoop kumar V

Ohh really??

I have this issue - we have a dev env and a test env. The DEV is more or
less like an integration environment for all developers. The TEST env is
where we finally push code for testing by a separate testing team

We have set these 2 envs as 2 different projects in Continuum. The latest
from CVS is picked up and a build is made for each.

But if a release is going on, and the test team is testing a release (ON
TEST), we wouldnt want to build / deploy into TEST (and mess up the env) -
but it is ok if a build happens on DEV. So we all agreed (TEST and DEV
teams) that we will henceforth use Continuum to do only 'on demand' builds
(only if triggered by the user)and there would be no scheduled builds.

How can I work around this issue? One way as I have mentioned below is to
specify a very large quiet period
The other option maybe is to maintain a branch in CVS which will be used
only for TEST, and merge from HEAD into this BRANCH just when we want to
build / deploy into stuff..

Is there some other easier way that I might not have thought about? (like
maybe I can tweak the cron intervals to ensure that a build never happens??
Our testing cycle never goes beyond a week!)

Thanks a lot,
Anoop

On 9/12/06, Barrie Treloar [EMAIL PROTECTED] wrote:


I don't think this feature is available currently.

On 9/12/06, Anoop kumar V [EMAIL PROTECTED] wrote:
 Hi - Can somebody please help me a bit?

 Thanks,
 Anoop

 On 9/11/06, Anoop kumar V [EMAIL PROTECTED] wrote:
 
  Actually - the other way I have tried (not sure if it works yet) is to
  just disable all the schedules that I have. So that would only let a
user
  click on the build-now link to build. Otherwise a build would never
happen.
 
  -Anoop
 
  On 9/11/06, Anoop kumar V [EMAIL PROTECTED] wrote:
  
   Hi Continuum users,
  
   What is the best way to set the build schedule as never. Only when a
   user triggers, should the build happen??
  
   As of now, I have created a new schedule with the quiet period as a
very
   large time: 99.
  
   But this is not foolproof. Is there an option I can set?
  
   --
   Thanks and best regards,
   Anoop
  
 
 
 
  --
  Thanks and best regards,
  Anoop
 



 --
 Thanks and best regards,
 Anoop







--
Thanks and best regards,
Anoop


Re: Javadoc + Chinese character

2006-09-11 Thread jiangshachina

Hello,
The problem disappeared.
I use UTF16 charset.
plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-javadoc-plugin/artifactId
  configuration
charsetUTF16/charset
  /configuration
/plugin

a cup of Java, cheers!
Sha Jiang


jiangshachina wrote:
 
 Hello,
 I'm using Windows2K + JDK1.5.0_08
 In JDK1.5.0, many items(package-summary, package-use, Class,
 Constructor Summary ...) in Javadoc pages are Chinese characters.
 If I directly use command javadoc in cmd window, all of javadoc
 generated is OK.
 But if I use mvn javadoc:javadoc for generating javadoc, the chinese
 character will be bad character.
 How can I cancel the trouble?
 Thanks!
 
 a cup of Java, cheers!
 Sha Jiang
 

-- 
View this message in context: 
http://www.nabble.com/Javadoc-%2B-Chinese-character-tf2256463.html#a6259285
Sent from the Maven - Users forum at Nabble.com.


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



Re: PHP and Maven2?

2006-09-11 Thread Doug Douglass

Alexander,

Maybe you found the PHP plugins for maven 1 I developed at my previous
company[1]? Unfortunately, it appears they haven't been updated since I
left. All of the plugins were simply command-line wrappers around PHP,
usually building a temporary PHP script to be executed. Such capability
should be fairly easy to move into a Mojo using either the plexus command
line component/wrapper or ant.

As for best practices, the project for which those plugins were written was
using the Mojavi MVC framework (I think it's now merged with Agavi, very
nice IMHO). Mojavi, like Rails (also very nice IMHO), has a specific
application directory layout that nicely facilitates in-place development (
i.e., edit the source, hit refresh in your browser to see your changes), but
we continually found in-place webapp development to only work for the
simplest of applications. Instead, we chose to use the standard maven
directories (i.e., src/main/php, src/test/php, src/main/webapp) and used the
plugins to build the required application layout via configuration. Yes this
is a more traditional edit-build cycle and does take longer than in-place
edits, if only by seconds, but we were also filtering resources and
extracting dependencies (i.e., javascript, images, php) into the target
application, so the build step was required. Plus, building required running
the unit tests (via SimpleTest in our case, again, very nice IMHO) which is
A Good Thing.

HTH,
Doug

[1] http://projects.denverdata.com/maven/plugins


On 9/11/06, Alexander Hars  [EMAIL PROTECTED] wrote:


Hi,

Is anybody using Maven2 for a PHP project? Are there any best practices
to start out with (e.g. directory layout etc.)?
I would like to use Maven for a new PHP project but all I found so far
was a Php Plugin for Maven1.

Thanks,

Alexander



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




Re: How to set: No Scheduled build | Only triggered build

2006-09-11 Thread Barrie Treloar

I don't think this feature is available currently.

On 9/12/06, Anoop kumar V [EMAIL PROTECTED] wrote:

Hi - Can somebody please help me a bit?

Thanks,
Anoop

On 9/11/06, Anoop kumar V [EMAIL PROTECTED] wrote:

 Actually - the other way I have tried (not sure if it works yet) is to
 just disable all the schedules that I have. So that would only let a user
 click on the build-now link to build. Otherwise a build would never happen.

 -Anoop

 On 9/11/06, Anoop kumar V [EMAIL PROTECTED] wrote:
 
  Hi Continuum users,
 
  What is the best way to set the build schedule as never. Only when a
  user triggers, should the build happen??
 
  As of now, I have created a new schedule with the quiet period as a very
  large time: 99.
 
  But this is not foolproof. Is there an option I can set?
 
  --
  Thanks and best regards,
  Anoop
 



 --
 Thanks and best regards,
 Anoop




--
Thanks and best regards,
Anoop