Re: java2iiop (Visibroker)

2006-06-25 Thread TimHedger

Thanks Dan - I've already started work on it.
Given how proprietary it is (Visibroker) is there any point in me
contributing it back if I do get it working?
--
View this message in context: 
http://www.nabble.com/java2iiop-%28Visibroker%29-t1846831.html#a5041649
Sent from the Maven - Users forum at Nabble.com.


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



Re: java2iiop (Visibroker)

2006-06-25 Thread dan tran

Tim, since your java2iiop is specific to VisiBroker, I doubt it you will
ever see this type
of plugin showing up in open source project, you will need to implement it
your self.

Your plugin can directly access visibroker jdk's compiler tool to do this
work.

-Dan


On 6/25/06, TimHedger <[EMAIL PROTECTED]> wrote:



Has anyone seen a plugin, or configured one of the existing plugins to do
java to iiop generation using maven?

(Steps are compile an interface using javac, run java2iiop to generate
stubs, then compile stubs along with your own dependent code)
--
View this message in context:
http://www.nabble.com/java2iiop-%28Visibroker%29-t1846831.html#a5040989
Sent from the Maven - Users forum at Nabble.com.


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




Re: Can't get jni working based on example configuration

2006-06-25 Thread dan tran

Tim, I just release 1.0-alpha-1 release, please check the announcement.


-Dan


On 6/25/06, TimHedger <[EMAIL PROTECTED]> wrote:



Tim/Dan,

Thank you both for your help on this.
I now have both the plugin and my own code (using the modified plugin)
working.

I had to remove a couple of repository entries from my pom, then all the
errors in both builds went away.

Thanks
Tim
--
View this message in context:
http://www.nabble.com/Can%27t-get-jni-working-based-on-example-configuration-t1825144.html#a5040942
Sent from the Maven - Users forum at Nabble.com.


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




[ANN] native-maven-plugin-1.0-alpha-1

2006-06-25 Thread dan tran

The Mojo team is pleased to announce the native-maven-plugin-1.0-alpha-1release

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

This plugin allows user to:

- Compile and link C/C++ artifacts.
- Are known to be used in production for windows, linux, solaris, and macos
platforms

This plugin is currently available at repository.codehaus.org.

Examples are at
https://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/src/it/

Enjoy!

-The Mojo  team


Re: Using jetty6 plugin for tests?

2006-06-25 Thread Kevin Menard

On Sun, 25 Jun 2006 23:44:42 -0400, Wendy Smoak <[EMAIL PROTECTED]> wrote:



This actually isn't the recommended way to do it, since if the tests
fail, Cargo never gets a chance to stop the container.  Better is to
use the Java API in a TestSetup class that wraps your tests.  There's
an example of that, here:
  http://cargo.codehaus.org/Functional+testing


Thanks a lot.  This looks similar to what I'm doing now, but may shield me  
from my classpath woes.  I'll give it a go tomorrow.


--
Kevin



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



Re: Using jetty6 plugin for tests?

2006-06-25 Thread Wendy Smoak

On 6/25/06, Kevin Menard <[EMAIL PROTECTED]> wrote:


Traditionally for testing my webapp, I've started up an embedded jetty
server instance to serve the pages.  While this generally works (some
classpath trickery has to happen for HiveMind), it seems that the jetty6
plugin would obviate the need for this.  Unfortunately, it looks like the
remainder of the lifecycle blocks until the jetty6 plugin halts
execution.  So, is there anyway to start up the server and run my tests,
short of using two different maven instances?


There is an example of using the Cargo Maven 2 plugin to start and
stop a container in the pre- and post- integration test phases, here:
 http://cargo.codehaus.org/Maven2+plugin

This actually isn't the recommended way to do it, since if the tests
fail, Cargo never gets a chance to stop the container.  Better is to
use the Java API in a TestSetup class that wraps your tests.  There's
an example of that, here:
 http://cargo.codehaus.org/Functional+testing

HTH,
--
Wendy

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



Re: List of Maven Archetypes?

2006-06-25 Thread Wendy Smoak

On 6/25/06, Mike Lundin <[EMAIL PROTECTED]> wrote:

Is there a way to have archetypes act cumulatively?  It seems to me that it
would make sense that you would be able to run an archetype command multiple
times in a directory and still end up with only one pom and set of
directories.  That way, what Wendy suggests below would work.  If you have
Struts elements, you run the Struts archetype.  Then, if you have Hibernate
or Spring, you can run that afterwards and still keep them in the same
project.

Am I misunderstanding the whole idea of an archetype when I think like this?


It seems to be one archetype == one module.  If you're going to run it
multiple times, you create a parent pom, then do mvn archetype:create
a few times, and it *does* handle setting up the parent/child module
relationships.

My fear is that people will just do the webapp module, and never set
up the integration tests, so I tend to want to keep it all together.

AFAIK, the archetype plugin will not "overlay" an existing project,
for example to add more dependencies to a pom.  It just complains that
the directory already exists.

--
Wendy

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



java2iiop (Visibroker)

2006-06-25 Thread TimHedger

Has anyone seen a plugin, or configured one of the existing plugins to do
java to iiop generation using maven?

(Steps are compile an interface using javac, run java2iiop to generate
stubs, then compile stubs along with your own dependent code)
--
View this message in context: 
http://www.nabble.com/java2iiop-%28Visibroker%29-t1846831.html#a5040989
Sent from the Maven - Users forum at Nabble.com.


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



Re: Can't get jni working based on example configuration

2006-06-25 Thread TimHedger

Tim/Dan,

Thank you both for your help on this.
I now have both the plugin and my own code (using the modified plugin)
working.

I had to remove a couple of repository entries from my pom, then all the
errors in both builds went away.

Thanks
Tim
--
View this message in context: 
http://www.nabble.com/Can%27t-get-jni-working-based-on-example-configuration-t1825144.html#a5040942
Sent from the Maven - Users forum at Nabble.com.


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



Re: List of Maven Archetypes?

2006-06-25 Thread Mike Lundin

Is there a way to have archetypes act cumulatively?  It seems to me that it
would make sense that you would be able to run an archetype command multiple
times in a directory and still end up with only one pom and set of
directories.  That way, what Wendy suggests below would work.  If you have
Struts elements, you run the Struts archetype.  Then, if you have Hibernate
or Spring, you can run that afterwards and still keep them in the same
project.

Am I misunderstanding the whole idea of an archetype when I think like this?

Thanks,
Mike

On 6/25/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:


On 6/24/06, siegfried <[EMAIL PROTECTED]> wrote:

> I was specifically hoping to find an EJB, SWT, Swing and a boatload of
web
> archetypes like tapestry, spring and other MVCs.

IMO the projects themselves should provide the archetypes.  This
proves to be more difficult than it sounds... for Struts I didn't go
beyond turning the "Struts Blank" webapp into an archetype, because
after that, how should I know whether you want Hibernate, iBatis,
Spring, etc?  At that point, it's not an archetype, it's AppFuse.

The next challenge is building a multi-module archetype.  The current
best practices say to put your integration tests in a separate module,
but Archetype seems to only want to do one module at a time.  Either
you have to type 'mvn archetype:create' several times, or you stuff it
all under archetype-resources and lose the ability to specify the
package name.

I know Apache MyFaces has a couple of archetypes available, one for a
webapp, and the other for a JSF component library.  I think that's how
it will continue, once projects convert to Maven 2 (it's inevitable,
right?) they will provide their own archetypes.

--
Wendy

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





--
Mike Lundin


Using jetty6 plugin for tests?

2006-06-25 Thread Kevin Menard

Hi,

Traditionally for testing my webapp, I've started up an embedded jetty  
server instance to serve the pages.  While this generally works (some  
classpath trickery has to happen for HiveMind), it seems that the jetty6  
plugin would obviate the need for this.  Unfortunately, it looks like the  
remainder of the lifecycle blocks until the jetty6 plugin halts  
execution.  So, is there anyway to start up the server and run my tests,  
short of using two different maven instances?


Thanks,
Kevin

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



Re: Alter package lifecycle

2006-06-25 Thread Alexandre Poitras

Ah then everything is fine! Just link some goals to the
"integration-test" phase. The "test" phase is only for unit tests.

"integration-test : process and deploy the package if necessary into
an environment where integration tests can be run."

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

On 6/25/06, Kevin Menard <[EMAIL PROTECTED]> wrote:

On Sun, 25 Jun 2006 21:47:37 -0400, Alexandre Poitras
<[EMAIL PROTECTED]> wrote:

> You can't do that. What is your use case?
>
> *The only possible solution I could see is to link a goal to a
> lifecycle phase but I think it would be better to tell us your needs
> first.

I have a set of tests that test my Web app using HTMLunit.  In order to
test the pages, the WAR must already be built.  So, it'd be beneficial to
package first, then run the tests afterward.

--
Kevin

-
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: List of Maven Archetypes?

2006-06-25 Thread Wendy Smoak

On 6/24/06, siegfried <[EMAIL PROTECTED]> wrote:


I was specifically hoping to find an EJB, SWT, Swing and a boatload of web
archetypes like tapestry, spring and other MVCs.


IMO the projects themselves should provide the archetypes.  This
proves to be more difficult than it sounds... for Struts I didn't go
beyond turning the "Struts Blank" webapp into an archetype, because
after that, how should I know whether you want Hibernate, iBatis,
Spring, etc?  At that point, it's not an archetype, it's AppFuse.

The next challenge is building a multi-module archetype.  The current
best practices say to put your integration tests in a separate module,
but Archetype seems to only want to do one module at a time.  Either
you have to type 'mvn archetype:create' several times, or you stuff it
all under archetype-resources and lose the ability to specify the
package name.

I know Apache MyFaces has a couple of archetypes available, one for a
webapp, and the other for a JSF component library.  I think that's how
it will continue, once projects convert to Maven 2 (it's inevitable,
right?) they will provide their own archetypes.

--
Wendy

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



Re: List of Maven Archetypes?

2006-06-25 Thread Pete Marvin King

 Currently there's :
  - maven-archetype-j2ee-simple
  - maven-archetype-portlet
  - maven-archetype-simple
  - maven-archetype-site-simple
  - maven-archetype-webapp
  - maven-archetype-marmalade-mojo
  - maven-archetype-quickstart
   

  Sorry, I'm not sure if there's a guide for each. running mvn site:site
on archetypes only generates the basic reports..no guides.
 
  command for generating projects using archetype :

  mvn archetype:create -DgroupId= -DartifactId= 
-DarchetypeGroupId=org.apache.maven.archetype
  -DarchetypeArtifactId= -DarchetypeVersion=

  ex.
   mvn archetype:create -DartifactId=test -DgroupId=org.test
-DarchetypeArtifactId=maven-archetype-webapp  
  
-DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeVersion=1.0-alpha-4


 try checking http://www.ibiblio.org/maven2/org/apache/maven/archetypes
for the latest version of the archetypes
 and if you feel  the  urge to write a guide on how to use them, the
Maven community will greatly appreciate it. =)


cheers,
pete marvin


siegfried wrote:
> I'm doing a google search for maven archetypes and was expecting to find a
> long list of archetypes. Instead I found definitions of the term and a
> section on creating archetypes.
>
> Back in fall of 2005 (or was it winter 2006?) m2 did not have many
> archetypes yet. I was guessing by now someone would of ported all the m1
> archetypes (or whatever they were called) to m2. Has this happened?
>
> I found one at http://maven.apache.org/guides/mini/guide-webapp.html and
> I'll try this out soon.
>
> I was specifically hoping to find an EJB, SWT, Swing and a boatload of web
> archetypes like tapestry, spring and other MVCs.
>
> Thanks,
> Siegfried
>
>
> -
> 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]



Gernot Eger/T-Mobile/AT ist außer Haus. [Virus checked]

2006-06-25 Thread gernot . eger

Ich werde ab  26.06.2006 nicht im Büro sein. Ich kehre zurück am
25.07.2006.

Dringende Anfragen bitte an  Martina Walcher, Andreas Kollenbach, Herbert
Rupp,  Jochen Kapaun richten.
mfg
Gernot Eger




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



Re: Alter package lifecycle

2006-06-25 Thread Kevin Menard
On Sun, 25 Jun 2006 21:47:37 -0400, Alexandre Poitras  
<[EMAIL PROTECTED]> wrote:



You can't do that. What is your use case?

*The only possible solution I could see is to link a goal to a
lifecycle phase but I think it would be better to tell us your needs
first.


I have a set of tests that test my Web app using HTMLunit.  In order to  
test the pages, the WAR must already be built.  So, it'd be beneficial to  
package first, then run the tests afterward.


--
Kevin

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



Re: Alter package lifecycle

2006-06-25 Thread Alexandre Poitras

You can't do that. What is your use case?

*The only possible solution I could see is to link a goal to a
lifecycle phase but I think it would be better to tell us your needs
first.

On 6/25/06, Kevin Menard <[EMAIL PROTECTED]> wrote:

Hi,

I'd like to defer the running of my tests until after my WAR has been
built.  How do I go about changing the package lifecycle?  I've scoured
the book and the Web, and thus far I haven't been able to find anything.
So, any guidance would be greatly appreciated.

Thanks,
Kevin

-
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: RAR plugin problem

2006-06-25 Thread Henry S. Isidro
On Saturday, June 24, 2006 05:11, Nidhi Tuli wrote:
> RAR plug in I downloaded doesn't seem to generate jar file. It is simply
> compiling the code and generating a rar file with just the dependencies
> in it. The generated rar file does not contain the jar of the compiled
> source.
>
> Is there a way to get this plugin to generate jar files of the compiled
> code before bundling it up in rar file?
>
> Thanks
> Nidhi

The recommended way is to break up your project into two modules, one for 
generating the jar and another for the rar. Then, have the rar module depend 
on the jar module.

HTH,
Henry

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



Re: Re: Maven 2.0.5

2006-06-25 Thread Carlos Sanchez

Well, this is open source and everything implied by that, no
guarantees, as is,... It depends on volunteers availability so there's
no schedule.

On 6/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Thanks Carlos.
Must be nice to work that way ;-)

Just that 2157 is one that I am waiting on (having discovered it
yesterday)

Andy

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: 19 June 2006 18:34
To: Maven Users List
Subject: Re: Re: Maven 2.0.5

there is not. When a bunch of bugs are fixed we'll think about a new
release. It's issues driven, not time.

On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Pardon my stupidity but I can't see  date for scheduled release
though.
>
> Tx
>

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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





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

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



Emacs support (or lack thereof)

2006-06-25 Thread Paul Michael Reilly
I was quite impressed with Maven 2.0 after not having tried it for at
least six months.  However the lack of support for using Emacs to
drive maven from the Emacs' compilation mode was surprising and very
disconcerting, as is the lack of mail archives on the subject.  At
this point, I'm interested to understand what discussions if any have
ensued wrt using Maven 2.0 with Emacs in the same context as Ant with
Emacs (specifically, the Ant -emacs switch to get compilation errors
grokable by Emacs).

It strikes me that Maven 2.0 could benefit by the -emacs (or -E ala
Maven 1.0) switch or some sort of build plugin element to accomplish
the same thing.  It could be that there is another Maven technique to
support Emacs' ability to get right to the source of an error.  If so,
please enlighten me.

Thanks,

-pmr

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



Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-06-25 Thread Marco Mistroni

hi all,
  i have added to maven pages a sample project htat uses EJB3 and jboss
embeddable container for unit testing..
sample app is available here

http://docs.codehaus.org/display/MAVENUSER/Examples

thanx for Mr Tim Kettler for setting up the page

have fun with it, and feel free to improve it (app is really lame :)

regards
marco

PS feel free to mail me back @  [EMAIL PROTECTED]  if you have any
problems


Alter package lifecycle

2006-06-25 Thread Kevin Menard

Hi,

I'd like to defer the running of my tests until after my WAR has been  
built.  How do I go about changing the package lifecycle?  I've scoured  
the book and the Web, and thus far I haven't been able to find anything.   
So, any guidance would be greatly appreciated.


Thanks,
Kevin

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



RE: [m1] maven-findbugs-plugin-1.3-SNAPSHOT available

2006-06-25 Thread Jeff Jensen
It is one of the SourceForge plugins.

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

-Original Message-
From: Dongsheng Song [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 25, 2006 1:50 AM
To: Maven Users List
Subject: Re: [m1] maven-findbugs-plugin-1.3-SNAPSHOT available

Where is the source & binary ?

2006/6/24, Jeff Jensen <[EMAIL PROTECTED]>:
>
> This snapshot contains:
> - the new FindBugs 1.0.0 release
> - a new property "maven.findbugs.failOnError"; default is "true", 
> which is the original setting.
>
> Please try it and reports any problems.  Thanks!
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: contributing / sample projject using maven2 && EJB3

2006-06-25 Thread Marco Mistroni

thx a lot Tim!
i will fill that page ASAP

regards
marco

On 6/25/06, Tim Kettler <[EMAIL PROTECTED]> wrote:


I think the apache wiki is depricated. The wiki to use is this[1].

I'm in no way authoritative (just a plain maven user) but seeing the
striking 'Help
Wanted' heading on the main page and the encouragements to contribute I
think one can't do
anything wrong.

What I would like to see is a new section 'Examples' added to the existing
sections
(Mini-Guides, FAQs ...) and under that subsections for each example.

Wait... just added it. So just create a new page for your example under
that section.

-Tim

[1] http://docs.codehaus.org/display/MAVENUSER/Home

Marco Mistroni schrieb:
> hi tim,
> thanks... before i do anything, i m just not sure under which section to
> put my sample..
> i went into Maven space, will it be correct to create a new page under
> Maven Zone at apache?
>
> thanx and regards
> marco
>
> On 6/25/06, Tim Kettler <[EMAIL PROTECTED]> wrote:
>>
>> Click on the Attachement tab on top of the page.
>>
>> Marco Mistroni schrieb:
>> > hi all,
>> > i have been asked by some maven users to submit them a small project
i
>> have
>> > done using TestNG/EJB3/Maven2..
>> > i was suggested by othe rMaven users to have a look at here
>> >
>> > http://maven.apache.org/guides/development/guide-helping.html
>> >
>> > for seeing how to contribute
>> > i signed uup with my email, i was able to see the possibility to
create
>> new
>> > wiki pages, but i didnt see how to submit a .zip file to be linked to
>> the
>> > page
>> >
>> > could anyone help here?
>> >
>> > thanx and regards
>> >  marco
>> >
>>
>>
>> -
>> 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: contributing / sample projject using maven2 && EJB3

2006-06-25 Thread Tim Kettler

I think the apache wiki is depricated. The wiki to use is this[1].

I'm in no way authoritative (just a plain maven user) but seeing the striking 'Help 
Wanted' heading on the main page and the encouragements to contribute I think one can't do 
anything wrong.


What I would like to see is a new section 'Examples' added to the existing sections 
(Mini-Guides, FAQs ...) and under that subsections for each example.


Wait... just added it. So just create a new page for your example under that 
section.

-Tim

[1] http://docs.codehaus.org/display/MAVENUSER/Home

Marco Mistroni schrieb:

hi tim,
thanks... before i do anything, i m just not sure under which section to
put my sample..
i went into Maven space, will it be correct to create a new page under
Maven Zone at apache?

thanx and regards
marco

On 6/25/06, Tim Kettler <[EMAIL PROTECTED]> wrote:


Click on the Attachement tab on top of the page.

Marco Mistroni schrieb:
> hi all,
> i have been asked by some maven users to submit them a small project i
have
> done using TestNG/EJB3/Maven2..
> i was suggested by othe rMaven users to have a look at here
>
> http://maven.apache.org/guides/development/guide-helping.html
>
> for seeing how to contribute
> i signed uup with my email, i was able to see the possibility to create
new
> wiki pages, but i didnt see how to submit a .zip file to be linked to
the
> page
>
> could anyone help here?
>
> thanx and regards
>  marco
>


-
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: contributing / sample projject using maven2 && EJB3

2006-06-25 Thread Marco Mistroni

hi tim,
thanks... before i do anything, i m just not sure under which section to
put my sample..
i went into Maven space, will it be correct to create a new page under
Maven Zone at apache?

thanx and regards
marco

On 6/25/06, Tim Kettler <[EMAIL PROTECTED]> wrote:


Click on the Attachement tab on top of the page.

Marco Mistroni schrieb:
> hi all,
> i have been asked by some maven users to submit them a small project i
have
> done using TestNG/EJB3/Maven2..
> i was suggested by othe rMaven users to have a look at here
>
> http://maven.apache.org/guides/development/guide-helping.html
>
> for seeing how to contribute
> i signed uup with my email, i was able to see the possibility to create
new
> wiki pages, but i didnt see how to submit a .zip file to be linked to
the
> page
>
> could anyone help here?
>
> thanx and regards
>  marco
>


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




Re: Can't get jni working based on example configuration

2006-06-25 Thread Tim Kettler

TimHedger schrieb:
Tim - Now another repository is missing I guess - where do find this one? 


jdom is available on central (http://repo1.maven.org/maven2/jdom/jdom/1.0/). So your setup 
should be ok. Sometimes the central repo times out due to heavy load. Have you tried 
building a second time?


You should use a mirror instead of connecting directly to central. I use this 
one:


  
sateh.com
Mirror of http://repo1.maven.org/maven2/
http://maven.sateh.com/repository
central
  


It's quite fast and speeds up the download process considerably. See here for the 
announcement:


http://www.mail-archive.com/users@maven.apache.org/msg42969.html

See here for a list of other mirrors:
http://maven.apache.org/guides/mini/guide-mirror-settings.html

-Tim



(And how do I work out which repositories I need for the build?  I thought
the whole point of maven was that the sufficient information to build
something would be included in its pom.xml?)


Normally should only need central. It's the repository for all normal libraries, maven 
artifacts and the plugins maintained by the maven team. Also the mojo plugins not in the 
sandbox are published there.


If you use a snapshot version of a plugin, build a plugin from source or use plugins from 
the mojo sandbox you will need a few other repositories:


svn.apache.org/maven-snapshot-repository/
Is the snaphost repository for apache (and therefore maven) snapshot artifacts

http://snapshots.maven.codehaus.org/maven2
Is/Was the snapshot repository and repository for the sandbox plugins for the 
codehaus/mojo projects. I think they are migrating to the two repositories below, but I'm 
not sure about that (no announcement was made).


http://repository.codehaus.org/
Is the (probably the new) release repository for codehaus projects (just my 
guess).

http://snapshots.repository.codehaus.org/
Is the (probably the new) snapshot repository for codehaus projects (just my 
guess).


This is my repositories section from my settings.xml (is it correct?)

  

  Snapshots
  

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


  Mojo Repository
  http://repository.codehaus.org

  
  

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


  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/maven2/
  
true
  
  
true
  

  

  
  
Snapshots
  

When I build I get this:
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: jdom:jdom

Reason: Error getting POM for 'jdom:jdom' from the repository: Error
transferring file
  jdom:jdom:pom:1.0

from the specified remote repositories:
  Mojo Repository (http://repository.codehaus.org),
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2),
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
--
View this message in context: 
http://www.nabble.com/Can%27t-get-jni-working-based-on-example-configuration-t1825144.html#a5032190
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: Can't get jni working based on example configuration

2006-06-25 Thread TimHedger

Dan,

I've added in the repository you mentioned to my settings.xml file (relevant
section included in my reply post to Tim on building the code from scratch),
but I'm now getting a different error:

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Plugin could not be found - check that the goal name is correct:
Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command: 
mvn install:install-file -DgroupId=org.codehaus.mojo
-DartifactId=native-maven-plugin \
-Dversion=1.0-alpha-1-20060624.172936-2 -Dpackaging=maven-plugin
-Dfile=/path/to/file


 
org.codehaus.mojo:native-maven-plugin:maven-plugin:1.0-alpha-1-20060624.172936-2

from the specified remote repositories:
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  central (http://repo1.maven.org/maven2),
  Codehaus Snapshots (http://snapshots.repository.codehaus.org/maven2/)

 
org.codehaus.mojo:native-maven-plugin:maven-plugin:1.0-alpha-1-20060624.172936-2

from the specified remote repositories:
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  central (http://repo1.maven.org/maven2),
  Codehaus Snapshots (http://snapshots.repository.codehaus.org/maven2/)
--
View this message in context: 
http://www.nabble.com/Can%27t-get-jni-working-based-on-example-configuration-t1825144.html#a5032199
Sent from the Maven - Users forum at Nabble.com.


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



Re: Can't get jni working based on example configuration

2006-06-25 Thread TimHedger

Tim - Now another repository is missing I guess - where do find this one? 
(And how do I work out which repositories I need for the build?  I thought
the whole point of maven was that the sufficient information to build
something would be included in its pom.xml?)

This is my repositories section from my settings.xml (is it correct?)

  

  Snapshots
  

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


  Mojo Repository
  http://repository.codehaus.org

  
  

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


  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/maven2/
  
true
  
  
true
  

  

  
  
Snapshots
  

When I build I get this:
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: jdom:jdom

Reason: Error getting POM for 'jdom:jdom' from the repository: Error
transferring file
  jdom:jdom:pom:1.0

from the specified remote repositories:
  Mojo Repository (http://repository.codehaus.org),
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2),
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
--
View this message in context: 
http://www.nabble.com/Can%27t-get-jni-working-based-on-example-configuration-t1825144.html#a5032190
Sent from the Maven - Users forum at Nabble.com.


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



Re: eclipse plugin archetype

2006-06-25 Thread Martin Vysny
On Sat, 2006-06-24 at 19:04 -0400, Kevin Galligan wrote:
> Anybody if there is an archetype and a packaging model for building eclipse
> plugins?  It doesn't look overly complicated, but before I embark on this
> project, I figured I'd ask.

I am trying to put together a howto on creating and maintaining plugin
project in Maven2, here
. The howto is
still incomplete, but I'll be glad if someone could test it and report
errors. You may use jar packaging for your POM.

Sincerely,
Martin


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