Maven 2 JNLP

2007-12-06 Thread Ahmet Aytekin

Hi

what is the right plugin for jnlp. I have tried maven-webstart-plugin  
with no luck. I also saw the maven 2 plugin list that there is maven- 
jnlp-plugin but I couldn't find any documentation. Appreciate any help.


Regards,
Maruf


On 29.Kas.2007, at 10:23, Adrian Robert wrote:


Hi,

I read about the maven-webstart-plugin and am interested in trying it
out.  However an attempt to do 'mvn webstart:jnlp' resulted in the
prefix being looked up correctly and mapped to
"org.apache.maven.plugins:maven-webstart-plugin", but then this fails
to find anything at central with "does not exist or no valid version
could be found".

I read at this page: http://docs.codehaus.org/display/MOJO/Webstart 
+Plugin


about checking out from subversion, but, though I might be willing to
hack on this to get it working for our project, would really rather
try it out first without going to this length.  Is this possible, or
no?  Is the plugin still alive?  I'm not that experienced with maven
so I don't know if I need to be adding some additional repository
configs to pick it up (didn't see anything on the web pages at
http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart- 
maven-plugin/index.html).


thanks,
Adrian

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



Changing output of reports

2007-12-06 Thread Scott Glaser
I have a question about redirecting the output directory for reports.

 

By running:

 

%mvn surefire-report:report -DoutputDirectory=/tmp/test-report

 

I don't get the generated html report in /tmp/test-report. It still goes
to the default location. How do I send the html output to a different
location?

 

This also goes for:

 

% mvn pmd:pmd -DoutputDirectory=/tmp/pmd-report

 

And 

 

% mvn checkstyle:checkstyle DoutputDirectory=/tmp/checkstyle-report

 

Thanks,

Scott



RE: Bootstrapping problem with parent POM

2007-12-06 Thread Brian E. Fox
The recommended best practice is _not_ to define repos in your poms.
This issue you ran into is only one of many reasons why. You can search
the dev list for more discussions. The best way is to define your repos
in your settings file.

-Original Message-
From: Siegmann Daniel, NY [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 06, 2007 6:17 PM
To: Maven Users List
Subject: Bootstrapping problem with parent POM

I unhappily stumbled across a bootstrapping problem. My project's parent
POM defines the internal repository - the same repository where the
parent POM is located. So there is no way for Maven to get the parent
POM.

Is there any way to specify a repository URL on the command line so
Maven can download the parent POM? I searched the mailing list archives
and the Maven website, as well as the general Internet, but turned up
nothing.

--
Daniel Siegmann
FJA-US, Inc.
512 7th Ave. 15th Flr. New York, NY 10018
(212) 840-2618 x139 

-
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: Bootstrapping problem with parent POM

2007-12-06 Thread Siarhei Dudzin
Not sure abut command line, but you can specify repositories in settings.xml

On 12/7/07, Siegmann Daniel, NY <[EMAIL PROTECTED]> wrote:
>
> I unhappily stumbled across a bootstrapping problem. My project's parent
> POM defines the internal repository - the same repository where the
> parent POM is located. So there is no way for Maven to get the parent
> POM.
>
> Is there any way to specify a repository URL on the command line so
> Maven can download the parent POM? I searched the mailing list archives
> and the Maven website, as well as the general Internet, but turned up
> nothing.
>
> --
> Daniel Siegmann
> FJA-US, Inc.
> 512 7th Ave. 15th Flr. New York, NY 10018
> (212) 840-2618 x139
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Bootstrapping problem with parent POM

2007-12-06 Thread Siegmann Daniel, NY
I unhappily stumbled across a bootstrapping problem. My project's parent
POM defines the internal repository - the same repository where the
parent POM is located. So there is no way for Maven to get the parent
POM.

Is there any way to specify a repository URL on the command line so
Maven can download the parent POM? I searched the mailing list archives
and the Maven website, as well as the general Internet, but turned up
nothing.

--
Daniel Siegmann
FJA-US, Inc.
512 7th Ave. 15th Flr. New York, NY 10018
(212) 840-2618 x139 

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



Re: Create dir

2007-12-06 Thread Wayne Fay
Tell us what you're really trying to do (ultimate goal), and we can
probably help you better.

If you just want to create a directory, then use the antrun plugin
with , or write your own plugin and invoke it.

Wayne

On 12/6/07, Arthur  Rodrigues Stilben <[EMAIL PROTECTED]> wrote:
> I would like to know how can I create a directory in the windows using maven.
>
>
> Arthur Rodrigues Stilben
>
> -
> 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]



Create dir

2007-12-06 Thread Arthur Rodrigues Stilben
I would like to know how can I create a directory in the windows using maven.


Arthur Rodrigues Stilben

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



Re: [M2] multiple source directories for -sources.jar?

2007-12-06 Thread Mick Knutson
Sure, depends upon what you need. Glad it worked.

On Dec 6, 2007 9:53 AM, CodingPlayer <[EMAIL PROTECTED]> wrote:

>
> this works great, simple added:
>
>  
>org.codehaus.mojo
>build-helper-maven-plugin
>1.0
>
>  
>add-source
>generate-sources
>
>  add-source
>
>
>  
>target/jaxws/wsgen/java
>  
>
>  
>
>  
>
> nothing else.
>
> thx 4 help
> R.C.
>
>
>
> Mick Knutson-4 wrote:
> >
> > 
> > org.codehaus.mojo
> > build-helper-maven-plugin
> > 
> > 
> > add-source
> > generate-sources
> > 
> > add-source
> > 
> > 
> > 
> >
> > ${basedir}/src/main/generated-sources
> >
> > ${basedir}/src/main/java
> > 
> >
> > 
> > 
> > *
> > java
> >
> required
> > 
> >
> > 
> >
> > ${basedir}/src/main/generated-sources/
> > xml
> >
> required
> > 
> >
> > 
> > 
> > 
> >
> > 
> > 
> >
> >
> >
> >
> > On Dec 6, 2007 9:22 AM, CodingPlayer <[EMAIL PROTECTED]>
> > wrote:
> >
> >>
> >> Hi,
> >>
> >> i currently try to bundle all my sources together with generated
> sources
> >> from the jaxws-maven-plugin (for the use of webservices).
> >>
> >> my own sources are in the default directory:
> >> src/main/java/
> >>
> >> and the jaxws-maven.plugin is configured to store the generated sources
> >> into
> >> the following directory:
> >> target/jaxws/wsgen/java
> >>
> >> how can i configure the maven-sources-plugin to put all sources from
> both
> >> locations into the -sources.jar file?
> >>
> >> as far as i found out, neither the maven  nor the
> >> maven-sources-plugins can deal with multiple source directories.
> >>
> >> http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_build
> >> http://maven.apache.org/plugins/maven-source-plugin/index.html
> >>
> >> appreciating any ideas
> >>
> >> thx
> >> R.C.
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/-M2--multiple-source-directories-for--sources.jar--tf4957408s177.html#a14196924
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > Thanks,
> > Mick Knutson
> >
> > http://www.baselogic.com
> > http://www.blincmagazine.com
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> > http://www.myspace.com/BLiNCMagazine
> > http://tahoe.baselogic.com
> > ---
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/-M2--multiple-source-directories-for--sources.jar--tf4957408s177.html#a14197494
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---


Re: [M2] multiple source directories for -sources.jar?

2007-12-06 Thread CodingPlayer

this works great, simple added:

  
org.codehaus.mojo
build-helper-maven-plugin
1.0

  
add-source
generate-sources

  add-source


  
target/jaxws/wsgen/java
  

  



nothing else.

thx 4 help
R.C.



Mick Knutson-4 wrote:
> 
> 
> org.codehaus.mojo
> build-helper-maven-plugin
> 
> 
> add-source
> generate-sources
> 
> add-source
> 
> 
> 
> 
> ${basedir}/src/main/generated-sources
> 
> ${basedir}/src/main/java
> 
> 
> 
> 
> *
> java
> required
> 
> 
> 
> 
> ${basedir}/src/main/generated-sources/
> xml
> required
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Dec 6, 2007 9:22 AM, CodingPlayer <[EMAIL PROTECTED]>
> wrote:
> 
>>
>> Hi,
>>
>> i currently try to bundle all my sources together with generated sources
>> from the jaxws-maven-plugin (for the use of webservices).
>>
>> my own sources are in the default directory:
>> src/main/java/
>>
>> and the jaxws-maven.plugin is configured to store the generated sources
>> into
>> the following directory:
>> target/jaxws/wsgen/java
>>
>> how can i configure the maven-sources-plugin to put all sources from both
>> locations into the -sources.jar file?
>>
>> as far as i found out, neither the maven  nor the
>> maven-sources-plugins can deal with multiple source directories.
>>
>> http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_build
>> http://maven.apache.org/plugins/maven-source-plugin/index.html
>>
>> appreciating any ideas
>>
>> thx
>> R.C.
>> --
>> View this message in context:
>> http://www.nabble.com/-M2--multiple-source-directories-for--sources.jar--tf4957408s177.html#a14196924
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Thanks,
> Mick Knutson
> 
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-M2--multiple-source-directories-for--sources.jar--tf4957408s177.html#a14197494
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: [c-1.1] Can't edit project notifiers?

2007-12-06 Thread Mick Knutson
And 2 other items about nitifiers:

1. My email group internally starts with a hash (#) [EMAIL PROTECTED] and I 
added
it to the project, but does not take:


continuum
http://rc-sun66e.ut.dentegra.lab:8080/continuum


mail
true
true
true
true
[EMAIL PROTECTED]




In continuum:
mail [EMAIL PROTECTED] Success/Failures/Warnings/Errors Project [image:
Edit]  [image: Edit]

Also,

I have specific developers for each module. How can I have the emails sent
to the developers from the module that fails? I have setup the
... in each module pom.xml
But I also did NOT add each module pom.xml, I used this check box:*

* *
* * For multi modules project, load only root as recursive build*
so only the master pom.xml displays.





On Dec 6, 2007 8:18 AM, Mick Knutson <[EMAIL PROTECTED]> wrote:

> I see the changes in the  when I update the pom, but the strange thing
> is, I still don't see the emails. Now I created a tools pom with some
> utilities in it, and added a user notifier with the same email address, and
> it got delivered. But the one for my main project does not.
>
>
>
> On Dec 5, 2007 10:39 PM, Antonín Faltýnek <[EMAIL PROTECTED]> wrote:
>
> > On Dec 3, 2007 6:08 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > > I have had to add an additional project notifier because the default
> > one
> > > does not allow me to edit it. How can I edit, or how does Continuum
> > assign
> > > the recipient to the default notifier?
> > >
> > > PROJECT NAME Type Recipient Events
> > > Tools<
> > >
> > http://rc-sun66e.ut.dentegra.lab:8080/continuum/projectView.action?projectId=61
> > > >
> > > mail unknown Error/Failure/Success/Warning [image: Edit]  [image:
> > Delete]
> > > Tools<
> > >
> > http://rc-sun66e.ut.dentegra.lab:8080/continuum/projectView.action?projectId=61
> > > >
> > > mail [EMAIL PROTECTED], latest committers
> > > Error/Failure/Success/Warning  [image:
> > > Edit]
> > > <
> > >
> > http://rc-sun66e.ut.dentegra.lab:8080/continuum/editProjectNotifier.action?projectId=61¬ifierType=mail&fromGroupPage=true&projectGroupId=6¬ifierId=408
> > > >
> > >  [image:
> > > Delete]
> > > <
> > >
> > http://rc-sun66e.ut.dentegra.lab:8080/continuum/deleteProjectNotifier.action?projectId=61&confirmed=false&fromGroupPage=true&projectGroupId=6¬ifierId=408
> > > >
> > >  WAR
> > > Archetype<
> > >
> > http://rc-sun66e.ut.dentegra.lab:8080/continuum/projectView.action?projectId=67
> > > >
> > > mail unknown Error/Failure/Success/Warning [image: Edit]  [image:
> > Delete]
> > >
> > > I also added this to my master pom:
> > >
> > >continuum
> > > http://rc-sun66e.ut.dentegra.lab:8080/continuum
> > >
> > >
> > >mail
> > >true
> > >true
> > >true
> > >true
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >
> > >
> > > But that did not seem to help Or must I restart Continuum for that
> > to
> > > take affect?
> > >
> > >
> > >
> > > --
> > > Thanks,
> > > Mick Knutson
> > >
> > > http://www.baselogic.com
> > > http://www.blincmagazine.com
> > > http://www.djmick.com
> > > http://www.myspace.com/mickknutson
> > > http://www.myspace.com/BLiNCMagazine
> > > http://tahoe.baselogic.com
> > > ---
> > >
> >
> > There are two groups of notifiers, first that can be defined in project
> > POM
> > and could not be edited in Continuum, and second that can be defined in
> > Continuum. That is probably the reason that you was not able to edit the
> >
> > notifier - it was defined in you POM.
> >
> > If make any changes into any POM, it is necessary to remove appropriate
> > POM
> > from maven repository used by Continuum. When Continuum updates project
> > from
> > SCM it will update all informations from project POM.
> >
> > Tonda Faltynek
> >
>
>
>
> --
>
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/BLiNCMagazine
> http://tahoe.baselogic.com
> ---
>



-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---


Re: [M2] multiple source directories for -sources.jar?

2007-12-06 Thread Wayne Fay
Sounds like a reasonable addition to the plugin. Check JIRA, and if it
isn't already posted, go ahead and add it.

Wayne

On 12/6/07, CodingPlayer <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> i currently try to bundle all my sources together with generated sources
> from the jaxws-maven-plugin (for the use of webservices).
>
> my own sources are in the default directory:
> src/main/java/
>
> and the jaxws-maven.plugin is configured to store the generated sources into
> the following directory:
> target/jaxws/wsgen/java
>
> how can i configure the maven-sources-plugin to put all sources from both
> locations into the -sources.jar file?
>
> as far as i found out, neither the maven  nor the
> maven-sources-plugins can deal with multiple source directories.
>
> http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_build
> http://maven.apache.org/plugins/maven-source-plugin/index.html
>
> appreciating any ideas
>
> thx
> R.C.
> --
> View this message in context: 
> http://www.nabble.com/-M2--multiple-source-directories-for--sources.jar--tf4957408s177.html#a14196924
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: [M2] multiple source directories for -sources.jar?

2007-12-06 Thread Mick Knutson

org.codehaus.mojo
build-helper-maven-plugin


add-source
generate-sources

add-source




${basedir}/src/main/generated-sources

${basedir}/src/main/java




*
java
required




${basedir}/src/main/generated-sources/
xml
required












On Dec 6, 2007 9:22 AM, CodingPlayer <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> i currently try to bundle all my sources together with generated sources
> from the jaxws-maven-plugin (for the use of webservices).
>
> my own sources are in the default directory:
> src/main/java/
>
> and the jaxws-maven.plugin is configured to store the generated sources
> into
> the following directory:
> target/jaxws/wsgen/java
>
> how can i configure the maven-sources-plugin to put all sources from both
> locations into the -sources.jar file?
>
> as far as i found out, neither the maven  nor the
> maven-sources-plugins can deal with multiple source directories.
>
> http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_build
> http://maven.apache.org/plugins/maven-source-plugin/index.html
>
> appreciating any ideas
>
> thx
> R.C.
> --
> View this message in context:
> http://www.nabble.com/-M2--multiple-source-directories-for--sources.jar--tf4957408s177.html#a14196924
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---


[M2] multiple source directories for -sources.jar?

2007-12-06 Thread CodingPlayer

Hi,

i currently try to bundle all my sources together with generated sources
from the jaxws-maven-plugin (for the use of webservices).

my own sources are in the default directory:
src/main/java/

and the jaxws-maven.plugin is configured to store the generated sources into
the following directory:
target/jaxws/wsgen/java

how can i configure the maven-sources-plugin to put all sources from both
locations into the -sources.jar file?

as far as i found out, neither the maven  nor the
maven-sources-plugins can deal with multiple source directories.

http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_build
http://maven.apache.org/plugins/maven-source-plugin/index.html

appreciating any ideas

thx
R.C.
-- 
View this message in context: 
http://www.nabble.com/-M2--multiple-source-directories-for--sources.jar--tf4957408s177.html#a14196924
Sent from the Maven - Users mailing list archive at Nabble.com.


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



[m2] Anyone have groovy examples for installing applications, and sysAdmin tasks with a build?

2007-12-06 Thread Mick Knutson
I want to get away from extensive shell scripting, and move to groovy if
possible for all these tasks. Anyone have any examples?

-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---


Re: Bug: offline build not running, when having SNAPSHOT dependencies

2007-12-06 Thread Matthias Wessendorf
and... for some reasons, sometimes,
it just downloads a new SNAPSHOT.

That is a pain, when you are "maintaining" the same snapshot on your
box, but the build just goes ahead and actually downloads a version..

Thx,
Matthias

On Dec 6, 2007 9:37 AM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am having troubles with
> mvn ... -o
> (with maven 2.0.7)
>
> says not able to download (but, really, the file is in my local repo)
> The dependency is a -SNAPSHOT (for what's worth)
>
> Luckily, when traveling by train, I had maven 2.0.4 on my box as well.
> A change to use 2.0.4 works fine.
>
> So, is this an already know bug in 2.0.7 ?
> To my understanding it is a bug, since offline just shouldn't try to get a 
> newer
> SNAPSHOT, perhaps I am wrong.
>
> I know that relying on SNAPSHOTs can be dangerous, but from -o I would expect
> just not checking for new stuff.
>
> Thanks!
> Matthias
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

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



Re: Error while customizing Appearance (Company Details)

2007-12-06 Thread Denis Schettl

Hi Nico,
I have checked this, but the behavior is the same ... Is there someone out
there, who knows how this feature should work and have an example-pom?

So long ...
Denis

nicolas de loof-2 wrote:
> 
>  is invalid according to maven POM schema
> 
> AFAIK you have to define a property  in .
> 
> Nico.
> 
> 
> 2007/11/30, Denis Schettl <[EMAIL PROTECTED]>:
>>
>>
>> I am using Archiva 1.0 running on Tomcat 6.0.14  (with Java jre1.6.0_03):
>> 1) I create a pom with company details:
>> 
>> 
>> 4.0.0
>> de.ipcc.km
>> kmvorgaben
>> pom
>> 1.0.0
>> bla
>> 
>> IPCC
>> http://x.y.z.u:port/IPCC-logo.jpg
>> http://something
>> 
>> 
>> 2) I enter this information in the appearance-Screen.
>> 3) After pressing save i see an exception report on my screen:
>> exception
>>
>> javax.servlet.ServletException: java.lang.NullPointerException
>>
>> com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(
>> DispatcherUtils.java:284)
>>
>> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(
>> FilterDispatcher.java:202)
>>
>> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(
>> PageFilter.java:118)
>>
>> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(
>> PageFilter.java:52)
>>
>> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(
>> ActionContextCleanUp.java:88)
>>
>>
>> root cause
>>
>> java.lang.NullPointerException
>>
>>
>> org.apache.maven.shared.app.configuration.io.registry.ConfigurationRegistryWriter.writeCompanyPom
>> (ConfigurationRegistryWriter.java:45)
>>
>>
>> org.apache.maven.shared.app.configuration.io.registry.ConfigurationRegistryWriter.writeConfiguration
>> (ConfigurationRegistryWriter.java:32)
>>
>>
>> org.apache.maven.shared.app.configuration.io.registry.ConfigurationRegistryWriter.write
>> (ConfigurationRegistryWriter.java:22)
>>
>>
>> org.apache.maven.shared.app.configuration.DefaultMavenAppConfiguration.save
>> (DefaultMavenAppConfiguration.java:73)
>>
>>
>> org.apache.maven.archiva.web.action.admin.appearance.ConfigureAppearanceAction.execute
>> (ConfigureAppearanceAction.java:70)
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> java.lang.reflect.Method.invoke(Unknown Source)
>>
>> com.opensymphony.xwork.DefaultActionInvocation.invokeAction(
>> DefaultActionInvocation.java:358)
>>
>> com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(
>> DefaultActionInvocation.java:218)
>>
>> com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:192)
>>
>> 4) When i go back, then I see the logo on the upper right side of
>> archiva.
>> When I restart archiva anything is gone ... The logo is no longer there.
>> 5) When I check the repo (a maven2-style-repo) I found a new file named
>> maven-metadata.xml in the directory de\ipcc\km\kmvorgaben\1.0.0 where
>> before
>> was only my company-pom ... Strange 
>>
>> Did I something wrong? Is there a problem, because of my logo-entry in
>> the
>> pom? Where can I place my logo entry? Or is this a bug?
>>
>> Please help me 
>>
>> So long ...
>> Denis
>> --
>> View this message in context:
>> http://www.nabble.com/Error-while-customizing-Appearance-%28Company-Details%29-tf4902124.html#a14042367
>> Sent from the archiva-users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-while-customizing-Appearance-%28Company-Details%29-tf4902124.html#a14194517
Sent from the archiva-users mailing list archive at Nabble.com.



Continuum Profile during release?

2007-12-06 Thread Wendy Smoak
If I define a Continuum Profile (CP)  [1] for scheduled builds, for
example to build with a different JDK than the one Continuum is
running under, how do I make sure that CP is used when I release the
project?

Under the Project Group Actions, I could argue that choosing a CP and
then clicking Release could be expected to work.  But how about the
release icon to the right of each project in the list?

[1] (this is confusing, Maven already has profiles...)

-- 
Wendy


release:branch

2007-12-06 Thread Borut Bolčina
Hi,

why is branch name stated as optional at
http://maven.apache.org/plugins/maven-release-plugin/branch-mojo.html when
it clearly isn't? Also the example at
http://maven.apache.org/plugins/maven-release-plugin/examples/branch.html is
saying

To execute this step, run:

mvn release:branch


which gives:
[INFO] [release:branch]
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The branch name is required.



???


Re: Insert images in APT

2007-12-06 Thread Lukas Theussl

Ok, I have another explanation :)

http://jira.codehaus.org/browse/DOXIA-118

Can you confirm that it's only the pdf generation via itext that doesn't 
work?


-Lukas


Gervais, Christophe wrote:

Thank for your help Lukas,

Unfortunatly it does not solve the issue.

Christophe
-Original Message-
From: Lukas Theussl [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 06, 2007 11:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Insert images in APT

Oh, the resources are copied directly into the main directory of the site, see 
http://maven.apache.org/guides/mini/guide-site.html

So it should work with

[images/OpenMediation_Architecture.png] Architecture Overview

HTH,
-Lukas


Gervais, Christophe wrote:


Hi,

I've also tried but I've got the same error.

APT file contains:

[../resources/images/OpenMediation_Architecture.png] Architecture

I've also tried to specify the resources in the pom file, but it does not help:

Thank
Christophe



   
   
   src/site/resources
   
   images/**
   
   
   
   
   org.apache.maven.doxia
   doxia-maven-plugin
   1.0-alpha-10
   
   
   compile
   
   render-books
   
   
   
   
   
   
   
src/site/apt
   
src/site/book.xml
   
   
   
pdf
   
   
   
xdoc
   
   
   
   
   
   

-Original Message-
From: Lukas Theussl [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 06, 2007 10:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Insert images in APT


You have to include the figure extension in the link. This is a
current bug that will be fixed soon:
http://jira.codehaus.org/browse/DOXIA-99

HTH,
-Lukas


Gervais, Christophe wrote:



Hello,

I cannot insert picture in APT files. I've got the following exception 
generating my doc:
  MalformedURLException: The URL of the image is missing.


My project structure is the following:


  | src
   | site
 |-- apt
 ||--- 
 |---resources
  | images
 |- 

The picture is referenced using the following syntax in the APT file:

  [../resources/images/OpenMediation_Architecture] Architecture
Overview

Could you help?
Thank
Christophe

Full error stack is:

The image ../resources/images/OpenMediation_Architecture not found in the class 
loader. Try to call setClassLoader(ClassLoader) before.
[INFO]
--
--
[ERROR] FATAL ERROR
[INFO]
--
-- [INFO] The URL of the image is missing.
[INFO]
--
--
[INFO] Trace
ExceptionConverter: java.net.MalformedURLException: The URL of the image is 
missing.
  at com.lowagie.text.Image.getInstance(Unknown Source)
  at com.lowagie.text.xml.SAXiTextHandler.handleStartingTags(Unknown Source)
  at com.lowagie.text.xml.SAXiTextHandler.startElement(Unknown Source)
  at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
  at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
  at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
  at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScan
nerImpl.java:1693)
  a

[1.0.3] Add -Xmx to jvm parameters

2007-12-06 Thread MATHUS Baptiste
Hi all,

I found this bug report : http://jira.codehaus.org/browse/CONTINUUM-44, but I'm 
using continuum 1.0.3.
I'd like to add something like -Xmx1024m to jvm launched by maven launched by 
continuum :-). 

I don't care if I must put this option for every registered projects. So if 
there's a solution redefinining this option globally, that will fit my needs.
What could be the best option ?

Thanks a lot.

Cheers.
-- 
Baptiste


Re: any tag for customized path ejb-jar.xml?

2007-12-06 Thread eol

I had the same problem. According to this post 
http://www.nabble.com/-jira--Created%3A-%28MIDEA-95%29-location-of-ejb-jar.xml-is-hard-coded-tf3928089s177.html#a11140114
http://www.nabble.com/-jira--Created%3A-%28MIDEA-95%29-location-of-ejb-jar.xml-is-hard-coded-tf3928089s177.html#a11140114
 
the location of ejb-jar.xml is hard coded to
src/main/resources/META-INF/ejb-jar.xml. 
I use WSAD5.1/RAD6. I added my ejb-jar location (ejbModule/META-INF) to
, but it didn't work for me. 

My workaround to add an antrun plugin that copies the ejb-jar.xml file
before packaging:


org.apache.maven.plugins
maven-antrun-plugin

  
generate-sources

  


  


  run

  

  

Note:
1. If you use WSAD/RAD, you'll probably want to copy the entire META-INF
directory since it may include IBM-specific ejb binding files. 
2. The above script deletes "src" and all its subdirectories...

/Jonas Öhrnell



Teody Cue Jr. wrote:
> 
> Hi Kiran,
> 
> I'm not sure what you are trying to do here but I guess you want to put 
> your ejb-jar.xml somewhere else aside from src/main/resources/META-INF.. 
> and be copied to the right path in the war file.
> 
> You can put it anywhere you want to and just add it under the  
> tag. It will be automatically copied to your build output directory 
> during the process-resource phase of the maven life cycle. There are 
> options such as ,  and . For more 
> information, please see the schema for the POM here: 
> http://maven.apache.org/pom.html
> 
> But I think it is better to put everything or most things in its default 
> directory. As that's one of the nice features/advantages that maven has 
> - convention over configuration. Just my 2 cents though.
> 
> Hope this helps.
> 
> Teody
> 
> 
> 
> Kiran Kodlady wrote:
>> Hello, 
>>
>> can anyone tell me - is there any tag for customized path for
>> ejb-jar.xml?? 
>> Default value is  - src/main/resources/META-INF.. 
>>
>> Thanks in advance, 
>>
>> Kiran Kodlady
>>   
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/any-tag-for-customized-path-ejb-jar.xml--tf4127679s177.html#a1419
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Maven and Ant

2007-12-06 Thread Ethan . Allen
Thank you Kallin. You are correct, and the taskdefs are defined in the POM 
as well.

Ethan Allen
Extension 7563 (desk)
414.467.9185 (mobile)
[EMAIL PROTECTED] (paging)
[EMAIL PROTECTED] (paging)



"Kallin Nagelberg" <[EMAIL PROTECTED]> 
12/05/2007 04:05 PM
Please respond to
"Maven Users List" 


To
"Maven Users List" 
cc

Subject
Re: Maven and Ant






I may be totally off on this but I'm pretty sure that when using the
maven-antrun-plugin maven uses ant artifacts from the maven repo.

IE some of these guys:
http://www.mvnrepository.com/artifact/org.apache.ant


On Dec 5, 2007 11:41 AM, <[EMAIL PROTECTED]> wrote:

> Newbie here .. .pretty much ... appreciate help with basic question or
> pointers to finding help ;-)
>
> How does Maven know which version of Ant to use ?  We're using Maven to
> build for Weblogic, and I'm wondering how it finds the various taskdefs
> BEA provides ... I'm puzzled.
>
> thanks in advance for any help !
>
> Ethan Allen
> Extension 7563 (desk)
> 414.467.9185 (mobile)
> [EMAIL PROTECTED] (paging)
> [EMAIL PROTECTED] (paging)
>
> CONFIDENTIALITY NOTICE:
> This is a transmission from Kohl's Department Stores, Inc.
> and may contain information which is confidential and proprietary.
> If you are not the addressee, any disclosure, copying or distribution or
> use of the contents of this message is expressly prohibited.
> If you have received this transmission in error, please destroy it and
> notify us immediately at 262-703-7000.
>
> CAUTION:
> Internet and e-mail communications are Kohl's property and Kohl's 
reserves
> the right to retrieve and read any message created, sent and received.
>  Kohl's reserves the right to monitor messages by authorized Kohl's
> Associates at any time
> without any further consent.
>


CONFIDENTIALITY NOTICE: 
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or use of 
the contents of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and notify 
us immediately at 262-703-7000.

CAUTION:
Internet and e-mail communications are Kohl's property and Kohl's reserves the 
right to retrieve and read any message created, sent and received.  Kohl's 
reserves the right to monitor messages by authorized Kohl's Associates at any 
time
without any further consent.


Re: mvn site:site run maven-antrun-plugin, why?

2007-12-06 Thread Erez Nahir
Removing javadoc and jdepend plugin from reporting section seems to solve
the issue.

Any idea why?

Here is the plugins configuration I removed (both
under profile/reporting/plugins element at the root pom of the project).

  
org.apache.maven.plugins
maven-javadoc-plugin
2.2

  true
  
http://java.sun.com/j2se/1.5.0/docs/api/
  

  
  
org.codehaus.mojo
jdepend-maven-plugin
2.0-beta-1
  

Thanks,
Erez.

On Dec 5, 2007 11:45 PM, Nick Stolwijk <[EMAIL PROTECTED]> wrote:

> Then try a mvn -X build, capture the output with a pipe or tee and start
> searching which plugin is executed before the antruns.
>
> Hth,
>
> Nick S.
>
> Erez Nahir wrote:
> > Thanks Nick,
> >
> > Nope we do not use surefire reporst, but, maybe another plugin is doing
> > similar thing.
> > One of my guesses was that it has to do with plugins the forks the VM,
> but,
> > that's also just a guess at this time.
> >
> > Erez.
> >
> > On Dec 5, 2007 10:02 PM, Nick Stolwijk <[EMAIL PROTECTED]> wrote:
> >
> >
> >> If I may have a guess, you're using the surefire reports? And all the
> >> antruns are in or before the test phase?
> >>
> >> The surefire-report:report goal runs also the mvn test lifecycle. If
> >> this is the case, you can use the surefire-report:report-only goal.
> Only
> >> make sure that the surefire xml files are already in place, because
> >> those aren't generated in this case.
> >>
> >> Hth,
> >>
> >> Nick Stolwijk
> >>
> >> Erez Nahir wrote:
> >>
> >>> Thanks Mick and Wendy for your prompt reply,
> >>>
> >>> Mick, unfortunately I can not use this (good) idea, my antrun is
> running
> >>>
> >> in
> >>
> >>> many modules processing different tasks.
> >>>
> >>> I'll try
> >>>
> >>> On Dec 5, 2007 9:20 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
>  I had this issue, and filtered out the module that used the ant-run
> 
> >> like:
> >>
> 
> 
> 
> documentation
> 
> 
> business-services
> common-c2
> 
> 
> 
> 
> no-documentation
> 
> 
>   
> build.type
> !documentation
>   
> 
> 
> 
> bpel
> business-services
> common-c2
> 
> 
> 
> 
> 
>  and I just run mvn -P documentation site:site
> 
> 
> 
>  On Dec 5, 2007 11:17 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> 
> 
> 
> > On Dec 5, 2007 12:01 PM, Erez Nahir <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >> I have being trying to ask this question in the past, searched for
> >>
> >>
>  forum
> 
> 
> > and
> >
> >
> >> read documentation, but, no answer yet. I'll try again hopefully I
> >>
> >>
>  will
> 
> 
> > get
> >
> >
> >> an answer (or maybe just hints) what is going on.
> >>
> >> So, we have a multi module project with some antrun configuration
> >>
> >>
> > running in
> >
> >
> >> some modules during the build.
> >> None of the ant tasks is configure to run in the site lifecycle,
> all
> >>
> >>
>  are
> 
> 
> >> during standard lifecycle.
> >>
> >>
> > Without seeing the poms it's really hard to tell.  The best thing
> you
> > can do is construct the simplest possible example that demonstrates
> > the problem.  Often you'll figure it out yourself while doing that,
> > but if not, you can zip it up and post a link for someone to look
> at,
> > or attach it to a JIRA issue if it seems like there's  bug.
> >
> > --
> > Wendy
> >
> >
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>  --
>  Thanks,
>  Mick Knutson
> 
>  http://www.baselogic.com
>  http://www.blincmagazine.com
>  http://www.djmick.com
>  http://www.myspace.com/mickknutson
>  http://www.myspace.com/BLiNCMagazine
>  http://tahoe.baselogic.com
>  ---
> 
> 
> 
> >>>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: dashboard and site plugin

2007-12-06 Thread dvicente

Hi,

could you post a  http://jira.codehaus.org/browse/MOJO JIRA issue  for this
problem with a sample project as attachment ?

Best regards

David


emerson cargnin wrote:
> 
> Erez
> 
> I presume you don't have any sub-project with a . on the name : )
> 
> emerson
> 
> On 05/12/2007, Erez Nahir <[EMAIL PROTECTED]> wrote:
>> So am I.
>> Like every other 1.0-SNAPSHOT, there are things to improve, but still,
>> greate work.
>>
>> Erez.
>>
>> P.S. it works for us on a multi module project with no issues.
>>
>> On Dec 5, 2007 7:16 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
>>
>> > http://mojo.codehaus.org/dashboard-maven-plugin/index.html
>> > I love the plugin and it works great
>> >
>> >
>> > On Dec 5, 2007 6:00 AM, emerson cargnin <[EMAIL PROTECTED]>
>> > wrote:
>> >
>> > > Hi guys, after a long while I got the dashboard to work, although the
>> > > usage page is really misleading. I put here (
>> > > http://echofloripa.blogspot.com/2007/12/maven2-dashboard-plugin.html
>> )
>> > > a how-to on how make the basic feature of it to work, as in there the
>> > > plugin version is missing on the pom and on the dashboard maven
>> > > command. The dashboard plugin when using aggragate report, the link
>> to
>> > > submodules doesn't work when they have a '.' on it. Aparently it gets
>> > > clipped after the dot.
>> > >
>> > > Also, I got a bit deceptive as I expected the site and dashboard
>> > > plugin to be stable enough in maven2. The site plugin for
>> multimodules
>> > > projects don't work as expected/advertised, for example, the command
>> :
>> > >
>> > > -mvn site:stage
>> > >
>> > > Alright that site:site doesn't work as m1, it's said in the faq also.
>> > > But the site:stage command, which the faq tells is the right way to
>> > > get the muilti-module site structure together. Well it just doesn't
>> > > happen and someone on the maven IRC channel said it has issues.
>> > >
>> > > Don't want to start fud here, I'm just a bit down as I've been
>> > > advertising a lot maven 2 to substitute maven1 where I work, using as
>> > > main arguments that maven 2 is much more stable and mature. But i see
>> > > it's not quite the case. I really hope I'm wrong.
>> > >
>> > > Emerson
>> > >
>> > > -
>> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > >
>> > >
>> >
>> >
>> > --
>> > Thanks,
>> > Mick Knutson
>> >
>> > http://www.baselogic.com
>> > http://www.blincmagazine.com
>> > http://www.djmick.com
>> > http://www.myspace.com/mickknutson
>> > http://www.myspace.com/BLiNCMagazine
>> > http://tahoe.baselogic.com
>> > ---
>> >
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/dashboard-and-site-plugin-tf4949858s177.html#a14191216
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: gathe rlist of plugin in poms

2007-12-06 Thread Sonar, Nishant
Hi 
Calling mvn dependency:resolve-plugins solved it!

Regards,
Nishant Sonar

-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 29, 2007 10:28 PM
To: Maven Users List
Subject: Re: gathe rlist of plugin in poms

You can use the maven-help-plugin for this. The following command will 
give you *lots* of information, but it will include the plugins that you

have configured.

mvn help:effective-pom

Sonar, Nishant wrote:
> Hi 
> 
>  
> 
> I want to gather list of all plugins used in the poms , with there
> versions,groupid and artifact id. 
> 
> For dependency we are using dependency:resolve is there any command
for
> plugin
> 
>  
> 
> -Nishant
> 
>  
> 
> 


-- 
Dennis Lundberg

-
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: Build an Eclipse (3.3) RCP Application with Maven2

2007-12-06 Thread Graham Leggett

Michael Mühlebach wrote:


The client is an Eclipse RCP application built on version 3.3.1 which
has several plugins.
Here are my fist difficulties: Is the client one project in maven or a
multi module project which has for each plugin a project like it is in
eclipse itself?


To help you understand how to solve this, you need to know what the two 
main maven plugins that may help you, do. Once we figured this out, it 
made things significantly easier.


First, the maven-eclipse-plugin. The purpose of this plugin is to 
synchronise information (mainly dependencies) from the maven world, into 
the eclipse world, and that is it.


To do this, the maven-eclipse-plugin either creates or modifies the 
.classpath, .project and MANIFEST.MF files in your Eclipse plugin 
project, with various details that maven knows.


The maven-eclipse-plugin doesn't have any knowledge on how to build 
anything, its job ends at synchronising the configs between the two.


The second, the pde-maven-plugin, allows you to trigger an Eclipse PDE 
build from within maven, and deploy the resulting build into the maven 
repository.


This second part is important to understand: The pde-maven-plugin simply 
wraps the Eclipse PDE build system so that it can be started off by 
maven, and again, doesn't do anything more.


The key secret behind getting this to work, is to create a working 
Eclipse PDE build, and one this works - to wrap this build in 
pde-maven-plugin so maven can kick it off.


Some things you will need to do to get this to work:

- Your directory structure and project layout will be dictated to you by 
Eclipse PDE. Maven will have to conform to whatever directory layout 
Eclipse wants, not the other way around.


What Eclipse typically wants is a directory called "plugins", and each 
plugin underneath this directory. We set up a multi-module maven config, 
with a root pom in the same directory as "plugins", and including 
submodule poms in each plugin directory, like this:


pom.xml
plugins/
plugins/com.example.plugin1/
plugins/com.example.plugin1/pom.xml
plugins/com.example.plugin2/
plugins/com.example.plugin2/pom.xml

- If your plugins depend on plain-old-java-objects or EJBs (as is 
typical in a client server environment), then there is more fun.


If you use EJB3 and simple interfaces, you may be able to create an 
Eclipse plugin containing your EJB interface, that is both an eclipse 
plugin, and an EJB. Because it is a plugin, Eclipse sees it using the 
standard eclipse mechanism, and because it is an EJB deployed in a maven 
repository, your client/server backend can use the same jar file and not 
care that eclipse is involved.


The second way to do this, which if you don't have a clean interface 
between the Eclipse RCP stuff and the server, is to make your eclipse 
plugin depend directly on the jars you need by specifying them in the 
plugin pom, described here:


http://maven.apache.org/plugins/maven-eclipse-plugin/pde.html

Regards,
Graham
--



smime.p7s
Description: S/MIME Cryptographic Signature


Re: dashboard and site plugin

2007-12-06 Thread Erez Nahir
Hi Emerson,

Nope, we don't have it (and now, I'll make sure no one add it in the future)
;-)

Erez.

On Dec 6, 2007 12:50 PM, emerson cargnin <[EMAIL PROTECTED]> wrote:

> Erez
>
> I presume you don't have any sub-project with a . on the name : )
>
> emerson
>
> On 05/12/2007, Erez Nahir <[EMAIL PROTECTED]> wrote:
> > So am I.
> > Like every other 1.0-SNAPSHOT, there are things to improve, but still,
> > greate work.
> >
> > Erez.
> >
> > P.S. it works for us on a multi module project with no issues.
> >
> > On Dec 5, 2007 7:16 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > > http://mojo.codehaus.org/dashboard-maven-plugin/index.html
> > > I love the plugin and it works great
> > >
> > >
> > > On Dec 5, 2007 6:00 AM, emerson cargnin <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > Hi guys, after a long while I got the dashboard to work, although
> the
> > > > usage page is really misleading. I put here (
> > > > http://echofloripa.blogspot.com/2007/12/maven2-dashboard-plugin.html)
> > > > a how-to on how make the basic feature of it to work, as in there
> the
> > > > plugin version is missing on the pom and on the dashboard maven
> > > > command. The dashboard plugin when using aggragate report, the link
> to
> > > > submodules doesn't work when they have a '.' on it. Aparently it
> gets
> > > > clipped after the dot.
> > > >
> > > > Also, I got a bit deceptive as I expected the site and dashboard
> > > > plugin to be stable enough in maven2. The site plugin for
> multimodules
> > > > projects don't work as expected/advertised, for example, the command
> :
> > > >
> > > > -mvn site:stage
> > > >
> > > > Alright that site:site doesn't work as m1, it's said in the faq
> also.
> > > > But the site:stage command, which the faq tells is the right way to
> > > > get the muilti-module site structure together. Well it just doesn't
> > > > happen and someone on the maven IRC channel said it has issues.
> > > >
> > > > Don't want to start fud here, I'm just a bit down as I've been
> > > > advertising a lot maven 2 to substitute maven1 where I work, using
> as
> > > > main arguments that maven 2 is much more stable and mature. But i
> see
> > > > it's not quite the case. I really hope I'm wrong.
> > > >
> > > > Emerson
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Thanks,
> > > Mick Knutson
> > >
> > > http://www.baselogic.com
> > > http://www.blincmagazine.com
> > > http://www.djmick.com
> > > http://www.myspace.com/mickknutson
> > > http://www.myspace.com/BLiNCMagazine
> > > http://tahoe.baselogic.com
> > > ---
> > >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: dashboard and site plugin

2007-12-06 Thread emerson cargnin
Erez

I presume you don't have any sub-project with a . on the name : )

emerson

On 05/12/2007, Erez Nahir <[EMAIL PROTECTED]> wrote:
> So am I.
> Like every other 1.0-SNAPSHOT, there are things to improve, but still,
> greate work.
>
> Erez.
>
> P.S. it works for us on a multi module project with no issues.
>
> On Dec 5, 2007 7:16 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> > http://mojo.codehaus.org/dashboard-maven-plugin/index.html
> > I love the plugin and it works great
> >
> >
> > On Dec 5, 2007 6:00 AM, emerson cargnin <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Hi guys, after a long while I got the dashboard to work, although the
> > > usage page is really misleading. I put here (
> > > http://echofloripa.blogspot.com/2007/12/maven2-dashboard-plugin.html )
> > > a how-to on how make the basic feature of it to work, as in there the
> > > plugin version is missing on the pom and on the dashboard maven
> > > command. The dashboard plugin when using aggragate report, the link to
> > > submodules doesn't work when they have a '.' on it. Aparently it gets
> > > clipped after the dot.
> > >
> > > Also, I got a bit deceptive as I expected the site and dashboard
> > > plugin to be stable enough in maven2. The site plugin for multimodules
> > > projects don't work as expected/advertised, for example, the command :
> > >
> > > -mvn site:stage
> > >
> > > Alright that site:site doesn't work as m1, it's said in the faq also.
> > > But the site:stage command, which the faq tells is the right way to
> > > get the muilti-module site structure together. Well it just doesn't
> > > happen and someone on the maven IRC channel said it has issues.
> > >
> > > Don't want to start fud here, I'm just a bit down as I've been
> > > advertising a lot maven 2 to substitute maven1 where I work, using as
> > > main arguments that maven 2 is much more stable and mature. But i see
> > > it's not quite the case. I really hope I'm wrong.
> > >
> > > Emerson
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Thanks,
> > Mick Knutson
> >
> > http://www.baselogic.com
> > http://www.blincmagazine.com
> > http://www.djmick.com
> > http://www.myspace.com/mickknutson
> > http://www.myspace.com/BLiNCMagazine
> > http://tahoe.baselogic.com
> > ---
> >
>

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



RE: how can I just create java files without compiling?

2007-12-06 Thread oetzi

thank you very much!
I got it with the command
mvn org.codehaus.mojo:axistools-maven-plugin:wsdl2java


-- 
View this message in context: 
http://www.nabble.com/how-can-I-just-create-java-files-without-compiling--tf4954517s177.html#a14189856
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Insert images in APT

2007-12-06 Thread Lukas Theussl


You have to include the figure extension in the link. This is a current 
bug that will be fixed soon: http://jira.codehaus.org/browse/DOXIA-99


HTH,
-Lukas


Gervais, Christophe wrote:

Hello,

I cannot insert picture in APT files. I've got the following exception 
generating my doc:
MalformedURLException: The URL of the image is missing.


My project structure is the following:


| src
 | site
   |-- apt
   ||--- 
   |---resources
| images
   |- 

The picture is referenced using the following syntax in the APT file:

[../resources/images/OpenMediation_Architecture] Architecture Overview

Could you help?
Thank
Christophe

Full error stack is:

The image ../resources/images/OpenMediation_Architecture not found in the class 
loader. Try to call setClassLoader(ClassLoader) before.
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] The URL of the image is missing.
[INFO] 
[INFO] Trace
ExceptionConverter: java.net.MalformedURLException: The URL of the image is 
missing.
at com.lowagie.text.Image.getInstance(Unknown Source)
at com.lowagie.text.xml.SAXiTextHandler.handleStartingTags(Unknown 
Source)
at com.lowagie.text.xml.SAXiTextHandler.startElement(Unknown Source)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScan
nerImpl.java:1693)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at com.lowagie.text.xml.XmlParser.go(Unknown Source)
at com.lowagie.text.xml.XmlParser.parse(Unknown Source)
at com.lowagie.text.xml.XmlToXXX.parse(Unknown Source)
at 
org.apache.maven.doxia.module.itext.ITextUtil.writePdf(ITextUtil.java:118)
at 
org.apache.maven.doxia.book.services.renderer.PdfBookRenderer.renderXML(PdfBookRenderer.java:50)
at 
org.apache.maven.doxia.book.services.renderer.AbstractITextBookRenderer.renderBook(AbstractITextBookRenderer.java:162)
at 
org.apache.maven.doxia.book.DefaultBookDoxia.renderBook(DefaultBookDoxia.java:126)
at 
org.apache.maven.doxia.plugin.DoxiaRenderBooksMojo.execute(DoxiaRenderBooksMojo.java:214)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.j

Release Plugin/SCM Scheme

2007-12-06 Thread Marco Bakera
Hey everybody,

Mavens release plugin relies on the SCM element in the pom file for tagging 
the release. I'm using Eclipse with CVS, so CVS transport type is extssh. 
However this is not a legal scm transport specifier for CVS in scm.

When using only ext (instead of extssh) Maven claims

The scm url is invalid.
  - The connection string contains too few tokens.

Any suggestions?


Thanks and greetings,
Marco.

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



RE: how can I just create java files without compiling?

2007-12-06 Thread nicklist
Try to call the goal directly by:

mvn axistools:wsdl2java

When that starts complaining about an unknown plugin try:

mvn org.codehaus.mojo:axistools:wsdl2java

Hth,

Nick S.


-Original Message-
From: oetzi [mailto:[EMAIL PROTECTED]
Sent: Thu 12/6/2007 8:56 AM
To: users@maven.apache.org
Subject: how can I just create java files without compiling?
 

Hallo,
I'm a maven newbie :)
I have a WSDL file and I'm using the axistools-maven-plugin with the goal
wsdl2java to create the associated java files.
My problem: I need a command to create the java files only. At the moment
I'm using the mvn compile or the mvn install command.
Can anyone help me?
-- 
View this message in context: 
http://www.nabble.com/how-can-I-just-create-java-files-without-compiling--tf4954517s177.html#a14187822
Sent from the Maven - Users mailing list archive at Nabble.com.


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




Re: Error when running dashboard-maven-plugin

2007-12-06 Thread dvicente

Hi,

could you change the Continuum goal as "-e -X dashboard-report:persist" and
send the whole log as attachment.

moreover, could you detail your config as :
- maven version
- JDK version
- used database and version 
- Continuum version

Best regards
David


Deneux, Christophe wrote:
> 
> 
> Hi all,
>  
>  
> I have the following error when running dashboard-maven-plugin:persist on
> my project into Continuum. That's works fine on the command line.
>  
> Can someone help me ?
> The plugin version used is: 1.0-20070907.172709-15
> [INFO]
> 
> [ERROR] FATAL ERROR
> [INFO]
> 
> [INFO]instance not of expected entity type:
> org.codehaus.mojo.dashboard.report.plugin.beans.JDependReportBean is not
> a: org.codehaus.mojo.dashboard.report.plugin.beans.AbstractReportBean
> [INFO] Trace
> org.hibernate.HibernateException: instance not of expected entity type:
> org.codehaus.mojo.dashboard.report.plugin.beans.JDependReportBean is not
> a: org.codehaus.mojo.dashboard.report.plugin.beans.AbstractReportBean
>   at
> org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3568)
>   at
> org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1347)
>   at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180)
>   at
> org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:487)
>   at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:84)
>   at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
>   at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
>   at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
>   at
> org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218)
>   at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268)
>   at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216)
>   at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
>   at
> org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:296)
>   at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242)
>   at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219)
>   at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
>   at org.hibernate.engine.Cascade.cascade(Cascade.java:130)
>   at org.hibernate.engine.Cascade.cascade(Cascade.java:97)
>   at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.cascadeOnUpdate(DefaultSaveOrUpdateEventListener.java:332)
>   at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:304)
>   at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:217)
>   at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
>   at
> org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
>   at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
>   at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
>   at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:495)
>   at
> org.codehaus.mojo.dashboard.report.plugin.hibernate.HibernateServiceImpl.saveOrUpdate(HibernateServiceImpl.java:235)
>   at
> org.codehaus.mojo.dashboard.report.plugin.DashBoardDBMojo.execute(DashBoardDBMojo.java:80)
> 
> ___
> Christophe DENEUX / Capgemini Sud / Méditerranée
> Technical Leader
> Tel: + 33 4 93 95 55 92 / www.capgemini.com  
> Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice /
> FRANCE
> Join the Collaborative Business Experience
> ___
> Please consider the environment and do not print this email unless
> absolutely necessary. Capgemini encourages environmental awareness.
> 
> 
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, 
> you are not authorized to read, print, retain, copy, disseminate, 
> distribute, or use this message or any part thereof. If you receive this 
> message in error, please notify the sender immediately and delete all 
> copies of this message.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-when-running-dashboard-maven-p

Build an Eclipse (3.3) RCP Application with Maven2

2007-12-06 Thread Michael Mühlebach
Hello

I am sure this question must have been asked several times but I
really searched for an answer in here as well as with google etc and
found nothing sophisticating.
It might be related with me being quite new in the maven world and
maybe do not really know what I want to know :-)

But now to my question:
In our project we have a classic server client application (nothing
special on server side .. pure old java  with tibco for our
communication).

The client is an Eclipse RCP application built on version 3.3.1 which
has several plugins.
Here are my fist difficulties: Is the client one project in maven or a
multi module project which has for each plugin a project like it is in
eclipse itself? I choose the second choice because the first would end
in a huge project which will make testing a pain in the *** and with
the second one we can add common projects which are shared between
server and client easily as plugin in the client and as jar in the
server.

With the maven-eclipse-plugin it works just fine with the manifest
generation but I have real difficulties with the dependencies to the
RCP Libraries/Plugins ... I tried the way explained on codehaus
(http://docs.codehaus.org/display/MAVENUSER/Eclipse+Plugin) but it did
not work :-(

Is this the correct way to go and I just have to solve my last
dependency problem or am I completely off? I ask this because I have
seen solutions which only use the pde build which is in my opinion the
wrong stage: The pde build is something for installation/deployment
and should be used at the end for integration tests AFTER compilation
and unit tests. Why? Unit tests should be quite fast (just several
seconds) which is not possible if they depend on the pde build.

I hope somebody can point me the right direction or could show me an
other project with a similar build up.

thanks in advance
greets
Michael

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



Error when running dashboard-maven-plugin

2007-12-06 Thread Deneux, Christophe

Hi all,
 
 
I have the following error when running dashboard-maven-plugin:persist on my 
project into Continuum. That's works fine on the command line.
 
Can someone help me ?
The plugin version used is: 1.0-20070907.172709-15
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO]instance not of expected entity type: 
org.codehaus.mojo.dashboard.report.plugin.beans.JDependReportBean is not a: 
org.codehaus.mojo.dashboard.report.plugin.beans.AbstractReportBean
[INFO] Trace
org.hibernate.HibernateException: instance not of expected entity type: 
org.codehaus.mojo.dashboard.report.plugin.beans.JDependReportBean is not a: 
org.codehaus.mojo.dashboard.report.plugin.beans.AbstractReportBean
at 
org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3568)
at 
org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1347)
at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180)
at 
org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:487)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:84)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
at 
org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218)
at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268)
at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216)
at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
at 
org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:296)
at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242)
at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219)
at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
at org.hibernate.engine.Cascade.cascade(Cascade.java:130)
at org.hibernate.engine.Cascade.cascade(Cascade.java:97)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.cascadeOnUpdate(DefaultSaveOrUpdateEventListener.java:332)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:304)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:217)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:495)
at 
org.codehaus.mojo.dashboard.report.plugin.hibernate.HibernateServiceImpl.saveOrUpdate(HibernateServiceImpl.java:235)
at 
org.codehaus.mojo.dashboard.report.plugin.DashBoardDBMojo.execute(DashBoardDBMojo.java:80)

___
Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 95 55 92 / www.capgemini.com  
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
___
Please consider the environment and do not print this email unless absolutely 
necessary. Capgemini encourages environmental awareness.


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


Bug: offline build not running, when having SNAPSHOT dependencies

2007-12-06 Thread Matthias Wessendorf
Hi,

I am having troubles with
mvn ... -o
(with maven 2.0.7)

says not able to download (but, really, the file is in my local repo)
The dependency is a -SNAPSHOT (for what's worth)

Luckily, when traveling by train, I had maven 2.0.4 on my box as well.
A change to use 2.0.4 works fine.

So, is this an already know bug in 2.0.7 ?
To my understanding it is a bug, since offline just shouldn't try to get a newer
SNAPSHOT, perhaps I am wrong.

I know that relying on SNAPSHOTs can be dangerous, but from -o I would expect
just not checking for new stuff.

Thanks!
Matthias

-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

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



RE: Maven 2.0.6 - Windows - SVN question

2007-12-06 Thread Váry Péter
Thanks Tamás!

That was the problem :)

Regards,
Péter


-Original Message-
From: Tamás Cservenák [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 05, 2007 3:54 PM
To: Maven Users List
Subject: Re: Maven 2.0.6 - Windows - SVN question

Hello

AFAIK, on windows if a file is opened (in editor or IDE) the write
access to it is denied, and release plugin needs write access. Did you
have the file below opened in some editor?

The "permission denied" insinuates that.

~t~

On Dec 4, 2007 4:41 PM, Váry Péter <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I have a setup, where I use maven 2.0.6 with svn for source control.
>
> I have a project which I want to release. The effective pom attached at the 
> bottom.
>
>
>
> I can release it with: 'mvn release:prepare;mvn release:preform' on a debian 
> linux box, but on Windows XP machines the 'mvn release:prepare' fails with 
> the following message:
>
>
>
> [INFO] 
> 
>
> [ERROR] BUILD FAILURE
>
> [INFO] 
> 
>
> [INFO] Unable to commit files
>
> Provider message:
>
> The svn command failed.
>
> Command output:
>
> svn: Commit succeeded, but other errors follow:
>
> svn: Error bumping revisions post-commit (details follow):
>
> svn: In directory 'C:\temp\kl\modules\util\trunk'
>
> svn: Error processing command 'committed' in 'C:\temp\kl\modules\util\trunk'
>
> svn: Error replacing text-base of 'pom.xml'
>
> svn: Can't move 'C:\temp\kl\modules\util\trunk\.svn\tmp\pom.xml.tmp' to 
> 'C:\temp\kl\modules\util\trunk\pom.xml': A hozzáférés megtagadva.
>
>
>
> The last part "A hozzáférés megtagadva." means - permission denied.
>
>
>
> If I run the 'mvn release:prepare' again, I get the following message:
>
>
>
> [INFO] 
> 
>
> [ERROR] BUILD FAILURE
>
> [INFO] 
> 
>
> [INFO] Unable to commit files
>
> Provider message:
>
> The svn command failed.
>
> Command output:
>
> svn: Working copy 'C:\temp\kl\modules\util\trunk' locked
>
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
>
> Type 'svn help' for usage.
>
>
>
> If I run the 'svn cleanup' again, and then 'mvn release:prepare' then 
> everything seems ok. Can anybody help me, what is the problem with my 
> settings?
>
>
>
> Thanks,
>
> Peter
>
>

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



Re: deploy jar with dependencies

2007-12-06 Thread Stuart McCulloch
On 06/12/2007, Sonar, Nishant <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I need to build on a machine and deploy the jar on another machine. Now
> there are dependencies in my jar are to be supplied with this jar, as it
> is no the build machine the classpath.
>
> How should I create a single distributable comprising all the jars? Like


you can use the maven-assembly-plugin to do this:

   http://maven.apache.org/plugins/maven-assembly-plugin

Myjar.jar
>
> |---com.myapp.app
>
> |---lib
>
> |--dependent jars
>
>
>
>
>
> Regards,
>
> Nishant Sonar
>
>


-- 
Cheers, Stuart


Re: deploy jar with dependencies

2007-12-06 Thread Arthur Erdös

did you try the assembly plugin?

http://maven.apache.org/plugins/maven-assembly-plugin/index.html

I am using it with maven 2, so I dont know if it works with maven 1 bu 
give it a try ^^


regards,
Arthur


Sonar, Nishant schrieb:

Hi

 


I need to build on a machine and deploy the jar on another machine. Now
there are dependencies in my jar are to be supplied with this jar, as it
is no the build machine the classpath.

 


How should I create a single distributable comprising all the jars? Like

 


Myjar.jar

|---com.myapp.app

|---lib

|--dependent jars

 

 


Regards,

Nishant Sonar


  


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