Is it possible to run Maven 2 within IntelliJ?

2006-05-04 Thread Wesslan

Well, the subject says it all, doesn't it? ;-)
I wonder if it is possible to execute maven 2-stuff from within IDEA
IntelliJ?

I know about
MevenideIdeaIntegration
(http://www.intellij.org/twiki/bin/view/Main/MevenideIdeaIntegration)
and
MavenPlugin (http://www.intellij.org/twiki/bin/view/Main/MavenPlugin)
but they seem kind of "old" and not for Maven 2.

Cheers
--
View this message in context: 
http://www.nabble.com/Is-it-possible-to-run-Maven-2-within-IntelliJ--t1562122.html#a4242430
Sent from the Maven - Users forum at Nabble.com.


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



XMLBeans Plugin + Eclipse Mayhem

2006-05-04 Thread Wilfred Springer
Hi all,

I am using the XMLBeans Maven Plugin in a couple of projects, but using
this plugin in combination with Eclipse is giving me a headache. I was
just wondering if somebody has already solved it.

The layout of my project is a little like this:

project 
 +--- pom.xml
 +--- project-xml-binding
  +--- pom.xml
  +--- src/main/xsd/test.xsd
  +src/main/xsdconfig/xsdconfig.xml
 +--- project-client
  +--- pom.xml
  +--- src/main/java


The 'project-client' module depends on project-xml-binding. The problem
is that client code in 'project-client' does not always see the classes
or source files generated from the XMLBeans plugin. So Eclipse is giving
a lot of warnings for missing class file definitions, I don't have code
completion, and my tests do not always run when running it from Eclipse.

So the question is: how do I make sure that my client code has all of
the class definitions of the 'project-xml-binding' project, and how do I
configure my poms to make sure that eclipse:eclipse is giving me the
proper project settings?

Thanks,

Wilfred

Wilfred Springer | Software Architect | TomTom |
[EMAIL PROTECTED] | +31 646 720 990


Re: EJB3 Build

2006-05-04 Thread Tim Kettler

Hi,

what EJB3 specific functionality are you talking about?

-Tim

Todd Orr schrieb:

I understood that ejb3 functionality will not be built into the
ejb-plugin until the spec is final. It looks like it's all set
(http://www.theserverside.com/news/thread.tss?thread_id=40199). When
can we expect the ejb3 integration in the plugin?

-
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: [m1] m1 equivalent of mvn install:install-file?

2006-05-04 Thread Jeff Jensen
Smarty ;-)

I didn't think there was, but just in case...


-Original Message-
From: Lukas Theussl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 3:33 PM
To: Maven Users List
Subject: Re: [m1] m1 equivalent of mvn install:install-file?

I don't know of any equivalent in m1. Want to write an extension for the
artifact plugin? :)

-Lukas


Jeff Jensen wrote:
> Hi,
> 
> What is the equivalent in m1 of m2's "mvn install:install-file"?
> Or is it "manually rename jars"?
> 
> 
> -
> 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: Where to find reference documentation for parameter Types?

2006-05-04 Thread Edwin Punzalan

Dave,

I'll tell you what I know... to others, if i'm wrong, please correct 
me.  ^_^


Native parameters are common-sense, so I won't describe them anymore.

For collection types, like List, removing the s at the parameter name 
would be filling the collection. For example:



 
 


Also, in your example, the Artifact object is the parameter "type".  
When a parameter is of type "Object" (or subclasses it), then it can 
accept sub parameters equivalent to its field names (i'm not sure though 
if the fields have to have a setter method).  And the same is true if 
the sub-parameter is still an object. Like so:



 
   white
 
 
   white
 



Dave Comeau wrote:

Just a question how about how to effectively read plugin documentation.

On this page:

http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html

The "Type" column indicates three different types: Artifact, MavenProject
and MavenProjectHelper.

How do I find out what the format of those types are?

For example, if I look at the "How to use" link for the same plugin:

http://mojo.codehaus.org/build-helper-maven-plugin/howto.html

Go to the bottom and see that the attach-artifact example shows:



  
some file
extension of your file 
optional
  
  ...




I assume somewhere I can find a reference that would tell me that Artifact
types have the File/Type/Classifier sub-parameters?

Where would this be?

Dave


  


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



Re: [m2] weird behaviour when using assembly plugin in a multiproject

2006-05-04 Thread Edwin Punzalan


When you want to put run assembly from inside the pom, use the goal 
"attached" instead of "assembly"



Dario Luis Coneglian Oliveros wrote:

Hi there,
I've noticed a weird behaviour with the mave-assembly-plugin 
(2.1-SNAPSHOT) and still not sure whether it's a bug.
Suppose you have a multiproject M with three jar modules (A, B, C) 
where B uses the maven-assembly-plugin by attaching 'assembly' goal to 
the 'package' phase.


+ M
   + A
   + B (depends on A and uses assembly plugin)
   + C (depends on B)

pom.xml snippet of module B:
   ...
/
   
   
   maven-assembly-plugin
   
   
   package
   
  assembly
   
  
  
  
src/main/assembly/bin.xml

  
  
   
   
   
   
   
   ...
/
When running 'mvn package' in the parent project (M), the following 
happens:

1) A.jar is built
2) B.jar is built and a message is printed saying that 
'assembly:assembly' was being prepared

3) A.jar is built again
4) B.jar is built again and a warning message is printed out: 
"Removing: assembly from forked lifecycle, to prevent recursive 
invocation"

5) C.jar is built for the first time
6) B-bin.tar.gz an B-bin.zip are generated
7) C.jar is built again

It seems like B triggers the 'jar:jar' goal again for each module 
before assemblying.

Not sure whether it's a bug or something I am doing wrong.
Any help will be appreciated.

Thanks,
Dário





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



Re: [mvn2.0.4] maven-javadoc-plugin aggregate true bug?

2006-05-04 Thread Maria Odea Ching

Hi Rob,

I think you should put the plugin configuration in the  section 
and execute "mvn javadoc:javadoc".

If it's in the  section, you should execute "mvn site" instead..

Thanks,
Odea

Rob Dickens wrote:


Dear Maven Users,

I can't get this to work. Looking back at previous posts, it appears  
there might be a bug.


Do I need to build maven-javadoc-plugin from source? If so, could  
somebody let me know where this can be found.


What I have is a parent project (pom packaging) and several  
subprojects (jar packaging), where each subproject's pom.xml inherits  
from that of the parent.


I put the following in the parent project's pom.xml,

  

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

  true

  

  

and did a 'mvn javadoc:javadoc' on this, hoping to generate javadoc  
for all the subproject packages in one place. However, what I got was  
javadoc in each of the subproject targets, but an empty target/ 
javadoc/apidocs/index.html in the parent.


Please could somebody help.

Thanks,

Rob

-
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: Where to get maven-jar-plugin-2.1-SNAPSHOT?

2006-05-04 Thread Maria Odea Ching


Hi Darren,

You could checkout the latest version of the maven jar plugin from svn
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jar-plugin, 
 
and install it locally.


Then try to build the Repository Manager again.

Thanks,
Odea

Darren Hartford wrote:


Hey all,
I'm trying to compile the Maven Repository Manager, and complains about 
1. Not being able to find it.

2. When I install it manually, it does not recognize the 'sign'
execution.

Sites I've gotten the maven-jar-plugin 2.1-snapshot:

http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/mave
n-jar-plugin/2.1-SNAPSHOT/

http://svn.apache.org/maven-snapshot-repository/org/apache/maven/plugins
/maven-jar-plugin/2.1-SNAPSHOT/

Is there a more recent version than 20060401, and if so where?

Thanks,
-D

-
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] Archetype/packageName/directory structure

2006-05-04 Thread bryan hansen
I am creating a custom archetype and am not seeing a
way to have folders carried throught the archetype. I
have a source file in the resources directory such as:

src/main/resources/archetype-resources/src/main/java/App.java

When I run this through the archetype:create command
it will place this file under the package directory
correctly. src/main/java/com/mycompany/App.java 

I want to have some folders that get carried through
though such as:

src/main/resources/archetype-resources/src/main/java/service/AppService.java

so that when I run the archetype:create command it
will be placed in a folder like this:

src/main/java/com/mycompany/service/AppService.java

The way it is working now by putting it under the
resources directory it is building out a directory
structure and duplicating the package name underneath
it.
src/main/java/service/com/mycompany/AppService.java

Is it possible with the archetype to have it create
the directory structure and carry it through like I
described?

Thanks,

Bryan

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

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



Re: [m2] common site.xml for all modules

2006-05-04 Thread Arik Kfir

which version of the site plugin are you using? I'm using the trunk version,
and I have a single site.xml file at the parent project. The modules inside
don't have a site.xml, unless specifically required, and it works
greatbut it I think it can only work in the trunk version - not the
plugin's released version...

On 5/5/06, Lee Meador <[EMAIL PROTECTED]> wrote:


I did this in an ugly but effective way.

I put the shared site.xml in the parent project of all the projects that
share it. Then I added an ant script to that project. In that ant script
is
some  tags that copy the site.xml file to all the children that need
it. The shared file mostly just adds links to the left sidebar that allow
interproject movement. When I change the site.xml, I do it in the parent
project and then run the ant script. In Eclipse its just a few clicks to
do
that.

I also do the same thing to share some properties files that are used in
the
tests for all the children projects. Its just another target in the ant
script.

-- Lee Meador

On 5/2/06, Dan Adams <[EMAIL PROTECTED]> wrote:
>
> I have a multi-module project and would like to create a site that
> incorporates all the modules. Is there a way I could use a common
> site.xml or common navigation or something? Could someone point me to a
> project that is an example of this? Thanks.
>
> --
> Dan Adams
> Software Engineer
> Interactive Factory
> 617.235.5857
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]





--
__
Cheers,
 Arik Kfir   [EMAIL PROTECTED]
 Linux user, number 415067 - http://counter.li.org/
 http://corleon.dnsalias.org


Re: Intalled pom version is not expanded resulting in a bogus pom version in the repository.

2006-05-04 Thread Brett Porter

Please reply to your original message asking for a response in future.
Creating new threads gets confusing.

On 5/5/06, LaCasse, John <[EMAIL PROTECTED]> wrote:

Hi,



If the version in the pom is specified using a property such as
${env.version} the install plugin is installing the pom in the
repository without expanding this property. Hence the pom that gets
installed into the repository has a version of ${env.version} which is a
totally bogus version. This, to me, appears to be a bug in the install
plugin; am I missing something. Everything else in the build cycle seems
to work just fine doing it this way, just not the install of the pom
into the repository. I don't want to have to hardcode my version info
into my parent pom and all child poms everytime I change the build
version, which for us is every build.



Thanks for any help on this

Jpl





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



Re: parent version element in installed pom isn't being expanded

2006-05-04 Thread Brett Porter

This is a known issue. We have:
- an open JIRA for automatic parent versioning in Maven 2.1 to remove
the need for this altogether
- I'm aware that there is an issue with not writing in environment
specific properties on deployment as we should, but I'm not sure if
this is in JIRA.

You can use the release plugin to ease the burden of parent version management.

- Brett

On 4/28/06, LaCasse, John <[EMAIL PROTECTED]> wrote:

When I do an install of a pom that has a parent where the parent version
element is specified via a property, the property isn't being expanded
in the generated installed or deployed pom.



Eg:





...

${env.version}





In the generated installed pom it is still specified as ${env.version}
instead of the expanded value.



At least in the version case, this is quite undesirable. And having to
edit every pom and hard code a new version for every build would not be
very pleasant as well as error prone (at least for a project with many
sub projects as I have). Any suggestions are appreciated?



Thanks,

Jpl





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



Re: [m2] source jars for test-jar jars

2006-05-04 Thread Maria Odea Ching

Hi Dan,

You can execute the goal "test-jar" in the maven source plugin to 
produce the test-jar you want.
I'm not sure if the latest version is already available in the central 
repo or in the snapshot repo.
But you can download the latest source of the plugin from SVN and 
install it locally.


Thanks,
Odea

Dan Adams wrote:


How do you produce a source jar for a test-jar type jar like you do with
normal jars?

 




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



Re: EJB Client Jar Problem

2006-05-04 Thread Pete Marvin King

 if you don't provide excludes, then the default excludes will override
 the includes if both contains the same pattern.

 for the meantime
 try overriding the exclusion rules / assigning your own values

 default excludes:

   **/*Bean.class
   **/*CMP.class
   **/*package.html

   

  pete marvin


[EMAIL PROTECTED] wrote:
> Well i tried with 2.1 ejb plugin noticed that client includes works fine
>
> but when i tried to include *Session.class its not doing that i think by 
> default its filtering Session.class, i reopened the issue with Jira
>
>
>
>
>
>
> Thanks,
> Raghu 
>
>
>
>
>
> Pete Marvin King <[EMAIL PROTECTED]>
> 05/04/2006 04:54 AM
> Please respond to "Maven Users List"
>
>  
> To: Maven Users List 
> cc: 
> Subject:Re: EJB Client Jar Problem
>
>
>
>   verified, it's already fixed on version 2.1 of the plugin
>   clientExclude doesn't work on version 2.0.
>
>
> Pete Marvin King wrote:
>   
>> include and exclude works fine in the unit test.
>> can you try getting the latest version. =)
>>
>>  btw, if you don't specify client exclusion
>>  it will automatically exclude the following :
>>
>>**/*Bean.class
>>**/*CMP.class
>>**/*package.html
>>
>>
>> pete marvin
>>
>>
>> [EMAIL PROTECTED] wrote:
>>
>> 
>>> It sounds like an bug
>>>
>>> I created a bug in jira for this http://jira.codehaus.org/browse/MEJB-12
>>>
>>>
>>>
>>>
>>>
>>> Thanks,
>>> Raghu 
>>>
>>>
>>>
>>>
>>>
>>> Pete <[EMAIL PROTECTED]>
>>> 05/03/2006 04:43 PM
>>> Please respond to "Maven Users List"
>>>
>>>
>>> To: "Maven Users List" 
>>> cc: 
>>> Subject:Re: EJB Client Jar Problem
>>>
>>>
>>> I had the same problem so would be interested if anyone can help ?
>>>
>>> On 02/05/06, [EMAIL PROTECTED] <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>
>>>   
 Hi,,

 I'm trying to create ejb client from ejb project

 this is what i have in my pom


 org.apache.maven.plugins
 maven-ejb-plugin

 true

 **/Session*


 **/Shop*



 true


 ${build.env}







 it is creating ejb-client jar but it just includes almost all class 


 
>>> files
>>>
>>>
>>>   
 from the ejb.jar files, and has no effect on  or
  either i specify both of them or only one of them

 Has anyone made it working something like this please advise??




 Thanks,
 Raghu




 
>>>
>>>   
>>
>> 
>
>
> -
> 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 - Best practice for common jars between EJB,WAR modules in EAR

2006-05-04 Thread Lee Meador

I've got two ejb jars, a few wars and they are all in an ear.

I'm using Webshere 6.

I do the same thing you do but exclude the jars from the wars. There used to
be a bug where you could exclude everything from the war or nothing. Maybe
that is fixed and you can exclude piecemeal. I got by by excluding
everything and then doing something ugly with the one unique 3rd party jar
that I only needed in one war and no ejb jars. I just added it into one of
the ejb jars. The ejb code didn't need it but the classloader order made it
available to the war.

On 5/3/06, Gwyn <[EMAIL PROTECTED]> wrote:



I'm not sure if this works in JBoss, but the way I'm doing it in Weblogic
is
slightly different, so might be worth trying just on the off chance...

I've got an EAR, which contains an EJB jar, a number of WARs and a number
of
common jars, all in the root.  The common jars are referenced in the EJB's
MANIFEST as a result of the following...

   org.apache.maven.plugins
maven-ejb-plugin



true




--
View this message in context:
http://www.nabble.com/RE%3A-M2---Best-practice-for-common-jars-between-EJB%2CWAR-modules-in-EAR-t1545876.html#a4211266
Sent from the Maven - Users forum at Nabble.com.


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





--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Re: [m2] common site.xml for all modules

2006-05-04 Thread Lee Meador

I did this in an ugly but effective way.

I put the shared site.xml in the parent project of all the projects that
share it. Then I added an ant script to that project. In that ant script is
some  tags that copy the site.xml file to all the children that need
it. The shared file mostly just adds links to the left sidebar that allow
interproject movement. When I change the site.xml, I do it in the parent
project and then run the ant script. In Eclipse its just a few clicks to do
that.

I also do the same thing to share some properties files that are used in the
tests for all the children projects. Its just another target in the ant
script.

-- Lee Meador

On 5/2/06, Dan Adams <[EMAIL PROTECTED]> wrote:


I have a multi-module project and would like to create a site that
incorporates all the modules. Is there a way I could use a common
site.xml or common navigation or something? Could someone point me to a
project that is an example of this? Thanks.

--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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





--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Re: Maven2 w/ MyEclipse

2006-05-04 Thread Lee Meador

I am using MyEclipse and Maven 2 together with WAS 6.

I find that the part of MyEclipse that allows debugging inside the server is
really hard to make work with Maven. Perhaps it is possible. I have not made
it work yet.

MyEclipse has some really nice other features that I use a lot. The spring
stuff is very helpful. The xdoclet is nice. The JSP editor. I like being
able to whip up a quick (but simple) UML diagram from inside Eclipse
although the integration with the code is quirky for my taste.

Finally, making MyEclipse work with WAS 6 is not so terribly easy either. Be
sure to go to the MyEclipse web site and find the tutorial on how to do
that. It will give you some idea before you buy what you are getting into.

I don't begrudge for a moment the money I spent on MyEclipse and I'll renew
the subscription this summer when it comes due. I just have to ignore a few
features since I like what maven 2 gives me instead.

Thanks.

-- Lee Meador

On 5/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


There is a proposal at my company to begin using the MyEclipse plugins to
assist with debugging our WebSphere apps.

Currently we use Maven2 and the eclipse plugin associated with it.

There seems to be some overlapping functionality between some of the Maven
plugins and the MyEclipse.

Are they a happy marriage?

Are we wasting our time with MyEclipse?

Is there perhaps a free Eclipse plugin that allows WebSphere to be
controlled from the IDE (like I can with Weblogic)?

We are not using RAD etc to attempt to remain app server agnostic.

Thanks.

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





--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Re: Help me about changes plugin

2006-05-04 Thread Lee Meador

Its funny, the changelog only seems to care about "sources" and changes to
things like pom.xml and other files that are not considered source cause
that message.

On 5/2/06, Gautham Pamu <[EMAIL PROTECTED]> wrote:


Hi Lee,

I tried to generate the changelog report. I have the scm defined in my pom
but it says.. no sources found to create a report.

No sources found to create a report.

 
   org.codehaus.mojo
   changelog-maven-plugin
   


Thanks
Gautham Pamu

/18/06, Vijay Shanker <[EMAIL PROTECTED]> wrote:
>
> I have my cvs repository in C:/viewcvsinstall/CVSROOT and it has test1
> directory for my projects. I have defined following  tag in my
> project's pom.xml but I get invalid scm tag error.
>
>   
>
>
scm:cvs|local|C:/viewcvsinstall/CVSROOT|test1/Project1
>
>
scm:cvs|local|C:/viewcvsinstall/CVSROOT|Project1/${artifactId}
>   
>
> While if I do checkout with following(at command prompt) then it works
> fine. We can see URL is same.
>
> mvn scm:checkout
> -DconnectionUrl="scm:cvs|local|C:/viewcvsinstall/CVSROOT|test1/Project1"
>
> Please suggest the solution.
>
> Thanks,
> Vijay
>
>
> From: [EMAIL PROTECTED] on behalf of Lee Meador
> Sent: Tue 4/18/2006 11:25 AM
> To: Maven Users List
> Subject: Re: Help me about changes plugin
>
>
>
> Put this in your pom.xml to add a report showing what has changed in the
> version control during the last 30 days. There are some config settings
> you
> can add that change just what is shown in the report.
>
> 
> 
> 
> org.codehaus.mojo
> changelog-maven-plugin
> 
> 
> 
>
> When you do a mvn site, it will generate the reports as html and put
them
> under the 'target' folder.
>
> You also have to be sure and set the  section in your pom so it
knows
> how to talk to the version control:
>
> 
>
>
scm:svn:svn://subversion.company.com/project/trunk/base/
>
>
scm:svn:svn://subversion.company.com/project/trunk/base/
> 
> 
>
> You can find the right connection url by going to a blank working folder
> and
> doing this from command line:
>
> mvn scm:checkout -DconnectionUrl="scm:svn:svn://sub..."
>
> with the same thing as is in the  tag. When it checks out
your
> project, you have it right.
>
> There used to be some info at
> http://mojo.codehaus.org/*changelog*-*maven*-*
> plugin*/howto.html<
> http://mojo.codehaus.org/changelog-maven-plugin/howto.html>
> but it seems to point back to
> http://maven.apache.org/plugins/maven-changelog-plugin now and that
> doesn't
> have anything there.
>
> I think the 'changes' plugin is used to generate a page for the site
> showing
> what has changed between version 1.1 and 1.2 for example. I'm not really
> sure.
>
> -- Lee Meador
>
> On 4/18/06, Vijay Shanker <[EMAIL PROTECTED]> wrote:
> >
> > As per requirement, I have to prepares reports about changes in files
> > between current version and previous version of files so could any
body
> > suggest me the approach for achieving this goal.
> >
> > I got to know from maven website that there are two plugins neams as
> > "changes" and "changelog" but when I click on those, I get page not
> found
> > problem.
> >
> > Looking for the help.
> >
> > Thanks in advance.
> >
> > Vijay
> >
> >
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> -- Lee Meador
> Sent from gmail. My real email address is [EMAIL PROTECTED]
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
-Gautham Pamu





--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Re: Problem with Eclipse plugin

2006-05-04 Thread Lee Meador

Somewhere there should be some java compiler style error messages showing
what the compiler errors were. If we could see those, it might help.

Thanks.

On 5/2/06, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:


Ok, now I get the following:

Compiling 5 source files to
U:\proyectos\otros\netflux\netflux-core\target\classes
[ERROR] mojo-execute : compiler:compile
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : org.netflux:netflux-core:jar:0.2-SNAPSHOT (
task-segment: [install] )
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
org.apache.maven.BuildFailureException: Compilation failure
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:552)
at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:472)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:451)
at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:303)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:270)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:139)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java
:472)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java
:413)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
Caused by: org.apache.maven.plugin.CompilationFailureException:
Compilation
failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(
AbstractCompilerMojo.java:505)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:415)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:531)
... 8 more


Of course, I have run maven from the command line and it works with no
problem

2006/4/28, Wood, Kevin <[EMAIL PROTECTED]>:
>
> You can specify the proxy information when you configure the External
> Tools entry for the Maven2 build of this project in Eclipse.  In the
> External Tools window, select the goal that you want to run, then add
> parameters proxyHost and proxyPort with the appropriate values in the
> parameter box.  These properties will be passed along to the Maven
> plugin when it is invoked.
>
> --Kevin
>
> -Original Message-
> From: Tom Joad [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 25, 2006 12:10 PM
> To: Maven Users List
> Subject: Re: Problem with Eclipse plugin
>
>
> I run eclipse 3.1.1 on windows 2000 and
> windows>preferences>internet>proxy settings
> you put your company proxy  settings.
>
> On my Linux mandriva 10. , i launch eclipse by command line with
> system properties
> eclipse -vmargs  -Dhttp.proxyHost=MYPROXYHOST
> -Dhttp.proxyPort=MYPROXYNUMBER
> Tom.
>
>
> 2006/4/25, Jose Gonzalez Gomez <[EMAIL PROTECTED]>:
> > You're right, I'm behind a proxy... You mention a plugin to manage the
> proxy
> > connection in Eclipse, where can I find it?
> >
> > Thanks a lot
> > Jose
> >
> > 2006/4/25, Tom Joad <[EMAIL PROTECTED]>:
> > >
> > > Hi Jose,
> > > It is fixed in version 0.0;5 as i said .Are you under proxy? If it's
> the
> > > case
> > >
> > > As said Eugene Kuleshov one of plugin developers Unfortunately there
> > > are still no support for settings.xml, including
> > > proxy configuration. and i think your proble comes from it.
> > >For now you can use system properties -Dhttp.proxyHost= and
> > > -Dhttp.proxyPort=
> > > Could you try to launch eclipse via commnand line with these two
> > > parameters
> > > Or  adding eclipse plugin to manage proxy connexion.
> > >
> > > Tom.
> > > 2006/4/25, Jose Gonzalez Gomez <[EMAIL PROTECTED]>:
> > > > I'm using 0.0.5... do you have more information about this issue?
> > > >
> > > > Thanks
> > > > Jose
> > > >
> > > > 2006/4/24, Tom Joad <[EMAIL PROTECTED]>:
> > > > >
> > > > > Hello,
> > > > > Which version of the plugin do you use? It is a known issue of
> version
> > > > > 0.0.4 resolved
> > > > > with 0.0.5 .
> > > > > Tom.
> > > > >
> > > > >
> > > > >
> > > > > 2006/4/24, Jose Gonzalez Gomez <[EMAIL PROTECTED]>:
> > > > > > Hi there,
> > > > > >
> > > > > > After reading about the Eclipse plugin I decided to give it a
> try. I
> > > > > > installed it, and tried to run a maven goal, but the execution
> seems
> > > to
> > > > > > hang. After enabling debug output in the preferences I get
> this in
> > > the
> > > > > > console:
> > > > > >
> > > > > > [DEBUG] Found 0 components to load on start
> > > > > > [DEBUG] Building Maven user-level plugin registry from:
> > > 'C:\Documents
> > > > > and
> > > > > > Settings\jgonzalez\.m2\plugin-registry.xml'
> > > > > > [DEBUG] Building Maven global-

Re: [m2] getting a file path for a JAR

2006-05-04 Thread Torsten Curdt

On 5/5/06, Mark Hansen <[EMAIL PROTECTED]> wrote:

I want to write a plugin that I can pass a groupId/artifactId to, and it
will upload the artifact to a specific directory (say - to build a lib
directory).  Does anyone know how I can get a file reference to the
artifacts that Maven builds, so that I can copy them elsewhere?


Have a look into the minijar plugin at mojo. Should be a good example.

http://mojo.codehaus.org/minijar-maven-plugin/

cheers
--
Torsten

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



weired problem in SNAPSHOT version

2006-05-04 Thread raghurajan . x . gurunathan
HI All,

I have this weired problem while using snapshot version dependencies


I have 2 project as P-A, P-B both version i have it as 1.0-SNAPSHOT and my 
P-B project depends on P-A i already successfully ran mvn deploy for my 
P-A
then when i tried to do mvn deploy on P-B it looks for P-A and it errors 
out it couldn't find dependency P-A and it fails, the when i go and delete 
P-A from my localRepository  then ran the deploy at this time some time it 
worked fine, but some time it fails for same reason.

I checke at my repository P-A.jar is available

Its so weired ,... is it a bug in Maven 2.0.4??





Thanks,
Raghu 


Re: Re: Changing working directory for Maven2-Continuum-Build?

2006-05-04 Thread Thomas Marti (HSR)

you can't.

Why do you add a project from root dir and not root/Code?


Hi Emmanuel

Because we want a new build also if something is checked into to 
Documentation-Folder...



Bye, Thomas



Re: EJB Client Jar Problem

2006-05-04 Thread raghurajan . x . gurunathan
Well i tried with 2.1 ejb plugin noticed that client includes works fine

but when i tried to include *Session.class its not doing that i think by 
default its filtering Session.class, i reopened the issue with Jira






Thanks,
Raghu 





Pete Marvin King <[EMAIL PROTECTED]>
05/04/2006 04:54 AM
Please respond to "Maven Users List"

 
To: Maven Users List 
cc: 
Subject:Re: EJB Client Jar Problem



  verified, it's already fixed on version 2.1 of the plugin
  clientExclude doesn't work on version 2.0.


Pete Marvin King wrote:
> include and exclude works fine in the unit test.
> can you try getting the latest version. =)
> 
>  btw, if you don't specify client exclusion
>  it will automatically exclude the following :
> 
>**/*Bean.class
>**/*CMP.class
>**/*package.html
>
>
> pete marvin
>
>
> [EMAIL PROTECTED] wrote:
> 
>> It sounds like an bug
>>
>> I created a bug in jira for this http://jira.codehaus.org/browse/MEJB-12
>>
>>
>>
>>
>>
>> Thanks,
>> Raghu 
>>
>>
>>
>>
>>
>> Pete <[EMAIL PROTECTED]>
>> 05/03/2006 04:43 PM
>> Please respond to "Maven Users List"
>>
>> 
>> To: "Maven Users List" 
>> cc: 
>> Subject:Re: EJB Client Jar Problem
>>
>>
>> I had the same problem so would be interested if anyone can help ?
>>
>> On 02/05/06, [EMAIL PROTECTED] <
>> [EMAIL PROTECTED]> wrote:
>> 
>> 
>>> Hi,,
>>>
>>> I'm trying to create ejb client from ejb project
>>>
>>> this is what i have in my pom
>>>
>>>
>>> org.apache.maven.plugins
>>> maven-ejb-plugin
>>>
>>> true
>>>
>>> **/Session*
>>>
>>>
>>> **/Shop*
>>>
>>>
>>>
>>> true
>>>
>>>
>>> ${build.env}
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> it is creating ejb-client jar but it just includes almost all class 
>>> 
>>> 
>> files
>> 
>> 
>>> from the ejb.jar files, and has no effect on  or
>>>  either i specify both of them or only one of them
>>>
>>> Has anyone made it working something like this please advise??
>>>
>>>
>>>
>>>
>>> Thanks,
>>> Raghu
>>>
>>>
>>> 
>>> 
>>
>> 
>> 
>
>
> 


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





[m2] Is there a way to create an artifact with antrun and have it install/deploy automatically

2006-05-04 Thread Jason Chaffee
Currently, I am using the antrun plugin during the package phase to
create a self-extraction archive by concating a shell script to a tar.gz
assembly.  However, I am not able to get this new file to install/deploy
automatically during those phases.  Is there a way to make maven aware
of this artifact and deploy it as well?

 

Thanks,

 

Jason



Re: organizationUrl with ','

2006-05-04 Thread Eric Redmond

Try to replace the comma with an XML, or URL entity
(http://users.easystreet.com/ovid/cgi_course/appendices/appendix2.html)

Eric

On 5/4/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:


Hi,

my organization has ',' in their URL:
http://www.europe.nokia.com/nokia/0,,64463,00.html

when I try to enter that in the pom and generate the site, the team
overview does not pick up the complete URL, but only the part after the last
',' - is there a chance to get around it? Even enclosing it in a CDATA does
not do the trick.

Andreas Ebbert-Karroum
  Senior Software Design Engineer - Nokia Networks Services / Middleware
  phone: +49-211-94123928, fax: +49-211-94123838
  Heltorfer Straße 1, 40472 Düsseldorf, Germany




This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility for
the contents of this message as it has been transmitted over a public
network. Thank you.

Nokia GmbH, Nokia Networks is a German Company. Further information about
the Company is available from its principal offices at Heltorferstrasse 1,
D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/







Re: JUnit Eclipse vs. Maven Question

2006-05-04 Thread Stephen Duncan

It still doesn't work.  As I said before, setting it just in 
doesn't even result it in being set at all.  Any pointers on why that
might be?

-Stephen

On 5/3/06, Stephen Duncan <[EMAIL PROTECTED]> wrote:

I'll have him try it tomorrow.  However, we initially had it in the
argLine, and it wasn't even setting the property at all (i.e.
System.getProperty("java.library.path") returned the default value,
not the value set in ).  I guess I can only try to do both &
see what happens...

-Stephen

On 5/2/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
> On Tue, 2 May 2006, Stephen Duncan wrote:
>
> > Sorry, forgot to mention that I tried with forkMode set to once & with
> > it set to pertest.  Still didn't work.
> >
> > Could it be that  aren't passed to the JVM when it's
> > forked?  They are only set afterwards?
>
> Took me some digging, but the system properties are loaded after the jvm
> is started. The only way to define them in time is to define command line
> arguments to the jvm: -Djava.library.path= AND use
> forkMode once or pertest.
> You could also configure environment vars like LD_LIBRARY_PATH but that's
> not really portable.
>
> Hope this helps,
>
> -- Kenney
>
> >
> > -Stephen
> >
> > On 5/2/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
> > > On Tue, 2 May 2006, Stephen Duncan wrote:
> > >
> > > Hi,
> > >
> > > The library path is only scanned on JVM startup; you can't modify it later
> > > and expect the JRE to load any additional libraries.
> > >
> > > You'll have to use forked tests for that to work. Try configuring the
> > > surefire plugin to have once, for instance.
> > >
> > > -- Kenney
> > >
> > >
> > > > I have a colleague with a problem running a JUnit test.  It works in
> > > > Eclipse, but not with Maven.
> > > >
> > > > Basically, he uses a class that needs to load a native library.  The
> > > > location of a directory to look for this native .so object is
> > > > specified with java.library.path.
> > > >
> > > > Initially, this value was not being set correctly because you must
> > > > specify it using , not .  We fixed that,
> > > > and now a debug output indicates that
> > > > System.getProperty("java.library.path") does return correctly.
> > > > However, the error indicating that the native library could not be
> > > > found persists.  Any ideas on where else to look or tips on
> > > > troubleshooting?
> > > >
> > > > --
> > > > Stephen Duncan Jr
> > > > www.stephenduncanjr.com
> > > >
> > > > -
> > > > 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]
> > >
> > >
> >
> >
> > --
> > Stephen Duncan Jr
> > www.stephenduncanjr.com
> >
> > -
> > 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]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com




--
Stephen Duncan Jr
www.stephenduncanjr.com

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



RE: [m2] cactus plugin?

2006-05-04 Thread Vincent Massol


> -Original Message-
> From: Mark Hansen [mailto:[EMAIL PROTECTED]
> Sent: jeudi 4 mai 2006 21:16
> To: Maven Users List
> Subject: [m2] cactus plugin?
> 
> Is there a cactus plugin for m2?  Any documentation/samples out there?
> Thanks.

No there isn't one yet AFAIK. The only really missing thing is actually a
cactifier mojo as the container start/stop/deploy can already be performed
by the cargo m2 plugin.

-Vincent






___ 
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos 
services préférés : vérifiez vos nouveaux mails, lancez vos recherches et 
suivez l'actualité en temps réel. 
Rendez-vous sur http://fr.yahoo.com/set

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



ClasspathElements

2006-05-04 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
 
Is there no getProvidedClasspathElements() ?
There are getRuntimeClasspathelements, getCompilexx, getTestxx.
 
Any idea how to get the classpaths which are in provided scope. 
 
Thanks
-Jagan
 
 


Re: Jar File Creation Destroys Images in Maven2

2006-05-04 Thread Wayne Fay

Read about filtering here:
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files?

Wayne

On 5/4/06, mas <[EMAIL PROTECTED]> wrote:


What exactly do the mean by filter?
--
View this message in context: 
http://www.nabble.com/RE%3A-Jar-File-Creation-Destroys-Images-in-Maven2-t1557762.html#a4236722
Sent from the Maven - Users forum 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: [m1] m1 equivalent of mvn install:install-file?

2006-05-04 Thread Lukas Theussl
I don't know of any equivalent in m1. Want to write an extension for the 
artifact plugin? :)


-Lukas


Jeff Jensen wrote:

Hi,

What is the equivalent in m1 of m2's "mvn install:install-file"?
Or is it "manually rename jars"?


-
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: Jar File Creation Destroys Images in Maven2

2006-05-04 Thread maskkkk

What exactly do the mean by filter?
--
View this message in context: 
http://www.nabble.com/RE%3A-Jar-File-Creation-Destroys-Images-in-Maven2-t1557762.html#a4236722
Sent from the Maven - Users forum at Nabble.com.


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



Re: svn authentication with m2 release plugin

2006-05-04 Thread Alexandre Poitras

There is a mistake there, the plugin uses "username" ("user.name" is
the OS user in Java).

On 5/4/06, Andrew Kreps <[EMAIL PROTECTED]> wrote:

I'm not using SVN, but on the Maven site I found this:


Use a different username in the SCM server than he one in the operating system:

Run mvn -Duser.name=your_username release:prepare


It's on this page:
http://maven.apache.org/plugins/maven-release-plugin/howto.html

Hopefully that will help.


On 5/4/06, Aaron Anderson <[EMAIL PROTECTED]> wrote:
> I am using subversion for scm and would like to use the m2 release plugin. I run 
release:prepare but I always get an  "authorization failed" error from svn. After 
doing a network trace I can that the svn client is sending my operating system credentials 
(!) instead of my subversion credentials. I did not modify the svn cached credentials 
setting and can easily run svn up, co, etc without entering credentials and the credentials 
sent are correct.
>
>   Why is svn not sending the proper cached credentials when run from the release 
plugin? Is there a way to specify the scm userID & pwd from the command line as 
there was with the m1 release plugin?
>
>   TIA
>
>

-
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] priority/order of dependencies

2006-05-04 Thread Wayne Fay

Two options:

1. Use the exclusions tag in the jfreechart dependency to specifically
exclude gnujaxp. See here:
http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html

2. Add dependency for gnujaxp and use provided. This
will probably work, but really option #1 is the "right" way to do this
in Maven.


Wayne

On 5/4/06, Dan Adams <[EMAIL PROTECTED]> wrote:

I'm using htmlunit and jfreechart for something and both depend on an
xml parser. The problem is that jfreechart depends on gnujaxp which
throws up tons of warnings and actually causes my htmlunit tests to
fail. I have xerces on the classpath but it comes after gnujaxp. Any
suggestions on how to get around this?

--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


-
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: problem with scm url yet

2006-05-04 Thread Lee Meador

As much as this question pops up it looks like the error message could be
more specific and provide some info on what is allowed.

-- Lee

On 5/4/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:




Vandermi Joao da Silva a écrit :
>
> I try put my project url (with modules) below
>
> scm:svn:https://myserver.com.br/repos/projects/trunk  but continuum
says[ You must provide a valid url ]

1- Your url isn't a valid url, it isn't a standard protocol. When you add
a project, you must
provide url with a known protocol http, https, ftp (and file is it's
allowed in
apps/continuum/conf/application.xml)
2- The url provided must be an url to a pom file and not a directory

So in your case a valid url is
https://myserver.com.br/repos/projects/trunk/pom.xml

>
>  My project have four modules and the first module compile the others.
>  In maven command line, I compile my parent pom.xml and it work very
good.
>  I use SVN.
>
>  Best Regards
>
>
> Vandermi Silva
> R&D MAO - Core Engines
> BenQ Eletroeletrônica Ltda.
>
> TEL +55(92) 2127-8015
> Mobile: +55(92) 8125-2248
> FAX +55(92) 2127-8102
> [EMAIL PROTECTED]
> www.BenQMobile.com
> Av. Djalma Batista, 536 - São Geraldo
> Manaus-AM
> Brasil
>
>
>
> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 04, 2006 3:34 AM
> To: continuum-users@maven.apache.org
> Subject: Re: problem with scm url yet
>
> What is your error/problem?
>
> Emmanuel
>
> Vandermi Joao da Silva a écrit :
>
>>Hi everyone , I have a problem when try put the scm url in continuum.
>>If not use modules then I can use a local pom and continuum work,  but
now I need use the modules in my projects then I don't insert the url.
>>I am using subversion and I put the url same below
>>scm:svn:https://myserver.com.br/repos/projects/trunk
>>my continuum version is  1.0.3-SNAPSHOT
>>Someone can help me?
>>
>>Best Regards
>>
>>
>>
>>
>>
>>
>>
>>Vandermi Silva
>>R&D MAO - Core Engines
>>
>>BenQ Eletroeletrônica Ltda.
>>
>>
>>
>>TEL +55(92) 2127-8015
>>Mobile: +55(92) 8125-2248
>>FAX +55(92) 2127-8102
>>[EMAIL PROTECTED]
>>www.BenQMobile.com
>>Av. Djalma Batista, 536 - São Geraldo
>>
>>Manaus-AM
>>Brasil
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>





--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Re: svn authentication with m2 release plugin

2006-05-04 Thread Andrew Kreps

I'm not using SVN, but on the Maven site I found this:


Use a different username in the SCM server than he one in the operating system:

Run mvn -Duser.name=your_username release:prepare


It's on this page:
http://maven.apache.org/plugins/maven-release-plugin/howto.html

Hopefully that will help.


On 5/4/06, Aaron Anderson <[EMAIL PROTECTED]> wrote:

I am using subversion for scm and would like to use the m2 release plugin. I run 
release:prepare but I always get an  "authorization failed" error from svn. 
After doing a network trace I can that the svn client is sending my operating system 
credentials (!) instead of my subversion credentials. I did not modify the svn cached 
credentials setting and can easily run svn up, co, etc without entering credentials and 
the credentials sent are correct.

  Why is svn not sending the proper cached credentials when run from the release 
plugin? Is there a way to specify the scm userID & pwd from the command line as 
there was with the m1 release plugin?

  TIA




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



[m2] priority/order of dependencies

2006-05-04 Thread Dan Adams
I'm using htmlunit and jfreechart for something and both depend on an
xml parser. The problem is that jfreechart depends on gnujaxp which
throws up tons of warnings and actually causes my htmlunit tests to
fail. I have xerces on the classpath but it comes after gnujaxp. Any
suggestions on how to get around this?

-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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



svn authentication with m2 release plugin

2006-05-04 Thread Aaron Anderson
I am using subversion for scm and would like to use the m2 release plugin. I 
run release:prepare but I always get an  "authorization failed" error from svn. 
After doing a network trace I can that the svn client is sending my operating 
system credentials (!) instead of my subversion credentials. I did not modify 
the svn cached credentials setting and can easily run svn up, co, etc without 
entering credentials and the credentials sent are correct. 
   
  Why is svn not sending the proper cached credentials when run from the 
release plugin? Is there a way to specify the scm userID & pwd from the command 
line as there was with the m1 release plugin?
   
  TIA


[m1] m1 equivalent of mvn install:install-file?

2006-05-04 Thread Jeff Jensen
Hi,

What is the equivalent in m1 of m2's "mvn install:install-file"?
Or is it "manually rename jars"?


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



[m2] cactus plugin?

2006-05-04 Thread Mark Hansen
Is there a cactus plugin for m2?  Any documentation/samples out there?  
Thanks.


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



Re: [m1] FindBugs Plug-in 1.2-SNAPSHOT release!

2006-05-04 Thread Lukas Theussl

There is one in the sandbox at mojo:

http://mojo.codehaus.org/findbugs-maven-plugin/

-Lukas


[EMAIL PROTECTED] wrote:

Any chance a similar plugin will be made for  maven 2?

-j

---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604) 643-6727








Lukas Theussl <[EMAIL PROTECTED]>
05/04/2006 09:26 AM
Please respond to "Maven Users List"

 
To: Maven Users List 
cc: 
Subject:Re: [m1] FindBugs Plug-in 1.2-SNAPSHOT release!


  Our Ref: 
Your Ref: 




Thanks Jeff for pushing this out!

There is a small error in the install instructions below: since it is a 
snapshot the repo.remote property should be:


-Dmaven.repo.remote=http://maven-plugins.sourceforge.net/snapshot-repository

and the address for manual installation is

http://maven-plugins.sourceforge.net/snapshot-repository/maven-plugins/plugins/maven-findbugs-plugin-1.2-SNAPSHOT.jar

Cheers,
Lukas


Jeff Jensen wrote:

We are pleased to announce the FindBugs Plug-in 1.2-SNAPSHOT release! 


http://maven-plugins.sourceforge.net/maven-findbugs-plugin

A plugin to automate FindBugs tasks 








===

Changes in this version include:

 New Features:

o Added violation description as a link to rule on FindBugs site in 


report; 

 add "Priority" column. Fixes 1465572. Thanks to Robert Zimmermann. 
o Added maven.findbugs.timeout property. Fixes 1378162. Thanks to Garvin 



 LeClaire. 
o Added maven.findbugs.visitors property. Fixes 1378162. Thanks to 


Garvin 

 LeClaire. 
o Added maven.findbugs.omitVisitors property. Fixes 1378162. Thanks to
Garvin 
 LeClaire. 
o Added maven.findbugs.plugins property. Fixes 1378162. Thanks to Garvin 



 LeClaire. 


 Changes:

o Update to findbugs 0.9.6. 








===


To automatically install the plugin, type the following on a single 


line:


maven plugin:download
 -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository
 -DgroupId=maven-plugins
 -DartifactId=maven-findbugs-plugin
 -Dversion=1.2-SNAPSHOT

For a manual installation, you can download the plugin here:
http://maven-plugins.sourceforge.net/repository/maven-plugins/plugins/maven-
findbugs-plugin-1.2-SNAPSHOT.jar


Have fun!
-The FindBugs Plug-in development team


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



 
*** 
This email may contain confidential information, and is intended only for 
the named recipient and may be privileged.  Distribution or copying of 
this email by anyone other than the named recipient is prohibited. If you 
are not the named recipient, please notify us immediately and permanently 
destroy this email and all copies of it.  Internet email is not private, 
secure, or reliable.  No member of the HSBC Group is liable for any errors 
or omissions in the content or transmission of this email. Any opinions 
contained in this email are solely those of the author and, unless clearly 
indicated otherwise in writing, are not endorsed by any member of the HSBC 
Group. 
*** 
Ce courriel peut renfermer des renseignements confidentiels et privilégiés 
et s'adresse au destinataire désigné seulement.   La distribution ou la 
copie de ce courriel par toute personne autre que le destinataire désigné 
est interdite.  Si vous n'êtes pas le destinataire désigné, veuillez nous 
en aviser immédiatement et détruire de façon permanente ce courriel ainsi 
que toute copie de celui-ci. La transmission de courriel par Internet ne 
constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. 
 Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des 
omissions relatives au contenu ou à la transmission de ce courriel. 
L'auteur de ce courriel est seul responsable des opinions émises dans ce 
courriel, lesquelles, à moins  d'un avis contraire fourni par écrit, ne 
sont pas endossées par aucun membre du Groupe HSBC. 
*** 



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



Re: [m1] FindBugs Plug-in 1.2-SNAPSHOT release!

2006-05-04 Thread justin_fung
Any chance a similar plugin will be made for  maven 2?

-j

---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604) 643-6727








Lukas Theussl <[EMAIL PROTECTED]>
05/04/2006 09:26 AM
Please respond to "Maven Users List"

 
To: Maven Users List 
cc: 
Subject:Re: [m1] FindBugs Plug-in 1.2-SNAPSHOT release!

  Our Ref: 
Your Ref: 



Thanks Jeff for pushing this out!

There is a small error in the install instructions below: since it is a 
snapshot the repo.remote property should be:

-Dmaven.repo.remote=http://maven-plugins.sourceforge.net/snapshot-repository

and the address for manual installation is

http://maven-plugins.sourceforge.net/snapshot-repository/maven-plugins/plugins/maven-findbugs-plugin-1.2-SNAPSHOT.jar

Cheers,
Lukas


Jeff Jensen wrote:
> We are pleased to announce the FindBugs Plug-in 1.2-SNAPSHOT release! 
> 
> http://maven-plugins.sourceforge.net/maven-findbugs-plugin
> 
> A plugin to automate FindBugs tasks 
> 
> 

> ===
> 
> Changes in this version include:
> 
>   New Features:
> 
> o Added violation description as a link to rule on FindBugs site in 
report; 
>   add "Priority" column. Fixes 1465572. Thanks to Robert Zimmermann. 
> o Added maven.findbugs.timeout property. Fixes 1378162. Thanks to Garvin 

>   LeClaire. 
> o Added maven.findbugs.visitors property. Fixes 1378162. Thanks to 
Garvin 
>   LeClaire. 
> o Added maven.findbugs.omitVisitors property. Fixes 1378162. Thanks to
> Garvin 
>   LeClaire. 
> o Added maven.findbugs.plugins property. Fixes 1378162. Thanks to Garvin 

>   LeClaire. 
> 
>   Changes:
> 
> o Update to findbugs 0.9.6. 
> 
> 

> ===
> 
> 
> To automatically install the plugin, type the following on a single 
line:
> 
> maven plugin:download
>   -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository
>   -DgroupId=maven-plugins
>   -DartifactId=maven-findbugs-plugin
>   -Dversion=1.2-SNAPSHOT
> 
> For a manual installation, you can download the plugin here:
> http://maven-plugins.sourceforge.net/repository/maven-plugins/plugins/maven-
> findbugs-plugin-1.2-SNAPSHOT.jar
> 
> 
> Have fun!
> -The FindBugs Plug-in development team
> 
> 
> -
> 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]



 
*** 
This email may contain confidential information, and is intended only for 
the named recipient and may be privileged.  Distribution or copying of 
this email by anyone other than the named recipient is prohibited. If you 
are not the named recipient, please notify us immediately and permanently 
destroy this email and all copies of it.  Internet email is not private, 
secure, or reliable.  No member of the HSBC Group is liable for any errors 
or omissions in the content or transmission of this email. Any opinions 
contained in this email are solely those of the author and, unless clearly 
indicated otherwise in writing, are not endorsed by any member of the HSBC 
Group. 
*** 
Ce courriel peut renfermer des renseignements confidentiels et privilégiés 
et s'adresse au destinataire désigné seulement.   La distribution ou la 
copie de ce courriel par toute personne autre que le destinataire désigné 
est interdite.  Si vous n'êtes pas le destinataire désigné, veuillez nous 
en aviser immédiatement et détruire de façon permanente ce courriel ainsi 
que toute copie de celui-ci. La transmission de courriel par Internet ne 
constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. 
 Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des 
omissions relatives au contenu ou à la transmission de ce courriel. 
L'auteur de ce courriel est seul responsable des opinions émises dans ce 
courriel, lesquelles, à moins  d'un avis contraire fourni par écrit, ne 
sont pas endossées par aucun membre du Groupe HSBC. 
*** 


[m2] getting a file path for a JAR

2006-05-04 Thread Mark Hansen
I want to write a plugin that I can pass a groupId/artifactId to, and it 
will upload the artifact to a specific directory (say - to build a lib 
directory).  Does anyone know how I can get a file reference to the 
artifacts that Maven builds, so that I can copy them elsewhere?


Thanks,

Mark

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



Intalled pom version is not expanded resulting in a bogus pom version in the repository.

2006-05-04 Thread LaCasse, John
Hi,

 

If the version in the pom is specified using a property such as
${env.version} the install plugin is installing the pom in the
repository without expanding this property. Hence the pom that gets
installed into the repository has a version of ${env.version} which is a
totally bogus version. This, to me, appears to be a bug in the install
plugin; am I missing something. Everything else in the build cycle seems
to work just fine doing it this way, just not the install of the pom
into the repository. I don't want to have to hardcode my version info
into my parent pom and all child poms everytime I change the build
version, which for us is every build.

 

Thanks for any help on this

Jpl



organizationUrl with ','

2006-05-04 Thread andreas.ebbert-karroum
Hi,
 
my organization has ',' in their URL:
http://www.europe.nokia.com/nokia/0,,64463,00.html
 
when I try to enter that in the pom and generate the site, the team overview 
does not pick up the complete URL, but only the part after the last ',' - is 
there a chance to get around it? Even enclosing it in a CDATA does not do the 
trick.
 
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





[m2] source jars for test-jar jars

2006-05-04 Thread Dan Adams
How do you produce a source jar for a test-jar type jar like you do with
normal jars?

-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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



Re: EJB Client Jar Problem

2006-05-04 Thread raghurajan . x . gurunathan
Thanks,

Yes its working with 2.1 snapshot plugin






Thanks,
Raghu 





Pete Marvin King <[EMAIL PROTECTED]>
05/04/2006 04:54 AM
Please respond to "Maven Users List"

 
To: Maven Users List 
cc: 
Subject:Re: EJB Client Jar Problem



  verified, it's already fixed on version 2.1 of the plugin
  clientExclude doesn't work on version 2.0.


Pete Marvin King wrote:
> include and exclude works fine in the unit test.
> can you try getting the latest version. =)
> 
>  btw, if you don't specify client exclusion
>  it will automatically exclude the following :
> 
>**/*Bean.class
>**/*CMP.class
>**/*package.html
>
>
> pete marvin
>
>
> [EMAIL PROTECTED] wrote:
> 
>> It sounds like an bug
>>
>> I created a bug in jira for this http://jira.codehaus.org/browse/MEJB-12
>>
>>
>>
>>
>>
>> Thanks,
>> Raghu 
>>
>>
>>
>>
>>
>> Pete <[EMAIL PROTECTED]>
>> 05/03/2006 04:43 PM
>> Please respond to "Maven Users List"
>>
>> 
>> To: "Maven Users List" 
>> cc: 
>> Subject:Re: EJB Client Jar Problem
>>
>>
>> I had the same problem so would be interested if anyone can help ?
>>
>> On 02/05/06, [EMAIL PROTECTED] <
>> [EMAIL PROTECTED]> wrote:
>> 
>> 
>>> Hi,,
>>>
>>> I'm trying to create ejb client from ejb project
>>>
>>> this is what i have in my pom
>>>
>>>
>>> org.apache.maven.plugins
>>> maven-ejb-plugin
>>>
>>> true
>>>
>>> **/Session*
>>>
>>>
>>> **/Shop*
>>>
>>>
>>>
>>> true
>>>
>>>
>>> ${build.env}
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> it is creating ejb-client jar but it just includes almost all class 
>>> 
>>> 
>> files
>> 
>> 
>>> from the ejb.jar files, and has no effect on  or
>>>  either i specify both of them or only one of them
>>>
>>> Has anyone made it working something like this please advise??
>>>
>>>
>>>
>>>
>>> Thanks,
>>> Raghu
>>>
>>>
>>> 
>>> 
>>
>> 
>> 
>
>
> 


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





Re: [m2] including non-maven jars with your project

2006-05-04 Thread Wayne Fay

You should really install them in your local repository using "mvn
install:install-file..."

If you can't/won't do this, you can use the system, but
this is generally not recommended.

Wayne

On 5/4/06, Dan Adams <[EMAIL PROTECTED]> wrote:

I have a jar or two that are not in the maven repository and don't have
a pom. Is there a way that I can just package these with my project or
do I have to install them in the repository?

--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


-
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: [m1] FindBugs Plug-in 1.2-SNAPSHOT release!

2006-05-04 Thread Lukas Theussl


Thanks Jeff for pushing this out!

There is a small error in the install instructions below: since it is a 
snapshot the repo.remote property should be:


-Dmaven.repo.remote=http://maven-plugins.sourceforge.net/snapshot-repository

and the address for manual installation is

http://maven-plugins.sourceforge.net/snapshot-repository/maven-plugins/plugins/maven-findbugs-plugin-1.2-SNAPSHOT.jar

Cheers,
Lukas


Jeff Jensen wrote:
We are pleased to announce the FindBugs Plug-in 1.2-SNAPSHOT release! 


http://maven-plugins.sourceforge.net/maven-findbugs-plugin

A plugin to automate FindBugs tasks 



===

Changes in this version include:

  New Features:

o Added violation description as a link to rule on FindBugs site in report; 
  add "Priority" column. Fixes 1465572. Thanks to Robert Zimmermann. 
o Added maven.findbugs.timeout property. Fixes 1378162. Thanks to Garvin 
  LeClaire. 
o Added maven.findbugs.visitors property. Fixes 1378162. Thanks to Garvin 
  LeClaire. 
o Added maven.findbugs.omitVisitors property. Fixes 1378162. Thanks to
Garvin 
  LeClaire. 
o Added maven.findbugs.plugins property. Fixes 1378162. Thanks to Garvin 
  LeClaire. 


  Changes:

o Update to findbugs 0.9.6.  



===


To automatically install the plugin, type the following on a single line:

maven plugin:download
  -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository
  -DgroupId=maven-plugins
  -DartifactId=maven-findbugs-plugin
  -Dversion=1.2-SNAPSHOT

For a manual installation, you can download the plugin here:
http://maven-plugins.sourceforge.net/repository/maven-plugins/plugins/maven-
findbugs-plugin-1.2-SNAPSHOT.jar
 


Have fun!
-The FindBugs Plug-in development team


-
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] including non-maven jars with your project

2006-05-04 Thread Dan Adams
I have a jar or two that are not in the maven repository and don't have
a pom. Is there a way that I can just package these with my project or
do I have to install them in the repository?

-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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



Re: [Maven 2] Integration Testing?

2006-05-04 Thread Dan Adams
If you haven't already, I would highly suggest taking a look at the
maven 2 book "Better Builds with Maven". There is a whole chapter on
this topic.
http://www.mergere.com/m2book_download.jsp


On Thu, 2006-05-04 at 11:31 -0400, Mark Hansen wrote:
> I'm trying to understand how to best do integration testing with Maven 
> 2.x.  I am using the pre-integration-test and post-integration-test 
> phases to execute a plugin goal that I wrote to deploy some EJBs to a 
> container.  These EJBs are used in the integration test.
> 
> Now, how do I run the tests where the current component being built 
> tests its interactions with these EJBs?  Do I have to bind my own plugin 
> goal to the integration-test phase?  If so, are there any plugins that 
> are typically used for this type of integration testing?
> 
> Thanks,
> 
> Mark
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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



Re: [m2][site] Skin developmetn advice wanted

2006-05-04 Thread Mikael Andersson

Aha,
thanks.

On 04/05/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:


It's seems to have been moved to the doxia project (make more sense) :

http://svn.apache.org/repos/asf/maven/doxia/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm

On 5/4/06, Mikael Andersson <[EMAIL PROTECTED]> wrote:
> Hi, I can't find a velocity template in the plugin jar file?
>
> The content of my site plugin jar file:
>
> [EMAIL PROTECTED] tmp2]$ jar -tf
>
~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-SNAPSHOT/maven-
> site-plugin-2.0- SNAPSHOT.jar | grep vm
> [EMAIL PROTECTED] tmp2]$ jar -tf
>
~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-SNAPSHOT/maven-
> site-plugin-2.0-SNAPSHOT.jar META-INF/
> META-INF/MANIFEST.MF
> META-INF/maven/
> org/
> org/apache/
> org/apache/maven/
> org/apache/maven/plugins/
> org/apache/maven/plugins/site/
> org/apache/maven/plugins/site/webapp/
> webapp/
> default-site.xml
> META-INF/maven/plugin.xml
> org/apache/maven/plugins/site/AbstractSiteMojo.class
> org/apache/maven/plugins/site/AbstractSiteRenderingMojo.class
> org/apache/maven/plugins/site/CategorySummaryDocumentRenderer.class
> org/apache/maven/plugins/site/ReportComparator.class
> org/apache/maven/plugins/site/ReportDocumentRenderer.class
> org/apache/maven/plugins/site/SiteDeployMojo.class
> org/apache/maven/plugins/site/SiteDescriptorArtifactMetadata.class
> org/apache/maven/plugins/site/SiteDescriptorAttachMojo.class
> org/apache/maven/plugins/site/SiteMojo.class
> org/apache/maven/plugins/site/SiteRunMojo.class
> org/apache/maven/plugins/site/SiteStageMojo.class
> org/apache/maven/plugins/site/webapp/DoxiaFilter.class
> site-plugin.properties
> site-plugin_de.properties
> site-plugin_es.properties
> site-plugin_fr.properties
> site-plugin_it.properties
> site-plugin_ja.properties
> site-plugin_nl.properties
> site-plugin_pl.properties
> site-plugin_pt_BR.properties
> site-plugin_zh_CN.properties
> webapp/web.xml
> META-INF/maven/org.apache.maven.plugins/
> META-INF/maven/org.apache.maven.plugins/maven-site-plugin/
> META-INF/maven/org.apache.maven.plugins/maven-site-plugin/pom.xml
> META-INF/maven/org.apache.maven.plugins/maven-site-plugin/pom.properties
>
> Content of the default skin jar file:
>
> [EMAIL PROTECTED] tmp2]$ jar -tf
>
~/.m2/repository/org/apache/maven/skins/maven-default-skin/1.0-SNAPSHOT/maven-
> default-skin-1.0-SNAPSHOT.jar
> META-INF/
> META-INF/MANIFEST.MF
> css/
> images/
> css/maven-theme.css
> images/external.png
> images/icon_error_sml.gif
> images/icon_info_sml.gif
> images/icon_success_sml.gif
> images/icon_warning_sml.gif
> images/newwindow.png
> META-INF/maven/
> META-INF/maven/org.apache.maven.skins/
> META-INF/maven/org.apache.maven.skins/maven-default-skin/
> META-INF/maven/org.apache.maven.skins/maven-default-skin/pom.xml
>
> - Micke
>
> On 04/05/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> >
> > You should put the velocity template under /meta-inf/maven/site.vm.
> > Start from the one you found in the site plugin sources. Work #1 in my
> > case.
> >
> > On 5/3/06, Mikael Andersson <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > > I have the 2.0-SNAPSHOT of the site plugin running with the skins
stuff
> > > working.
> > >
> > > I downloaded a the default skins jar file and had a look. I
suspected it
> > to
> > > contain a velocity template or something but it didn't; just css,
images
> > and
> > > some other stuff.
> > >
> > > I am about to ask one of the web guys about help with creating a
skin
> > which
> > > fits our layout requirements, before I do this I tought I should ask
> > about
> > > how to go about this. What do I need to download in order to be able
to
> > > setup the web developer with all the things needed?
> > >
> > > Are there any online documentation which I have missed?
> > >
> > > Cheers,
> > >  Micke
> > >
> > >
> >
> > -
> > 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: specifying versions in sub-projects

2006-05-04 Thread Wayne Fay

I believe the "right" way of doing this is by specifying a
 in parent pom, and removing version numbers from
all plugin references everywhere else. ;-)

Wayne

On 5/4/06, jerome lacoste <[EMAIL PROTECTED]> wrote:

Hi.

if I have

P1
  |- P2

Now P2 requires a particular version of a plugin, newer than the one
taken by default by P1.

After changing P2's pom, if I build from P2, then my P2 build will work.
But if I build from P1, P2 will fail.

My solution was to move the plugin-version specification in the root
pom, but I found that counter intuitive. Comments?

Jerome

-
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: Jar File Creation Destroys Images in Maven2

2006-05-04 Thread Wayne Fay

If you open your garbled images in a hex editor, you will probably
notice a few tokens were replaced by Maven filtering. You should run
strings on the corrupted file just to see what's in it. ;-)

Assume the random bits in a JPG just happened to align with a Maven
token like ${buildDirectory}, it would be replaced by
c:\projects\maven\projA or whatever, thus corrupting the image.

Moving these types of resources to a non-filtered directory is the
best approach.

Wayne

On 5/4/06, Edelson, Justin <[EMAIL PROTECTED]> wrote:

> Also just as a side note...I tried making the jar from scratch using
just
> the jar command and everything is fine. (But it'd still be really nice
to
> use mvn to do it instead...)

I assum you're running jar on the contents of src/main/resources, which
isn't what maven is doing. Take a look at target/classes. Your images
are probably garbled there as well.

It appears to me that the garbeling happens when the resources plugin is
executed and the directory is being filtered. While the resources plugin
could be modified to detect if a file was of a particular type and
choose to filter or not filter based on the type, this doesn't scale
well (and could have some serious performance impact on projects with a
lot of resources). Although it's slightly more onerous for the pom
writer, the best solution (and the one that works now) would be to use a
separate resources directory for resources that shouldn't be filtered.

  

  
src/main/resources
true
  
  
src/main/images
false 
  

  

If you absolutely needed to put all the resources in the same directory,
you could also accomplish this with includes/excludes:

  

  
src/main/resources
true

**/*.jpg
**/*.gif
**/*.png

  
  
src/main/resources
false

**/*.jpg
**/*.gif
**/*.png

  

  

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



[Maven 2] Integration Testing?

2006-05-04 Thread Mark Hansen
I'm trying to understand how to best do integration testing with Maven 
2.x.  I am using the pre-integration-test and post-integration-test 
phases to execute a plugin goal that I wrote to deploy some EJBs to a 
container.  These EJBs are used in the integration test.


Now, how do I run the tests where the current component being built 
tests its interactions with these EJBs?  Do I have to bind my own plugin 
goal to the integration-test phase?  If so, are there any plugins that 
are typically used for this type of integration testing?


Thanks,

Mark

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



Re: Changing working directory for Maven2-Continuum-Build?

2006-05-04 Thread Emmanuel Venisse

you can't.

Why do you add a project from root dir and not root/Code?

Emmanuel

Thomas Marti (HSR) a écrit :

Hello everyone

Our directory layout looks like this:

/
Code/
src/
build.xml
jdo_2_0.dtd
pom.xml

Documentation/


If I cd to /Code and start 'mvn test' or some other goal it works 
fine. But when I configure Continuum to read the POM from 
/Code/pom.xml, it runs Maven with / as working directory. 
This causes our tests to fail, because we read resources (dtds, etc.) 
from the working directory and they're expected to be there. This way we 
can use the same ANT-Script (build.xml) on the developers workstations 
and in Maven (with maven-antrun-plugin). But the working directory has 
to be /Code! Ist there a way to configure this in Continuum?


Any help is appreciated. Thanks!


Bye, Thomas








RE: Jar File Creation Destroys Images in Maven2

2006-05-04 Thread Edelson, Justin
> Also just as a side note...I tried making the jar from scratch using
just
> the jar command and everything is fine. (But it'd still be really nice
to
> use mvn to do it instead...)

I assum you're running jar on the contents of src/main/resources, which
isn't what maven is doing. Take a look at target/classes. Your images
are probably garbled there as well.

It appears to me that the garbeling happens when the resources plugin is
executed and the directory is being filtered. While the resources plugin
could be modified to detect if a file was of a particular type and
choose to filter or not filter based on the type, this doesn't scale
well (and could have some serious performance impact on projects with a
lot of resources). Although it's slightly more onerous for the pom
writer, the best solution (and the one that works now) would be to use a
separate resources directory for resources that shouldn't be filtered.

  

  
src/main/resources
true
  
  
src/main/images
false 
  

  

If you absolutely needed to put all the resources in the same directory,
you could also accomplish this with includes/excludes:

  

  
src/main/resources
true

**/*.jpg
**/*.gif
**/*.png

  
  
src/main/resources
false

**/*.jpg
**/*.gif
**/*.png

  

  

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



Re: specifying versions in sub-projects

2006-05-04 Thread jerome lacoste

On 5/4/06, Feniks Nator <[EMAIL PROTECTED]> wrote:

This in discussed in the book Better Builds with Maven which you find here
(for free):
http://www.mergere.com/m2book_download.jsp
See the following sections:
p54: 3.4 Managing Dependencies
p.57: 3.6 Resolving dependency conflicts

I think those solutions are rather good.


The one thing that relates to what I am facing is the following:

"The version selected is the nearest to the top of the tree. [...] A
dependency in the POM being built will be used over anything else".
(3.6)

I don't really see why maven must take a decision, but I probably
don't have the full overview of the issues. Sub projects should work
on their own as well as when grouped, otherwise that makes aggregating
projects together a potential source of failure.

If I have P2 a sub module of P1, m2 could run P1 according to what is
defined in P1's pom, but P2 according to what is defined in P2's pom.
A user dependency version override should have a bigger precedence
over what is derived from the tool's implicit setup.

Anyway my issue's fixed and I know why it works like that, even though
I find it strange. Seems that I read that part of the book too fast.
Thanks for pointing me to the paragraphes.

Jerome

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



Changing working directory for Maven2-Continuum-Build?

2006-05-04 Thread Thomas Marti (HSR)

Hello everyone

Our directory layout looks like this:

/
Code/
src/
build.xml
jdo_2_0.dtd
pom.xml

Documentation/


If I cd to /Code and start 'mvn test' or some other goal it works 
fine. But when I configure Continuum to read the POM from 
/Code/pom.xml, it runs Maven with / as working directory. 
This causes our tests to fail, because we read resources (dtds, etc.) 
from the working directory and they're expected to be there. This way we 
can use the same ANT-Script (build.xml) on the developers workstations 
and in Maven (with maven-antrun-plugin). But the working directory has 
to be /Code! Ist there a way to configure this in Continuum?


Any help is appreciated. Thanks!


Bye, Thomas



Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Wayne Fay

Implement both, after 30 or 60 days, decide which one you like best
and drop the other. ;-)

Wayne

On 5/4/06, Eric Pugh <[EMAIL PROTECTED]> wrote:

I think a lot of it just comes down to personal preference.  If your
decision isn't driven by a specific feature/missing feature of one or
the other, then go with the one you are more comfortable with!  Often
having expertise in one or the other is a better reason to pick it.
After all, it's just a glorified cron job!  We should be spending
time on coding, not CI.

And, having multiple successful solutions is good for moving the
market forward...

Eric

On May 4, 2006, at 2:00 PM, Siegmann Daniel, NY wrote:

>> clean site:deploy deploy).  I have never used cruise control
>> but I heard it's hard to configure.
>
> I have not found CruiseControl difficult to configure. It's not more
> difficult than Maven is, and adding more projects to the
> configuration is
> mostly copy-paste. CC also comes with a nice web-based status page (in
> addition to email reports) which is very simple to set up.
>
> --
> Daniel Siegmann
> FJA-US, Inc.
> (212) 840-2618 ext. 139
>
> -
> 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: specifying versions in sub-projects

2006-05-04 Thread Feniks Nator

This in discussed in the book Better Builds with Maven which you find here
(for free):
http://www.mergere.com/m2book_download.jsp
See the following sections:
p54: 3.4 Managing Dependencies
p.57: 3.6 Resolving dependency conflicts

I think those solutions are rather good.


On 5/4/06, jerome lacoste <[EMAIL PROTECTED]> wrote:


Hi.

if I have

P1
  |- P2

Now P2 requires a particular version of a plugin, newer than the one
taken by default by P1.

After changing P2's pom, if I build from P2, then my P2 build will work.
But if I build from P1, P2 will fail.

My solution was to move the plugin-version specification in the root
pom, but I found that counter intuitive. Comments?

Jerome

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




Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Eric Pugh
I think a lot of it just comes down to personal preference.  If your  
decision isn't driven by a specific feature/missing feature of one or  
the other, then go with the one you are more comfortable with!  Often  
having expertise in one or the other is a better reason to pick it.   
After all, it's just a glorified cron job!  We should be spending  
time on coding, not CI.


And, having multiple successful solutions is good for moving the  
market forward...


Eric

On May 4, 2006, at 2:00 PM, Siegmann Daniel, NY wrote:


clean site:deploy deploy).  I have never used cruise control
but I heard it's hard to configure.


I have not found CruiseControl difficult to configure. It's not more
difficult than Maven is, and adding more projects to the  
configuration is

mostly copy-paste. CC also comes with a nice web-based status page (in
addition to email reports) which is very simple to set up.

--
Daniel Siegmann
FJA-US, Inc.
(212) 840-2618 ext. 139

-
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: Proxy settings

2006-05-04 Thread Wayne Fay

I agree with you Alexandre. Sounds like a good JIRA Enhancement request for 2.1.

Wayne

On 5/4/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:

You can't change the proxy settings using a profile. I think they
forgot about laptop.

On 5/4/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote:
> On Tuesday 02 May 2006 9:47 am, Alexandre Poitras wrote:
> > Hi,
> >
> > I was wondering how laptops users were dealing with proxy settings in
> > Maven 2. For my part, since profiles can't enable/disable proxy, I
> > disable it manually whenever I work at home. It's a little bit
> > annoying and so I was wondering if anyone had found a workaround. Any
> > suggestions?
> >
> > Thank!
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> Have you tried two profiles? One with proxy, the other without? Then use the
> appropriate profile depending on where you are.
>
> HTH,
>
> Henry
>
> -
> 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]



specifying versions in sub-projects

2006-05-04 Thread jerome lacoste

Hi.

if I have

P1
 |- P2

Now P2 requires a particular version of a plugin, newer than the one
taken by default by P1.

After changing P2's pom, if I build from P2, then my P2 build will work.
But if I build from P1, P2 will fail.

My solution was to move the plugin-version specification in the root
pom, but I found that counter intuitive. Comments?

Jerome

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



Re: Issues downloading from repos

2006-05-04 Thread Alexandre Poitras

Another thing you should try is to use Maven Proxy if you are planning
that more than one people are going to use Maven in your corporation.

Also, you can modify the repository updatePolicy in the settings.xml
file to change Maven's online behaviour.

On 5/4/06, Simon Kitching <[EMAIL PROTECTED]> wrote:

Hi,

You can also put
  true
in your settings.xml file to disable remote access permanently, once
you've managed to download all the necessary dependencies.

http://maven.apache.org/ref/current/maven-settings/settings.html

Regards,

Simon

On Wed, 2006-05-03 at 15:21 +0200, Kees de Kooter wrote:
> Yes. ibiblio (== repo1) is a very busy site.
>
> Once you have built your project succesfully once all dependencies are
> in your local repository. You can then run your build offline with the
> -o switch.
>
> On 5/3/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> >   Being new to Maven2 I am not sure if this is really an issue.  I am
> > having problems when downloading plugins and dependencies from various
> > repos (ibiblio, codehause, repo1).  It takes forever to download either
> > the pom or the jar files.  And quite often if fails.
> >
> >   When it fails, I have to start the process over again. And it may
> > download the required artifact or it may not.  To do a compile, I will
> > have run the maven goal quite a few times before it actually does the
> > compile.
> >
> >   Is anyone else experiencing this problem?
> >
> > --
> > Regards,
> > Douglas WF Acheson
> >
> >
> > -
> > 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]



[m1] FindBugs Plug-in 1.2-SNAPSHOT release!

2006-05-04 Thread Jeff Jensen
We are pleased to announce the FindBugs Plug-in 1.2-SNAPSHOT release! 

http://maven-plugins.sourceforge.net/maven-findbugs-plugin

A plugin to automate FindBugs tasks 


===

Changes in this version include:

  New Features:

o Added violation description as a link to rule on FindBugs site in report; 
  add "Priority" column. Fixes 1465572. Thanks to Robert Zimmermann. 
o Added maven.findbugs.timeout property. Fixes 1378162. Thanks to Garvin 
  LeClaire. 
o Added maven.findbugs.visitors property. Fixes 1378162. Thanks to Garvin 
  LeClaire. 
o Added maven.findbugs.omitVisitors property. Fixes 1378162. Thanks to
Garvin 
  LeClaire. 
o Added maven.findbugs.plugins property. Fixes 1378162. Thanks to Garvin 
  LeClaire. 

  Changes:

o Update to findbugs 0.9.6.  


===


To automatically install the plugin, type the following on a single line:

maven plugin:download
  -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/repository
  -DgroupId=maven-plugins
  -DartifactId=maven-findbugs-plugin
  -Dversion=1.2-SNAPSHOT

For a manual installation, you can download the plugin here:
http://maven-plugins.sourceforge.net/repository/maven-plugins/plugins/maven-
findbugs-plugin-1.2-SNAPSHOT.jar
 

Have fun!
-The FindBugs Plug-in development team


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



Re: [m2] setting up internal repository

2006-05-04 Thread Alexandre Poitras

If you want to control what's put in the repository just use a FTP (or
any other protocol) in which normal users don't have write access.
Then assign some administrators who get write acces rights and are
able to upload dependencies. When normal users want a new dependency,
they just need to ask the admin. It's a bit strict but I think it is
what you want.

Note users won't be able to deploy their projects either on this
repository so maybe you should have another repository where
developpers can upload their project.

On 5/4/06, Feniks Nator <[EMAIL PROTECTED]> wrote:

Hey,

I'm wondering what's the best way to set up an internal Maven repository.

I know of the Maven Repository Manager (MRM), but when will it be available?

We would like to control what's put in the internal repository.
So one of the ideas was to create a maven project that contains only
dependencies to 'allowed' libraries. The local repository of this project
could then be used as The central internal repository. However this approach
does not seem to work, because the maven-metadata.xml files are not created.
Can anyone confirm that this approach indeed does not work?

Anyone knows of good in-dept documentation on this (I've read the guidelines
on the Maven site, and Better Builds with Maven (which is by the way a great
introduction to maven))?
Do there exist other tools to 'easily' manage maven repositories?

Thanks..




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



[m2] test-jar and dependencies

2006-05-04 Thread Dan Adams
So I have a normal 2 module webapp project (one for the webapp and one
for the integration tests) and we also have another project that
provides some base classes for testing which I need. So in my
integration-tests module I have a dependency set to type 'test-jar' and
it looks like maven gets it alright. But I'm using eclipse and in maven2
dependencies i see everything for the normal dependencies but nothing
(both the jars and the transitive dependencies) for the test-jar jars.
Any ideas? Am I mis-understanding test-jar? Thanks.

-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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



Re: Proxy settings

2006-05-04 Thread Alexandre Poitras

You can't change the proxy settings using a profile. I think they
forgot about laptop.

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

On Tuesday 02 May 2006 9:47 am, Alexandre Poitras wrote:
> Hi,
>
> I was wondering how laptops users were dealing with proxy settings in
> Maven 2. For my part, since profiles can't enable/disable proxy, I
> disable it manually whenever I work at home. It's a little bit
> annoying and so I was wondering if anyone had found a workaround. Any
> suggestions?
>
> Thank!
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Have you tried two profiles? One with proxy, the other without? Then use the
appropriate profile depending on where you are.

HTH,

Henry

-
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][site] Skin developmetn advice wanted

2006-05-04 Thread Alexandre Poitras

It's seems to have been moved to the doxia project (make more sense) :
http://svn.apache.org/repos/asf/maven/doxia/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm

On 5/4/06, Mikael Andersson <[EMAIL PROTECTED]> wrote:

Hi, I can't find a velocity template in the plugin jar file?

The content of my site plugin jar file:

[EMAIL PROTECTED] tmp2]$ jar -tf
~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-SNAPSHOT/maven-
site-plugin-2.0- SNAPSHOT.jar | grep vm
[EMAIL PROTECTED] tmp2]$ jar -tf
~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-SNAPSHOT/maven-
site-plugin-2.0-SNAPSHOT.jar META-INF/
META-INF/MANIFEST.MF
META-INF/maven/
org/
org/apache/
org/apache/maven/
org/apache/maven/plugins/
org/apache/maven/plugins/site/
org/apache/maven/plugins/site/webapp/
webapp/
default-site.xml
META-INF/maven/plugin.xml
org/apache/maven/plugins/site/AbstractSiteMojo.class
org/apache/maven/plugins/site/AbstractSiteRenderingMojo.class
org/apache/maven/plugins/site/CategorySummaryDocumentRenderer.class
org/apache/maven/plugins/site/ReportComparator.class
org/apache/maven/plugins/site/ReportDocumentRenderer.class
org/apache/maven/plugins/site/SiteDeployMojo.class
org/apache/maven/plugins/site/SiteDescriptorArtifactMetadata.class
org/apache/maven/plugins/site/SiteDescriptorAttachMojo.class
org/apache/maven/plugins/site/SiteMojo.class
org/apache/maven/plugins/site/SiteRunMojo.class
org/apache/maven/plugins/site/SiteStageMojo.class
org/apache/maven/plugins/site/webapp/DoxiaFilter.class
site-plugin.properties
site-plugin_de.properties
site-plugin_es.properties
site-plugin_fr.properties
site-plugin_it.properties
site-plugin_ja.properties
site-plugin_nl.properties
site-plugin_pl.properties
site-plugin_pt_BR.properties
site-plugin_zh_CN.properties
webapp/web.xml
META-INF/maven/org.apache.maven.plugins/
META-INF/maven/org.apache.maven.plugins/maven-site-plugin/
META-INF/maven/org.apache.maven.plugins/maven-site-plugin/pom.xml
META-INF/maven/org.apache.maven.plugins/maven-site-plugin/pom.properties

Content of the default skin jar file:

[EMAIL PROTECTED] tmp2]$ jar -tf
~/.m2/repository/org/apache/maven/skins/maven-default-skin/1.0-SNAPSHOT/maven-
default-skin-1.0-SNAPSHOT.jar
META-INF/
META-INF/MANIFEST.MF
css/
images/
css/maven-theme.css
images/external.png
images/icon_error_sml.gif
images/icon_info_sml.gif
images/icon_success_sml.gif
images/icon_warning_sml.gif
images/newwindow.png
META-INF/maven/
META-INF/maven/org.apache.maven.skins/
META-INF/maven/org.apache.maven.skins/maven-default-skin/
META-INF/maven/org.apache.maven.skins/maven-default-skin/pom.xml

- Micke

On 04/05/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
>
> You should put the velocity template under /meta-inf/maven/site.vm.
> Start from the one you found in the site plugin sources. Work #1 in my
> case.
>
> On 5/3/06, Mikael Andersson <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I have the 2.0-SNAPSHOT of the site plugin running with the skins stuff
> > working.
> >
> > I downloaded a the default skins jar file and had a look. I suspected it
> to
> > contain a velocity template or something but it didn't; just css, images
> and
> > some other stuff.
> >
> > I am about to ask one of the web guys about help with creating a skin
> which
> > fits our layout requirements, before I do this I tought I should ask
> about
> > how to go about this. What do I need to download in order to be able to
> > setup the web developer with all the things needed?
> >
> > Are there any online documentation which I have missed?
> >
> > Cheers,
> >  Micke
> >
> >
>
> -
> 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 - EAR deployment

2006-05-04 Thread Vijay Shanker
David,
 
I tried installing your with the same pom and the same packaging type but had 
the same problem so using ejbdeploy.sh for deployment code generation work 
directly.
 
Thanks,
Vijay
 



From: David J. M. Karlsen [mailto:[EMAIL PROTECTED]
Sent: Wed 5/3/2006 6:04 PM
To: Maven Users List
Subject: Re: M2 - EAR deployment



Vijay Shanker wrote:
> David,
> 
> Please suggest me as I am stuck.
> 
> I have installed maven-was-plugin in following way:
>
> mvn install:install-file -Dfile=maven-was-plugin-1.0-20060418.100451-1.jar 
> -DgroupId=com.davidkarlsen.maven.plugins -DartifactId=maven-was-plugin 
> -Dversion=1.0-SNAPSHOT -Dpackaging=jar
>
> But getting boew given build error:
>
> [INFO] Building Honda GALC Application Ear
> [INFO]task-segment: [package]
> [INFO] 
> -
> ---
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] Failed to resolve artifact.
> GroupId: com.davidkarlsen.maven.plugins
> ArtifactId: maven-was-plugin
> Version: 1.0-SNAPSHOT
> Reason: Unable to download the artifact from any repository
>   com.davidkarlsen.maven.plugins:maven-was-plugin:pom:1.0-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2   
>   > > )
>
> Please suggest, if there is anything wrong.
>
> Thanks,
> Vijay
>
>
> 
>
> From: Vijay Shanker [mailto:[EMAIL PROTECTED]
> Sent: Tue 5/2/2006 8:40 AM
> To: Maven Users List
> Subject: RE: M2 - EAR deployment
>
>
>
> David,
>
> I have installed maven-was-plugin in following way:
>
> mvn install:install-file -Dfile=maven-was-plugin-1.0-20060418.100451-1.jar 
> -DgroupId=com.davidkarlsen.maven.plugins -DartifactId=maven-was-plugin 
> -Dversion=1.0-SNAPSHOT -Dpackaging=jar
>  
The packaging you set is wrong - this is a "maven-plugin" - not a "jar".
The full pom exists in the repository:
http://www.davidkarlsen.com/m2/com/davidkarlsen/maven/plugins/maven-was-plugin/1.0-SNAPSHOT/maven-was-plugin-1.0-20060418.100451-1.pom

--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.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]

paths in META-INF/maven.com.mycompany.app/my-app/pom.xml (Tutorial example)

2006-05-04 Thread Jansen Werner
Hallo everybody,

I'm new to maven so I stepped through the tutorial and examined the
results of the operations there.

Within my-app-1.0-SNAPSHOT.jar I found
META-INF/maven/com.mycompany.app/my-app/pom.xml. This file includes all
information from when the jar file was built. But why does it have to
contain absolute path statements (sourceDirectory, testSourceDirectory
and some others)? Will those paths be used somewhere? Or are they just a
snapshot of the project's state when being packaged? Why couldn't it
have only relative paths (like scriptSourceDirectory actually has)?

Just curious :)

CU
Werner

PS: This is the file I'm talking about:


  4.0.0
  com.mycompany.app
  my-app
  Maven Quick Start Archetype
  1.0-SNAPSHOT
  http://maven.apache.org
  
 
c:\Projekte\maventest\mavenprojects\my-app\src\main\jav
asrc/main/scripts
 
c:\Projekte\maventest\mavenprojects\my-app\src\test
\javac:\Projekte\maventest\mavenprojects\my-app\target\class
esc:\Projekte\maventest\mavenprojects\my-app\target\t
est-class

  
 
c:\Projekte\maventest\mavenprojects\my-app\src\main\resources



  
 
c:\Projekte\maventest\mavenprojects\my-app\src\test\resources


 
c:\Projekte\maventest\mavenprojects\my-app\target
my-app-1.0-SNAPSHOT

  
maven-resources-plugin
2.1
  
  
maven-compiler-plugin
2.0.1
  
  
maven-surefire-plugin
2.1.3
  
  
maven-jar-plugin
2.0
  
  
maven-install-plugin
2.1
  

  
  

  
false
  
  central
  Maven Repository Switchboard
  http://repo1.maven.org/maven2

  
  

  
never
  
  
false
  
  central
  Maven Plugin Repository
  http://repo1.maven.org/maven2

  
  

  junit
  junit
  3.8.1
  test

  
  
target/site
  



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



RE: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Siegmann Daniel, NY
> clean site:deploy deploy).  I have never used cruise control 
> but I heard it's hard to configure.

I have not found CruiseControl difficult to configure. It's not more
difficult than Maven is, and adding more projects to the configuration is
mostly copy-paste. CC also comes with a nice web-based status page (in
addition to email reports) which is very simple to set up.

--
Daniel Siegmann
FJA-US, Inc.
(212) 840-2618 ext. 139

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



RE: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Siegmann Daniel, NY
We have been using CruiseControl for awhile now, with a number of projects
running on M1. We are happy with it - happy enough that we will not be
evaluating Continuum. When we switch to M2 (we're working on converting an
ant project) we will continue using CC. The latest version of CC supports
M2.

--
Daniel Siegmann
FJA-US, Inc.
(212) 840-2618 ext. 139

> -Original Message-
> From: Sebastien Arbogast [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 03, 2006 7:28 PM
> To: Maven users list
> Subject: [m2] Continuum or CruiseControl as a CI server ?
> 
> 
> I'm trying to find the best CI tool for a brand new 
> Maven2-built project and I'd like to have your experience 
> feedback about which one to choose between Continuum and 
> CruiseControl. I know that, as Continuum is a spin-off of 
> Maven project it should be better integrated with it. But on 
> the other hand, CruiseControl seems more mature to me, even 
> if, to be honnest, I haven't tried any of them in a real 
> situation yet. That's why I need something more concrete. Is 
> there any Maven 2 cruisecontrol plugin somewhere as there was 
> one for Maven 1 ? What do you think ?
> 
> --
> Sébastien Arbogast
> 
> The Epseelon Project : http://www.epseelon.net
> Blog : http://sebastien-arbogast.epseelon.net
> TagSpot : http://www.tagspot.org
> 

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



RE: problem with scm url yet

2006-05-04 Thread Vandermi Joao da Silva
 
I try put my project url (with modules) below

scm:svn:https://myserver.com.br/repos/projects/trunk  but continuum says[ You 
must provide a valid url ] 

 My project have four modules and the first module compile the others.
 In maven command line, I compile my parent pom.xml and it work very good.
 I use SVN.
 
 Best Regards
 
 
Vandermi Silva
R&D MAO - Core Engines  
BenQ Eletroeletrônica Ltda. 
 
TEL +55(92) 2127-8015
Mobile: +55(92) 8125-2248
FAX +55(92) 2127-8102
[EMAIL PROTECTED]
www.BenQMobile.com
Av. Djalma Batista, 536 - São Geraldo 
Manaus-AM
Brasil
 
 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 3:34 AM
To: continuum-users@maven.apache.org
Subject: Re: problem with scm url yet

What is your error/problem?

Emmanuel

Vandermi Joao da Silva a écrit :
> Hi everyone , I have a problem when try put the scm url in continuum.
> If not use modules then I can use a local pom and continuum work,  but now I 
> need use the modules in my projects then I don't insert the url.
> I am using subversion and I put the url same below
> scm:svn:https://myserver.com.br/repos/projects/trunk
> my continuum version is  1.0.3-SNAPSHOT 
> Someone can help me?
>  
> Best Regards
>  
>  
> 
>  
> 
>  
> 
> Vandermi Silva
> R&D MAO - Core Engines  
> 
> BenQ Eletroeletrônica Ltda. 
> 
>  
> 
> TEL +55(92) 2127-8015
> Mobile: +55(92) 8125-2248
> FAX +55(92) 2127-8102
> [EMAIL PROTECTED]
> www.BenQMobile.com
> Av. Djalma Batista, 536 - São Geraldo 
> 
> Manaus-AM
> Brasil
> 
>  
> 
>  
> 
>  
> 



RE: shell script in continuum

2006-05-04 Thread Vandermi Joao da Silva
Sorry but I have three questions.
Can I resolve that with continuum upgrade?
Is necessary create a pom.xml file?
Is there a tag to shell in pom.xml?

I put the shell script according scm file url.

Best Regards

 
 
 
 
Vandermi Silva
R&D MAO - Core Engines  
BenQ Eletroeletrônica Ltda. 
 
TEL +55(92) 2127-8015
Mobile: +55(92) 8125-2248
FAX +55(92) 2127-8102
[EMAIL PROTECTED]
www.BenQMobile.com
Av. Djalma Batista, 536 - São Geraldo 
Manaus-AM
Brasil
 
 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 3:32 AM
To: continuum-users@maven.apache.org
Subject: Re: shell script in continuum

You have the message in the exception : 
org.apache.maven.continuum.ContinuumException: Project 
(id=27 doens't have a default build definition

You must add a build definition to your project from project view

Emmanuel

Vandermi Joao da Silva a écrit :
>  
> Hy Guys, how can do build to shell script with the continuum?
> I have a simple shell script to do  a copy of simple file in my server but I 
> received an error of the continuum. Please see below.
> My script shell is in the my local computer, but I try put the URL in my 
> subversion server but it is not include the project in the continuum.
> Below is my simple .sh 
> scp [EMAIL PROTECTED]:/projects/teste/vandermi/teste.txt 
> /srv/www/htdocs/teste 
> ognl.MethodFailedException: Method "buildProject" failed for object [EMAIL 
> PROTECTED] [org.apache.maven.continuum.ContinuumException: Project (id=27 
> doens't have a default build definition.]
>   at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796)
>   at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>   at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>   at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>   at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>   at ognl.SimpleNode.getValue(SimpleNode.java:210)
>   at ognl.Ognl.getValue(Ognl.java:333)
>   at ognl.Ognl.getValue(Ognl.java:378)
>   at ognl.Ognl.getValue(Ognl.java:357)
>   at 
> org.apache.maven.continuum.web.action.CallApplicationModel.execute(CallApplicationModel.java:72)
>   at 
> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
>   at 
> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
>   at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>   at 
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
>   at 
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
>   at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>   at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
>   at 
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
>   at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
>   at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>   at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
>   at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
>   at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
>   at 
> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
>   at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
>   at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> /-- Encapsulated exception \
> org.apache.maven.continuum.ContinuumException: Project (id=27 doens't have a 
> default build definition.
>   at 
> org.apache.maven.continuum.DefaultContinuum.buildProject(DefaultContinuum.java:434)
>   at 
> org.apache.maven.continuum.DefaultContinuum.buildProject(DefaultContinuum.java:417)
>   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 ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
>   at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
>   at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61)
>   at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819)
>   at ognl.ASTMethod.getValueBody(ASTMethod.java:75)
>   at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
>   at ognl.SimpleNode.getValue(SimpleNode.java:210)
>   at ognl.Ognl.getValue(Ognl.java:333)
>   at ognl.Ognl.getValue(Ognl.java:378)
>   at ognl.Ognl.getValue(Ognl.java:357)
>   at 
> org.apache.maven.continuum.web.action.CallApplicationMo

Re: Jar File Creation Destroys Images in Maven2

2006-05-04 Thread maskkkk

Is there anyway of modifiying this so that it uses the standard jar command?
--
View this message in context: 
http://www.nabble.com/Jar-File-Creation-Destroys-Images-in-Maven2-t1554529.html#a4227968
Sent from the Maven - Users forum at Nabble.com.


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



Re: Jar File Creation Destroys Images in Maven2

2006-05-04 Thread maskkkk

Actually I tried including some BMPs and strangly nothing happens to them.  I
think maybe it has something to do with the fact that gifs and pngs are
already compressed.  

Also just as a side note...I tried making the jar from scratch using just
the jar command and everything is fine. (But it'd still be really nice to
use mvn to do it instead...)
--
View this message in context: 
http://www.nabble.com/Jar-File-Creation-Destroys-Images-in-Maven2-t1554529.html#a4227879
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] Site deploy tries to create a directory

2006-05-04 Thread Sebastien Arbogast

Bingo! You got it right! I was using the wrong URL. Now it's fine, the site
has been successfully deployed. Thanks a lot.

2006/5/4, Julien Henry <[EMAIL PROTECTED]>:



Are you sure your url is correct ? I work on a project on sourceforge,
and the url is :
scp://shell.sourceforge.net/home/groups/j/jw/jwebunit/htdocs

++

Sebastien Arbogast a écrit :
> I'm trying to deploy my site to sourceforge using either SCP or SFTP
> and I
> keep getting an error because it tries to create a root directory,
> which it
> shouldn't do because of sourceforge security policy. Here is my
> distributionManagement section:
>
> 
> 
> sourceforge
> SourceForge server
> scp://shell.sourceforge.net/tagspot/htdocs/dev
> 
> 
>
http://sourceforge.net/project/showfiles.php?group_id=${maven.sourceforge.project.groupId}
>
> 
> 
>
> And here is the error message I get:
>
> W:\data\dev\tagspot-project\trunk>mvn site:deploy
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'site'.
> [INFO]
>
-
> ---
> [INFO] Building TagSpot
> [INFO] task-segment: [site:deploy]
> [INFO]
>
-
> ---
> [INFO] [site:deploy]
> The authenticity of host 'shell.sourceforge.net' can't be established.
> DSA key fingerprint is 4c:68:03:d4:5c:58:a6:1d:9d:17:13:24:14:48:ba:99.
> Are you sure you want to continue connecting? (yes/no): yes
> Password for [EMAIL PROTECTED]: b8m6ckz7
> scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Opened
> Executing command: mkdir -p /tagspot/htdocs/dev/.
> scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Disconnecting
> scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Disconnected
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error uploading site
>
> Embedded error: Error performing commands for file transfer
> Exit code: 1 - mkdir: cannot create directory `/tagspot': Permission
> denied
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Thu May 04 12:47:49 CEST 2006
> [INFO] Final Memory: 3M/6M
> [INFO]
> 
>
> I've created the tagspot/htdocs/dev directory myself so I'm sure it
> exists.
> Is there a way to tell site plugin to to try to create parent directory
?
>
> --
> Sébastien Arbogast
>
> The Epseelon Project : http://www.epseelon.net
> Blog : http://sebastien-arbogast.epseelon.net
> TagSpot : http://www.tagspot.org
>

--

_

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com 

Porte de l'Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

**Join the Collaborative Business Experience **
_


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


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





--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org


Re: [m2] Site deploy tries to create a directory

2006-05-04 Thread Julien Henry


Are you sure your url is correct ? I work on a project on sourceforge, 
and the url is :

scp://shell.sourceforge.net/home/groups/j/jw/jwebunit/htdocs

++

Sebastien Arbogast a écrit :
I'm trying to deploy my site to sourceforge using either SCP or SFTP 
and I
keep getting an error because it tries to create a root directory, 
which it

shouldn't do because of sourceforge security policy. Here is my
distributionManagement section:



sourceforge
SourceForge server
scp://shell.sourceforge.net/tagspot/htdocs/dev


http://sourceforge.net/project/showfiles.php?group_id=${maven.sourceforge.project.groupId} 





And here is the error message I get:

W:\data\dev\tagspot-project\trunk>mvn site:deploy
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO]
-
---
[INFO] Building TagSpot
[INFO] task-segment: [site:deploy]
[INFO]
-
---
[INFO] [site:deploy]
The authenticity of host 'shell.sourceforge.net' can't be established.
DSA key fingerprint is 4c:68:03:d4:5c:58:a6:1d:9d:17:13:24:14:48:ba:99.
Are you sure you want to continue connecting? (yes/no): yes
Password for [EMAIL PROTECTED]: b8m6ckz7
scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Opened
Executing command: mkdir -p /tagspot/htdocs/dev/.
scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Disconnecting
scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Disconnected
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error uploading site

Embedded error: Error performing commands for file transfer
Exit code: 1 - mkdir: cannot create directory `/tagspot': Permission 
denied

[INFO]

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

[INFO] Total time: 15 seconds
[INFO] Finished at: Thu May 04 12:47:49 CEST 2006
[INFO] Final Memory: 3M/6M
[INFO]


I've created the tagspot/htdocs/dev directory myself so I'm sure it 
exists.

Is there a way to tell site plugin to to try to create parent directory ?

--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org



--

_

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com 

Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

**Join the Collaborative Business Experience **
_


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


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



Re: [m2] Site deploy tries to create a directory

2006-05-04 Thread Dennis Lundberg

Sebastien Arbogast wrote:

I'm trying to deploy my site to sourceforge using either SCP or SFTP and I
keep getting an error because it tries to create a root directory, which it
shouldn't do because of sourceforge security policy. Here is my
distributionManagement section:


   
   sourceforge
   SourceForge server
   scp://shell.sourceforge.net/tagspot/htdocs/dev
   
   
http://sourceforge.net/project/showfiles.php?group_id=${maven.sourceforge.project.groupId} 



   

And here is the error message I get:





I've created the tagspot/htdocs/dev directory myself so I'm sure it exists.
Is there a way to tell site plugin to to try to create parent directory ?


Do you have the correct permissions set on the new directory? I'm not sure what 
they need to be set to, but that might be the cause of your problem.


--
Dennis Lundberg

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



Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Geoffrey De Smet
I 've used both continuum and cruisecontrol, IMHO continuum is a lot 
better and easier, especially for maven 2 multiprojects.


Sebastien Arbogast wrote:
I'm trying to find the best CI tool for a brand new Maven2-built project 
and

I'd like to have your experience feedback about which one to choose between
Continuum and CruiseControl.
I know that, as Continuum is a spin-off of Maven project it should be 
better

integrated with it. But on the other hand, CruiseControl seems more mature
to me, even if, to be honnest, I haven't tried any of them in a real
situation yet. That's why I need something more concrete. Is there any 
Maven

2 cruisecontrol plugin somewhere as there was one for Maven 1 ? What do you
think ?

--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org



--
With kind regards,
Geoffrey De Smet


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



Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread jerome lacoste

On 5/4/06, Eric Pugh <[EMAIL PROTECTED]> wrote:

I used to be a big advocate of CC.  I've had a contribution committed
to the main code base in almost everyone of the last couple point
releases.  My big beef with CC breaks down to two things:

1) Speed
2) Web interface

I find that with long builds that output a lot of data, the CC method
of using XSL transformations to pull data out is too painful.
It works, but it's slow.


I generally agree though:

- XSL transformations are cached. so the transformation cost happens once.
- we could always change the webapp to preformat the pages before one
gets to see the pages.
- you can also configure the app to minimize the information to store
in the logs and keep the raw logs on the side.


I also dislike the lack of a web interface for
managing the application.  Sure, there is a JMX interface, but it is
clunky to use.  And I can't add/remove builds from the web
interface.  I have to log onto my remote build server and tweak
another xml file.


1- there's a web interface in the works
2- you can use the ccconfig project to remotely edit the config file

The thing that bothers me most with CC is that you have to make the
initial checkout by hand.


In contrast, Continuum is all web configurable.  It's fast because it
doesn't parse the log file, it just looks for the result of the
build.  Unless you need some of the advanced stuff the CC provides,
like some of the notifiers or SCM support, Continuum just works better.


I guess that in the future, CC will become easier to use and Continuum
will have more high end features.

J

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



Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Eric Pugh
I used to be a big advocate of CC.  I've had a contribution committed  
to the main code base in almost everyone of the last couple point  
releases.  My big beef with CC breaks down to two things:


1) Speed
2) Web interface

I find that with long builds that output a lot of data, the CC method  
of using XSL transformations to pull data out is too painful.  It  
works, but it's slow.  I also dislike the lack of a web interface for  
managing the application.  Sure, there is a JMX interface, but it is  
clunky to use.  And I can't add/remove builds from the web  
interface.  I have to log onto my remote build server and tweak  
another xml file.


In contrast, Continuum is all web configurable.  It's fast because it  
doesn't parse the log file, it just looks for the result of the  
build.  Unless you need some of the advanced stuff the CC provides,  
like some of the notifiers or SCM support, Continuum just works better.


Eric


On May 4, 2006, at 11:36 AM, jerome lacoste wrote:


On 5/4/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote:

Well.. i use it myself :)
But yes there are several limitations in multi-module projects and
cruise control in general. As of now we do not have any clever
solutions for making sure that when one module changes, then the
modules that depends on it also get build, the reactor build order is
not considered and so on, but we are in the process of working out
some of the issues, but it will for sure take a while before
cruisecontrol can be as good as continuum when it comes to maven2
support (most likly never).


Sebastien,

you may want to have a look:

http://www.coffeebreaks.org/blogs/?page_id=15

In the last slides of the CC & m2 talk, there's some information on
how to minimize the information in the pom.

As to the main issues to solve (information redundancy and build
order), there's the mojo plugin Kaare pointed you to that we are going
to improve. The main question today when using CC is to decide the
granularity you want to have (do you map every pom to a project or
not?), because CC relies today on m2's reactor to identify the correct
build order, thus requires you to have a somewhat coarse grained
mapping.

I am pretty certain CC's support for m2 will improve a lot in the next
months, althought I think today's it is pretty good. I use it to build
without problems several OSS projects whose build is based on m2 as
well as some closed source software. One of the CC install has around
200 maven sub-projects, grouped into a handfull of CC projects. That
works because the projects themselves are pretty fast to build.

Jerome

-
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] Site deploy tries to create a directory

2006-05-04 Thread Sebastien Arbogast

I'm trying to deploy my site to sourceforge using either SCP or SFTP and I
keep getting an error because it tries to create a root directory, which it
shouldn't do because of sourceforge security policy. Here is my
distributionManagement section:


   
   sourceforge
   SourceForge server
   scp://shell.sourceforge.net/tagspot/htdocs/dev
   
   
http://sourceforge.net/project/showfiles.php?group_id=${maven.sourceforge.project.groupId}

   

And here is the error message I get:

W:\data\dev\tagspot-project\trunk>mvn site:deploy
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO]
-
---
[INFO] Building TagSpot
[INFO]task-segment: [site:deploy]
[INFO]
-
---
[INFO] [site:deploy]
The authenticity of host 'shell.sourceforge.net' can't be established.
DSA key fingerprint is 4c:68:03:d4:5c:58:a6:1d:9d:17:13:24:14:48:ba:99.
Are you sure you want to continue connecting? (yes/no): yes
Password for [EMAIL PROTECTED]: b8m6ckz7
scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Opened
Executing command: mkdir -p /tagspot/htdocs/dev/.
scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Disconnecting
scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Disconnected
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error uploading site

Embedded error: Error performing commands for file transfer
Exit code: 1 - mkdir: cannot create directory `/tagspot': Permission denied
[INFO]

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

[INFO] Total time: 15 seconds
[INFO] Finished at: Thu May 04 12:47:49 CEST 2006
[INFO] Final Memory: 3M/6M
[INFO]


I've created the tagspot/htdocs/dev directory myself so I'm sure it exists.
Is there a way to tell site plugin to to try to create parent directory ?

--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org


Re: Jar File Creation Destroys Images in Maven2

2006-05-04 Thread jerome lacoste

On 5/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I'm creating a jar file which contains several compressed images (gifs, and 
pngs) I noticed that when I retrieve and display them in my application inside 
the packaged jar they display all garbled.  It's still evedent that they are 
the images I packaged into the jar, but they are messed up.  I also tried 
opening the jar with winzip and much of the image is just not there, part of 
the image displays white.  Does this have something to do with the 
resources:resources plugin?



That sounds pretty scary. Are all images garbled? Can you recreate a test case?

Jerome

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



Re: Two new Sun jars available in Maven repos (Thanks Carlos)

2006-05-04 Thread jerome lacoste

On 5/3/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

Just wanted to post and let everyone know that Carlos Sanchez has
recently uploaded two new Sun jars into the Maven repos. This was not
discussed on the User or Dev list, nor did I see any relevant JIRA
emails, so I thought I'd send this notification to the Users list
myself.


terrific!

J

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



RE : Configuring path for picking submodule site

2006-05-04 Thread Olivier Lamy
Hi,
As I understand you have a structure as 
Root
  pom.xml
  Module A
pom.xml
  Site
pom.xml
src/site/site.xml

Just try to move Site/src/site/site.xml to the root 

Root
  pom.xml
  src/site/site.xml (with ${modules})
  Module A
pom.xml
src/site/site.xml (with ${parentProject} )


  

-Olivier


-Message d'origine-
De : RobJac [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 4 mai 2006 12:31
À : users@maven.apache.org
Objet : Configuring path for picking submodule site



I have created a multiproject web site from the parent project where in
it
has a menu that list all the sub modules. When i click on a particular
sub
module menu say ,SubModule_A link. It tries to look for the SubModule_A
index.html from some default path like 
C:\parentProject\target\site\SubModule_A\index.html. 
But the index.hml for the SubModule_A lies under the following path
C:\parentProject\SubModule_A\target\site\index.html. 

Where do I configure to pickup the SubModule_A index.html from a path
specified by me. This subModule Menu comes in my parent site when i
provide
 in my parent site.xml. I dont exactly know how
the
path is getting set for each of the subModule menu link. If some one has
faced this issue could you pls let me know how this path can be
configured?
An example would really help.
--
View this message in context:
http://www.nabble.com/Configuring-path-for-picking-submodule-site-t15559
73.html#a4226523
Sent from the Maven - Users forum at Nabble.com.


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



This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
--
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après "le message" ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
-


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



Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread jerome lacoste

On 5/4/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote:

Well.. i use it myself :)
But yes there are several limitations in multi-module projects and
cruise control in general. As of now we do not have any clever
solutions for making sure that when one module changes, then the
modules that depends on it also get build, the reactor build order is
not considered and so on, but we are in the process of working out
some of the issues, but it will for sure take a while before
cruisecontrol can be as good as continuum when it comes to maven2
support (most likly never).


Sebastien,

you may want to have a look:

http://www.coffeebreaks.org/blogs/?page_id=15

In the last slides of the CC & m2 talk, there's some information on
how to minimize the information in the pom.

As to the main issues to solve (information redundancy and build
order), there's the mojo plugin Kaare pointed you to that we are going
to improve. The main question today when using CC is to decide the
granularity you want to have (do you map every pom to a project or
not?), because CC relies today on m2's reactor to identify the correct
build order, thus requires you to have a somewhat coarse grained
mapping.

I am pretty certain CC's support for m2 will improve a lot in the next
months, althought I think today's it is pretty good. I use it to build
without problems several OSS projects whose build is based on m2 as
well as some closed source software. One of the CC install has around
200 maven sub-projects, grouped into a handfull of CC projects. That
works because the projects themselves are pretty fast to build.

Jerome

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



Configuring path for picking submodule site

2006-05-04 Thread RobJac

I have created a multiproject web site from the parent project where in it
has a menu that list all the sub modules. When i click on a particular sub
module menu say ,SubModule_A link. It tries to look for the SubModule_A
index.html from some default path like 
C:\parentProject\target\site\SubModule_A\index.html. 
But the index.hml for the SubModule_A lies under the following path
C:\parentProject\SubModule_A\target\site\index.html. 

Where do I configure to pickup the SubModule_A index.html from a path
specified by me. This subModule Menu comes in my parent site when i provide
 in my parent site.xml. I dont exactly know how the
path is getting set for each of the subModule menu link. If some one has
faced this issue could you pls let me know how this path can be configured?
An example would really help.
--
View this message in context: 
http://www.nabble.com/Configuring-path-for-picking-submodule-site-t1555973.html#a4226523
Sent from the Maven - Users forum at Nabble.com.


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



Re: Maven 1.1 and optional ant tasks (xmlvalidate)

2006-05-04 Thread Arnaud HERITIER

Unknow tasks are silently ignored :-(
http://maven.apache.org/maven-1.x/reference/backwards-compatibility.html

*Bundled Ant version changed from 1.5.3-1 to 1.6.5*

While in most cases this change should be transparent, those using optional
tasks will need to add them as a dependency to their plugin/project, as not
all optional tasks are bundled with Maven any more.

Arnaud


On 5/4/06, Alexander Schwartz <[EMAIL PROTECTED]> wrote:


Hi,

I have a custom maven goal which uses the ant task  to
validate a set of XML files:

   

   
   
   
   
   
   

It works fine with maven-1.0.2 but it fails with maven-1.1-beta2 (and
java 5) without
any error message. The output is:
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2

build:start:

validate-all-xml-files:
BUILD
SUCCESSFUL
Total time   : 2 seconds
Finished at  : Donnerstag, 4. Mai 2006 10:31:16 CEST


The output of "maven -x validate-all-xml-files" contains the line

   (org.apache.tools.ant.taskdefs.optional.XMLValidateTask) for type
xmlvalidate
   [DEBUG] Could not load class

Any hints?

Thanks,

Alex



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




Re: Issues downloading from repos

2006-05-04 Thread Simon Kitching
Hi,

You can also put
  true
in your settings.xml file to disable remote access permanently, once
you've managed to download all the necessary dependencies.

http://maven.apache.org/ref/current/maven-settings/settings.html

Regards,

Simon

On Wed, 2006-05-03 at 15:21 +0200, Kees de Kooter wrote:
> Yes. ibiblio (== repo1) is a very busy site.
> 
> Once you have built your project succesfully once all dependencies are
> in your local repository. You can then run your build offline with the
> -o switch.
> 
> On 5/3/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> >   Being new to Maven2 I am not sure if this is really an issue.  I am
> > having problems when downloading plugins and dependencies from various
> > repos (ibiblio, codehause, repo1).  It takes forever to download either
> > the pom or the jar files.  And quite often if fails.
> >
> >   When it fails, I have to start the process over again. And it may
> > download the required artifact or it may not.  To do a compile, I will
> > have run the maven goal quite a few times before it actually does the
> > compile.
> >
> >   Is anyone else experiencing this problem?
> >
> > --
> > Regards,
> > Douglas WF Acheson
> >
> >
> > -
> > 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] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Kaare Nilsen

Sorry about that.. I have everything setup on my machine, so I forgot
to point out that there is something more to be done, when building
plugins in the sanbox :)

But you will need to add the repositories as documented here:
http://mojo.codehaus.org/using-sandbox-plugins.html to your checked
out version of the pom, and then it should build quite ok

/Kaare

On 04/05/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:

I've checked it out, and when I tried to run mvn install on it, I got the
following exception:

W:\data\dev\cruisecontrol-maven-plugin>mvn install
[INFO] Scanning for projects...
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: mojo-sandbox
Version: 2-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT

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


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.codeha
us.mojo:mojo-sandbox for project:
null:cruisecontrol-maven-plugin:maven-plugin:1
.0-SNAPSHOT
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
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
(DelegatingMethodAcces
sorImpl.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.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent
: org.codehaus.mojo:mojo-sandbox for project:
null:cruisecontrol-maven-plugin:ma
ven-plugin:1.0-SNAPSHOT
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1161)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
(Def
aultMavenProjectBuilder.java:674)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:416)
at org.apache.maven.project.DefaultMavenProjectBuilder.build
(DefaultMave
nProjectBuilder.java:192)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java
:447)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM '
org.codehaus.
mojo:mojo-sandbox' not found in repository: Unable to download the artifact
from
 any repository

  org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT

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

at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:513)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1157)
... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable
to download the artifact from any repository

  org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT

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

at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:136)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:63)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:467)
... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
downl
oad the artifact from any repository
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(Def
aultWagonManager.java:260)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:124)
... 20 more
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Thu May 04 11:55:23 CEST 2006
[INFO] Final Memory: 1M/2M
[INFO]
---

Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Sebastien Arbogast

I've checked it out, and when I tried to run mvn install on it, I got the
following exception:

W:\data\dev\cruisecontrol-maven-plugin>mvn install
[INFO] Scanning for projects...
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: mojo-sandbox
Version: 2-SNAPSHOT

Reason: Unable to download the artifact from any repository

 org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT

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


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.codeha
us.mojo:mojo-sandbox for project:
null:cruisecontrol-maven-plugin:maven-plugin:1
.0-SNAPSHOT
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
   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
(DelegatingMethodAcces
sorImpl.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.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)

   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent
: org.codehaus.mojo:mojo-sandbox for project:
null:cruisecontrol-maven-plugin:ma
ven-plugin:1.0-SNAPSHOT
   at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1161)
   at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
(Def
aultMavenProjectBuilder.java:674)
   at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:416)
   at org.apache.maven.project.DefaultMavenProjectBuilder.build
(DefaultMave
nProjectBuilder.java:192)
   at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
   at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java
:447)
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
   ... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM '
org.codehaus.
mojo:mojo-sandbox' not found in repository: Unable to download the artifact
from
any repository

 org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT

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

   at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:513)
   at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1157)
   ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable
to download the artifact from any repository

 org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT

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

   at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:136)
   at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:63)
   at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:467)
   ... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
downl
oad the artifact from any repository
   at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(Def
aultWagonManager.java:260)
   at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:124)
   ... 20 more
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Thu May 04 11:55:23 CEST 2006
[INFO] Final Memory: 1M/2M
[INFO]


I guess I must configure codehaus repository somewhere but I don't know how.

2006/5/4, Sebastien Arbogast <[EMAIL PROTECTED]>:


It's fine for Subversion and mail notifications. But are these the only
limitations of this development version ? In particular, is it safe to use
it on a multi-module project ?


2006/5/4, Kaare Nilsen < [EMAIL PROTECTED]>:

> There is one(cruisecontrol config generation) started at the mojo
> project.
>
> 
http://svn.mojo

Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Kaare Nilsen

Well.. i use it myself :)
But yes there are several limitations in multi-module projects and
cruise control in general. As of now we do not have any clever
solutions for making sure that when one module changes, then the
modules that depends on it also get build, the reactor build order is
not considered and so on, but we are in the process of working out
some of the issues, but it will for sure take a while before
cruisecontrol can be as good as continuum when it comes to maven2
support (most likly never).

/K

On 04/05/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:

It's fine for Subversion and mail notifications. But are these the only
limitations of this development version ? In particular, is it safe to use
it on a multi-module project ?


2006/5/4, Kaare Nilsen <[EMAIL PROTECTED]>:
>
> There is one(cruisecontrol config generation) started at the mojo project.
>
> 
http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/cruisecontrol-maven-plugin/
>
> You can download this and install it manually and give it a go (though
> very early in the dev process, and only supports subversion and mail
> notifs), it will generate a cruisecontrol setup which will act the
> same way as an add m2 project in continuum.
> Also a mvn site:site on it will provide you with some documentation on
> use.
>
> /Kaare
>
> On 04/05/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:
> > Honestly, intuitively I have a small preference for CruiseControl. The
> only
> > thing that bothers me is the redundancy of information between the POM
> and
> > CC configuration file. So if there was a Maven2 plugin to generate the
> > latter from the former, as there was one for Maven1, that would be
> great.
> >
> > 2006/5/4, Kieran Brady <[EMAIL PROTECTED]>:
> > >
> > > We're using the latest CruiseControl with Maven 2 successfully - no
> > > problem
> > > configuring it. At the time I neeeded to implement a CI system back in
> > > October, Continuum wasn't mature enough and I couldn't realistically
> put
> > > it
> > > forward as an option as I couldn't get it to work :) I haven't tried
> > > Continuum since as CruiseControl has been happily doing multi-module
> > > builds,
> > > single projects, profiled builds, nightly builds running all reports,
> on
> > > demand builds and so on and so I've no reason to migrate.
> > >
> > > A couple of links:
> > >
> > > http://cruisecontrol.sourceforge.net/main/configxml.html
> > > http://jira.public.thoughtworks.org/browse/CC-363
> > > http://confluence.public.thoughtworks.org/display/CC/Home
> > >
> > >
> > > - Original Message -
> > > From: "Alexandre Poitras" <[EMAIL PROTECTED]>
> > > To: "Maven Users List" 
> > > Sent: Thursday, May 04, 2006 3:52 AM
> > > Subject: Re: [m2] Continuum or CruiseControl as a CI server ?
> > >
> > >
> > > Well Continuum does the job for me, never thought about switching.
> > > What I like about continuum is that you can customize the goals
> > > invoked during a build (for instance, clean site:deploy deploy).  I
> > > have never used cruise control but I heard it's hard to configure.
> > >
> > > On 5/3/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:
> > > > I'm trying to find the best CI tool for a brand new Maven2-built
> project
> > > > and
> > > > I'd like to have your experience feedback about which one to choose
> > > > between
> > > > Continuum and CruiseControl.
> > > > I know that, as Continuum is a spin-off of Maven project it should
> be
> > > > better
> > > > integrated with it. But on the other hand, CruiseControl seems more
> > > mature
> > > > to me, even if, to be honnest, I haven't tried any of them in a real
> > > > situation yet. That's why I need something more concrete. Is there
> any
> > > > Maven
> > > > 2 cruisecontrol plugin somewhere as there was one for Maven 1 ? What
> do
> > > > you
> > > > think ?
> > > >
> > > > --
> > > > Sébastien Arbogast
> > > >
> > > > The Epseelon Project : http://www.epseelon.net
> > > > Blog : http://sebastien-arbogast.epseelon.net
> > > > TagSpot : http://www.tagspot.org
> > > >
> > > >
> > >
> > > -
> > > 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]
> > >
> > >
> >
> >
> > --
> > Sébastien Arbogast
> >
> > The Epseelon Project : http://www.epseelon.net
> > Blog : http://sebastien-arbogast.epseelon.net
> > TagSpot : http://www.tagspot.org
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org




-

Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Sebastien Arbogast

It's fine for Subversion and mail notifications. But are these the only
limitations of this development version ? In particular, is it safe to use
it on a multi-module project ?


2006/5/4, Kaare Nilsen <[EMAIL PROTECTED]>:


There is one(cruisecontrol config generation) started at the mojo project.

http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/cruisecontrol-maven-plugin/

You can download this and install it manually and give it a go (though
very early in the dev process, and only supports subversion and mail
notifs), it will generate a cruisecontrol setup which will act the
same way as an add m2 project in continuum.
Also a mvn site:site on it will provide you with some documentation on
use.

/Kaare

On 04/05/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:
> Honestly, intuitively I have a small preference for CruiseControl. The
only
> thing that bothers me is the redundancy of information between the POM
and
> CC configuration file. So if there was a Maven2 plugin to generate the
> latter from the former, as there was one for Maven1, that would be
great.
>
> 2006/5/4, Kieran Brady <[EMAIL PROTECTED]>:
> >
> > We're using the latest CruiseControl with Maven 2 successfully - no
> > problem
> > configuring it. At the time I neeeded to implement a CI system back in
> > October, Continuum wasn't mature enough and I couldn't realistically
put
> > it
> > forward as an option as I couldn't get it to work :) I haven't tried
> > Continuum since as CruiseControl has been happily doing multi-module
> > builds,
> > single projects, profiled builds, nightly builds running all reports,
on
> > demand builds and so on and so I've no reason to migrate.
> >
> > A couple of links:
> >
> > http://cruisecontrol.sourceforge.net/main/configxml.html
> > http://jira.public.thoughtworks.org/browse/CC-363
> > http://confluence.public.thoughtworks.org/display/CC/Home
> >
> >
> > - Original Message -
> > From: "Alexandre Poitras" <[EMAIL PROTECTED]>
> > To: "Maven Users List" 
> > Sent: Thursday, May 04, 2006 3:52 AM
> > Subject: Re: [m2] Continuum or CruiseControl as a CI server ?
> >
> >
> > Well Continuum does the job for me, never thought about switching.
> > What I like about continuum is that you can customize the goals
> > invoked during a build (for instance, clean site:deploy deploy).  I
> > have never used cruise control but I heard it's hard to configure.
> >
> > On 5/3/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:
> > > I'm trying to find the best CI tool for a brand new Maven2-built
project
> > > and
> > > I'd like to have your experience feedback about which one to choose
> > > between
> > > Continuum and CruiseControl.
> > > I know that, as Continuum is a spin-off of Maven project it should
be
> > > better
> > > integrated with it. But on the other hand, CruiseControl seems more
> > mature
> > > to me, even if, to be honnest, I haven't tried any of them in a real
> > > situation yet. That's why I need something more concrete. Is there
any
> > > Maven
> > > 2 cruisecontrol plugin somewhere as there was one for Maven 1 ? What
do
> > > you
> > > think ?
> > >
> > > --
> > > Sébastien Arbogast
> > >
> > > The Epseelon Project : http://www.epseelon.net
> > > Blog : http://sebastien-arbogast.epseelon.net
> > > TagSpot : http://www.tagspot.org
> > >
> > >
> >
> > -
> > 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]
> >
> >
>
>
> --
> Sébastien Arbogast
>
> The Epseelon Project : http://www.epseelon.net
> Blog : http://sebastien-arbogast.epseelon.net
> TagSpot : http://www.tagspot.org
>
>

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





--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org


Re: Two new Sun jars available in Maven repos (Thanks Carlos)

2006-05-04 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> I think these are the only releases that can be put in maven's
> repositories,
> as they are the first releases (of these two products) which use the CDDL
> license (instead of the old one which doesn't permit distributing them in
> maven's repo without a click-thru)

Yes, indeed. I just wanted to let you know that JAF-1.1 isn't yet final
(although you can assume it according to the files on ibiblio.org...) ;-)


Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEWcwbQvObkgCcDe0RAvcTAKD6YJmfJjsucTm+UIZBRaRRGevufACgxD4p
GiDfm1sXClaKU93D5LYibQo=
=IR29
-END PGP SIGNATURE-

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



Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Kaare Nilsen

There is one(cruisecontrol config generation) started at the mojo project.
http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/cruisecontrol-maven-plugin/

You can download this and install it manually and give it a go (though
very early in the dev process, and only supports subversion and mail
notifs), it will generate a cruisecontrol setup which will act the
same way as an add m2 project in continuum.
Also a mvn site:site on it will provide you with some documentation on use.

/Kaare

On 04/05/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:

Honestly, intuitively I have a small preference for CruiseControl. The only
thing that bothers me is the redundancy of information between the POM and
CC configuration file. So if there was a Maven2 plugin to generate the
latter from the former, as there was one for Maven1, that would be great.

2006/5/4, Kieran Brady <[EMAIL PROTECTED]>:
>
> We're using the latest CruiseControl with Maven 2 successfully - no
> problem
> configuring it. At the time I neeeded to implement a CI system back in
> October, Continuum wasn't mature enough and I couldn't realistically put
> it
> forward as an option as I couldn't get it to work :) I haven't tried
> Continuum since as CruiseControl has been happily doing multi-module
> builds,
> single projects, profiled builds, nightly builds running all reports, on
> demand builds and so on and so I've no reason to migrate.
>
> A couple of links:
>
> http://cruisecontrol.sourceforge.net/main/configxml.html
> http://jira.public.thoughtworks.org/browse/CC-363
> http://confluence.public.thoughtworks.org/display/CC/Home
>
>
> - Original Message -
> From: "Alexandre Poitras" <[EMAIL PROTECTED]>
> To: "Maven Users List" 
> Sent: Thursday, May 04, 2006 3:52 AM
> Subject: Re: [m2] Continuum or CruiseControl as a CI server ?
>
>
> Well Continuum does the job for me, never thought about switching.
> What I like about continuum is that you can customize the goals
> invoked during a build (for instance, clean site:deploy deploy).  I
> have never used cruise control but I heard it's hard to configure.
>
> On 5/3/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:
> > I'm trying to find the best CI tool for a brand new Maven2-built project
> > and
> > I'd like to have your experience feedback about which one to choose
> > between
> > Continuum and CruiseControl.
> > I know that, as Continuum is a spin-off of Maven project it should be
> > better
> > integrated with it. But on the other hand, CruiseControl seems more
> mature
> > to me, even if, to be honnest, I haven't tried any of them in a real
> > situation yet. That's why I need something more concrete. Is there any
> > Maven
> > 2 cruisecontrol plugin somewhere as there was one for Maven 1 ? What do
> > you
> > think ?
> >
> > --
> > Sébastien Arbogast
> >
> > The Epseelon Project : http://www.epseelon.net
> > Blog : http://sebastien-arbogast.epseelon.net
> > TagSpot : http://www.tagspot.org
> >
> >
>
> -
> 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]
>
>


--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org




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



Re: Two new Sun jars available in Maven repos (Thanks Carlos)

2006-05-04 Thread Arik Kfir

I think these are the only releases that can be put in maven's repositories,
as they are the first releases (of these two products) which use the CDDL
license (instead of the old one which doesn't permit distributing them in
maven's repo without a click-thru)

On 5/4/06, Thorsten Heit <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Wayne,

> Just wanted to post and let everyone know that Carlos Sanchez has
> recently uploaded two new Sun jars into the Maven repos. This was not
> discussed on the User or Dev list, nor did I see any relevant JIRA
> emails, so I thought I'd send this notification to the Users list
> myself.

Great to hear that, thank you! :-)


But:

According to http://java.sun.com/products/javabeans/jaf/index.jsp
JAF-1.1 is only an early access release; the final release will be
available "in early 2006" and will be included in J2SE 6.0 and J2EE 5
when they are released...


Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEWcUiQvObkgCcDe0RApLlAKD338aKFKXlxXlihljw3fhaXQug+QCfbTnY
5sEHjjWvGAFErCtM73MuLi8=
=VQnC
-END PGP SIGNATURE-

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





--
__
Cheers,
 Arik Kfir   [EMAIL PROTECTED]
 Linux user, number 415067 - http://counter.li.org/
 http://corleon.dnsalias.org


Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Sebastien Arbogast

Honestly, intuitively I have a small preference for CruiseControl. The only
thing that bothers me is the redundancy of information between the POM and
CC configuration file. So if there was a Maven2 plugin to generate the
latter from the former, as there was one for Maven1, that would be great.

2006/5/4, Kieran Brady <[EMAIL PROTECTED]>:


We're using the latest CruiseControl with Maven 2 successfully - no
problem
configuring it. At the time I neeeded to implement a CI system back in
October, Continuum wasn't mature enough and I couldn't realistically put
it
forward as an option as I couldn't get it to work :) I haven't tried
Continuum since as CruiseControl has been happily doing multi-module
builds,
single projects, profiled builds, nightly builds running all reports, on
demand builds and so on and so I've no reason to migrate.

A couple of links:

http://cruisecontrol.sourceforge.net/main/configxml.html
http://jira.public.thoughtworks.org/browse/CC-363
http://confluence.public.thoughtworks.org/display/CC/Home


- Original Message -
From: "Alexandre Poitras" <[EMAIL PROTECTED]>
To: "Maven Users List" 
Sent: Thursday, May 04, 2006 3:52 AM
Subject: Re: [m2] Continuum or CruiseControl as a CI server ?


Well Continuum does the job for me, never thought about switching.
What I like about continuum is that you can customize the goals
invoked during a build (for instance, clean site:deploy deploy).  I
have never used cruise control but I heard it's hard to configure.

On 5/3/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:
> I'm trying to find the best CI tool for a brand new Maven2-built project
> and
> I'd like to have your experience feedback about which one to choose
> between
> Continuum and CruiseControl.
> I know that, as Continuum is a spin-off of Maven project it should be
> better
> integrated with it. But on the other hand, CruiseControl seems more
mature
> to me, even if, to be honnest, I haven't tried any of them in a real
> situation yet. That's why I need something more concrete. Is there any
> Maven
> 2 cruisecontrol plugin somewhere as there was one for Maven 1 ? What do
> you
> think ?
>
> --
> Sébastien Arbogast
>
> The Epseelon Project : http://www.epseelon.net
> Blog : http://sebastien-arbogast.epseelon.net
> TagSpot : http://www.tagspot.org
>
>

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





--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org


Re: Two new Sun jars available in Maven repos (Thanks Carlos)

2006-05-04 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Wayne,

> Just wanted to post and let everyone know that Carlos Sanchez has
> recently uploaded two new Sun jars into the Maven repos. This was not
> discussed on the User or Dev list, nor did I see any relevant JIRA
> emails, so I thought I'd send this notification to the Users list
> myself.

Great to hear that, thank you! :-)


But:

According to http://java.sun.com/products/javabeans/jaf/index.jsp
JAF-1.1 is only an early access release; the final release will be
available "in early 2006" and will be included in J2SE 6.0 and J2EE 5
when they are released...


Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEWcUiQvObkgCcDe0RApLlAKD338aKFKXlxXlihljw3fhaXQug+QCfbTnY
5sEHjjWvGAFErCtM73MuLi8=
=VQnC
-END PGP SIGNATURE-

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



  1   2   >