Mail notification should be configurable to notify on every build for 1.1-beta-1

2007-07-27 Thread Dmitriy Voloshchuk
Hello,

 

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

It seems not to be supported in 1.1-beta-1.

 

As I understand there is only way not to receive notification when the
next build is successful as  well as previous one.

In case components, in the component whose implementation contains
org.apache.maven.continuum.notification.mail.MailContinuumNotifier, in
configuration, add this: alwaysSendfalse/alwaysSend

 

 

However the notification will always be sent in case of FAILURE of
ERROR.

 

Is it possible in this release to adjust notification like in the solved
issue (notifyEvenIfStateUnchangedtrue/notifyEvenIfStateUnchanged )?

 

Thank you,

Dee.

 



Re: relativePath

2007-07-27 Thread javijava

Anyway ,I have other problem...

if I have a multiproject that works with maven (install,compileetc), but
i want add it to Continuum
I select the  parent pom, and, continuum said: The URL provided is
malformed.  for each module.

:(


-- 
View this message in context: 
http://www.nabble.com/relativePath-tf4140573.html#a11828087
Sent from the Continuum - Users mailing list archive at Nabble.com.



Re: relativePath

2007-07-27 Thread javijava

I think, i'm starting to understand you Jesse

if I try this easy structure:

pom
|
|--p1---pom
|
|--p2---pom

It woks, and this artifacts were placed  in the local repository

then... if i change the structure ..a little more difficult :

|
|---parent---pom
|
|--p1pom
|--p2trunk-pom

then this now works!!  the superpom have the modules links , but modules
don't need to have a relativePath from their parent.
if i try to do directly the second structure doesn´t works, I thinks is
because the artifacts are not in the local maven repository.

well... how can I put some artifacts from any structure in the repository
before build ,without do an easy structure first ,build it and then the
change it to the structure i want ??

thanks a lot, and sorry because..i'm new in maven's world.


-- 
View this message in context: 
http://www.nabble.com/relativePath-tf4140573.html#a11827659
Sent from the Continuum - Users mailing list archive at Nabble.com.



RE: [Announce] Continuum 1.1-beta-1 is released

2007-07-27 Thread Madsen,Bryan
I realized I posted to the wrong list. See below.

After playing around with this it looks like the save and cancel button
are operating opposite of what they should on the Profiles page. I am
able to save installations on a Profile if I save using the cancel
button.



-Original Message-
From: Madsen,Bryan 
Sent: Friday, July 27, 2007 8:58 AM
To: 'Maven Users List'
Subject: RE: [Announce] Continuum 1.1-beta-1 is released

In the Build Profiles page I added an installation to my profile and
saved it. When the screen refreshed the installation did not attach to
the profile. No errors, nothing in the continuum.log. Any ideas why this
would happen?

Bryan

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 9:04 AM
To: continuum-users@maven.apache.org
Cc: [EMAIL PROTECTED]; Maven Users List
Subject: [Announce] Continuum 1.1-beta-1 is released

Hi,

The maven/Continuum team is pleased to announce the first beta of
Continuum 1.1

Highlights are:

* Continuum profiles to define JDK/maven/ANT to use in a build
definition
* many bug fixes and ui improvements.


You can grab the latest release from:

http://maven.apache.org/continuum/download.html


Next up we are going to have another beta release in a month, or
ideally before to have a final release in 1.5 month

Anyway, below is the jira release notes for this release.

Release Notes - Continuum - Version 1.1-alpha-2

Bug

 * [CONTINUUM-530] - HTML encode the build output
 * [CONTINUUM-691] - Build Numbers are obscured by the
queuing/building icon
 * [CONTINUUM-706] - XML-RPC Server does not support addition of
BuildDefinitions
 * [CONTINUUM-709] - Runtime error during recording in datanase
 * [CONTINUUM-723] - strange trouble on solaris
 * [CONTINUUM-817] - The generated output in the Working Copy page
displays the wrong content
 * [CONTINUUM-821] - The Project.getBuildResults() method returns an
empty list
 * [CONTINUUM-963] - Derby Database initialization error on Webapp
restarts on Jetty
 * [CONTINUUM-1094] - Continuum does not build with Sun JDK 6
 * [CONTINUUM-1119] - Creating a Group with an existing id errors
 * [CONTINUUM-1191] - editProject: NoSuchMethodException:
 * [CONTINUUM-1194] - Project is stuck in the Build in Progress
state if the associated exception has more than 8192 chars
 * [CONTINUUM-1226] - Second build definitions on a project is never
triggered with CVS
 * [CONTINUUM-1228] - OgnlException while setting property
'projectGroupId' on redirect
 * [CONTINUUM-1235] - Continuum 1.1-SNAPSHOT fails to check out
projects from CVS when kicking off the build
 * [CONTINUUM-1241] - Schedule fails to start due to derby database
column being too small
 * [CONTINUUM-1244] - project group name is not validated when left
blank in Edit Project Group page, resulting to an error
 * [CONTINUUM-1308] - error moving projects to a new group
 * [CONTINUUM-1314] - NPE in DefaultContinuum.java -
isInBuildingQueue
 * [CONTINUUM-1316] - Hitting 'Add' button repetitively in adding an
Ant, Shell and Schedule using empty string only accumulates validation
prompts in IE browser
 * [CONTINUUM-1320] - DefaultBuildController.makeAndStoreBuildResult
cannot save build result due to maximum size of COMMAND_LINE
 * [CONTINUUM-1337] - NPE during profile creation
 * [CONTINUUM-1338] - field name in class
org.apache.maven.continuum.model.scm is too small
 * [CONTINUUM-1339] - Deleting a project group does not delete
related build output directories
 * [CONTINUUM-1340] - After adding a ant project to the default
project group (default project group is not displayed)
 * [CONTINUUM-1341] - Adding a Maven 2 POM from secure SVN on a
non-standard port does not work

Improvement

 * [CONTINUUM-774] - Better support for multiprojects
 * [CONTINUUM-1002] - build email cleanup
 * [CONTINUUM-1113] - Continuum doesn't work with MySQL
 * [CONTINUUM-1184] - Ability to pre-configure the Jetty port in
conf/plexus.xml
 * [CONTINUUM-1350] - Documentation on Build profiles

New Feature

 * [CONTINUUM-44] - multiple profiles
 * [CONTINUUM-614] - Enable auto-refresh for the build results page
 * [CONTINUUM-761] - Ability to delete results
 * [CONTINUUM-991] - Add meta refresh header to summary pages
 * [CONTINUUM-1178] - In Add New Maven 2 Project woudl like
opportunity not to load modules
 * [CONTINUUM-1222] - usage of an alternative maven2-executable
 * [CONTINUUM-1291] - In a special configuration the report mail can
contains false java version used for the build

Task

 * [CONTINUUM-977] - Create web UI tests for Add m1  m2 projects
pages

Test

 * [CONTINUUM-978] - add web ui tests for all pages related to
schedules
 * [CONTINUUM-1223] - Ability to choose JVM (export JAVA_HOME) for
different projects

Wish

 * [CONTINUUM-1224] - Ability to set MAVEN_OPTS for Maven2 

Can not startup Continuum 1.1-beta-1

2007-07-27 Thread L. J.
Get below exception during startup

Exception in thread main java.lang.UnsupportedClassVersionError:
org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet (Unsupported
major.minor version 49.0)

Is anyone having the same problem?

Thanks.

LJ


Re: Can not startup Continuum 1.1-beta-1

2007-07-27 Thread Anoop kumar V
I think you need to upgrade your java software or probably just point it to
the correct path (JAVA_HOME).

HTH,
Anoop

On 7/27/07, L. J. [EMAIL PROTECTED] wrote:

 Get below exception during startup

 Exception in thread main java.lang.UnsupportedClassVersionError:
 org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet
 (Unsupported
 major.minor version 49.0)

 Is anyone having the same problem?

 Thanks.

 LJ



Re: Can not startup Continuum 1.1-beta-1

2007-07-27 Thread Wendy Smoak
On 7/27/07, L. J. [EMAIL PROTECTED] wrote:
 Get below exception during startup

 Exception in thread main java.lang.UnsupportedClassVersionError:
 org/apache/maven/continuum/xmlrpc/server/ContinuumXmlRpcServlet (Unsupported
 major.minor version 49.0)

Continuum requires JDK 1.5 or later.  I fixed the system requirements
on the download page, which incorrectly said 1.4.  It will be show up
next time the site is published.

-- 
Wendy


Re: What is Use SCM Credentials Cache, if available?

2007-07-27 Thread Dan Tran
Thanks you both

-D


On 7/26/07, Maria Odea Ching [EMAIL PROTECTED] wrote:

 I think it tells Continuum to use the available SCM credentials, which
 are already in the machine's SCM when checking out the project, instead
 of supplying or using the username and password specified by the user in
 the Add Project page :)

 HTH,
 Deng

 Dan Tran wrote:
  Could not figure out what it means  in continuum 1.1? any hint? :-)
 
  Thanks
 
  -D
 




Re: What is Use SCM Credentials Cache, if available?

2007-07-27 Thread Maria Odea Ching
I think it tells Continuum to use the available SCM credentials, which 
are already in the machine's SCM when checking out the project, instead 
of supplying or using the username and password specified by the user in 
the Add Project page :)


HTH,
Deng

Dan Tran wrote:

Could not figure out what it means  in continuum 1.1? any hint? :-)

Thanks

-D





Re: relativePath

2007-07-27 Thread javijava


Hi Jesse,

First ,thanks to reply...but..i don't understand you


relativePath is not used when the is some levels between parent pom  
modules?
i create the superpom after the project to manage their dependence.

If i understand you...all the artifacts (poms) may be in the svn repo and in 
a maven2 repo too? and the only important thing to maven is the SCM and 
parent   Tags mus not have a relativePath???

Then i must try to have the first scenario again...?

can you explain a little example with 2 projects with dependence and a
superpom that manage it, step by step and writing the parent modules 
scm  tags??

Thanks a lot 4 the help.

Regards

-- 
View this message in context: 
http://www.nabble.com/relativePath-tf4140573.html#a11823705
Sent from the Continuum - Users mailing list archive at Nabble.com.



Re: Continuum don't show the author and messages commit in the changes section

2007-07-27 Thread Dan Tran
Emmanuel,

Do you have instructions on how to enable debug on maven-scm classes?

Thanks

-Dan


On 7/26/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:

 To know what's happen, I'd need logs of maven-scm classes in debug level.

 Emmanuel

 Dan Tran a écrit :
  it intermittenly happens on 1.1-beta-1 as well
 
  -D
 
 
  On 7/26/07, Martin Alejandro Villalobos [EMAIL PROTECTED]
  wrote:
 
  Emmanuel, thanks for your answer.
  I'm using Continuum 1.0.3 and SVN, but this behaviour is only with some
  projects, not with all.
  Can be related with the way in that the svn plugin of Eclipse do the
  commits?
 
  Thanks.
 
  Martin.
 
  Emmanuel Venisse wrote:
   div class=moz-text-flowed style=font-family:
 -moz-fixedContinuum
   version? SCM?
  
   Generally it's a problem due to the locale used on the server, it
 must
   be an english locale.
  
   Emmanuel
  
   Martin Alejandro Villalobos a écrit :
   Hello, I have a trouble.
   In a mysterious way, Continuum don't show the author and messages
   commit in the changes section.
   Somebody knows what could be a problem???
  
   Thanks.
  
   Martin.
  
  
  
  
  
   /div
 
 
  --
  Martin A. Villalobos
  Software Development and SCM
  Globant
  Arg Office: +54 (11) 4109 1700 int 8473
  [EMAIL PROTECTED]
 
 
 




Question - weblogic-maven-plugin - Urgent

2007-07-27 Thread Eric YH WONG
Hi All,

 

Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP
SP2. I use WebLogic Workshop (accompany with the WebLogic Platform
installer) v8.1.6 to create a new Application and a portal project.

 

Attached the Directory Layout.

 

And I want to use Maven2 to build an EAR, so I created a pom.xml and using
weblogic-maven-plugin v2.8.0.. When I execute mvn weblogic:appc I got
errors (see the attached files Debug.txt and Error.txt).

 

Does anyone can help to resolve it ???

 

Thanks,

 

Eric

 

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

Re: Not running test on jetty:run?

2007-07-27 Thread Maria Odea Ching
Yes, that is expected.. jetty:run only compiles the sources, but doesn't 
run the tests :)


-Deng

mateamargo wrote:

I'm having problems with my webapp. But the problems were while running it
(e.g. saving an object), but yesterday I have tried running mvn clean
jetty:run-war instead of mvn clean jetty:run and hasn't compile it because a
test fail.
Running jetty:run it don't run the surefire plugin.

Is this expected?
  



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



RE: What is the correct way to use classifiers

2007-07-27 Thread Jörg Schaible
Dennis Lundberg wrote on Tuesday, July 24, 2007 5:10 PM:

[snip]

 To sum this up: it works, but is it the right way (TM) to use
 classifiers? 

In short: Yes :)

- Jörg

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



Re: How can i build a specific version without changing the pom.xml?

2007-07-27 Thread John Patrick
Yeah I follow you more now.

We similar by having a developer profile active by default using snapshot
versions and the release and continuous profiles using non snapshot
versions.

John
On 27/07/07, Baz [EMAIL PROTECTED] wrote:

 John,

 I agreed with your comments. Here is the practical usage:

 The version under source code is building against xyz version 5.6.1.0.
 However, we need the capability to build against the non-release quality
 of
 version xyz that comes out every day or week, say 5.6.1.1, then 5.6.1.2,
 then 5.6.1.3, ...etc.

 I should alter the dependency information in my pom.xml for product A
 since
 I really do not know which version of xyz will pass QA. Does it make
 sense?

 Baz


 On 7/26/07, John Patrick [EMAIL PROTECTED] wrote:
 
  Baz,
 
  I would put this type of information into a profile within the pom. Then
  its
  simple and repeatable. Also trackable if your project is under source
  control, instead of just relying on people knowing the correct command
  line
  arguments to use.
 
  Personally I think building a different version from what the pom says
 is
  a
  very bad idea as from my experience, definitively knowing from a file
 its
  artifact id and version number is a huge advantage. It can give you a
 link
  into a source control tag or label and maintenance and support effect
 can
  be
  more efficiently used.
 
  If a defect gets raised for version 0.1 how will support know its
 actually
  1.0 with version 2.0 of xyz and not version 0.1 with what ever version
 of
  xyz was defined at the point.
 
  I apologise for the rant but I've been called in several times to help
  with
  issues with supporting non maven projects and finding out versions of
 jars
  being used and setting up a test environment took 85% of the time with
 the
  rest doing the actual fix and proving it works. Where as with a maven
  project, get the pom from the main jar and then sync to that tag/label
 and
  your setup in minuets not hours.
 
  John
 
  On 26/07/07, Baz [EMAIL PROTECTED] wrote:
  
   All,
  
   How can i build a specific version or depend on specific version
 without
   changing the pom.xml ?
  
   For example, if pom.xml of product A is building version 1.0 of
 product
  A
   and depending on version 5.6 of xyz.
  
   Can i type something like mvn -Dversion=0.1 -Dxyz_version=2.0install
  to
   build version 0.1 of product A and depending on version 2.0 of xyz?
  
   Thank you.
  
   A.
  
 
 
 
  On 26/07/07, Baz [EMAIL PROTECTED] wrote:
  
   All,
  
   How can i build a specific version or depend on specific version
 without
   changing the pom.xml ?
  
   For example, if pom.xml of product A is building version 1.0 of
 product
  A
   and depending on version 5.6 of xyz.
  
   Can i type something like mvn -Dversion=0.1 -Dxyz_version=2.0install
  to
   build version 0.1 of product A and depending on version 2.0 of xyz?
  
   Thank you.
  
   A.
  
 



RE: [Announce] Continuum 1.1-beta-1 is released

2007-07-27 Thread Madsen,Bryan
In the Build Profiles page I added an installation to my profile and
saved it. When the screen refreshed the installation did not attach to
the profile. No errors, nothing in the continuum.log. Any ideas why this
would happen?

Bryan

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 9:04 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Maven Users List
Subject: [Announce] Continuum 1.1-beta-1 is released

Hi,

The maven/Continuum team is pleased to announce the first beta of
Continuum 1.1

Highlights are:

* Continuum profiles to define JDK/maven/ANT to use in a build
definition
* many bug fixes and ui improvements.


You can grab the latest release from:

http://maven.apache.org/continuum/download.html


Next up we are going to have another beta release in a month, or
ideally before to have a final release in 1.5 month

Anyway, below is the jira release notes for this release.

Release Notes - Continuum - Version 1.1-alpha-2

Bug

 * [CONTINUUM-530] - HTML encode the build output
 * [CONTINUUM-691] - Build Numbers are obscured by the
queuing/building icon
 * [CONTINUUM-706] - XML-RPC Server does not support addition of
BuildDefinitions
 * [CONTINUUM-709] - Runtime error during recording in datanase
 * [CONTINUUM-723] - strange trouble on solaris
 * [CONTINUUM-817] - The generated output in the Working Copy page
displays the wrong content
 * [CONTINUUM-821] - The Project.getBuildResults() method returns an
empty list
 * [CONTINUUM-963] - Derby Database initialization error on Webapp
restarts on Jetty
 * [CONTINUUM-1094] - Continuum does not build with Sun JDK 6
 * [CONTINUUM-1119] - Creating a Group with an existing id errors
 * [CONTINUUM-1191] - editProject: NoSuchMethodException:
 * [CONTINUUM-1194] - Project is stuck in the Build in Progress
state if the associated exception has more than 8192 chars
 * [CONTINUUM-1226] - Second build definitions on a project is never
triggered with CVS
 * [CONTINUUM-1228] - OgnlException while setting property
'projectGroupId' on redirect
 * [CONTINUUM-1235] - Continuum 1.1-SNAPSHOT fails to check out
projects from CVS when kicking off the build
 * [CONTINUUM-1241] - Schedule fails to start due to derby database
column being too small
 * [CONTINUUM-1244] - project group name is not validated when left
blank in Edit Project Group page, resulting to an error
 * [CONTINUUM-1308] - error moving projects to a new group
 * [CONTINUUM-1314] - NPE in DefaultContinuum.java -
isInBuildingQueue
 * [CONTINUUM-1316] - Hitting 'Add' button repetitively in adding an
Ant, Shell and Schedule using empty string only accumulates validation
prompts in IE browser
 * [CONTINUUM-1320] - DefaultBuildController.makeAndStoreBuildResult
cannot save build result due to maximum size of COMMAND_LINE
 * [CONTINUUM-1337] - NPE during profile creation
 * [CONTINUUM-1338] - field name in class
org.apache.maven.continuum.model.scm is too small
 * [CONTINUUM-1339] - Deleting a project group does not delete
related build output directories
 * [CONTINUUM-1340] - After adding a ant project to the default
project group (default project group is not displayed)
 * [CONTINUUM-1341] - Adding a Maven 2 POM from secure SVN on a
non-standard port does not work

Improvement

 * [CONTINUUM-774] - Better support for multiprojects
 * [CONTINUUM-1002] - build email cleanup
 * [CONTINUUM-1113] - Continuum doesn't work with MySQL
 * [CONTINUUM-1184] - Ability to pre-configure the Jetty port in
conf/plexus.xml
 * [CONTINUUM-1350] - Documentation on Build profiles

New Feature

 * [CONTINUUM-44] - multiple profiles
 * [CONTINUUM-614] - Enable auto-refresh for the build results page
 * [CONTINUUM-761] - Ability to delete results
 * [CONTINUUM-991] - Add meta refresh header to summary pages
 * [CONTINUUM-1178] - In Add New Maven 2 Project woudl like
opportunity not to load modules
 * [CONTINUUM-1222] - usage of an alternative maven2-executable
 * [CONTINUUM-1291] - In a special configuration the report mail can
contains false java version used for the build

Task

 * [CONTINUUM-977] - Create web UI tests for Add m1  m2 projects
pages

Test

 * [CONTINUUM-978] - add web ui tests for all pages related to
schedules
 * [CONTINUUM-1223] - Ability to choose JVM (export JAVA_HOME) for
different projects

Wish

 * [CONTINUUM-1224] - Ability to set MAVEN_OPTS for Maven2 build
definitions
 * [CONTINUUM-1258] - Configure the possibility of resolving or not
the search of build executables (maven, ant ...)


Emmanuel


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

--
CONFIDENTIALITY NOTICE This message and any included 

Re: site:site versus site:stage

2007-07-27 Thread dvicente

Hi,

the mvn site:site creates the site for each module in
${module}/target/site directory

all created links in each site don't work because they reflect the future
deployed site architecture, not the current directories architecture.

the mvn site:stage command creates the site in a local directory to test
it in local as if it has deployed.

To work fine, you must create and deploy the site with
distributionManagement section in your root pom as :

distributionManagement
site
idmysite/id
nameMaven ProjectWebsite/name
urlfile:///c:\temp/url
/site
/distributionManagement

and the mvn site:site site:deploy command
 

Adam Fisk-3 wrote:
 
 I'm having issues using site:site with a multi-module project.  site:stage
 works fine, but for some reason site:site doesn't like my modules, instead
 just listing them in bold.
 
 Shouldn't they do the same thing?  Any idea how I get site:site to just
 link
 the darn modules?  I'm using maven 2.0.7.
 
 Thanks!
 
 -Adam
 
 

-- 
View this message in context: 
http://www.nabble.com/site%3Asite-versus-site%3Astage-tf4154748s177.html#a11827772
Sent from the Maven - Users mailing list archive at Nabble.com.


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



problem setting windows path for surefire tests

2007-07-27 Thread Nathan Coast
Hi all,

I'm trying to set the windows PATH variable for my test execution. It 
seems that including ENVIRONMENTPATH nodes doesn't work correctly. 
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
environmentVariables
PATH${env.Path}/PATH
HOME${env.HOME}/HOME
/environmentVariables
/configuration 
/plugin

Why not just exclude it then? I currently have to add a value to the 
windows path variable to execute certain tests.  I would like to avoid 
this by modifying the PATH variable at runtime e.g. 
PATH${env.Path};new_path_var/PATH  thus reducing the amount of 
environment setup.

There seems to be a related JIRA: 
http://jira.codehaus.org/browse/SUREFIRE-308

Thanks,
Nathan

---

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly forbidden.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional 
EU corporate and regulatory disclosures.

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



Re: How do I get the Dashboard plugin integrated to my website?

2007-07-27 Thread dvicente

Hi,

could you gie us your pom ?

which maven's version do you use ?

which dashboard plugin's version ?



Ian Rowlands wrote:
 
 
 
 
 
 I've added it into the pom file, I can see the report output being
 generated, but when I open the project-reports.html file it doesn't have a
 link in there.  Is there anything else I have to do?
 
 I am running the build in a number of phases, as recommended:
 
 mvn site
 mvn dashboard:dashboard
 mvn site:deploy
 
 
 Regards,
 
 Ian
 
 
 
 Disclaimer: The information transmitted is intended only for the person or
 entity to which it is addressed and may contain confidential and/or
 privileged material. Any review, retransmission, dissemination or other
 use
 of, or taking of any action in reliance upon, this information by persons
 or entities other than the intended recipient is prohibited. If you
 received this in error, please contact the sender and delete the material
 from your computer.
 Privacy: If you are responding to this email or providing personal
 information to the SRO for the purposes of one of the Acts it administers,
 such information is used only for the purpose for which it was collected
 ( administration of SRO legislation ) and is protected by the Information
 Privacy Act 2000 and secrecy provisions contained in legislation
 administered by SRO. It is not disclosed otherwise than in accordance with
 the law. If you would like a copy of the SRO Privacy Policy please refer
 to
 SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a
 copy.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-get-the-Dashboard-plugin-integrated-to-my-website--tf4156303s177.html#a11826621
Sent from the Maven - Users mailing list archive at Nabble.com.


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



How do I get the Dashboard plugin integrated to my website?

2007-07-27 Thread Ian Rowlands




I've added it into the pom file, I can see the report output being
generated, but when I open the project-reports.html file it doesn't have a
link in there.  Is there anything else I have to do?

I am running the build in a number of phases, as recommended:

mvn site
mvn dashboard:dashboard
mvn site:deploy


Regards,

Ian



Disclaimer: The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from your computer.
Privacy: If you are responding to this email or providing personal
information to the SRO for the purposes of one of the Acts it administers,
such information is used only for the purpose for which it was collected
( administration of SRO legislation ) and is protected by the Information
Privacy Act 2000 and secrecy provisions contained in legislation
administered by SRO. It is not disclosed otherwise than in accordance with
the law. If you would like a copy of the SRO Privacy Policy please refer to
SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a
copy.


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



Re: AW: Excluding attribute for eclipse maven 2 plugin

2007-07-27 Thread Pierre++

Dear all,

Do you know if this issue will be fixed soon?
 It may be a modification within EclipseClasspathWriter.java  to add
|**/.sn/*  to the excludes string:
excludes = StringUtils.isEmpty( excludes ) ? **/*.java|**/.svn/*
: excludes + |**/*.java|**/.svn/*;
 But I don't know the procedure to integrate this modification.
Regards,

Pierre


Wilko.kempa wrote:
 
 Done - please see http://jira.codehaus.org/browse/MECLIPSE-232
 Wilko
 
 -Ursprüngliche Nachricht-
 Von: franz see [mailto:[EMAIL PROTECTED] 
 Gesendet: Donnerstag, 15. Februar 2007 13:00
 An: users@maven.apache.org
 Betreff: Re: [m2] Excluding attribute for eclipse maven 2 plugin
 
 Good day to you, Wilko,
 I don't think that's supported. You may want to file a jira issue for that
 in [1].
 Cheers,
 Franz
 
 [1] http://jira.codehaus.org/browse/MECLIPSE
 
 
 Wilko.kempa wrote:
 
 Hi
 
 we are using the maven 2 eclipse plugin with eclipse:eclipse to create 
 our eclipse project files. Unfortunately there seems to be no way to 
 create a classpath entry with an excluding attribute. This would be 
 very helpful to exclude .svn files form source path.
 
 Has anybody an idea on how to create the excluding attribute?
 
 Now generated (first entry within .classpath file):
 classpathentry kind=src path=src/main/java/
 
 Should be:
 classpathentry kind=src excluding=**/.svn/* 
 path=src/main/java/
 
 Without this we get a lot of duplicate .svn.. file warnings within 
 the j2ee perspective of eclipse callisto
 
 I found this request
 http://mail-archives.apache.org/mod_mbox/maven-dev/200306.mbox/%3COFA4
 [EMAIL PROTECTED]
 %3E
 but this seems to be on maven 1.0.
 
 Thx
 Wilko
 

-- 
View this message in context: 
http://www.nabble.com/Excluding-attribute-for-eclipse-maven-2-plugin-tf3233144s177.html#a11825531
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Surefire failure - any hints?

2007-07-27 Thread Siegmann Daniel, NY
Setting up Maven in an existing project, we ran into a Surefire failure.
The message There are some test failure. is unhelpful. None of the
tests run, and the Surefire directory isn't created. Debugging doesn't
give anything useful. Any ideas?

[ERROR] BUILD ERROR
[INFO]

[INFO] There are some test failure.
[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: There are some
test failure.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: There are
some test failure.
at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:384)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
... 16 more
[INFO]


--
Daniel Siegmann
FJA-US, Inc.
512 Seventh Ave., New York, NY  10018
(212) 840-2618 ext. 139

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



skip modules question

2007-07-27 Thread Timothy Reilly
I was wondering .. is there a way to skip building the sub-modules in a project 
which is a parent pom and also an aggregator? 
 
I don't really want to split the pom into parent and aggregator, but I can if 
that's the only way. We don't want to skip modules very often.
 
 
 


Re: skip modules question

2007-07-27 Thread Patrick Schneider
mvn -N clean:install

On 7/27/07, Timothy Reilly [EMAIL PROTECTED] wrote:

 I was wondering .. is there a way to skip building the sub-modules in a
 project which is a parent pom and also an aggregator?

 I don't really want to split the pom into parent and aggregator, but I can
 if that's the only way. We don't want to skip modules very often.






Problem with Webstart Plugin

2007-07-27 Thread David C. Hicks
I have an intermittent problem with the WebStart plugin that I hope 
someone might be able to help me with.  Occasionally, but more often 
than not, I get the following exception from the plugin:


java.lang.IllegalStateException: the number of signed artifacts differ 
from the number of modified artifacts.


This same build works great on my machine at the office, but fails often 
on my machine at home.  I'm running JDK 1.4.2_13, but using the JDK 
1.5.0_12 jar signer because it runs faster.  (A simple symlink redirects 
to the jar signer from my 1.4.2 installation.)


The exception I see when I add the -e flag to my maven build doesn't 
really give me any additional information.  Any ideas?


Thanks,
David


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



Re: maven2 surefire plugin - how to pass args to surefire on command line

2007-07-27 Thread Thorsten Heit

Hi,


This is what I want to pass as the surefire argLine param

---
-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y
,address=1824
---

Right now I have this hard coded in the pom as:

argLine-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=y
,address=7886/argLine

but I want to remove it from the pom and pass it on the command line.


Don't know whether this works, but what about using properties to do  
this?

argLine${my.cmdline.args}/argLine

and then mvn -Dmy.cmd.args='arguments' ...?


HTH

Thorsten


PGP.sig
Description: Signierter Teil der Nachricht


RE: skip modules question

2007-07-27 Thread Timothy Reilly
Thanks!
 
[Patrick Schneider wrote]

 mvn -N clean:install

On 7/27/07, Timothy Reilly [EMAIL PROTECTED] wrote:

 I was wondering .. is there a way to skip building the sub-modules in a
 project which is a parent pom and also an aggregator?

 I don't really want to split the pom into parent and aggregator, but I can
 if that's the only way. We don't want to skip modules very often.




Re: How can i build a specific version without changing the pom.xml?

2007-07-27 Thread Thorsten Heit

Hi,


I agreed with your comments. Here is the practical usage:

The version under source code is building against xyz version 5.6.1.0.
However, we need the capability to build against the non-release  
quality of
version xyz that comes out every day or week, say 5.6.1.1, then  
5.6.1.2,

then 5.6.1.3, ...etc.


What about using snapshot releases? I.e. called 5.6.2-SNAPSHOT as  
long as you think they don't have release quality, and finally change  
the version to 5.6.2 if you think it's good enough(tm)...



Cheers

Thorsten


PGP.sig
Description: Signierter Teil der Nachricht


Jdev project error using Maven to build .jpr

2007-07-27 Thread ScottBrank

Hi folks,

I got a problem with building Jdev file project .jpr with maven 2.0.7

i compared my pom.xml with pom.xml of trinidad project and i found no
difference of purpouse between them.

the error that i'm getting is that when i try to compile my project by jdev,
it returns that some packages are missing, but well, i already have the
libraries imported to my project. it's weird.

An example of that is the following:

I got a code in my apllication that is 
import org.apache.log4j.Logger;
and when i compile it, jdev returns that the package org.apache.log4j dows
not exist.

what is the issue at all?

other thing i have noticed is that when i open a file in my jdev and try to
type import org and then ctrl+space, i find that the package isn't shown. 
when i get to the trinidad project, i find that his is there, but there's no
visile difference between its properties and mine.

what is all about?

thank's, hope of help.

Scott
-- 
View this message in context: 
http://www.nabble.com/Jdev-project-error-using-Maven-to-build-.jpr-tf4159624s177.html#a11834892
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Jdev project error using Maven to build .jpr

2007-07-27 Thread Wayne Fay
Sounds like a problem in the JDev plugin that gives JDev some of
Maven's functionality. I am not familiar with it (haven't used JDev in
a long time) so I don't even know anything about the JDev - Maven
integration. Can you tell us more about how are you using it?

Do things work properly on the command line (mvn package)? So its
just the JDev stuff that isn't working?

Wayne

On 7/27/07, ScottBrank [EMAIL PROTECTED] wrote:

 Hi folks,

 I got a problem with building Jdev file project .jpr with maven 2.0.7

 i compared my pom.xml with pom.xml of trinidad project and i found no
 difference of purpouse between them.

 the error that i'm getting is that when i try to compile my project by jdev,
 it returns that some packages are missing, but well, i already have the
 libraries imported to my project. it's weird.

 An example of that is the following:

 I got a code in my apllication that is
 import org.apache.log4j.Logger;
 and when i compile it, jdev returns that the package org.apache.log4j dows
 not exist.

 what is the issue at all?

 other thing i have noticed is that when i open a file in my jdev and try to
 type import org and then ctrl+space, i find that the package isn't shown.
 when i get to the trinidad project, i find that his is there, but there's no
 visile difference between its properties and mine.

 what is all about?

 thank's, hope of help.

 Scott
 --
 View this message in context: 
 http://www.nabble.com/Jdev-project-error-using-Maven-to-build-.jpr-tf4159624s177.html#a11834892
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 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: Can maven-eclipse-plugin generate eclipse osgi plugin project

2007-07-27 Thread Craig Ching
Ah, thanks Stuart, much appreciated!  I'd run across your Pax stuff via some
hints from the Felix JIRA.  I found an eclipse plugin that generated the
necessary boilerplate for an eclipse PDE, but I'd not seen your maven plugin
which I'd prefer.  Thanks for the tips!

Cheers,
Craig

On 7/25/07, Stuart McCulloch [EMAIL PROTECTED] wrote:

 Hi Craig,

  Can the maven-eclipse-plugin generate an eclipse plugin project that's
  intended to be an OSGi bundle?  I'm trying to use the
 maven-bundle-plugin to
  generate OSGi bundles, but I, of course, want to do my development in
  eclipse.  Any help for me?

 yes, the maven-eclipse-plugin can generate eclipse files for PDE projects
 (effectively the same as OSGi bundle projects) - alternatively you can try
 the Pax-Construct tools, which bring together various maven plugins in a
 (hopefully!) consistent way for rapid OSGi development:

   http://wiki.ops4j.org/confluence/x/8Q

 disclaimer: this is one of my pet projects...

 --
 Cheers, Stuart

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




Problem with maven-archetype-quickstart

2007-07-27 Thread Craig Ching
Hi,

Haven't had any problems generating new maven projects until today.  This
simple command line:

mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

fails with:

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.archetype
ArtifactId: maven-archetype-quickstart
Version: RELEASE

Reason: Unable to determine the release version

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.archetype-DartifactId=m
aven-archetype-quickstart \
-Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.apache.maven.archetype-DartifactId=maven
-archetype-quickstart \
-Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file \
 -Durl=[url] -DrepositoryId=[id]


  org.apache.maven.archetype:maven-archetype-quickstart:jar:RELEASE


I'm still a bit green with maven, is there something fundamental that I'm
missing or is this a transient error?

Cheers,
Craig


Bug within filter mechanism?

2007-07-27 Thread CDickson
Hi,

Not sure if I have tripped over a bug or I am just not using the resource 
filter features correctly.

I have been trying to get the resource plugin to execute twice within the 
same project build. I have been looking around on the mail archives and 
have seen some different tag combinations being used, but the tags do not 
appear anywhere in the official docs (at least as far as I have found so 
far).

I can get the plugin to execute twice and the resources get copied to the 
correct directories, but the filtering does not work. Using the tag 
combination below, the debug output shows that there are no filters 
configured when the 2 executions run.

Can someone validate the tag combination below, particularly the 
filterPropertiesFile tag since this is the one I have seen in mail 
threads, but dont see mentioned in the docs.

Thanks.

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-resources-plugin/artifactId
version2.2/version
executions
execution
idprod/id
phasepackage/phase
goals
goalresources/goal
/goals
configuration
 outputDirectory${project.build.directory}/prod/outputDirectory
 
filterPropertiesFile${basedir}/src/main/filters/prod.properties/filterPropertiesFile
filteringtrue/filtering
/configuration
/execution
execution
idqa/id
phasepackage/phase
goals
goalresources/goal
/goals
configuration
 outputDirectory${project.build.directory}/qa/outputDirectory
 
filterPropertiesFile${basedir}/src/main/filters/qa.properties/filterPropertiesFile
filteringtrue/filtering
/configuration
/execution
/executions
/plugin

--
Craig Dickson
Software Engineering Manager
Behr Process Corporation
Santa Ana, California


--- 
The information contained in this e-mail message may be proprietary, 
privileged, confidential or protected from disclosure. If you are not the 
intended recipient, any dissemination, distribution or copying is strictly 
prohibited. If you think that you have received this e-mail message in 
error, please e-mail the sender. 

Re: How do I get the Dashboard plugin integrated to my website?

2007-07-27 Thread dvicente

Hi,

i've made a mistake when i'v writted the doc.

the right command is : mvn dashboard-report:dashboard 



Ian Rowlands wrote:
 
 
 
 
 
 I've added it into the pom file, I can see the report output being
 generated, but when I open the project-reports.html file it doesn't have a
 link in there.  Is there anything else I have to do?
 
 I am running the build in a number of phases, as recommended:
 
 mvn site
 mvn dashboard:dashboard
 mvn site:deploy
 
 
 Regards,
 
 Ian
 
 
 
 Disclaimer: The information transmitted is intended only for the person or
 entity to which it is addressed and may contain confidential and/or
 privileged material. Any review, retransmission, dissemination or other
 use
 of, or taking of any action in reliance upon, this information by persons
 or entities other than the intended recipient is prohibited. If you
 received this in error, please contact the sender and delete the material
 from your computer.
 Privacy: If you are responding to this email or providing personal
 information to the SRO for the purposes of one of the Acts it administers,
 such information is used only for the purpose for which it was collected
 ( administration of SRO legislation ) and is protected by the Information
 Privacy Act 2000 and secrecy provisions contained in legislation
 administered by SRO. It is not disclosed otherwise than in accordance with
 the law. If you would like a copy of the SRO Privacy Policy please refer
 to
 SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a
 copy.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-get-the-Dashboard-plugin-integrated-to-my-website--tf4156303s177.html#a11836469
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: [m2] issue with module running ant task that creates an jar

2007-07-27 Thread Mick Knutson
Ok, it is getting closer.

Here is my pom.xml and plugin:


groupIdorg.delta.esp.dap.c2.bpel/groupId
version1.0.0.0/version
artifactIdmis-file-intake/artifactId
packagingjar/packaging



 plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
executions
  execution
idattach-artifacts/id
phasepackage/phase
goals
  goalattach-artifact/goal
/goals
configuration
artifacts
  artifact

filetarget/bpel_MISFileIntakeProcess_1.0.0.0.jar/file
typejar/type
classifierbpel/classifier
  /artifact
/artifacts
/configuration
  /execution
/executions
  /plugin

Then in my local repo, I get:

C:\opt\.m2\repository\org\delta\esp\dap\c2\bpel\mis-file-intake\1.0.0.0\mis-
file-intake-1.0.0.0.jar (50k from the pom.xml)
C:\opt\.m2\repository\org\delta\esp\dap\c2\bpel\mis-file-intake\1.0.0.0\mis-
file-intake-1.0.0.0-bpel.jar (600k generated from ant)


I have 2 questions:

1. how do I NOT get mis-file-intake-1.0.0.0.jar into the repo or even
generated?

2. How do I get mis-file-intake-1.0.0.0-bpel.jar into my other modules...???

dependency
groupIdorg.delta.esp.dap.bpel/groupId
artifactIdmis-file-intake-1.0.0.0-bpel/artifactId
version1.0.0.0/version
typejar/type
/dependency

This seems like the classifier won't work.






On 7/26/07, Wayne Fay [EMAIL PROTECTED] wrote:

 Yes, I think I understand, and I still think the
 build-helper-maven-plugin can help you. Take a look at goal
 attach-artifact in the usage page:
 http://mojo.codehaus.org/build-helper-maven-plugin/howto.html

 Wayne

 On 7/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
  Not sure i understand what this plugin will do for the artifact.
 
  I have a modele, that runs an ant task that creates a jar. So maven
 module
  is not creating the jar from the target DIR, the ant task already
 creates
  the jar I want inside the target DIR that I want to add to my
 repository.
 
 
 
 
  On 7/26/07, Wayne Fay [EMAIL PROTECTED] wrote:
  
   If I understand you correctly, build-helper-maven-plugin should be
   what you're looking for:
  
  
 http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
  
   Wayne
  
   On 7/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
To give a little more idea of what I am looking for:
   
I want to see if in my jar module, I can have something like this:
   
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-jar-plugin/artifactId
   executions
  execution
 goals
goalpackage/goal
 /goals
  /execution
   /executions
   configuration
  includes/target/bpel.jar/includes
   /configuration
 /plugin
   
Then the bpel.jar can get renamed to moduleone-1.0.3.jar and added
 to my
repository (if I use the install goal)
But regaurdless, moduleone-1.0.3.jar is now a valid dependency for
 my
moduletwo module.
   
   
   
   
On 7/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 I have a module that is defined as a jar as this jar is a
 dependency
 within other modules in my project.

 This pom.xml: jar calls a bpel and task that creates a bpel
 suitcase
   JAR.
 The bpel jar is the artifact I actually want in my repository and
   available
 as a dependency.

 So, how do I accomplish this as I end up with 2 different jars
 right
   now.

 --

 Thanks,
 Mick Knutson

 http://www.baselogic.com
 http://www.blincmagazine.com
 http://www.djmick.com
 http://www.myspace.com/mickknutson
 http://www.myspace.com/djmick_dot_com
 http://www.myspace.com/sexybeotches
 http://www.thumpradio.com
 ---
   
   
   
   
--
   
Thanks,
Mick Knutson
   
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---
   
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
 
  Thanks,
  Mick Knutson
 
  http://www.baselogic.com
  http://www.blincmagazine.com
  http://www.djmick.com
  http://www.myspace.com/mickknutson
  http://www.myspace.com/djmick_dot_com
  http://www.myspace.com/sexybeotches
  http://www.thumpradio.com
  ---
 

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

Re: How do I get the Dashboard plugin integrated to my website?

2007-07-27 Thread hirowla

I'm running Maven 2.0.6.  I'm running whatever the latest snapshot is (my
command line is mvn -U etc etc). 

The relevant parts of the POM are shown below.

Thanks,

Ian


project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
!-- Basic information --
groupIdMe.Shared/groupId
artifactIdMeCommon/artifactId
version1.0-SNAPSHOT/version
packagingpom/packaging
!-- Build Settings --
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
source1.5/source
target1.5/target
/configuration
/plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
configuration
archive
manifest

addClasspathtrue/addClasspath
/manifest
/archive
/configuration
/plugin
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
version2.1/version
configuration
check

haltOnFailurefalse/haltOnFailure
/check
/configuration
/plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
version2.0.2/version
configuration
archive
manifest

addClasspathtrue/addClasspath
/manifest
/archive
/configuration
/plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ejb-plugin/artifactId
configuration
generateClienttrue/generateClient
archive
manifest

addClasspathtrue/addClasspath
/manifest
/archive
/configuration
/plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-checkstyle-plugin/artifactId
dependencies
dependency
groupIdMe.Shared/groupId

artifactIdMavenBuildTools/artifactId
version1.0-SNAPSHOT/version
/dependency
/dependencies
configuration

configLocationMeCheckstyleConfig.xml/configLocation

testSourceDirectorytrue/testSourceDirectory
failsOnErrorfalse/failsOnError
/configuration
/plugin
/plugins
extensions
extension
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-webdav/artifactId
/extension
/extensions
/build
!-- The way to deploy our distributions --
distributionManagement
snapshotRepository
idinternal.snapshots/id

Re: How can i build a specific version without changing the pom.xml?

2007-07-27 Thread Baz
In that case, you will need to change pom.xml everytime right?

Or, we can have profile defined in profiles.xml or settings.xml to avoid
pom.xml changes?


On 7/27/07, John Patrick [EMAIL PROTECTED] wrote:

 Yeah I follow you more now.

 We similar by having a developer profile active by default using snapshot
 versions and the release and continuous profiles using non snapshot
 versions.

 John
 On 27/07/07, Baz [EMAIL PROTECTED] wrote:
 
  John,
 
  I agreed with your comments. Here is the practical usage:
 
  The version under source code is building against xyz version 5.6.1.0.
  However, we need the capability to build against the non-release quality
  of
  version xyz that comes out every day or week, say 5.6.1.1, then 5.6.1.2,
  then 5.6.1.3, ...etc.
 
  I should alter the dependency information in my pom.xml for product A
  since
  I really do not know which version of xyz will pass QA. Does it make
  sense?
 
  Baz
 
 
  On 7/26/07, John Patrick [EMAIL PROTECTED] wrote:
  
   Baz,
  
   I would put this type of information into a profile within the pom.
 Then
   its
   simple and repeatable. Also trackable if your project is under source
   control, instead of just relying on people knowing the correct command
   line
   arguments to use.
  
   Personally I think building a different version from what the pom says
  is
   a
   very bad idea as from my experience, definitively knowing from a file
  its
   artifact id and version number is a huge advantage. It can give you a
  link
   into a source control tag or label and maintenance and support effect
  can
   be
   more efficiently used.
  
   If a defect gets raised for version 0.1 how will support know its
  actually
   1.0 with version 2.0 of xyz and not version 0.1 with what ever version
  of
   xyz was defined at the point.
  
   I apologise for the rant but I've been called in several times to help
   with
   issues with supporting non maven projects and finding out versions of
  jars
   being used and setting up a test environment took 85% of the time with
  the
   rest doing the actual fix and proving it works. Where as with a maven
   project, get the pom from the main jar and then sync to that tag/label
  and
   your setup in minuets not hours.
  
   John
  
   On 26/07/07, Baz [EMAIL PROTECTED] wrote:
   
All,
   
How can i build a specific version or depend on specific version
  without
changing the pom.xml ?
   
For example, if pom.xml of product A is building version 1.0 of
  product
   A
and depending on version 5.6 of xyz.
   
Can i type something like mvn -Dversion=0.1 -Dxyz_version=
 2.0install
   to
build version 0.1 of product A and depending on version 2.0 of xyz?
   
Thank you.
   
A.
   
  
  
  
   On 26/07/07, Baz [EMAIL PROTECTED] wrote:
   
All,
   
How can i build a specific version or depend on specific version
  without
changing the pom.xml ?
   
For example, if pom.xml of product A is building version 1.0 of
  product
   A
and depending on version 5.6 of xyz.
   
Can i type something like mvn -Dversion=0.1 -Dxyz_version=
 2.0install
   to
build version 0.1 of product A and depending on version 2.0 of xyz?
   
Thank you.
   
A.
   
  
 



Question - weblogic-maven-plugin - Urgent

2007-07-27 Thread Eric YH WONG
Hi All,

 

Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP
SP2. I use WebLogic Workshop (accompany with the WebLogic Platform
installer) v8.1.6 to create a new Application and a portal project.

 

Attached the Directory Layout.

 

And I want to use Maven2 to build an EAR, so I created a pom.xml and using
weblogic-maven-plugin v2.8.0.. When I execute mvn weblogic:appc I got
errors (see the attached files Debug.txt and Error.txt).

 

Does anyone can help to resolve it ???

 

Thanks,

 

Eric

 

 

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

Re: Question - weblogic-maven-plugin - Urgent

2007-07-27 Thread Dmitry

Eric,
Probably you did not set correct configuration for maven..it's one point.
Actually its interesting about maven plagin for Workshop. 
Can you sene the link to that plugin i also try to use it.

thanks,
dt
www.ejinz.com
Search Engine News
  - Original Message - 
  From: Eric YH WONG 
  To: 'Maven Users List' 
  Sent: Friday, July 27, 2007 8:52 PM
  Subject: Question - weblogic-maven-plugin - Urgent


  Hi All,

   

  Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP SP2. 
I use WebLogic Workshop (accompany with the WebLogic Platform installer) v8.1.6 
to create a new Application and a portal project.

   

  Attached the Directory Layout.

   

  And I want to use Maven2 to build an EAR, so I created a pom.xml and using 
weblogic-maven-plugin v2.8.0.. When I execute mvn weblogic:appc I got 
errors (see the attached files Debug.txt and Error.txt).

   

  Does anyone can help to resolve it ???

   

  Thanks,

   

  Eric

   

   



--


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

Vincent JUGE est absent(e).

2007-07-27 Thread vincent . juge

Je serai absent(e) du  28/07/2007 au 13/08/2007.

Je répondrai à votre message dès mon retour.
This message and any attachments (the message) is intended solely for the 
addressees and is confidential. 
If you receive this message in error, please delete it and immediately notify 
the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole or partial, is 
prohibited except formal approval. 
The internet can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the 
message if modified. 
Do not print this message unless it is necessary, consider the environment.
-
Ce message et toutes les pieces jointes (ci-apres le message) sont etablis a 
l'intention exclusive de ses destinataires et sont confidentiels. Si vous 
recevez ce 
message par erreur, merci de le detruire et d'en avertir immediatement 
l'expediteur. 
Toute utilisation de ce message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf autorisation 
expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS 
(et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans 
l'hypothese ou il aurait ete modifie.
N'imprimez ce message que si necessaire, pensez a l'environnement.

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



Re: [m2] issue with module running ant task that creates an jar

2007-07-27 Thread Wayne Fay
For #1, I have no idea. There is probably a way to suppress the Jar
but I've never needed to do this myself.

For #2, this is what you're looking for:
   dependency
   groupIdorg.delta.esp.dap.bpel/groupId
   artifactIdmis-file-intake/artifactId
   version1.0.0.0/version
   typejar/type
   classifierbpel/classifier
   /dependency

Wayne

On 7/27/07, Mick Knutson [EMAIL PROTECTED] wrote:
 Ok, it is getting closer.

 Here is my pom.xml and plugin:


groupIdorg.delta.esp.dap.c2.bpel/groupId
version1.0.0.0/version
artifactIdmis-file-intake/artifactId
packagingjar/packaging

 

 plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
executions
  execution
idattach-artifacts/id
phasepackage/phase
goals
  goalattach-artifact/goal
/goals
configuration
artifacts
  artifact

 filetarget/bpel_MISFileIntakeProcess_1.0.0.0.jar/file
typejar/type
classifierbpel/classifier
  /artifact
/artifacts
/configuration
  /execution
/executions
  /plugin

 Then in my local repo, I get:

 C:\opt\.m2\repository\org\delta\esp\dap\c2\bpel\mis-file-intake\1.0.0.0\mis-
 file-intake-1.0.0.0.jar (50k from the pom.xml)
 C:\opt\.m2\repository\org\delta\esp\dap\c2\bpel\mis-file-intake\1.0.0.0\mis-
 file-intake-1.0.0.0-bpel.jar (600k generated from ant)


 I have 2 questions:

 1. how do I NOT get mis-file-intake-1.0.0.0.jar into the repo or even
 generated?

 2. How do I get mis-file-intake-1.0.0.0-bpel.jar into my other modules...???

dependency
groupIdorg.delta.esp.dap.bpel/groupId
artifactIdmis-file-intake-1.0.0.0-bpel/artifactId
version1.0.0.0/version
typejar/type
/dependency

 This seems like the classifier won't work.



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