Re: FTP via Maven?

2006-07-06 Thread Allan Ramirez

See http://maven.apache.org/wagon/

or you may check out the source in 
https://svn.apache.org/repos/asf/maven/wagon/trunk


Chris Wall wrote:

Hey there.  We're dependent on jars from a non-Maven project.  The jars
are available via FTP.  Has anyone come up w/ an eloquent way of
integrating FTP within Maven?  I'd like to manage the dependencies and
configure FTP settings within pom.xml.
 
-Chris
 
___

Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

  


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



FTP via Maven?

2006-07-06 Thread Chris Wall
Hey there.  We're dependent on jars from a non-Maven project.  The jars
are available via FTP.  Has anyone come up w/ an eloquent way of
integrating FTP within Maven?  I'd like to manage the dependencies and
configure FTP settings within pom.xml.
 
-Chris
 
___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.


Re: How to configure attached tests?

2006-07-06 Thread Arnaud Bailly
Paul Spencer <[EMAIL PROTECTED]> writes:

> Arnaud,
> In my case, I have an interface with several implementations.  The
> intent is it to have an attached test which verifies that the
> implementation conforms to the interface.  So each implementation will
> include the interface's attached test in addition to it's own unit
> test. By including the attached test in each implementation, then
> anytime an implementation is successfully built, by Continuum for
> example, you can me assured it also confirms to the interface.
>
> Paul Spencer
>
Paul,
That's nice and I think I would do the same. But then, why don't you
make four interfaces tests abstract and extends them in each module
for concrete implementations ?

abstract class ITest extends TestCase {

   abstract void setImplem(I i0);

  ITest(STring n) { super(n); }

  public void testXXX() ...

}

class ImplemTest extends ITest {

  ImplemTest(String n) {
   super(n);
   setImplem(this);
  }

  ...
}

Your attached tests will not be considered for execution, which is ok.

Regards,
-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


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



[m2] site.xml bannerRight with text vs. image

2006-07-06 Thread Wendy Smoak

If you use an image for  in site.xml, it works as
expected -- right aligned:
  http://svn.apache.org/repos/asf/struts/site/src/site/site.xml ->
  http://struts.apache.org

Is there a way to get it right-aligned when you're just using text?
  http://svn.apache.org/repos/asf/shale/trunk/src/site/site.xml ->
  http://shale.apache.org

Thanks,
Wendy

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



Re: [m2] war plugin, ignores classifier in dependency

2006-07-06 Thread Pete Marvin King

  issue created : http://jira.codehaus.org/browse/MWAR-58


Robert Biernat wrote:
> Hi,
>
> I have a web application that I'm trying to build which has two dependencies
> which have exactly the same groupId, artifactId and version, however one of
> them has a classifier so I can distinguish between the two. When it comes to
> packaging up the webapp, the war plugin complains that their are duplicate
> jar files, renames the one which has the classifier set and excludes the
> other one. The missing jar prevents my web app from being able to be
> deployed.
>
> Obviously I can get around this issue by using a unique artifactId, however
> I think the war plugin should respect classifiers that have been specified
> in the dependencies. 
>
> Thanks
>
> Rob
>
>   


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



Re: Please need help to run the sample.plugin guide

2006-07-06 Thread Edwin Punzalan


Can you post the pom.xml you created for this?


Elid OR wrote:

Hi all,

I'm new with maven 2, but I use to develop a maven 1 plugin.

So my config is :

OS : Linux ubuntu 2.6.15-25-686
Java : version "1.5.0_06"
Maven : version 2.0.4

So I'm trying to run the plugin development guide : 
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html


Everything is ok, I successfully execute the goals compile, package and 
install. I do not execute the deploy goal because I don't have a remote 
repository.


But when I execute the in command line :
"mvn sample.plugin:maven-hello-plugin:1.0-SNAPSHOT:sayhi"

I get the following error :

[INFO] Scanning for projects...
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] null
[INFO] 
[INFO] Trace
java.lang.NullPointerException
at 
org.apache.maven.plugin.descriptor.PluginDescriptor.getMojo(PluginDescriptor.java:259)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1524)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:381)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:135)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
[INFO] 
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Jul 05 16:56:47 CEST 2006
[INFO] Final Memory: 1M/2M
[INFO] 

Any Idea would be very appreciate !

Thanks

-
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] How do I run reports in a sub-project

2006-07-06 Thread Maria Odea Ching

Hi Eric,

The Mojo automatically gets the sources of the project where you are 
executing the plugin. I don't think it
provides the capability of customizing the sources you want to get. So 
if you're executing on head/docs, the

output would specifically be xrefs for the head/docs sources.

Hope this helps.. :-)

Thanks,
Odea

Eric Brown wrote:


I have a project structure like this:

head/
- docs
- libs/
-- libA
-- libB

If I cd to head/libs and run "mvn -Daggregate=true jxr:jxr", libs/ 
target/site/xref has exactly what I expect. However, I really want to  
be able to do this from head/docs and have the xrefs for libA & libB.  
I'm not sure what configuration opts I need though.


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



[m2] war plugin, ignores classifier in dependency

2006-07-06 Thread Robert Biernat
Hi,

I have a web application that I'm trying to build which has two dependencies
which have exactly the same groupId, artifactId and version, however one of
them has a classifier so I can distinguish between the two. When it comes to
packaging up the webapp, the war plugin complains that their are duplicate
jar files, renames the one which has the classifier set and excludes the
other one. The missing jar prevents my web app from being able to be
deployed.

Obviously I can get around this issue by using a unique artifactId, however
I think the war plugin should respect classifiers that have been specified
in the dependencies. 

Thanks

Rob


Re: install:install-file fails to insert third-party native library directly into local repository

2006-07-06 Thread Allan Ramirez
It seems that the parameters are still readonly from the 2.1 version of 
install plugin in ibiblio..


Content in the plugin.xml:
   
 artifactId
 java.lang.String
 true
 false < still not editable
 
   

Brad,

  try this link 
http://maven.apache.org/guides/development/guide-testing-development-plugins.html


dan tran wrote:

strange the code shows artifactId is overridable but your log shows it is
read only field.

-D


On 7/6/06, Brad Harper <[EMAIL PROTECTED]> wrote:


Same error.

Brad

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 4:50 PM
To: Maven Users List
Subject: Re: install:install-file fails to insert third-party native
library directly into local repository


looks like you are using an older version install plugin, try with 
mvn -U


On 7/6/06, Brad Harper <[EMAIL PROTECTED]> wrote:
>
> Hello All:
>
> I'm using native-maven-plugin and I want to install a third-party
> native library in the local repository (defined in settings.xml). I
> intend to specify a dependency in one of my own native project's
> POM.
>
>   % mvn install:install-file -Dfile=FPLibrary.lib -DgroupId=com.emc \
>-DartifactId=com-emc-centera-fplibrary-WINDOWS-X86 \
>-Dversion=2.0SP1 -Dpackaging=lib
>
> [This is nearly identical to an example from BBWM, page 249.]
>
> I see the error
>
>   [ERROR] BUILD ERROR
>   [INFO] --...
>   [INFO] Error configuring:
org.apache.maven.plugnis:maven-install-plugin.
>   Reason: ERROR: Cannot override read-only parameter: artifactId in 
goal

>   install:install-file
>
> I'm trying to insert this library manually into the repository. The
> library does not have a corresponding project/module in my maven 
project
> hierarchy -- and therefore doesn't have a previously defined 
artifactId.

>
> Any thoughts?
>
> Brad
>
>
> -
> 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: Simple question regarding inheritance

2006-07-06 Thread Edwin Punzalan


This might help: 
http://maven.apache.org/plugins/maven-checkstyle-plugin/tips.html


^_^



Tatiana Escovedo wrote:

Hi,

I need some advice regarding the correct approach to the simple
inheritance problem as follows.
I have defined a parent and a child project using Maven 2. The parent
project's POM specifies the use of the checkstyle plugin:


   org.apache.maven.plugins
   maven-checkstyle-plugin
   
   my-company-style.xml
   


I.e., the checkstyle configuration file is located at the root of the
parent project. When I try to build the site of the child project, it
fails because Maven can't locate the file. I then decided to use
something like this on the parent POM:


org.apache.maven.plugins
maven-checkstyle-plugin


../path-to-parent-project/my-company-style.xml 





And it worked, as the parent and child projects are at the same level.
However, this solution isn't satisfatory because it assume the working
directory is the child project's root. When I tried to build the child
project using the above POM under Continuum, the build failed with a
message like "Unable to find location 'my-company-style.xml' as URL,
File or Resource." I believe this happened because Continuum uses a
different working directory.

So, what's the correct approach to refer the checkstyle settings file
at the parent POM level?

Thanks in advance,



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



AW: Compiling SCM Plugin

2006-07-06 Thread Dieter Späth
thanks a lot!
now was the build successful :-)

dieter

> -Ursprüngliche Nachricht-
> Von: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 6. Juli 2006 20:40
> An: scm-users@maven.apache.org
> Betreff: Re: Compiling SCM Plugin
> 
> 
> It's fixed now.
> 
> Emmanuel
> 
> Dieter Späth a écrit :
> > Hello,
> > 
> > I checked out the SCM Plugin with
> > 
> > "svn checkout http://svn.apache.org/repos/asf/maven/scm/trunk/ 
> > maven-scm"
> > 
> > I got revision 419600.
> > 
> > After this I tried to compile with "mvn compile", but it 
> didn't work.
> > 
> > I got the following compiler error "ScmProviderStub.java:[51,7] 
> > org.apache.maven.scm.provider.ScmProviderStub
> > is not
> > abstract and does not override abstract method
> > sanitizeTagName(java.lang.String) in 
> > org.apache.maven.scm.provider.ScmProvider"
> > 
> > What can I do to compile the Plugin?
> > 
> > 
> > Thanks for help.
> > 
> > Regards
> > Dieter
> > 
> > 
> > 
> > 
> > 
> 



Re: Disecting a webapp?

2006-07-06 Thread Alexandre Poitras

Can't you create more than one war and add them to an ear archive? If
it's not a valid strategy in your case than I guess you can use the
dependency plugin "unpack" goal
(http://mojo.codehaus.org/dependency-maven-plugin/) or you can use the
war merging feature of Maven (don't know how it works but I know it
exists).

In my case, I use the dependency plugin to unpack resources (images,
css, ...) dependencies. Note those aren't limitations of Maven but of
JEE since each web modules must be packaged as an individual war and
of the web because there isn't any standard resources archive format.

Hope it helps!

On 7/6/06, Alex Shneyderman <[EMAIL PROTECTED]> wrote:

Thanks, guys for your responses.

But ... I think I was not understood correctly. Let me clarify a bit here.

The problem is not so much to separate layers into modules (it seems
that's what examples demonstrate), but how to break up a big web
application into smaller modules. The module's boundary is not that of
the layer (business, webapp, core, etc). Web application itself needs
to be broken onto smaller submodules. So core would have all the
templates, js and css files and will be a webapp on its own, the child
module would have concrete pages that utilize those templates and
styles and in combination with the core module would constitute
complete sub-application of a bigger app.

When I develop I would like to checkout just one module and a few
modules that this module depends on. Of course I would be able to
deploy this one small module (and all of its dependencies), but it
will not be the site itself, just one little portion. It also makes
creation of the new module easier. Just declare dependencies and
create a simple WAR structure.

When I am happy with the little module I worked on, I will want to
deploy it to production. This is when I will have to merge all the
configuration files (web.xml comes to mind) and directory structures
but only on creation of the WAR no need for physical merge on the
system someplace.

I am not sure if this made my question any clearer :-)


On 7/6/06, Tamás Cservenák <[EMAIL PROTECTED]> wrote:
> Hi Alex,
>
> a quick example for this, see here:
> https://is-micro.myip.hu/trac/ismicro-commons/browser/trunk/ismicro-proximity
>
> Three modules: px-core (j2ee and  transport independent), px-core-maven
> (maven bindings for core, till no sign of webapp) and px-webapp. The module
> separation should be "natural" and/or "logical" -- whetever it means :)
>
> In my practice it means, produce ONLY ONE ARTIFACT, be as small and as
> simple as it can (but naturally keep the overall module count manageable).
>
> Maven generated site from these sources here:
> http://proximity.abstracthorizon.org/
>
>
> ~t~
>
> On 7/6/06, ben short <[EMAIL PROTECTED]> wrote:
> >
> > Also have a look at the better builds with maven book, there is an
> > example in there.
> >
> > On 7/6/06, ben short <[EMAIL PROTECTED]> wrote:
> > > Create a project for each of the core module and the children. then
> > > the webapp can pull them in as dependancies.
> > >
> > > On 7/6/06, Alex Shneyderman <[EMAIL PROTECTED]> wrote:
> > > > How does one disect a web app into many modules but deploy it as one
> > web app?
> > > >
> > > > This is what I mean:
> > > >
> > > > We have a web application that is quite big. We can identify many
> > > > modules of it. There is a few core modules, and a bunch of child
> > > > modules. Practically all children are dependendent on core modules,
> > > > some child modules depend on other child modules. The modularization
> > > > is done in purely logical way. Meaning, we still have one maven
> > > > project for the webapp.
> > > >
> > > > I was wondering if anyone can suggest a way to break those modules up
> > > > into seprate physical modules while keeping the ability to create a
> > > > unifying webapp? Is it even possible with Maven 1 or 2?
> > > >
> > > > --
> > > > Thanks,
> > > > Alex.
> > > >
> > > > -
> > > > 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]
> >
> >
>
>


--
Thanks,
Alex.

-
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] [javadoc] javadoc for tests classes

2006-07-06 Thread Maria Odea Ching

Hi Raphael,

The only way I could think of how you can include the test sources in a 
site is by including the test sources directory in the sourcePath, as 
shown below:



 ...
 
   
 
   org.apache.maven.plugins
   maven-javadoc-plugin
   
 C:\Project\src;C:\Project\test
   
 
   
 
 ...


I don't think there's a way to have the test javadoc report to have its 
own separate link in the site menu.

Hope this helps.. :-)

Thanks,
Odea


Raphaël Piéroni wrote:


Hello,

Is there a way to generate the javadoc for the sources and for the test
sources in a site ?
And is it therefore possible to have the test javadoc report to have 
its own

link in the site menu ?

Thanks in advance for any help.

Regards.

Raphaël




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



Problem using plugin Javadoc on site generation

2006-07-06 Thread Tatiana Escovedo

Hi,

I'm executing the goal "site" under Continuum, using the Javadoc
plugin. When I access the site generated through the Continuum working
copy, in Javadoc section appears the error as follows:

HTTP ERROR: 503 java%2Elang%2EClassNotFoundException%3A+file%3D70
RequestURI=/continuum/servlet/file=70/target/site/apidocs/index.html
Powered by Jetty://

HTTP ERROR: 503
java%2Elang%2EClassNotFoundException%3A+allclasses%2Dframe%2Ehtml
RequestURI=/continuum/servlet/allclasses-frame.html
Powered by Jetty://

HTTP ERROR: 503 java%2Elang%2EClassNotFoundException%3A+overview%2Dframe%2Ehtml
RequestURI=/continuum/servlet/overview-frame.html
Powered by Jetty://

But when I open the index.html from the continuum directory, it works perfectly.

I believe that it is something to do with paths settings. Could you
help me to fix that?

Thanks,



--
--
Tatiana Escovedo
[EMAIL PROTECTED]

Longadata
Tecnologia da Informação
--


Re: How to configure attached tests?

2006-07-06 Thread Paul Spencer

Arnaud,
In my case, I have an interface with several implementations.  The 
intent is it to have an attached test which verifies that the 
implementation conforms to the interface.  So each implementation will 
include the interface's attached test in addition to it's own unit test. 
 By including the attached test in each implementation, then anytime an 
implementation is successfully built, by Continuum for example, you can 
me assured it also confirms to the interface.


Paul Spencer

Arnaud Bailly wrote:

Paul Spencer <[EMAIL PROTECTED]> writes:

Hello,
I think that attached tests are not meant to contain tests that will
be run in another projects but test elements that are useful for reuse
in other (sub)projects. For example, your can have artefactA that have
some tests using some resources and artefactB runnning some tests
using same resources. 
Or you have support classes (eg. dedicated Constraint/STub for jmock)

that are reused.
Surefire does not, an in my opinion should not scan a project's test
dependencies for Test classes to run. The maven way (TM)  is to create
another project for your (integrations ?) tests if you need as modules
creation and management is cheap.
 
Hope that helps.





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



Simple question regarding inheritance

2006-07-06 Thread Tatiana Escovedo

Hi,

I need some advice regarding the correct approach to the simple
inheritance problem as follows.
I have defined a parent and a child project using Maven 2. The parent
project's POM specifies the use of the checkstyle plugin:


   org.apache.maven.plugins
   maven-checkstyle-plugin
   
   my-company-style.xml
   


I.e., the checkstyle configuration file is located at the root of the
parent project. When I try to build the site of the child project, it
fails because Maven can't locate the file. I then decided to use
something like this on the parent POM:


org.apache.maven.plugins
maven-checkstyle-plugin


../path-to-parent-project/my-company-style.xml



And it worked, as the parent and child projects are at the same level.
However, this solution isn't satisfatory because it assume the working
directory is the child project's root. When I tried to build the child
project using the above POM under Continuum, the build failed with a
message like "Unable to find location 'my-company-style.xml' as URL,
File or Resource." I believe this happened because Continuum uses a
different working directory.

So, what's the correct approach to refer the checkstyle settings file
at the parent POM level?

Thanks in advance,

--
--
Tatiana Escovedo
[EMAIL PROTECTED]

Longadata
Tecnologia da Informação
--

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



Re: install:install-file fails to insert third-party native library directly into local repository

2006-07-06 Thread dan tran

strange the code shows artifactId is overridable but your log shows it is
read only field.

-D


On 7/6/06, Brad Harper <[EMAIL PROTECTED]> wrote:


Same error.

Brad

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 4:50 PM
To: Maven Users List
Subject: Re: install:install-file fails to insert third-party native
library directly into local repository


looks like you are using an older version install plugin, try with mvn -U

On 7/6/06, Brad Harper <[EMAIL PROTECTED]> wrote:
>
> Hello All:
>
> I'm using native-maven-plugin and I want to install a third-party
> native library in the local repository (defined in settings.xml). I
> intend to specify a dependency in one of my own native project's
> POM.
>
>   % mvn install:install-file -Dfile=FPLibrary.lib -DgroupId=com.emc \
>-DartifactId=com-emc-centera-fplibrary-WINDOWS-X86 \
>-Dversion=2.0SP1 -Dpackaging=lib
>
> [This is nearly identical to an example from BBWM, page 249.]
>
> I see the error
>
>   [ERROR] BUILD ERROR
>   [INFO] --...
>   [INFO] Error configuring:
org.apache.maven.plugnis:maven-install-plugin.
>   Reason: ERROR: Cannot override read-only parameter: artifactId in goal
>   install:install-file
>
> I'm trying to insert this library manually into the repository. The
> library does not have a corresponding project/module in my maven project
> hierarchy -- and therefore doesn't have a previously defined artifactId.
>
> Any thoughts?
>
> Brad
>
>
> -
> 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: install:install-file fails to insert third-party native library directly into local repository

2006-07-06 Thread Brad Harper
Same error.

Brad

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 4:50 PM
To: Maven Users List
Subject: Re: install:install-file fails to insert third-party native
library directly into local repository


looks like you are using an older version install plugin, try with mvn -U

On 7/6/06, Brad Harper <[EMAIL PROTECTED]> wrote:
>
> Hello All:
>
> I'm using native-maven-plugin and I want to install a third-party
> native library in the local repository (defined in settings.xml). I
> intend to specify a dependency in one of my own native project's
> POM.
>
>   % mvn install:install-file -Dfile=FPLibrary.lib -DgroupId=com.emc \
>-DartifactId=com-emc-centera-fplibrary-WINDOWS-X86 \
>-Dversion=2.0SP1 -Dpackaging=lib
>
> [This is nearly identical to an example from BBWM, page 249.]
>
> I see the error
>
>   [ERROR] BUILD ERROR
>   [INFO] --...
>   [INFO] Error configuring: org.apache.maven.plugnis:maven-install-plugin.
>   Reason: ERROR: Cannot override read-only parameter: artifactId in goal
>   install:install-file
>
> I'm trying to insert this library manually into the repository. The
> library does not have a corresponding project/module in my maven project
> hierarchy -- and therefore doesn't have a previously defined artifactId.
>
> Any thoughts?
>
> Brad
>
>
> -
> 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: install:install-file fails to insert third-party native library directly into local repository

2006-07-06 Thread dan tran

looks like you are using an older version install plugin, try with mvn -U

On 7/6/06, Brad Harper <[EMAIL PROTECTED]> wrote:


Hello All:

I'm using native-maven-plugin and I want to install a third-party
native library in the local repository (defined in settings.xml). I
intend to specify a dependency in one of my own native project's
POM.

  % mvn install:install-file -Dfile=FPLibrary.lib -DgroupId=com.emc \
   -DartifactId=com-emc-centera-fplibrary-WINDOWS-X86 \
   -Dversion=2.0SP1 -Dpackaging=lib

[This is nearly identical to an example from BBWM, page 249.]

I see the error

  [ERROR] BUILD ERROR
  [INFO] --...
  [INFO] Error configuring: org.apache.maven.plugnis:maven-install-plugin.
  Reason: ERROR: Cannot override read-only parameter: artifactId in goal
  install:install-file

I'm trying to insert this library manually into the repository. The
library does not have a corresponding project/module in my maven project
hierarchy -- and therefore doesn't have a previously defined artifactId.

Any thoughts?

Brad


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




install:install-file fails to insert third-party native library directly into local repository

2006-07-06 Thread Brad Harper
Hello All:

I'm using native-maven-plugin and I want to install a third-party
native library in the local repository (defined in settings.xml). I
intend to specify a dependency in one of my own native project's
POM.

   % mvn install:install-file -Dfile=FPLibrary.lib -DgroupId=com.emc \
-DartifactId=com-emc-centera-fplibrary-WINDOWS-X86 \
-Dversion=2.0SP1 -Dpackaging=lib

[This is nearly identical to an example from BBWM, page 249.]

I see the error

   [ERROR] BUILD ERROR
   [INFO] --...
   [INFO] Error configuring: org.apache.maven.plugnis:maven-install-plugin.
   Reason: ERROR: Cannot override read-only parameter: artifactId in goal
   install:install-file

I'm trying to insert this library manually into the repository. The
library does not have a corresponding project/module in my maven project
hierarchy -- and therefore doesn't have a previously defined artifactId.

Any thoughts?

Brad


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



Re: How to install:install an artifact produced with ant?

2006-07-06 Thread Graham Leggett

dan tran wrote:


how did you create your HAR and EJB artifact via antrun-plugin?


The EJB is built natively, the HAR is built with antrun-plugin.


Take a  look at build-helper-maven-plugin


This looks like exactly what I need, thank you! :)

Regards,
Graham
--


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Re: Unable to find the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run'

2006-07-06 Thread Jeff Mutonho

On 7/6/06, Grégory Joseph <[EMAIL PROTECTED]> wrote:

Hi list,

On 06/07/06, Graham Leggett <[EMAIL PROTECTED]> wrote:
> Jeff Mutonho wrote:
>
> > It looks like "maven-antrun-plugin"  and  "xdoclet-maven-plugin"  are
> > having issues with each other.
 
> > Does this mean "maven-antrun-plugin"  and  "xdoclet-maven-plugin"
> > can not co-exist?
>
> I have the same problem in a build here.

Shameless plug:
Sounds like a good reason to step over to xdoclet2...
http://xdoclet.codehaus.org/Maven2+plugin


Cheers,

g

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




Got it to work by adding this to the top level pom.xml


 
   maven-antrun-plugin
   1.0



Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Re: How to install:install an artifact produced with ant?

2006-07-06 Thread dan tran

how did you create your HAR and EJB artifact via antrun-plugin?

Take a  look at build-helper-maven-plugin

-D


On 7/6/06, Graham Leggett <[EMAIL PROTECTED]> wrote:


Hi all,

I have an ant task that generates a Jboss HAR file in addition to the
original artifact type, an EJB.

How do I ask the install plugin to deploy this HAR artifact as well as
the EJB artifact into the repository?

(The install plugin is undocumented, thus the question).

Regards,
Graham
--





How to install:install an artifact produced with ant?

2006-07-06 Thread Graham Leggett

Hi all,

I have an ant task that generates a Jboss HAR file in addition to the 
original artifact type, an EJB.


How do I ask the install plugin to deploy this HAR artifact as well as 
the EJB artifact into the repository?


(The install plugin is undocumented, thus the question).

Regards,
Graham
--


smime.p7s
Description: S/MIME Cryptographic Signature


Re: mvn2, dependincies, javadoc plugin and links...

2006-07-06 Thread ertnutler

am i missing something here?  i may be exposing my relative newness to maven,
but why doesn't the javadoc plugin operate on transitive dependencies the
same way that the compiler plugin does?
-- 
View this message in context: 
http://www.nabble.com/mvn2%2C-dependincies%2C-javadoc-plugin-and-links...-tf1446358.html#a5205989
Sent from the Maven - Users forum at Nabble.com.


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



Re: Re: Unable to find the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run'

2006-07-06 Thread Grégory Joseph

Hi list,

On 06/07/06, Graham Leggett <[EMAIL PROTECTED]> wrote:

Jeff Mutonho wrote:

> It looks like "maven-antrun-plugin"  and  "xdoclet-maven-plugin"  are
> having issues with each other.



> Does this mean "maven-antrun-plugin"  and  "xdoclet-maven-plugin"
> can not co-exist?

I have the same problem in a build here.


Shameless plug:
Sounds like a good reason to step over to xdoclet2...
http://xdoclet.codehaus.org/Maven2+plugin


Cheers,

g

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



Re: Maven Release Plugin Version Problem

2006-07-06 Thread Gilles Scokart

Actually, to find a workaround, you don't need to deploy on a company
repository.  You limit it to an local install.  What I could suggest you is
to bind the install plugin to the latest phase (integration-test I think) of
the build launched by the release plugin.  But I'm not sure it would work. 
Indeed, maven has to find the dependencies before it launch the build (to
know in wich order to build).  I have already build some times ago a project
with a similar structure, and what I did was to release on module at a time
(but there is maybe an better solution with more recent versions).

Note that when there is no dependencies between submodules, the release
plugin works correctly with multi-module project.

By the way, did you tried similar things with only 1 level?  In that case,
the maven is maybe able to find sibbling module.

Gilles Scokart
-- 
View this message in context: 
http://www.nabble.com/Maven-Release-Plugin-Version-Problem-tf1902125.html#a5205412
Sent from the Maven - Users forum at Nabble.com.


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



Re: Compiling SCM Plugin

2006-07-06 Thread Emmanuel Venisse

It's fixed now.

Emmanuel

Dieter Späth a écrit :

Hello,

I checked out the SCM Plugin with

"svn checkout http://svn.apache.org/repos/asf/maven/scm/trunk/ maven-scm"

I got revision 419600.

After this I tried to compile with "mvn compile", but it didn't work.

I got the following compiler error
"ScmProviderStub.java:[51,7] org.apache.maven.scm.provider.ScmProviderStub
is not
abstract and does not override abstract method
sanitizeTagName(java.lang.String) in
org.apache.maven.scm.provider.ScmProvider"

What can I do to compile the Plugin?


Thanks for help.

Regards
Dieter









Re: Unable to find the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run'

2006-07-06 Thread Graham Leggett

Jeff Mutonho wrote:


It looks like "maven-antrun-plugin"  and  "xdoclet-maven-plugin"  are
having issues with each other.I'm using "maven-antrun-plugin"  in the
web module , and  "xdoclet-maven-plugin" in the services module.The
services module gets built first.I took out the
"xdoclet-maven-plugin" from my pom and the error disappeared , the
build succeeded and my war was created.Does this mean
"maven-antrun-plugin"  and  "xdoclet-maven-plugin"  can not co-exist?


I have the same problem in a build here.

Regards,
Graham
--


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Site distribution url examples?

2006-07-06 Thread Baron.Reznik
Another thing you can do, is create a settings.xml (which, doesn't help with 
the security concerns Emmanuel listed) which contains something like:


  

  website
  someusername
  password

  


where the id matches up with the site id in your pom.xml. That should at least 
get you to be able to test out the functionality if nothing else.

Thanks,
Baron

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thu 7/6/2006 12:55 PM
To: continuum-users@maven.apache.org
Subject: Re: Site distribution url examples?
 


Srinivas Pavani a écrit :
> Here is my scenario:
> 
> I am using Ubuntu 6.06 LTS server. Since the root access is always using
> sudo command and the root user password has not been set explicitly, I am
> prompted for root's password when I execute the following command manually:
> 
> sudo scp localhost:/home/buildmaster/working-directory/18/site/faq.html
> /var/www/docs/project/.
> 
> I am prompted for my password for sudo access followed by root's password.
> 
> Continuum is running as root on startup (following instructions for Debian
> startup on the Continuum site). Now I am not sure what to do.
> 
> It seems like I should enable the root password. Enter the password details
> in settings.xml for root. Is this correct or is there any other way to do
> this?

For the root password, it isn't a good idea to put it in a text file, it would 
be better to use 
private/public ssh keys or an account than can access only to the remote 
directory.

Emmanuel
> 
> Baron - the ssh key was accepted using localhost as well as the LAN ip
> address.




Re: Developer name and CVS log information does not appear in changes section

2006-07-06 Thread Emmanuel Venisse

it seems to be ok.

Can you run this command:
cvs -z3 -f -d YOUR_CVS_ROOT -q log -d "20060706T13:00:00<20060706T15:00:00" or the similar command 
from your continuum logs


Emmanuel

Carlo Bonamico a écrit :

I am using cvs, in english.

I attach a segment of the output from running  "cvs log" in the working 
directory


RCS file: /home/cvs/SANDBOX/xdocs/navigation.xml,v
Working file: xdocs/navigation.xml
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: k
total revisions: 2; selected revisions: 2
description:

revision 1.2
date: 2006-07-06 13:57:20 +;  author: bonamico;  state: Exp;  lines: 
+9 -7;

commitid: 4dee44ad16c04567;
*** empty log message ***

revision 1.1
date: 2006-07-06 13:12:02 +;  author: bonamico;  state: Exp;  
commitid: 4c33

44ad0c214567;
-Aggiunta della funzione di creazione automatica

Hope this helps...



Emmanuel Venisse wrote:

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

What is your scm? what is the language in the output of it? english?

Emmanuel

Carlo Bonamico a écrit :

Hi!
when I trigger a build for a maven 1 project in continuum 1.0.3, I 
can see the changes list but it is missing developer id/names, date 
of modification and log message.

I looked in jira but could not find related issues...

Thanks in advance for your help!
Carlo
















Re: Site distribution url examples?

2006-07-06 Thread Emmanuel Venisse



Srinivas Pavani a écrit :

Here is my scenario:

I am using Ubuntu 6.06 LTS server. Since the root access is always using
sudo command and the root user password has not been set explicitly, I am
prompted for root's password when I execute the following command manually:

sudo scp localhost:/home/buildmaster/working-directory/18/site/faq.html
/var/www/docs/project/.

I am prompted for my password for sudo access followed by root's password.

Continuum is running as root on startup (following instructions for Debian
startup on the Continuum site). Now I am not sure what to do.

It seems like I should enable the root password. Enter the password details
in settings.xml for root. Is this correct or is there any other way to do
this?


For the root password, it isn't a good idea to put it in a text file, it would be better to use 
private/public ssh keys or an account than can access only to the remote directory.


Emmanuel


Baron - the ssh key was accepted using localhost as well as the LAN ip
address.




Re: Projects in Continuum not building

2006-07-06 Thread Emmanuel Venisse

You can do it with a xml-rpc client: 
http://maven.apache.org/continuum/guides/mini/guide-xmlrpc-api.html

Emmanuel

Alex Lam a écrit :

Hi,

Thanks for the help. I think I found out the problem. My archive script was
placed in a project that had no changes. But the script is suppose to back
up my whole repository which has many projects. (Thus, the changes I
referred to were in my other projects.) After moving the script to the root
directory of all the projects, it seems to work, but I do not like this
solution.  I believe I read somewhere that in future releases, Continuum
will allow scheduled force builds? In the meantime, one work around I have
in mind is to write a script that will hit the "Build Now" button on
Continuum and use cron to run it every night. Or is there a better way 
to do

this?

Thanks,
Alex

On 7/6/06, Marcel Schutte <[EMAIL PROTECTED]> wrote:


Hi Alex,

Try checking the continuum configuration of your project. Does it
contain a value in the 'scm branch/tag' field?

What happened with some of my continuum builds recently was that they
must have started at a moment I was manually building a release. During
a release, maven will commit two new versions of your pom. The first
one contains a  in the scm section.
I think that continuum did the update at the moment this pom was the
head revision and subsequently updated its configuration to use this
tag.
After this, it will never find changes again and therefore not run
again.

Your problem might be completely different, but it is worth checking
this.

Marcel
--- Alex Lam <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I have a question on how Continuum works.
>
> I set up a script to check things out of SVN and burn it to a CD
> every
> night.
>
> However, Continuum doesn't seem to be executing the script on a
> nightly
> basis.
>
> The script did seem to work on Jun 29, when the revision number was
> at 245.
> This was the last time the script executed.
>
> However, for the past week, Continuum is not executing the script and
> in the
> logfile, it says "The project was not build because there are no
> changes".
>
> The log file also states the revision number is at 249. Since Jun 29,
> I have
> been checking things in and out of my repository so I know there have
> been
> changes made to it.
>
> My question is " Is this an error in Continuum?" and how does
> Continuum
> detect that a build has no changes? Is it by the revision number?
>
> Thanks in advance for any help you can give me.
>
> -Alex
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com







Re: Unable to find the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run'

2006-07-06 Thread Jeff Mutonho

On 7/6/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:

On 7/6/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
> On 7/6/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
> > In my web module pom I have an ant task to move some xml files around
> > as shown here :
> >
> > 
> > maven-antrun-plugin
> > 
> > 
> > 
process-resources
> > 
> > 
> >  > 
todir="WebContent/WEB-INF/appcontext">
> > 
 > 
dir="../eportal-services/src/spring/context"
> > 
includes="**/*.xml" />
> > 
 > 
dir="../eportal-webservices/src/spring/context"
> > 
includes="**/*.xml" />
> > 
 > 
dir="../eportal-messaging/src/spring/context"
> > 
includes="**/*.xml" />
> > 
> > 
> > 
> > 
> > run
> > 
> > 
> > 
> > 
> >
> >
> >
> > This has been working and out of the blue my build is failing :
> >
> > [ERROR] BUILD ERROR
> > [INFO] 

> > [INFO] Internal error in the plugin manager executing goal
> > 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run': Unable to find
> > the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run' in the
> > plugin 'org.apache.maven.plugins:maven-antrun-plugin'
> > Component descriptor cannot be found in the component repository:
> > 
org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-antrun-plugin:1.0:run.
> >
> > The strange thing is that this happening when I do the build through
> > Continuum.If I change to the directory of my web module
> > (~/continuum/working-directory/86/eportal-web) and run "mvn install" ,
> > everything works fine.Files are copied , war created and deployed.
> >
> > Any ideas?
> >
> > --
>
> Just to add more  , also running mvn install from the top level
> directory results in the same error message , so hence it's not a
> Continuum issue.I also found this post
> http://mail-archives.apache.org/mod_mbox/maven-users/200606.mbox/[EMAIL 
PROTECTED]
>
> which is the exact same problem I'm experiencing.
>
>

The only other thing I changed is the addition of the xdoclect plugin
in one of the modules(eportal-services) , basically to generate my
hibernate mappings.This
http://www.mail-archive.com/users@maven.apache.org/msg44933.html has a
suggestion  , but I don't have 2 references to the antrun plugin.


--




It looks like "maven-antrun-plugin"  and  "xdoclet-maven-plugin"  are
having issues with each other.I'm using "maven-antrun-plugin"  in the
web module , and  "xdoclet-maven-plugin" in the services module.The
services module gets built first.I took out the
"xdoclet-maven-plugin" from my pom and the error disappeared , the
build succeeded and my war was created.Does this mean
"maven-antrun-plugin"  and  "xdoclet-maven-plugin"  can not co-exist?
--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Maven Release Plugin Version Problem

2006-07-06 Thread Marth, Christopher S
I am having some trouble with the Release Plug-In, and I am wondering if
anyone out there might have some thoughts on what the problem is.

Here is my setup:

parent-app
|
|-- pom.xml
|
|-- child-module-A
|   |-- pom.xml
|   |-- src
|   |-- ...
|
|-- child-module-B
|   |
|   |-- pom.xml
|   |
|   |-- grandchild-module-B1
|   |   |
|   |   |-pom.xml
|   |   |-src 
|   |   |-...
|   |   
|   |-- grandchild-module-B2
|   |
|   |- ...
|
|-- child-module-C
|-- pom.xml
|-- src
|-- ... 

etc...

The nested modules go at most two levels deep as shown above.  Within
the parent-app POM, I specify a project version, say 1.0-SNAPSHOT, and
all child (and grandchild) modules inherit that version using POM
inheritance via the  tag.  Likewise, I have a
 section in the parent-app POM that sets the
version dependencies for all modules (many of the modules are
inter-dependent on each other) to ${project.version}.  So, parent-app,
all the modules, and all inter-dependent module dependencies are set to
the same version, ${project.version}, which would be 1.0-SNAPSHOT.
Everything builds fine using the command > mvn clean package goal.  The
problems start when I try to cut a release using the command > mvn
release:prepare.  The problem is that during release preparation Maven
goes in and takes out the SNAPSHOT in the parent-app POM.  Now, when the
> clean integration-test goal is executed during release preparation,
Maven cannot find the dependencies.  Maven is looking for a version 1.0
dependency and not a 1.0-SNAPSHOT dependency, but none of the 1.0
modules have been deployed to any repository (local or our company
repository).  Thus, I get an error that looks something like this:


 [INFO]

 [ERROR] BUILD ERROR
 [INFO]

 [INFO] Failed to resolve artifact.

 Missing:
 --



 --
 2 required artifacts are missing.


How do I get Maven to either (1) deploy a 1.0 module to the repository
during release preparation, or (2) properly resolve the location of the
newly created 1.0 modules within the project directory structure during
release preparation?  I would think I want option (2) since I don't want
anything deployed until I know the release is good to go.  Is the
solution simply that my child modules cannot have any inter-dependence?
Perhaps I am misunderstanding something fundamental, but if someone can
point out what I am doing wrong so that I can get this working, it would
be much appreciated.

Regards,
Chris Marth
Lockheed Martin IS&SS
[EMAIL PROTECTED]




RE: Site distribution url examples?

2006-07-06 Thread Srinivas Pavani

Here is my scenario:

I am using Ubuntu 6.06 LTS server. Since the root access is always using
sudo command and the root user password has not been set explicitly, I am
prompted for root's password when I execute the following command manually:

sudo scp localhost:/home/buildmaster/working-directory/18/site/faq.html
/var/www/docs/project/.

I am prompted for my password for sudo access followed by root's password.

Continuum is running as root on startup (following instructions for Debian
startup on the Continuum site). Now I am not sure what to do.

It seems like I should enable the root password. Enter the password details
in settings.xml for root. Is this correct or is there any other way to do
this?

Baron - the ssh key was accepted using localhost as well as the LAN ip
address.
-- 
View this message in context: 
http://www.nabble.com/Site-distribution-url-examples--tf1901554.html#a5204472
Sent from the Continuum - Users forum at Nabble.com.



Re: How to configure attached tests?

2006-07-06 Thread Arnaud Bailly
Paul Spencer <[EMAIL PROTECTED]> writes:

Hello,
I think that attached tests are not meant to contain tests that will
be run in another projects but test elements that are useful for reuse
in other (sub)projects. For example, your can have artefactA that have
some tests using some resources and artefactB runnning some tests
using same resources. 
Or you have support classes (eg. dedicated Constraint/STub for jmock)
that are reused.
Surefire does not, an in my opinion should not scan a project's test
dependencies for Test classes to run. The maven way (TM)  is to create
another project for your (integrations ?) tests if you need as modules
creation and management is cheap.
 
Hope that helps.

-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


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



Re: Problem with site generation and multi-module project

2006-07-06 Thread ertnutler

did this get resolved?  i'm currently executing a custom ant script to copy
to the locations expected by the parent module...would love to get rid of
that if possible...
-- 
View this message in context: 
http://www.nabble.com/Problem-with-site-generation-and-multi-module-project-tf1548390.html#a5203992
Sent from the Maven - Users forum at Nabble.com.


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



Re: Projects in Continuum not building

2006-07-06 Thread Alex Lam

Hi,

Thanks for the help. I think I found out the problem. My archive script was
placed in a project that had no changes. But the script is suppose to back
up my whole repository which has many projects. (Thus, the changes I
referred to were in my other projects.) After moving the script to the root
directory of all the projects, it seems to work, but I do not like this
solution.  I believe I read somewhere that in future releases, Continuum
will allow scheduled force builds? In the meantime, one work around I have
in mind is to write a script that will hit the "Build Now" button on
Continuum and use cron to run it every night. Or is there a better way to do
this?

Thanks,
Alex

On 7/6/06, Marcel Schutte <[EMAIL PROTECTED]> wrote:


Hi Alex,

Try checking the continuum configuration of your project. Does it
contain a value in the 'scm branch/tag' field?

What happened with some of my continuum builds recently was that they
must have started at a moment I was manually building a release. During
a release, maven will commit two new versions of your pom. The first
one contains a  in the scm section.
I think that continuum did the update at the moment this pom was the
head revision and subsequently updated its configuration to use this
tag.
After this, it will never find changes again and therefore not run
again.

Your problem might be completely different, but it is worth checking
this.

Marcel
--- Alex Lam <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I have a question on how Continuum works.
>
> I set up a script to check things out of SVN and burn it to a CD
> every
> night.
>
> However, Continuum doesn't seem to be executing the script on a
> nightly
> basis.
>
> The script did seem to work on Jun 29, when the revision number was
> at 245.
> This was the last time the script executed.
>
> However, for the past week, Continuum is not executing the script and
> in the
> logfile, it says "The project was not build because there are no
> changes".
>
> The log file also states the revision number is at 249. Since Jun 29,
> I have
> been checking things in and out of my repository so I know there have
> been
> changes made to it.
>
> My question is " Is this an error in Continuum?" and how does
> Continuum
> detect that a build has no changes? Is it by the revision number?
>
> Thanks in advance for any help you can give me.
>
> -Alex
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



Re: Unable to find the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run'

2006-07-06 Thread Jeff Mutonho

On 7/6/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:

On 7/6/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
> In my web module pom I have an ant task to move some xml files around
> as shown here :
>
> 
> maven-antrun-plugin
> 
> 
> 
process-resources
> 
> 
>  
todir="WebContent/WEB-INF/appcontext">
> 
 
dir="../eportal-services/src/spring/context"
> 
includes="**/*.xml" />
> 
 
dir="../eportal-webservices/src/spring/context"
> 
includes="**/*.xml" />
> 
 
dir="../eportal-messaging/src/spring/context"
> 
includes="**/*.xml" />
> 
> 
> 
> 
> run
> 
> 
> 
> 
>
>
>
> This has been working and out of the blue my build is failing :
>
> [ERROR] BUILD ERROR
> [INFO] 

> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run': Unable to find
> the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run' in the
> plugin 'org.apache.maven.plugins:maven-antrun-plugin'
> Component descriptor cannot be found in the component repository:
> 
org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-antrun-plugin:1.0:run.
>
> The strange thing is that this happening when I do the build through
> Continuum.If I change to the directory of my web module
> (~/continuum/working-directory/86/eportal-web) and run "mvn install" ,
> everything works fine.Files are copied , war created and deployed.
>
> Any ideas?
>
> --

Just to add more  , also running mvn install from the top level
directory results in the same error message , so hence it's not a
Continuum issue.I also found this post
http://mail-archives.apache.org/mod_mbox/maven-users/200606.mbox/[EMAIL 
PROTECTED]

which is the exact same problem I'm experiencing.




The only other thing I changed is the addition of the xdoclect plugin
in one of the modules(eportal-services) , basically to generate my
hibernate mappings.This
http://www.mail-archive.com/users@maven.apache.org/msg44933.html has a
suggestion  , but I don't have 2 references to the antrun plugin.


--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



RE: [M2] maven-war-plugin 2.0.1

2006-07-06 Thread Andre . Tran
Mike,

you are right.
by heedless, I forgot to remove this part and finally when 2.0.1 releases
and fix this issue... :J

Thanks a lot, 
regards,
Andre

> -Original Message-
> From: Mike Perham [mailto:[EMAIL PROTECTED]
> Sent: donderdag 6 juli 2006 18:19
> To: Maven Users List
> Subject: RE: [M2] maven-war-plugin 2.0.1
> 
> 
> Well, given that you are excluding all jars, does that surprise you?
> See MWAR-39 for the regression fix.  You shouldn't need to 
> configure the
> webXml element since your web.xml is in the default location.
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 06, 2006 10:45 AM
> To: users@maven.apache.org
> Subject: RE: [M2] maven-war-plugin 2.0.1
> 
> Mike,
> yes, there is no jars in this folder.
> 
> 
>   
> org.apache.maven.plugins 
> maven-war-plugin
> 
>   ../WebContent
>   **/*.class,**/*.jar
>   ../WebContent/WEB-INF/web.xml
> 
>   
> 
> 
> To force the version, I add "2.0" in the plugin
> declaration.
> 
> regards,
> Andre
> 
> > -Original Message-
> > From: Mike Perham [mailto:[EMAIL PROTECTED]
> > Sent: donderdag 6 juli 2006 17:31
> > To: Maven Users List
> > Subject: RE: [M2] maven-war-plugin 2.0.1
> > 
> > 
> > You mean WEB-INF/lib has no jars in it?  Please post the 
> > relevant parts
> > of your POM. 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, July 06, 2006 10:20 AM
> > To: users@maven.apache.org
> > Subject: [M2] maven-war-plugin 2.0.1
> > 
> > Hey all,
> > 
> > when creating the war, the version 2.0.1 do not include declared
> > dependencies into the new file.
> > 
> > It is a regression because this case do not occured when using the
> > previous
> > version 2.0.



This message is intended for the addressee or its representative only. 
Any form of unauthorized use, publication, reproduction, copying or 
disclosure of the content of this e-mail is not permitted. If you are 
not the intended recipient of this e-mail message and its contents, 
please notify the sender immediately and delete this message and 
all its attachments subsequently.


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



confusion: maven-ear-plugin and NoClassDefFoundError

2006-07-06 Thread Graham Leggett
Hi all,

I have a maven2 ear project that depends on a maven2 ejb project. When I
used maven1, the ear plugin made sure the application.xml file was built
correctly, and everything was done for you.

This doesn't work with maven2, I get the following error:

18:08:13,632 WARN  [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: [Lalchemy/trader/workbench/TraderProject;

The class "alchemy/trader/workbench/TraderProject" exists inside the EJB
jar, and is definitely not missing.

Reading the docs for the ear:ear goal doesn't specify any minumum required
configuration for the ear plugin to work.

Reading "Better builds with maven" it suggests that each jar and ejb file
needs to be explicitly defined within the  tag for
maven-ear-plugin, over and above the dependancy mechanism.

This seems to be against the spirit of maven, which is to do stuff for the
developer.

I am now confused.

Can anyone point at any docs that explain clearly and concisely what needs
to be done to build an ear file?

Regards,
Graham
--



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



Re: Unable to find the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run'

2006-07-06 Thread Jeff Mutonho

On 7/6/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:

In my web module pom I have an ant task to move some xml files around
as shown here :


maven-antrun-plugin


process-resources










run







This has been working and out of the blue my build is failing :

[ERROR] BUILD ERROR
[INFO] 
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-antrun-plugin:1.0:run': Unable to find
the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run' in the
plugin 'org.apache.maven.plugins:maven-antrun-plugin'
Component descriptor cannot be found in the component repository:
org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-antrun-plugin:1.0:run.

The strange thing is that this happening when I do the build through
Continuum.If I change to the directory of my web module
(~/continuum/working-directory/86/eportal-web) and run "mvn install" ,
everything works fine.Files are copied , war created and deployed.

Any ideas?

--


Just to add more  , also running mvn install from the top level
directory results in the same error message , so hence it's not a
Continuum issue.I also found this post
http://mail-archives.apache.org/mod_mbox/maven-users/200606.mbox/[EMAIL 
PROTECTED]

which is the exact same problem I'm experiencing.

--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Re: Any news about the update of Maven2 book with corrected errata ?

2006-07-06 Thread Sebastien Arbogast

Sorry to be late on the answer but I was very busy lately... and very off too :P
Yes I am voluteering as a technical reviewer. Not as an author because
I'm still a newbie with Maven2, but technical reviewer, that I can do
it.

--
Sébastien Arbogast

http://www.sebastien-arbogast.com

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



RE: [M2] maven-war-plugin 2.0.1

2006-07-06 Thread Mike Perham
Well, given that you are excluding all jars, does that surprise you?
See MWAR-39 for the regression fix.  You shouldn't need to configure the
webXml element since your web.xml is in the default location.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 06, 2006 10:45 AM
To: users@maven.apache.org
Subject: RE: [M2] maven-war-plugin 2.0.1

Mike,
yes, there is no jars in this folder.


  
org.apache.maven.plugins 
maven-war-plugin

  ../WebContent
  **/*.class,**/*.jar
  ../WebContent/WEB-INF/web.xml

  


To force the version, I add "2.0" in the plugin
declaration.

regards,
Andre

> -Original Message-
> From: Mike Perham [mailto:[EMAIL PROTECTED]
> Sent: donderdag 6 juli 2006 17:31
> To: Maven Users List
> Subject: RE: [M2] maven-war-plugin 2.0.1
> 
> 
> You mean WEB-INF/lib has no jars in it?  Please post the 
> relevant parts
> of your POM. 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 06, 2006 10:20 AM
> To: users@maven.apache.org
> Subject: [M2] maven-war-plugin 2.0.1
> 
> Hey all,
> 
> when creating the war, the version 2.0.1 do not include declared
> dependencies into the new file.
> 
> It is a regression because this case do not occured when using the
> previous
> version 2.0.
> 
> regards,
> Andre
> 
> 
> 
> --
> --
> 
> This message is intended for the addressee or its 
> representative only. 
> Any form of unauthorized use, publication, reproduction, copying or 
> disclosure of the content of this e-mail is not permitted. If you are 
> not the intended recipient of this e-mail message and its contents, 
> please notify the sender immediately and delete this message and 
> all its attachments subsequently.
> 
> 
> -
> 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: Developer name and CVS log information does not appear in changes section

2006-07-06 Thread Carlo Bonamico

I am using cvs, in english.

I attach a segment of the output from running  "cvs log" in the working 
directory


RCS file: /home/cvs/SANDBOX/xdocs/navigation.xml,v
Working file: xdocs/navigation.xml
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: k
total revisions: 2; selected revisions: 2
description:

revision 1.2
date: 2006-07-06 13:57:20 +;  author: bonamico;  state: Exp;  lines: 
+9 -7;

commitid: 4dee44ad16c04567;
*** empty log message ***

revision 1.1
date: 2006-07-06 13:12:02 +;  author: bonamico;  state: Exp;  
commitid: 4c33

44ad0c214567;
-Aggiunta della funzione di creazione automatica

Hope this helps...



Emmanuel Venisse wrote:

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

What is your scm? what is the language in the output of it? english?

Emmanuel

Carlo Bonamico a écrit :

Hi!
when I trigger a build for a maven 1 project in continuum 1.0.3, I 
can see the changes list but it is missing developer id/names, date 
of modification and log message.

I looked in jira but could not find related issues...

Thanks in advance for your help!
Carlo











Unable to find the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run'

2006-07-06 Thread Jeff Mutonho

In my web module pom I have an ant task to move some xml files around
as shown here :


maven-antrun-plugin


process-resources










run







This has been working and out of the blue my build is failing :

[ERROR] BUILD ERROR
[INFO] 
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-antrun-plugin:1.0:run': Unable to find
the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run' in the
plugin 'org.apache.maven.plugins:maven-antrun-plugin'
Component descriptor cannot be found in the component repository:
org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-antrun-plugin:1.0:run.

The strange thing is that this happening when I do the build through
Continuum.If I change to the directory of my web module
(~/continuum/working-directory/86/eportal-web) and run "mvn install" ,
everything works fine.Files are copied , war created and deployed.

Any ideas?

--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



RE: Site distribution url examples?

2006-07-06 Thread Baron.Reznik
Even though it's a local machine, have you verified that you can scp a file to 
yourself? Perhaps you need to permanently accept the ssh key?


-Original Message-
From: Srinivas Pavani [mailto:[EMAIL PROTECTED]
Sent: Thu 7/6/2006 11:01 AM
To: continuum-users@maven.apache.org
Subject: Site distribution url examples?
 

How do you specify the url for distribution management in the site section of
the pom.xml? I have Continuum building the site on the same machine as the
webserver. I need to copy the final site.war to
/var/www/docs/projects/${project.version}

I tried, the following:

 scp://192.168.1.4/var/www/docs/project/{$project.version}
  

I get an error:

[INFO] [site:deploy]
 Session error: com.jcraft.jsch.JSchException: reject HostKey: 192.168.1.4

Is there another mechanism to use for local deployment?

Thanks in advance for your help
- Srinivas

-- 
View this message in context: 
http://www.nabble.com/Site-distribution-url-examples--tf1901554.html#a5202517
Sent from the Continuum - Users forum at Nabble.com.




Re: Disecting a webapp?

2006-07-06 Thread Alex Shneyderman

Thanks, guys for your responses.

But ... I think I was not understood correctly. Let me clarify a bit here.

The problem is not so much to separate layers into modules (it seems
that's what examples demonstrate), but how to break up a big web
application into smaller modules. The module's boundary is not that of
the layer (business, webapp, core, etc). Web application itself needs
to be broken onto smaller submodules. So core would have all the
templates, js and css files and will be a webapp on its own, the child
module would have concrete pages that utilize those templates and
styles and in combination with the core module would constitute
complete sub-application of a bigger app.

When I develop I would like to checkout just one module and a few
modules that this module depends on. Of course I would be able to
deploy this one small module (and all of its dependencies), but it
will not be the site itself, just one little portion. It also makes
creation of the new module easier. Just declare dependencies and
create a simple WAR structure.

When I am happy with the little module I worked on, I will want to
deploy it to production. This is when I will have to merge all the
configuration files (web.xml comes to mind) and directory structures
but only on creation of the WAR no need for physical merge on the
system someplace.

I am not sure if this made my question any clearer :-)


On 7/6/06, Tamás Cservenák <[EMAIL PROTECTED]> wrote:

Hi Alex,

a quick example for this, see here:
https://is-micro.myip.hu/trac/ismicro-commons/browser/trunk/ismicro-proximity

Three modules: px-core (j2ee and  transport independent), px-core-maven
(maven bindings for core, till no sign of webapp) and px-webapp. The module
separation should be "natural" and/or "logical" -- whetever it means :)

In my practice it means, produce ONLY ONE ARTIFACT, be as small and as
simple as it can (but naturally keep the overall module count manageable).

Maven generated site from these sources here:
http://proximity.abstracthorizon.org/


~t~

On 7/6/06, ben short <[EMAIL PROTECTED]> wrote:
>
> Also have a look at the better builds with maven book, there is an
> example in there.
>
> On 7/6/06, ben short <[EMAIL PROTECTED]> wrote:
> > Create a project for each of the core module and the children. then
> > the webapp can pull them in as dependancies.
> >
> > On 7/6/06, Alex Shneyderman <[EMAIL PROTECTED]> wrote:
> > > How does one disect a web app into many modules but deploy it as one
> web app?
> > >
> > > This is what I mean:
> > >
> > > We have a web application that is quite big. We can identify many
> > > modules of it. There is a few core modules, and a bunch of child
> > > modules. Practically all children are dependendent on core modules,
> > > some child modules depend on other child modules. The modularization
> > > is done in purely logical way. Meaning, we still have one maven
> > > project for the webapp.
> > >
> > > I was wondering if anyone can suggest a way to break those modules up
> > > into seprate physical modules while keeping the ability to create a
> > > unifying webapp? Is it even possible with Maven 1 or 2?
> > >
> > > --
> > > Thanks,
> > > Alex.
> > >
> > > -
> > > 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]
>
>





--
Thanks,
Alex.

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



Site distribution url examples?

2006-07-06 Thread Srinivas Pavani

How do you specify the url for distribution management in the site section of
the pom.xml? I have Continuum building the site on the same machine as the
webserver. I need to copy the final site.war to
/var/www/docs/projects/${project.version}

I tried, the following:

 scp://192.168.1.4/var/www/docs/project/{$project.version}
  

I get an error:

[INFO] [site:deploy]
 Session error: com.jcraft.jsch.JSchException: reject HostKey: 192.168.1.4

Is there another mechanism to use for local deployment?

Thanks in advance for your help
- Srinivas

-- 
View this message in context: 
http://www.nabble.com/Site-distribution-url-examples--tf1901554.html#a5202517
Sent from the Continuum - Users forum at Nabble.com.



RE: HTTP compression/gzip for wagon providers(?)

2006-07-06 Thread Beyer,Nathan
I've logged an issue for this request here:
http://jira.codehaus.org/browse/WAGON-55. 

-Nathan

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 05, 2006 8:34 PM
To: Maven Users List
Subject: Re: HTTP compression/gzip for wagon providers(?)

No, but I just wrote that down the other day to think about, both on the
wagon side and the repository manager side. It would good if you could
file it in JIRA for Wagon.

Thanks,
Brett

On 06/07/06, Beyer,Nathan <[EMAIL PROTECTED]> wrote:
> Is there anyway to configure Maven 2 (the wagon providers?) to use 
> compression for HTTP communication? In particular to accept 
> compression when requesting dependencies and to use compression when 
> sending data with WebDAV requests.
>
> I have my HTTP servers setup to compress output and decompress input, 
> where appropriate.
>
> Thanks.
> -Nathan
>



-
CONFIDENTIALITY NOTICE This message and any included attachments
are from Cerner Corporation and are intended only for the
addressee. The information contained in this message is
confidential and may constitute inside or non-public information
under international, federal, or state securities laws.
Unauthorized forwarding, printing, copying, distribution, or use of
such information is strictly prohibited and may be unlawful. If you
are not the addressee, please promptly delete this message and
notify the sender of the delivery error by e-mail or you may call
Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1)
(816)221-1024. ---


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



RE: [M2] maven-war-plugin 2.0.1

2006-07-06 Thread Andre . Tran
Mike,
yes, there is no jars in this folder.


  
org.apache.maven.plugins 
maven-war-plugin

  ../WebContent
  **/*.class,**/*.jar
  ../WebContent/WEB-INF/web.xml

  


To force the version, I add "2.0" in the plugin
declaration.

regards,
Andre

> -Original Message-
> From: Mike Perham [mailto:[EMAIL PROTECTED]
> Sent: donderdag 6 juli 2006 17:31
> To: Maven Users List
> Subject: RE: [M2] maven-war-plugin 2.0.1
> 
> 
> You mean WEB-INF/lib has no jars in it?  Please post the 
> relevant parts
> of your POM. 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 06, 2006 10:20 AM
> To: users@maven.apache.org
> Subject: [M2] maven-war-plugin 2.0.1
> 
> Hey all,
> 
> when creating the war, the version 2.0.1 do not include declared
> dependencies into the new file.
> 
> It is a regression because this case do not occured when using the
> previous
> version 2.0.
> 
> regards,
> Andre
> 
> 
> 
> --
> --
> 
> This message is intended for the addressee or its 
> representative only. 
> Any form of unauthorized use, publication, reproduction, copying or 
> disclosure of the content of this e-mail is not permitted. If you are 
> not the intended recipient of this e-mail message and its contents, 
> please notify the sender immediately and delete this message and 
> all its attachments subsequently.
> 
> 
> -
> 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] maven-war-plugin 2.0.1

2006-07-06 Thread Mike Perham
You mean WEB-INF/lib has no jars in it?  Please post the relevant parts
of your POM. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 06, 2006 10:20 AM
To: users@maven.apache.org
Subject: [M2] maven-war-plugin 2.0.1

Hey all,

when creating the war, the version 2.0.1 do not include declared
dependencies into the new file.

It is a regression because this case do not occured when using the
previous
version 2.0.

regards,
Andre





This message is intended for the addressee or its representative only. 
Any form of unauthorized use, publication, reproduction, copying or 
disclosure of the content of this e-mail is not permitted. If you are 
not the intended recipient of this e-mail message and its contents, 
please notify the sender immediately and delete this message and 
all its attachments subsequently.


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



[M2] maven-war-plugin 2.0.1

2006-07-06 Thread Andre . Tran
Hey all,

when creating the war, the version 2.0.1 do not include declared
dependencies into the new file.

It is a regression because this case do not occured when using the previous
version 2.0.

regards,
Andre




This message is intended for the addressee or its representative only. 
Any form of unauthorized use, publication, reproduction, copying or 
disclosure of the content of this e-mail is not permitted. If you are 
not the intended recipient of this e-mail message and its contents, 
please notify the sender immediately and delete this message and 
all its attachments subsequently.


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



Re: Disecting a webapp?

2006-07-06 Thread Tamás Cservenák

Hi Alex,

a quick example for this, see here:
https://is-micro.myip.hu/trac/ismicro-commons/browser/trunk/ismicro-proximity

Three modules: px-core (j2ee and  transport independent), px-core-maven
(maven bindings for core, till no sign of webapp) and px-webapp. The module
separation should be "natural" and/or "logical" -- whetever it means :)

In my practice it means, produce ONLY ONE ARTIFACT, be as small and as
simple as it can (but naturally keep the overall module count manageable).

Maven generated site from these sources here:
http://proximity.abstracthorizon.org/


~t~

On 7/6/06, ben short <[EMAIL PROTECTED]> wrote:


Also have a look at the better builds with maven book, there is an
example in there.

On 7/6/06, ben short <[EMAIL PROTECTED]> wrote:
> Create a project for each of the core module and the children. then
> the webapp can pull them in as dependancies.
>
> On 7/6/06, Alex Shneyderman <[EMAIL PROTECTED]> wrote:
> > How does one disect a web app into many modules but deploy it as one
web app?
> >
> > This is what I mean:
> >
> > We have a web application that is quite big. We can identify many
> > modules of it. There is a few core modules, and a bunch of child
> > modules. Practically all children are dependendent on core modules,
> > some child modules depend on other child modules. The modularization
> > is done in purely logical way. Meaning, we still have one maven
> > project for the webapp.
> >
> > I was wondering if anyone can suggest a way to break those modules up
> > into seprate physical modules while keeping the ability to create a
> > unifying webapp? Is it even possible with Maven 1 or 2?
> >
> > --
> > Thanks,
> > Alex.
> >
> > -
> > 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: Developer name and CVS log information does not appear in changes section

2006-07-06 Thread Emmanuel Venisse

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

What is your scm? what is the language in the output of it? english?

Emmanuel

Carlo Bonamico a écrit :

Hi!
when I trigger a build for a maven 1 project in continuum 1.0.3, I can 
see the changes list but it is missing developer id/names, date of 
modification and log message.

I looked in jira but could not find related issues...

Thanks in advance for your help!
Carlo








Re: Regenerate hibernate mapping files

2006-07-06 Thread Jeff Mutonho

On 7/6/06, Johann Reyes <[EMAIL PROTECTED]> wrote:

Hello Jeff

Actually you are using Xdoclet to generate your hibernate mapping files. The
hibernate3-maven-plugin is not based on Xdoclet; it's based on
hibernate-tools which you can find more info here:
http://tools.hibernate.org/

Regards

Johann Reyes

-Original Message-
From: Jeff Mutonho [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 9:52 AM
To: Maven Users List
Subject: Regenerate hibernate mapping files

I wish to regenerate hibernate(version 2.0)  mapping files in my
project and currently am using Ant to do so.Can I achieve the same
with the hibernate3-maven-plugin  ?
Here's the ant task :













--




Thanks.Worked out of the box :)


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Re: Disecting a webapp?

2006-07-06 Thread ben short

Also have a look at the better builds with maven book, there is an
example in there.

On 7/6/06, ben short <[EMAIL PROTECTED]> wrote:

Create a project for each of the core module and the children. then
the webapp can pull them in as dependancies.

On 7/6/06, Alex Shneyderman <[EMAIL PROTECTED]> wrote:
> How does one disect a web app into many modules but deploy it as one web app?
>
> This is what I mean:
>
> We have a web application that is quite big. We can identify many
> modules of it. There is a few core modules, and a bunch of child
> modules. Practically all children are dependendent on core modules,
> some child modules depend on other child modules. The modularization
> is done in purely logical way. Meaning, we still have one maven
> project for the webapp.
>
> I was wondering if anyone can suggest a way to break those modules up
> into seprate physical modules while keeping the ability to create a
> unifying webapp? Is it even possible with Maven 1 or 2?
>
> --
> Thanks,
> Alex.
>
> -
> 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 configure attached tests?

2006-07-06 Thread Paul Spencer

Kenny,
See below.

Kenney Westerhof wrote:

On Thu, 6 Jul 2006, Paul Spencer wrote:

Hi,


(Maven 2.0.4)
I have configured my project to use an attached test per the "Guide to
using attached tests",
http://maven.apache.org/guides/mini/guide-attached-tests.html, but the
attached tests are not running.


You can only use the tests by extending them - they're in the
classpath but only test classes from target/test-classes (or
src/test/java/) are being run.

So just create an empty class that extends from your unit tests from the
imported test artifact.


Extending each unit test for each implementation is not practical or 
manageable.


I suspect I can create a "test" project the will test an implementation 
base on  configuration, but this is just adds additional 
complexity to the testing and release procedures.




The surefire plugin currently doesn't scan all .class files in all .jars
for available tests. I'm not sure if that is what surefire is going to
support, though. But the documentation certainly suggests that it works
this way.


Is this a bug in the Surefire plugin?



-- Kenney



1) I have verified the test class exist in test jar, foo-SNAPSHOT-test.jar.

2) I am using the command "mvn test", but the attached test are not
being run.  The attached test jar is listed in the "classpathElements"
display by "mvn -X test"

Paul Spencer



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



--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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




Paul Spencer


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



Re: Getting jar library filenames of dependencies

2006-07-06 Thread Jimisola Laursen

The unreleased versions 1.1/2.0 of Maven 2.x Dependency Plugin have some
support for this using mvn dependency:resolve.
-- 
View this message in context: 
http://www.nabble.com/Getting-jar-library-filenames-of-dependencies-tf1899691.html#a5200993
Sent from the Maven - Users forum at Nabble.com.


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



Re: Disecting a webapp?

2006-07-06 Thread ben short

Create a project for each of the core module and the children. then
the webapp can pull them in as dependancies.

On 7/6/06, Alex Shneyderman <[EMAIL PROTECTED]> wrote:

How does one disect a web app into many modules but deploy it as one web app?

This is what I mean:

We have a web application that is quite big. We can identify many
modules of it. There is a few core modules, and a bunch of child
modules. Practically all children are dependendent on core modules,
some child modules depend on other child modules. The modularization
is done in purely logical way. Meaning, we still have one maven
project for the webapp.

I was wondering if anyone can suggest a way to break those modules up
into seprate physical modules while keeping the ability to create a
unifying webapp? Is it even possible with Maven 1 or 2?

--
Thanks,
Alex.

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



Disecting a webapp?

2006-07-06 Thread Alex Shneyderman

How does one disect a web app into many modules but deploy it as one web app?

This is what I mean:

We have a web application that is quite big. We can identify many
modules of it. There is a few core modules, and a bunch of child
modules. Practically all children are dependendent on core modules,
some child modules depend on other child modules. The modularization
is done in purely logical way. Meaning, we still have one maven
project for the webapp.

I was wondering if anyone can suggest a way to break those modules up
into seprate physical modules while keeping the ability to create a
unifying webapp? Is it even possible with Maven 1 or 2?

--
Thanks,
Alex.

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



Re: Maven jar plugin documentation

2006-07-06 Thread Wayne Fay

Not sure where on the web you can currently find it, but if you pull
down the code from SVN to your local box and then run "mvn site", it
should build the SNAPSHOT site on your local box for viewing etc...

Wayne

On 7/6/06, Sebastien Cesbron <[EMAIL PROTECTED]> wrote:

Hi,

Is there a place where it is possible to see snapshot documentation ?
I search the maven jar plugin last snapshot documentation to see if it
is more verbose on jar signing.

Thanx

Seb

-
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: Maven jar plugin documentation

2006-07-06 Thread jerome lacoste

On 7/6/06, Sebastien Cesbron <[EMAIL PROTECTED]> wrote:

Hi,

Is there a place where it is possible to see snapshot documentation ?
I search the maven jar plugin last snapshot documentation to see if it
is more verbose on jar signing.


best is to look at the code...

http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarSignMojo.java?view=log

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



Re: How to change default checkout Dir

2006-07-06 Thread dan tran

http://maven.apache.org/scm/plugins/checkout-mojo.html

On 7/6/06, Vinay Kumar <[EMAIL PROTECTED]> wrote:


Hi All,

When we do checkout using mvn scm:checkout ,everything gets checkout on
directory /Checkout .Anyone has idea how i can change this
default checkout directory. I am able to set working directory as i want but
within that a folder named "checkout" created and everything gets checkout
there only. I want to change this checkout directoy.

Thanks
Vinay



Re: How to configure attached tests?

2006-07-06 Thread Kenney Westerhof
On Thu, 6 Jul 2006, Paul Spencer wrote:

Hi,

> (Maven 2.0.4)
> I have configured my project to use an attached test per the "Guide to
> using attached tests",
> http://maven.apache.org/guides/mini/guide-attached-tests.html, but the
> attached tests are not running.

You can only use the tests by extending them - they're in the
classpath but only test classes from target/test-classes (or
src/test/java/) are being run.

So just create an empty class that extends from your unit tests from the
imported test artifact.

The surefire plugin currently doesn't scan all .class files in all .jars
for available tests. I'm not sure if that is what surefire is going to
support, though. But the documentation certainly suggests that it works
this way.

-- Kenney


>
> 1) I have verified the test class exist in test jar, foo-SNAPSHOT-test.jar.
>
> 2) I am using the command "mvn test", but the attached test are not
> being run.  The attached test jar is listed in the "classpathElements"
> display by "mvn -X test"
>
> Paul Spencer
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



How to change default checkout Dir

2006-07-06 Thread Vinay Kumar
Hi All,
 
When we do checkout using mvn scm:checkout ,everything gets checkout on 
directory /Checkout .Anyone has idea how i can change this default 
checkout directory. I am able to set working directory as i want but within 
that a folder named "checkout" created and everything gets checkout there only. 
I want to change this checkout directoy.
 
Thanks
Vinay

Maven jar plugin documentation

2006-07-06 Thread Sebastien Cesbron

Hi,

Is there a place where it is possible to see snapshot documentation ?
I search the maven jar plugin last snapshot documentation to see if it
is more verbose on jar signing.

Thanx

Seb

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



How to configure attached tests?

2006-07-06 Thread Paul Spencer

(Maven 2.0.4)
I have configured my project to use an attached test per the "Guide to
using attached tests",
http://maven.apache.org/guides/mini/guide-attached-tests.html, but the
attached tests are not running.

1) I have verified the test class exist in test jar, foo-SNAPSHOT-test.jar.

2) I am using the command "mvn test", but the attached test are not
being run.  The attached test jar is listed in the "classpathElements"
display by "mvn -X test"

Paul Spencer



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



RE: Regenerate hibernate mapping files

2006-07-06 Thread Johann Reyes
Hello Jeff

Actually you are using Xdoclet to generate your hibernate mapping files. The
hibernate3-maven-plugin is not based on Xdoclet; it's based on
hibernate-tools which you can find more info here:
http://tools.hibernate.org/

Regards

Johann Reyes

-Original Message-
From: Jeff Mutonho [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 06, 2006 9:52 AM
To: Maven Users List
Subject: Regenerate hibernate mapping files

I wish to regenerate hibernate(version 2.0)  mapping files in my
project and currently am using Ant to do so.Can I achieve the same
with the hibernate3-maven-plugin  ?
Here's the ant task :













-- 


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

-
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: Regenerate hibernate mapping files

2006-07-06 Thread olivier . lambert
I just do it with this configuration in my pom.xml

  
org.codehaus.mojo
xdoclet-maven-plugin

  
hbm generation with xdoclet
generate-sources

  

  
  
  

  
  target/classes


  xdoclet

  

  

-

I wish to regenerate hibernate(version 2.0)  mapping files in my
project and currently am using Ant to do so.Can I achieve the same
with the hibernate3-maven-plugin  ?
Here's the ant task :


 
 
 
 
 
 
 
 
 
 
 
--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


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



Regenerate hibernate mapping files

2006-07-06 Thread Jeff Mutonho

I wish to regenerate hibernate(version 2.0)  mapping files in my
project and currently am using Ant to do so.Can I achieve the same
with the hibernate3-maven-plugin  ?
Here's the ant task :













--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Re: Overriding configuration inherited from a master pom

2006-07-06 Thread olivier . lambert
Indeed I prefer a configuration option ... But i don't find it ... does
somebody can help ?

> I have a similar problem.
>
> I moved the plugin definition to a  that has
> 
>   
> !noclover
>   
> 
>
> so by default it runs, but if I pass -Dnoclover then that profile is
> de-activated and (yes, you guessed it) Clover reports are skipped.
> I am sure this could be modified to listen to a configuration option if
> you prefer.
>
> A
>
> [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > Here we have a master pom for our organization => All project's poms
> > inherit from this organization pom.
> >
> > This organization pom contains the configuration of reports that have
to be
> > executed when doing a site. for example, the cobertura report.
> >
> > But in some projects, I don't want this report to be executed => I need
a
> > way to tell maven it must not execute the cobertura report for my
project.
> >
> > Thanks in advance for your help.
> >
> > Olivier



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



Developer name and CVS log information does not appear in changes section

2006-07-06 Thread Carlo Bonamico

Hi!
when I trigger a build for a maven 1 project in continuum 1.0.3, I can 
see the changes list but it is missing developer id/names, date of 
modification and log message.

I looked in jira but could not find related issues...

Thanks in advance for your help!
Carlo



RE: [m2] Frustration getting Maven 2 and Hibernate working together

2006-07-06 Thread Johann Reyes
Hello Jose

Thanks for the help; I updated the documentation to reflect this. Also to
use the plugin you don't need to include the hibernate jars as dependency to
run the plugin.

Regards

Johann Reyes 

-Original Message-
From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 06, 2006 3:18 AM
To: Maven Users List
Subject: Fwd: [m2] Frustration getting Maven 2 and Hibernate working
together

Just in case anybody else needs it...

-- Forwarded message --
From: Jose Gonzalez Gomez <[EMAIL PROTECTED]>
Date: 06-jul-2006 8:40
Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working together
To: Paul Kuykendall <[EMAIL PROTECTED]>

Ok, here we go...

First of all, add this to settings.xml (in your .m2 directory) in order to
be able to download plugins from the mojo repository:


  
  
  

  Snapshots

 
   
 Maven Snapshots
 http://snapshots.maven.codehaus.org/maven2/
 
   true
 
 
   false
 
   
 

  
  
Snapshots
  


Now, declare some dependencies in your pom, including the plugin
configuration and your desired JDBC driver (PostgreSQL in this case):



  [...]

  

  
org.codehaus.mojo
hibernate3-maven-plugin

1.0-SNAPSHOT

  

/src/main/resources/hibernate.cfg.xml

  
  
src/main/resources
  

  


  
postgresql
postgresql
8.1-407.jdbc3 
  

  
  
  
[...]

  javax.persistence
  persistence-api



  org.hibernate
  hibernate-annotations
  3.2.0.cr1
  

  javax.persistence 
  ejb

  

  


Comments on this: first of all, I have no version declared for
persistence-api because I have a parent pom with dependency management (I
will include hibernate-annotations there once I have an stable
configuration); you must include hibernate-annotations as a dependency in
your project only if you want to use hibernate propietary annotations; if
you do include hibernate-annotations you must exclude the
javax.persistence:ejb dependency, as it uses and old draft version I've been
unable to find on the Internet.

Finally you must create your /src/main/resources/hibernate.cfg.xml,
something like this:


http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>


  
  

org.postgresql.Driver

jdbc:postgresql://your.server/yourDatabase

yourUser
yourPassword
 org.hibernate.dialect.PostgreSQLDialect

false

org.hibernate.transaction.JTATransactionFactory 
java:comp/UserTransaction




  


I was testing a single class, I guess if you have a full package you may use
the commented line to include all the classes. Once I did this, I run mvn
hibernate3:hbm2ddl and the plugin connected to my database and created the
table. I think I don't miss anything...

HTH, best regards
Jose

2006/7/5, Paul Kuykendall <[EMAIL PROTECTED]>:

> I would be more appreciative than you can ever imagine if you could send
that information.

Thanks!

/Paul



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



RE: maven-pmd-plugin can't find my source files SOLVED

2006-07-06 Thread Mike Perham
It gives you an empty report if you have no code which triggers the
default PMD rules.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 06, 2006 2:00 AM
> To: users@maven.apache.org
> Cc: [EMAIL PROTECTED]
> Subject: RE: maven-pmd-plugin can't find my source files SOLVED
> 
> Hi,
> 
> Thanks for that it worked. I referenced the ones in the plugin and it
> worked.
> A word of warning to anyone else though. If no  tags 
> are used,
> the 
> PMD software / plugin decides to give you an empty report. This isn't
> mentioned in the docs
> 

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



Re: Exclude pom.xml and pom.properties.

2006-07-06 Thread Rob2000

It worked! (I've never seen an answer so fast)
Many thanks
-- 
View this message in context: 
http://www.nabble.com/Exclude-pom.xml-and-pom.properties.-tf1797122.html#a5199636
Sent from the Maven - Users forum at Nabble.com.


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



Re: Exclude pom.xml and pom.properties.

2006-07-06 Thread Rob2000

I'm new with Maven2.

I would like to know exactly the change (all instructions and steps) to make
to point my local repository Maven-jar-plugin to get the solution works with
addMavenDescriptor.

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/Exclude-pom.xml-and-pom.properties.-tf1797122.html#a5199283
Sent from the Maven - Users forum at Nabble.com.


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



Re: Exclude pom.xml and pom.properties.

2006-07-06 Thread tulasi

Its Very Simple.


open maven-jar-plugin-2.0.pom under 
.m2\repository\org\apache\maven\plugins\maven-jar-plugin\2.0

change dependency maven-archiver  version 2.0 to  2.1 like as follows.


  org.apache.maven
  maven-archiver
  2.1






-- 
View this message in context: 
http://www.nabble.com/Exclude-pom.xml-and-pom.properties.-tf1797122.html#a5199518
Sent from the Maven - Users forum at Nabble.com.


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



Re: Overriding configuration inherited from a master pom

2006-07-06 Thread Andrew Williams

I have a similar problem.

I moved the plugin definition to a  that has

 
   !noclover
 


so by default it runs, but if I pass -Dnoclover then that profile is
de-activated and (yes, you guessed it) Clover reports are skipped.
I am sure this could be modified to listen to a configuration option if
you prefer.

A

[EMAIL PROTECTED] wrote:

Hi,

Here we have a master pom for our organization => All project's poms
inherit from this organization pom.

This organization pom contains the configuration of reports that have to be
executed when doing a site. for example, the cobertura report.

But in some projects, I don't want this report to be executed => I need a
way to tell maven it must not execute the cobertura report for my project.

Thanks in advance for your help.

Olivier
__

SmalS-MvM sluit elke aansprakelijkheid uit in verband met de juistheid, de
volledigheid of het tijdig toekomen van de informatie in deze e-mail. Aan
deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in
geen geval een erkenning van welkdanige aansprakelijkheid in.
Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht
niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden
en het bericht te vernietigen.

SmalS-MvM décline toute responsabilité quant à l'exactitude, à
l'exhaustivité et au délai de transmission des informations contenues dans
cet e-mail. Aucun droit ne peut être revendiqué sur cet e-mail et cet
e-mail n'implique en aucun cas une reconnaissance de responsabilité, quelle
qu'elle soit.
Ce message s'adresse uniquement au destinataire. Si ce message ne vous est
pas destiné, nous vous prions de nous le signaler immédiatement et de
détruire le message.


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



Overriding configuration inherited from a master pom

2006-07-06 Thread olivier . lambert

Hi,

Here we have a master pom for our organization => All project's poms
inherit from this organization pom.

This organization pom contains the configuration of reports that have to be
executed when doing a site. for example, the cobertura report.

But in some projects, I don't want this report to be executed => I need a
way to tell maven it must not execute the cobertura report for my project.

Thanks in advance for your help.

Olivier
__

SmalS-MvM sluit elke aansprakelijkheid uit in verband met de juistheid, de
volledigheid of het tijdig toekomen van de informatie in deze e-mail. Aan
deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in
geen geval een erkenning van welkdanige aansprakelijkheid in.
Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht
niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden
en het bericht te vernietigen.

SmalS-MvM décline toute responsabilité quant à l'exactitude, à
l'exhaustivité et au délai de transmission des informations contenues dans
cet e-mail. Aucun droit ne peut être revendiqué sur cet e-mail et cet
e-mail n'implique en aucun cas une reconnaissance de responsabilité, quelle
qu'elle soit.
Ce message s'adresse uniquement au destinataire. Si ce message ne vous est
pas destiné, nous vous prions de nous le signaler immédiatement et de
détruire le message.


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



Re: Building different modules/jars with different versions

2006-07-06 Thread narayan dhumale
  Hi Janhavi,
U can look to pom.xml in the mail which i have posted as How to reduce build 
time in Maven 2.0.3?
i think that will help u??


On Thu, 06 Jul 2006 Janhavi Phirke wrote :
>Hi,
>
>Has anybody built different modules/jars with different versions using maven
>2.0? Suppose there are different modules in your project. Consider one(or
>some of them) is dependant on another and the versions of different modules
>are different. So how ro build those using pom.xml?
>
>Please let me know if anyone knows about it...Also if anybody has the sample
>pom.xml, please send that to me.
>
>Thanks,
>Janhavi


Re: Muliple sub-projects - want to produce a single jar

2006-07-06 Thread Ed Ross

Ok - where do I put the maven-assebly-plugin?

is it:
a - at the top level pom
b - one of the child projects
c - in a new project that I create just for assembly
d - every sub-project pom

If I put it at the top level I get the error
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-assembly-plugin:2.1
   (found static expression: 'jar-with-dependencies' which may act as a
default value).
Cause: Cannot assign configuration entry 'descriptorRefs' to 'class [
Ljava.lang.String;' from 'jar-with-depend
encies', which is of type class java.lang.String

if I put it in the main child project I get a jar - but only classes from
that sub-project

If I create a separate project with dependecies to all the other sub
projects I get a jar with nothing


While experimenting I frequently get :

[INFO] [assembly:assembly]
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] No assembly descriptors found.


Maven has done a wonderful job of making the complex things easy,  However
in doing this, they seemed to have made the simple things complex.

I would just use ant, but our direction is to have all projects with the
same basic structure and build methods (which is a good thing)

thx for any help




On 7/5/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote:


On Thursday, July 6, 2006 03:42, Ed Ross wrote:
> This really shouldn't be this hard.
>
>
> I have several (5) sub-projects which is following the maven "best
> practices" (I think).
>
> I just want to product a SINGLE jar, not 5 little jars.
>
> I've been trying to understand the assembly stuff, but can not seem to
get
> all of the projects included in the results.
>
> this is a simple little project that took several hours to code, but is
> taking many hours to try an build/deploy.
>
> yes - I'm new at mave,but this seems like it should be a common task.
>
> thanks for any help

You're on the right track with the assembly plugin. Post your actual
problems
with the assembly so that we could help.

- Henry

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





--
Ed Ross
[EMAIL PROTECTED]


Re: maven2, multiple modules, "mvn install" produces no pom file

2006-07-06 Thread Graham Leggett
On Thu, July 6, 2006 12:34 pm, Arnaud Bailly wrote:

> The references to your ejbs don't look correct
> install:
> za/co/standardbank/alchemy/alchemy-trader-ejb/1.0-SNAPSHOT/alchemy-trader-ejb-1.0-SNAPSHOT.ja
>   =>
>   groupID=za.co.standardbank.alchemy
>   artifactID=alchemy-trader-ejb
>   version=1.0-SNAPSHOT
>
> You seem to reference in the ear's pom
>   groupID=alchemy
>   artifactID=alchemy-trader-ejb
>   version=1.0-SNAPSHOT

This was exactly it - thank you for getting back to me. /me berates self
for not being consistent.

Regards,
Graham
--



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



Building different modules/jars with different versions

2006-07-06 Thread Janhavi Phirke

Hi,

Has anybody built different modules/jars with different versions using maven
2.0? Suppose there are different modules in your project. Consider one(or
some of them) is dependant on another and the versions of different modules
are different. So how ro build those using pom.xml?

Please let me know if anyone knows about it...Also if anybody has the sample
pom.xml, please send that to me.

Thanks,
Janhavi


Re: maven2, multiple modules, "mvn install" produces no pom file

2006-07-06 Thread Arnaud Bailly
"Graham Leggett" <[EMAIL PROTECTED]> writes:


> [INFO] Installing
> /Users/minfrin/src/standard/alchemy/maven/alchemy-trader/ejb/target/alchemy-trader-ejb-1.0-SNAPSHOT.jar
> to
> /Users/minfrin/.m2/repository/za/co/standardbank/alchemy/alchemy-trader-ejb/1.0-SNAPSHOT/alchemy-trader-ejb-1.0-SNAPSHOT.jar
> [INFO]
> 
> [INFO] Building Alchemy Trader EAR
> [INFO]task-segment: [install]
> [INFO]
> 
> Downloading:
> http://dist.codehaus.org//alchemy/alchemy-trader-ejb/1.0-SNAPSHOT/alchemy-trader-ejb-1.0-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository codehaus
> (http://dist.codehaus.org/)
> Downloading:
> http://dist.codehaus.org//alchemy/poms/alchemy-trader-ejb-1.0-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository codehaus-legacy
> (http://dist.codehaus.org/)
> Downloading:
> http://dist.codehaus.org//alchemy/alchemy-trader-ejb/1.0-SNAPSHOT/alchemy-trader-ejb-1.0-SNAPSHOT.jar
> [WARNING] Unable to get resource from repository codehaus
> (http://dist.codehaus.org/)
> Downloading:
> http://dist.codehaus.org//alchemy/jars/alchemy-trader-ejb-1.0-SNAPSHOT.jar
> [WARNING] Unable to get resource from repository codehaus-legacy
> (http://dist.codehaus.org/)
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> Regards,
> Graham
> --
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
Hello,
The references to your ejbs don't look correct
install: 
za/co/standardbank/alchemy/alchemy-trader-ejb/1.0-SNAPSHOT/alchemy-trader-ejb-1.0-SNAPSHOT.ja
  =>
  groupID=za.co.standardbank.alchemy
  artifactID=alchemy-trader-ejb
  version=1.0-SNAPSHOT

You seem to reference in the ear's pom
  groupID=alchemy
  artifactID=alchemy-trader-ejb
  version=1.0-SNAPSHOT

regards,

-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


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



Sudden maven-antrun-plugin error: Component descriptor cannot be found in the component repository

2006-07-06 Thread Graham Leggett
Hi all,

I had a small plugin config inside my ejb build that created a hibernate
har file.

I moved this plugin config from the ejb build to the ear build, and now
suddenly the maven-antrun-plugin has ceased to exist (assuming I am
reading the error correctly).

There is a bug opened with this problem at
http://jira.codehaus.org/browse/MANTRUN-37;jsessionid=apEiFlQ8GbqdNouwtQ?page=history
but it has no clear resolution.

Is there any hope?

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-antrun-plugin:1.0:run': Unable to find the
mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.0:run' in the plugin
'org.apache.maven.plugins:maven-antrun-plugin'
Component descriptor cannot be found in the component repository:
org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-antrun-plugin:1.0:run.

Regards,
Graham
--



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



Getting jar library filenames of dependencies

2006-07-06 Thread Jimisola Laursen

Hi!

Is there a way to have Maven use dependencies is pom.xml to output the
filenames (incl path) of the jar files?

E.g. a project has a dependency on junit 3.8.2 in its pom.xml.

I run: mvn dependency:jar-files and it outputs

/home/jimisola/.m2/repository/junit/junit/3.8.2/junit-3.8.2.jar

I also need to be able to select and/or see scopes.

The only thing I found so far that seem the be even close to this is the
Dependency Plugin
(http://mojo.codehaus.org/dependency-maven-plugin/howto.html).

If there is no plugin with this functionality would it be best to add this
functionality to the dependency plugin or to create new one?

Regards,
Jimisola
-- 
View this message in context: 
http://www.nabble.com/Getting-jar-library-filenames-of-dependencies-tf1899691.html#a5196868
Sent from the Maven - Users forum at Nabble.com.


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



[m2]How to reduce Build Time in Maven 2.0.3

2006-07-06 Thread narayan dhumale
 I am working on a multilevel project whose base pom.xml looks like this

  4.0.0
  
  1.0
  G2
  pom
  
../caching
../orm
../dao
../terminologyengine
../dataservice
../base-pojo-service
../base-ejb-service
../base-jms-service
   
../participant-pojo-service
../participant-ejb-service
../participant-jms-service
../plan-pojo-service
../plan-ejb-service
../plan-jms-service
../person-pojo-service
../person-ejb-service
../person-jms-service
../formatting-pojo-service
../formatting-ejb-service
../formatting-jms-service
../logging-logger
../logging-listener
../security
../util
../config-pojo-service
../config-ejb-service
../config-jms-service
../jmx-config-service
../terminology-pojo-service
../terminology-ejb-service
../terminology-jms-service
../SOATest
../wsclientstubs
../ear
  
  

  junit
  junit
  3.8.1

  
 
src


src/main/resources
true


src/generated/resources
true


  

  
  
  org.apache.maven.plugins
  maven-checkstyle-plugin
  
  
 org.codehaus.mojo
 jdepend-maven-plugin
 2.0-beta-1-SNAPSHOT
  
  
 org.apache.maven.plugins
 maven-project-info-reports-plugin
 2.0-beta-1
  
  
  


repo-ibiblio
Ibiblio
http://www.Ibiblio.org/maven2/


Maven Snapshots
http://snapshots.maven.codehaus.org/maven2/

true


false





Maven Snapshots
http://snapshots.maven.codehaus.org/maven2/

true


false






Now the
../ear contains entry as a dependency of web-1.0 which i am 
working on.whose pom.xml looks like...


  
G2

1.0
  
  4.0.0
  xx
  ear
  ear
  x Ear Component
  1.0
  

  xx
  participant-ejb-service
  1.0
  ejb


  xx
  participant-jms-service
  1.0
  ejb


  xx
  plan-ejb-service
  1.0
  ejb


  xx
  plan-jms-service
  1.0
  ejb


  xxx
  person-ejb-service
  1.0
  ejb


  xxx
  person-jms-service
  1.0
  ejb


 
  xxx
  web
  1.0
  war


  xxx
  formatting-ejb-service
  1.0
  ejb


  xxx
  formatting-jms-service
  1.0
  ejb


  xxx
  terminology-ejb-service
  1.0
  ejb


  xxx
  terminology-jms-service
  1.0
  ejb


  xx
  config-pojo-service
  1.0


  xxx
  config-ejb-service
  1.0
  ejb


  xxx
  config-jms-service
  1.0
  ejb


  x
  logging-listener
  1.0
  ejb


  xxx
  base-pojo-service
  1.0
  jar


  xxx
  base-ejb-service
  1.0
  jar


  xxx
  base-jms-service
  1.0
  jar


  
  terminology-pojo-service
  1.0
  jar


  
  ws-client-stub
  1.0


  x
  logging-logger
  1.0


  x
  jmx-config-service
  1.0


  struts
  struts
  1.2.8


  commons-beanutils
  commons-beanutils
  1.7.0


  commons-dbcp
  commons-dbcp
  1.2.1
   

  commons-pool
  commons-pool
  1.2
 

  opensymphony
  oscache
  2.1.1


  commons-logging
  commons-logging
  1.0.4
  provided


  commons-collections
  commons-collections
  3.1


  log4j
  log4j
  1.2.8
  provided

   
  jwsdp
  activation
  1.6


  jwsdp
  FastInfoset
  1.6


  jwsdp
  jaxp-api
  1.6


  jwsdp
  jaxp-dom
  1.6


  jwsdp
  jaxp-sax
  1.6


  jwsdp
  jaxp-xalan
  1.6


  jwsdp
  jaxp-xercesImpl
  1.6


  jwsdp
  jaxrpc-api
  1.6
 

  jwsdp
  jaxrpc-impl
  1.6


  jwsdp
  jaxrpc-spi
  1.6


  jwsdp
  jsr173_api
  1.6
 

  jwsdp
  mail
  1.6


  jwsdp
  saaj-api
  1.6


  jwsdp
  saaj-impl
  1.6

  
  
  


org.apache.maven.plugins
maven-ear-plugin


lib/
 

Re: Cyclic references in M2 projects

2006-07-06 Thread Lucas Opara

Hi Jo,

I had no other options than refactoring.

What you could do is add 2 more projets containing business delegates for
your 2 ejb modules.
Two different EJB's modules should only access each other through those
business delegate (remote).

But even there you should have a core ejb module and a top ejb module, in
order that the core ejb module never needs to call the top ejb module but
the opposite well.

Hope this helps.

-Lucas

On 7/6/06, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


Did this issue got resolved?
I have a similar situation with 2 EJB modules depending on each other's
ejb-client jar...

Since it's a legacy project, costs need to stay low and refactoring is no
option..
Is it possible to manage the build of this project with maven 2?

On 6/16/06, Lucas Opara <[EMAIL PROTECTED]> wrote:
>
> Ok, It is bad I agree.
> But I want to know if there is a way to support cyclic references in
> Maven2.
>
> I have a project which contains Business Delegates classes. Those
delegate
> classes can call EJB's remotely and locally. Thus I have a cyclic
> reference
> between my Delegate project and my EJB's project. As EJB's may call each
> other locally through the local delegates.
>
> -Lucas
>
> On 6/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > I would strongly suggest refactoring as this is bad
> >
> > -Original Message-
> > From: Lucas Opara [mailto:[EMAIL PROTECTED]
> > Sent: 15 June 2006 15:58
> > To: users@maven.apache.org
> > Subject: Cyclic references in M2 projects
> >
> > Hello,
> >
> > I just migrated some of our J2EE projects to maven 2.
> > Now I have the problem with dependencies, with Maven telling me that I
> > have cyclic references between my projects.
> > Is it possible to handle those cyclic references or do I have to do
some
> > refactoring?
> >
> > Eclipse just gives a warning when they are cyclic references, but it
can
> > still compile the code in the right order.
> > Is Maven 2 capable of such a thing?
> >
> > Thanks,
> >
> > -Lucas
> >
> > Visit our website at http://www.ubs.com
> >
> > This message contains confidential information and is intended only
> > for the individual named.  If you are not the named addressee you
> > should not disseminate, distribute or copy this e-mail.  Please
> > notify the sender immediately by e-mail if you have received this
> > e-mail by mistake and delete this e-mail from your system.
> >
> > E-mail transmission cannot be guaranteed to be secure or error-free
> > as information could be intercepted, corrupted, lost, destroyed,
> > arrive late or incomplete, or contain viruses.  The sender therefore
> > does not accept liability for any errors or omissions in the contents
> > of this message which arise as a result of e-mail transmission.  If
> > verification is required please request a hard-copy version.  This
> > message is provided for informational purposes and should not be
> > construed as a solicitation or offer to buy or sell any securities or
> > related financial instruments.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>




maven2, multiple modules, "mvn install" produces no pom file

2006-07-06 Thread Graham Leggett
Hi all,

I have an existing ant project that builds an EJB (in a jar), and then
creates an ear from it.

To recreate the same bahaviour in maven2, I tried to create a root pom
with two modules, like so:

pom.xml
ejb/pom.xml
ear/pom.xml

I added a dependancy inside ear/pom.xml pointing at the output of
ejb/pom.xml, and told it to run "mvn package". This bombed out because
ear/pom.xml couldn't find the ejb aritfact in the local repository.

No worries, let me try "mvn install" following the behaviour from maven 1.

This also broke, for the same reason - the ear pom could not find the pom
file from the ejb install.

Why does maven2 look for a pom file only, when "mvn install" doesn't
install a pom file with the jar file into the repository?

The output from the build is below:

[INFO] Building ejb alchemy-trader-ejb-1.0-SNAPSHOT
[INFO] Building jar:
/Users/minfrin/src/standard/alchemy/maven/alchemy-trader/ejb/target/alchemy-trader-ejb-1.0-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
/Users/minfrin/src/standard/alchemy/maven/alchemy-trader/ejb/target/alchemy-trader-ejb-1.0-SNAPSHOT.jar
to
/Users/minfrin/.m2/repository/za/co/standardbank/alchemy/alchemy-trader-ejb/1.0-SNAPSHOT/alchemy-trader-ejb-1.0-SNAPSHOT.jar
[INFO]

[INFO] Building Alchemy Trader EAR
[INFO]task-segment: [install]
[INFO]

Downloading:
http://dist.codehaus.org//alchemy/alchemy-trader-ejb/1.0-SNAPSHOT/alchemy-trader-ejb-1.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org/)
Downloading:
http://dist.codehaus.org//alchemy/poms/alchemy-trader-ejb-1.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository codehaus-legacy
(http://dist.codehaus.org/)
Downloading:
http://dist.codehaus.org//alchemy/alchemy-trader-ejb/1.0-SNAPSHOT/alchemy-trader-ejb-1.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org/)
Downloading:
http://dist.codehaus.org//alchemy/jars/alchemy-trader-ejb-1.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository codehaus-legacy
(http://dist.codehaus.org/)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Regards,
Graham
--



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



Re: [m2] Is there a way to pickup sub-project dependencies?

2006-07-06 Thread Wayne Fay

A's pom could declare dependency on A1, A2, etc. Then B could depend
on A and pull them all in. Then you'd only need to update one pom when
you add a new subproject.

I'm not aware of any "automatic" process to find and add subproject
dependencies...

Wayne

On 7/6/06, Eric Brown <[EMAIL PROTECTED]> wrote:

If I have a layout like this:

+ head
+-- A
   +-- A1
   +-- A2
+-- B

I want B to depend on A1 & A2 (& A3 when I add that). Is there any
way to tell it to depend on all of A's modules instead of having to
specify the artifact, group and version for A1, A2, etc.?


-
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: repository.codehaus.org (WAS: [m2] maven-jar-plugin-2.1 status?)

2006-07-06 Thread Brett Porter

No, waiting for something to be fixed with the sync on the codehaus
side. I'll check again.

- Brett

On 06/07/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:

jerome lacoste wrote on Thursday, July 06, 2006 10:12 AM:

> On 7/5/06, Sebastien Cesbron <[EMAIL PROTECTED]> wrote:
>> Ok, On this page
> http://docs.codehaus.org/display/MOJO/Webstart+Plugin
>> I saw that the plugin was not in the snapshot repo so I did not
>> checked it. Now I have a dependency error because webstart plugin
>> need version
>> 0.3+ of keytool but there is only snapshots version of keytool : do I
>> have somethin special to do ?
>
> - first you should take this talk on the mojo user list.
>
> - second you probably don't have the right repository in the POM. In
> the official codehaus repos, http://repository.codehaus.org/,


Ups. I thought the repo is mirrored automatically to ibiblio ?

[snip]

- Jörg

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





--
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/

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



Re: Webstart plugin

2006-07-06 Thread jerome lacoste

On 7/5/06, Tim Kettler <[EMAIL PROTECTED]> wrote:

Hi,

it's a normal .jnlp file where these ($dependencies, $mainClass, $outputFile) 
variables
get replaced with the actual content. It could look something like this:


Thanks Tim,

and questions about the webstart plugin are better answered on the
mojo user list.

I will try to improve the examples section...

Jerome

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



repository.codehaus.org (WAS: [m2] maven-jar-plugin-2.1 status?)

2006-07-06 Thread Jörg Schaible
jerome lacoste wrote on Thursday, July 06, 2006 10:12 AM:

> On 7/5/06, Sebastien Cesbron <[EMAIL PROTECTED]> wrote:
>> Ok, On this page
> http://docs.codehaus.org/display/MOJO/Webstart+Plugin
>> I saw that the plugin was not in the snapshot repo so I did not
>> checked it. Now I have a dependency error because webstart plugin
>> need version 
>> 0.3+ of keytool but there is only snapshots version of keytool : do I
>> have somethin special to do ?
> 
> - first you should take this talk on the mojo user list.
> 
> - second you probably don't have the right repository in the POM. In
> the official codehaus repos, http://repository.codehaus.org/,


Ups. I thought the repo is mirrored automatically to ibiblio ?

[snip]

- Jörg

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



Re: [m2] maven-jar-plugin-2.1 status?

2006-07-06 Thread jerome lacoste

On 7/5/06, Sebastien Cesbron <[EMAIL PROTECTED]> wrote:

Ok, On this page http://docs.codehaus.org/display/MOJO/Webstart+Plugin
I saw that the plugin was not in the snapshot repo so I did not
checked it.
Now I have a dependency error because webstart plugin need version
0.3+ of keytool but there is only snapshots version of keytool : do I
have somethin special to do ?


- first you should take this talk on the mojo user list.

- second you probably don't have the right repository in the POM. In
the official codehaus repos, http://repository.codehaus.org/, you will
find the latest stable keytool plugin:

http://repository.codehaus.org/org/codehaus/mojo/keytool-maven-plugin/

Try to use the latest webstart snapshot as well, which you can get fro
the codehaus snapshots repos.
http://snapshots.repository.codehaus.org/

The latest version is 1.0-alpha-1-SNAPSHOT and not 1.0-SNAPSHOT.

Jerome

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



Re: Cyclic references in M2 projects

2006-07-06 Thread Jo Vandermeeren

Did this issue got resolved?
I have a similar situation with 2 EJB modules depending on each other's
ejb-client jar...

Since it's a legacy project, costs need to stay low and refactoring is no
option..
Is it possible to manage the build of this project with maven 2?

On 6/16/06, Lucas Opara <[EMAIL PROTECTED]> wrote:


Ok, It is bad I agree.
But I want to know if there is a way to support cyclic references in
Maven2.

I have a project which contains Business Delegates classes. Those delegate
classes can call EJB's remotely and locally. Thus I have a cyclic
reference
between my Delegate project and my EJB's project. As EJB's may call each
other locally through the local delegates.

-Lucas

On 6/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I would strongly suggest refactoring as this is bad
>
> -Original Message-
> From: Lucas Opara [mailto:[EMAIL PROTECTED]
> Sent: 15 June 2006 15:58
> To: users@maven.apache.org
> Subject: Cyclic references in M2 projects
>
> Hello,
>
> I just migrated some of our J2EE projects to maven 2.
> Now I have the problem with dependencies, with Maven telling me that I
> have cyclic references between my projects.
> Is it possible to handle those cyclic references or do I have to do some
> refactoring?
>
> Eclipse just gives a warning when they are cyclic references, but it can
> still compile the code in the right order.
> Is Maven 2 capable of such a thing?
>
> Thanks,
>
> -Lucas
>
> Visit our website at http://www.ubs.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




Re: Projects in Continuum not building

2006-07-06 Thread Emmanuel Venisse



Alex Lam a écrit :

Hi all,

I have a question on how Continuum works.

I set up a script to check things out of SVN and burn it to a CD every
night.

However, Continuum doesn't seem to be executing the script on a nightly
basis.

The script did seem to work on Jun 29, when the revision number was at 245.
This was the last time the script executed.

However, for the past week, Continuum is not executing the script and in 
the

logfile, it says "The project was not build because there are no changes".

The log file also states the revision number is at 249. Since Jun 29, I 
have

been checking things in and out of my repository so I know there have been
changes made to it.

My question is " Is this an error in Continuum?" and how does Continuum
detect that a build has no changes? Is it by the revision number?


Continuumm detect changes when it run svn update/svn log commands.

Are you sure you have modifications on the project you look at?

Can you send us logs from the start of the build to "no changes" message?

Emmanuel



RE: Assembly and parent pom

2006-07-06 Thread Jörg Schaible
Martijn Dashorst wrote on Wednesday, July 05, 2006 4:58 PM:

> All,
> 
> If you have a project setup where all your projects have a common
> parent project, and some are dependend on the others, how can you
> accomodate the downloaders of your assemblies such that they still can
> build your project using maven if/when they are offline?
> 
> Example setup:
> 
> foo
> foo-parent
> 1.0-SNAPSHOT
> pom
> 
> 
> 
> 
> foo
> foo-parent
> 1.0-SNAPSHOT
> 
> bar
> jar
> 
> 
> The first problem is the parent pom. Is the snapshot version of the
> parent pom updated when I build the bar project?

No. Currently no SNAPSHOT is *ever* updated (parent or dependency) if one is 
available locally. Vote for MNG-1908 ;-)

> 
> How should I construct my (source) assembly for bar, such that it can
> be compiled using maven, even when the foo-parent pom is not available
> on the central repo (usually the case for snapshot versions)? Add
> (somehow) the foo-parent.pom to the assembly and provide README
> instructions to perform an install first on the parent pom?
> 
> Martijn

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



[m2] Is there a way to pickup sub-project dependencies?

2006-07-06 Thread Eric Brown

If I have a layout like this:

+ head
+-- A
   +-- A1
   +-- A2
+-- B

I want B to depend on A1 & A2 (& A3 when I add that). Is there any  
way to tell it to depend on all of A's modules instead of having to  
specify the artifact, group and version for A1, A2, etc.?



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



  1   2   >