Re: Best practices for Java EE 7 dependencies

2014-02-11 Thread Wayne Fay
>> > Should I better specify the exact dependencies and investigate some
>> > more work in POM maintainance? What would this gain me?
>>
>> You answered your own question, congrats! :)
>
> Well, if I got you right, you mean it won't gain me anything. Right?

I made no such statement. I was simply agreeing that you should
"specify the exact dependencies."

> So using javaee-api instead of the finer grained POMs DOES CAUSE
> problems. Or am I doing something wrong here?

Probably you should just use the finer grained POMs. Or better, make a
parent project, use depMgmt, specify versions there, then only
 on the correct things in your various modules. It is not
*that* much more work.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Best practices for Java EE 7 dependencies

2014-02-11 Thread Martin Hoeller
Hi!

Thanks for your answers so far.

Am Fri, 7 Feb 2014 11:17:22 -0600 schrieb Wayne Fay :

> > Should I better specify the exact dependencies and investigate some
> > more work in POM maintainance? What would this gain me?
> 
> You answered your own question, congrats! :)

Well, if I got you right, you mean it won't gain me anything. Right?

But I just found out a first problem that arises with the use
javaee-api: "mvn dependency:analyze" reports used undeclared
dependencies :(

It's totally clear why it reports these: annotation classes like
@Stateless are in the javax.ejb-api JAR and javaee-api declares a
dependency to it but my actual module does not.

So using javaee-api instead of the finer grained POMs DOES CAUSE
problems. Or am I doing something wrong here?

many thanks,
- martin


signature.asc
Description: PGP signature


Re: Best practices for Java EE 7 dependencies

2014-02-07 Thread Wayne Fay
> Should I better specify the exact dependencies and investigate some more
> work in POM maintainance? What would this gain me?

You answered your own question, congrats! :)

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Best practices for Java EE 7 dependencies

2014-02-07 Thread Thomas Broyer
Because javax:javaee-api:7.0 doesn't use dependencyManagement, but declares
straight dependencies, I don't think import would work (or
be appropriate); however you should be able to declare javax:javaee-api:1.0
as a managed dependency (in , but without any
specific scope, i.e. compile as it's the default) and then
declare needed dependencies; I'm not sure that'd work either though. So I
think the only real choice is to add it as a dependency, with
provided; you'll have all the JARs in the classpath at build
time, but only at build time.


On Fri, Feb 7, 2014 at 11:56 AM, Samuli Saarinen  wrote:

> Hi,
>
> You could import the dependencies  in dependencyManagement as described in
> [1] and only declare needed dependencies in the project.
>
> Cheers
>
> Samuli
>
> [1]
> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies
>
> -Original Message-
> From: Martin Hoeller [mailto:mar...@xss.co.at]
> Sent: 7. helmikuuta 2014 11:33
> To: Maven Users List
> Subject: Best practices for Java EE 7 dependencies
>
> Hi!
>
> I'm wondering what the best practices are for specifying Java EE 7
> dependencies in my modules.
>
> There is the so called BOM (bill of materials) POM: javax:javaee-api:7.0
> which lists all API submodules required for JEE7. Specifying this in my
> module as
>
>   
> javax
> javaee-api
> 7.0
>   
>
> works and is the least work for me. However, this way I got all JEE APIs
> on the CLASSPATH even if I just need a few of them. Further on, the
> actual dependencies are now transitive which is (IMHO) not fully correct.
> Should I better specify the exact dependencies and investigate some more
> work in POM maintainance? What would this gain me?
>
> What do you think?
>
> - martin
>



-- 
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>


RE: Best practices for Java EE 7 dependencies

2014-02-07 Thread Samuli Saarinen
Hi,

You could import the dependencies  in dependencyManagement as described in [1] 
and only declare needed dependencies in the project.

Cheers 

Samuli 

[1] 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies

-Original Message-
From: Martin Hoeller [mailto:mar...@xss.co.at] 
Sent: 7. helmikuuta 2014 11:33
To: Maven Users List
Subject: Best practices for Java EE 7 dependencies

Hi!

I'm wondering what the best practices are for specifying Java EE 7
dependencies in my modules.

There is the so called BOM (bill of materials) POM: javax:javaee-api:7.0
which lists all API submodules required for JEE7. Specifying this in my
module as

  
javax
javaee-api
7.0
  

works and is the least work for me. However, this way I got all JEE APIs
on the CLASSPATH even if I just need a few of them. Further on, the
actual dependencies are now transitive which is (IMHO) not fully correct.
Should I better specify the exact dependencies and investigate some more
work in POM maintainance? What would this gain me?

What do you think?

- martin


Best practices for Java EE 7 dependencies

2014-02-07 Thread Martin Hoeller
Hi!

I'm wondering what the best practices are for specifying Java EE 7
dependencies in my modules.

There is the so called BOM (bill of materials) POM: javax:javaee-api:7.0
which lists all API submodules required for JEE7. Specifying this in my
module as

  
javax
javaee-api
7.0
  

works and is the least work for me. However, this way I got all JEE APIs
on the CLASSPATH even if I just need a few of them. Further on, the
actual dependencies are now transitive which is (IMHO) not fully correct.
Should I better specify the exact dependencies and investigate some more
work in POM maintainance? What would this gain me?

What do you think?

- martin


signature.asc
Description: PGP signature


[ANN] Java EE 6 archetypes 1.2 released

2010-09-27 Thread Jesse Glick
New versions of the Java EE 6-related archetypes (WAR, EJB-JAR, EAR) were released. The major change from the previous versions is a different handling of the endorsed 
classpath override - the new POM strategy is simpler and should be more portable, and ensures that the endorsed API JAR is downloaded to a virgin repository when using 
Maven 3.



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Any java ee 5 directory structure available?

2009-03-16 Thread Stephane Nicoll
You could start with this
http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-simple.html

Note that you don't have to explicitly call mvn ear:ear to package an ear
file. The ear project will have an 'ear' packaging type which means that
Maven will call the right things with the standard goal (i.e. mvn package in
that ear project will actually package the ear file)

S.

On Sun, Mar 15, 2009 at 10:04 AM, Thai Dang Vu  wrote:

> Is there any java ee 5 directory structure with maven2 support available on
> the Internet? I'm looking to something like this:
>
> project-name
>|-- ear
>||-- pom.xml
>|-- ejb
>||-- src
>||-- pom.xml
>|-- war
>||-- src
>||-- pom.xml
>|-- pom.xml
>
> with which I can go to the ear directory and type mvn ear:ear and have an
> ear file.
> I'm quite new to maven, so it'll take me a while to make one of my own.
>
>
>
>




-- 
Large Systems Suck: This rule is 100% transitive. If you build one, you
suck" -- S.Yegge


Any java ee 5 directory structure available?

2009-03-15 Thread Thai Dang Vu
Is there any java ee 5 directory structure with maven2 support available on the 
Internet? I'm looking to something like this:

project-name
|-- ear
||-- pom.xml
|-- ejb
||-- src
||-- pom.xml
|-- war
||-- src
||-- pom.xml
|-- pom.xml

with which I can go to the ear directory and type mvn ear:ear and have an ear 
file.
I'm quite new to maven, so it'll take me a while to make one of my own.



  

Re: how to separate java ee application from its client api ?

2008-07-07 Thread Matthias Berndt
On Sun, 2008-07-06 at 12:30 +0330, Mohammad Shamsi wrote:
> Hi All,
> 
> i have an Java EE application. an EJB module that most deploy on application
> server and several client that most use this module.
> 
> is there any way to build and client api from this module without separating
> app to two  defferent module ?

http://maven.apache.org/plugins/maven-ejb-plugin/examples/generating-ejb-client.html


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



how to separate java ee application from its client api ?

2008-07-06 Thread Mohammad Shamsi
Hi All,

i have an Java EE application. an EJB module that most deploy on application
server and several client that most use this module.

is there any way to build and client api from this module without separating
app to two  defferent module ?

i did this by adding the following code in my pom.xml, but the problem is
that in this case i have just 2 jar file but still on pom object and i don't
know how to set  dependency for app clients.


org.apache.maven.plugins
maven-jar-plugin


package

jar


api

...






any idea ?
-- 
sincerely yours
M. H. Shamsi


Re: Java EE 5 Archetypes?

2007-12-20 Thread Jim Bethancourt
Hi Stephen,
Thanks for the help. :-)  I did find a link off of that one to an archetype
on java.net, but they had said that the archetype is still in progress.
However, I did find a couple of blogs that have instructions on how to get
going with a Java EE 5 project

http://www.jaceklaskowski.pl/w/index.php?title=Tworzenie_aplikacji_Java_EE_5_z_Apache_Maven_2_i_Glassfish(in
polish)
http://technology.amis.nl/blog/?p=2489

Cheers,
Jim

On Dec 11, 2007 5:47 PM, Gargan, Stephen <[EMAIL PROTECTED]> wrote:

> You might find something useful (perhaps as the basis for your own
> archetype) on the list of maintained here,
>
> http://docs.codehaus.org/display/MAVENUSER/Archetypes+List
>
> rgds,
>
> ste
>
> -Original Message-
> From: Jim Bethancourt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 11, 2007 8:18 AM
> To: users@maven.apache.org
> Subject: Java EE 5 Archetypes?
>
> Hello all,
> Does anyone know where I might be able to find a Maven 2 archetype for
> Java
> EE 5 to get my project off to a start?  It would be very handy to have
> an
> archetype that provides structure for both the servlet container and EJB
> container.
>
> Thanks,
> Jim
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: Java EE 5 Archetypes?

2007-12-11 Thread Gargan, Stephen
You might find something useful (perhaps as the basis for your own
archetype) on the list of maintained here, 

http://docs.codehaus.org/display/MAVENUSER/Archetypes+List

rgds,

ste

-Original Message-
From: Jim Bethancourt [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 11, 2007 8:18 AM
To: users@maven.apache.org
Subject: Java EE 5 Archetypes?

Hello all,
Does anyone know where I might be able to find a Maven 2 archetype for
Java
EE 5 to get my project off to a start?  It would be very handy to have
an
archetype that provides structure for both the servlet container and EJB
container.

Thanks,
Jim

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



Java EE 5 Archetypes?

2007-12-11 Thread Jim Bethancourt
Hello all,
Does anyone know where I might be able to find a Maven 2 archetype for Java
EE 5 to get my project off to a start?  It would be very handy to have an
archetype that provides structure for both the servlet container and EJB
container.

Thanks,
Jim


Java EE 5 in Java.net Maven repo soon (Forwarded)

2007-01-05 Thread Wayne Fay

Just forwarding from Glassfish Dev list...

Wayne

-- Forwarded message --
From: Ludovic Champenois <[EMAIL PROTECTED]>
Date: Jan 5, 2007 11:26 AM
Subject: Re: ... and EJB API not in the maven repository
Cc: [EMAIL PROTECTED]

Breaking news: I am back from the winter break and a Java EE 5
javaee.jar jar (without any code, only APIs and non usable
implementation of methods) is going to be publish on java.net in the
next 3 days.
Bill: should I extend this process to the J2EE 1.4 j2ee.jar as well?
Thanks,
Ludo

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



RE: Javapolis Short Presentation: Introduction to Java EE Maven 2.0

2006-12-21 Thread Peter . Pilgrim
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Mykel Alvis
> Sent: 08 December 2006 19:12
> To: Maven Users List
> Subject: Re: Javapolis Short Presentation: Introduction to 
> Java EE Maven 2.0
> 
> Will notes, etc, become available from your talk?  :)
> 
====
Hi

Yes I will upload the videos and presentation notes sometime soon

--
Peter Pilgrim
UBS Investment Bank, 
Client Portal Dev LDN,
Triton Court, 14 Finsbury Square, EC2A 1PD
United Kingdom (  +44 (0)207 567 75692 )
:: Java EE Spring 2.0 Hibernate 3.2 Development ::

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

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

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


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



Re: Javapolis Short Presentation: Introduction to Java EE Maven 2.0

2006-12-08 Thread Mykel Alvis

Will notes, etc, become available from your talk?  :)

On 12/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi

I will giving a quick (15 minute) presentation at JavaPolis 2006 next
Monday lunchtime
http://www.javapolis.com/confluence/display/JP06/Introduction+to+Java+En
terprise+Edition+Maven+2.0+-+Part+1+-+by+Peter+Pilgrim

"Come on down!"

See also here http://www.javapolis.com/confluence/display/JP06/Quickies

--
Peter Pilgrim
UBS Investment Bank,
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

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'm just an unfrozen caveman software developer.  I don't understand your
strange, "modern" ways.


Javapolis Short Presentation: Introduction to Java EE Maven 2.0

2006-12-08 Thread Peter . Pilgrim
Hi

I will giving a quick (15 minute) presentation at JavaPolis 2006 next
Monday lunchtime
http://www.javapolis.com/confluence/display/JP06/Introduction+to+Java+En
terprise+Edition+Maven+2.0+-+Part+1+-+by+Peter+Pilgrim

"Come on down!"

See also here http://www.javapolis.com/confluence/display/JP06/Quickies

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

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]



Javapolis Quickie: Introduction to Java EE Maven 2.0

2006-12-08 Thread Peter . Pilgrim
Hi

I will giving a quickie presentation at JavaPolis 2006 next Monday
lunchtime
http://www.javapolis.com/confluence/display/JP06/Introduction+to+Java+En
terprise+Edition+Maven+2.0+-+Part+1+-+by+Peter+Pilgrim

"Come on down!"

See also here http://www.javapolis.com/confluence/display/JP06/Quickies

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

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

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

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


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



RE: Java EE 5 available on central repository soon!

2006-09-18 Thread Daryl.Dwyer
Outstanding - thanks for following up with them on that. 

-Original Message-
From: Markus KARG [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 16, 2006 4:13 AM
To: Maven Users List
Subject: Java EE 5 available on central repository soon!

Dear Maven Community,

Today I asked the Glassfish community (= Java EE 5 Reference
Implementation) to publish a j2ee.jar (= Java EE 5 APIs) on the Maven 2
central repository to allow coders to easily use the Java EE technology
with Maven, without the need to download the complete SDK manually.

A few minutes later Bill SHANNON (= Java EE 5 Specification Lead)
answered me that in fact "they" are working on this issue and he will
try to speed up this process! :-)

So soon the days will be gone where we all need to download the Java EE
5 SDK just to get the APIs. Soon it will be possible to just add a
dependency on Sun's MVN2 repository to get the complete Java EE 5 APIs
downloaded automatically when compiling an EJB3 project... :-)

Have lots of fun!
Markus

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



Java EE 5 available on central repository soon!

2006-09-16 Thread Markus KARG
Dear Maven Community,

Today I asked the Glassfish community (= Java EE 5 Reference
Implementation) to publish a j2ee.jar (= Java EE 5 APIs) on the Maven 2
central repository to allow coders to easily use the Java EE technology
with Maven, without the need to download the complete SDK manually.

A few minutes later Bill SHANNON (= Java EE 5 Specification Lead)
answered me that in fact "they" are working on this issue and he will
try to speed up this process! :-)

So soon the days will be gone where we all need to download the Java EE
5 SDK just to get the APIs. Soon it will be possible to just add a
dependency on Sun's MVN2 repository to get the complete Java EE 5 APIs
downloaded automatically when compiling an EJB3 project... :-)

Have lots of fun!
Markus


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Java EE

2006-08-12 Thread Srepfler Srgjan

Markus Wolf wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

  

http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Convention is to use the java package for java APIs as groupId.
So for example, the java connector API (jca) has groupId
"javax.resources". You can ask SUN and the JCA JSR members why the did
not use javax.jca or javax.connector as package name.



This does not hold for JSR-220 as far as I know.
Use groupId javax.persistence and artifactId ejb for JSR-220.
I mentioned already that javax.ejb would be a better groupId.

  
Actually the the Java Persistence API is just loosely coupled with the 
EJB spec so that people can use it even outside of EJB containers.

So putting it outside the ejb namespace makes perfect sense.
Srgjan

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



J2EE -> Java EE and "Coping with SUN JARs"

2006-07-27 Thread andreas.ebbert-karroum
Hi,
 
with J2EE now named Java EE, shall also the guideline for the library be
changed? 
 
From 
 
Product artifact  Group ID   Artifact ID
J2EE  javax.j2ee j2ee

To

Product artifact  Group ID   Artifact ID
Java EE   javax.javaee   javaee

Andreas

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



Re: Java EE

2006-07-12 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
> 
> Convention is to use the java package for java APIs as groupId.
> So for example, the java connector API (jca) has groupId
> "javax.resources". You can ask SUN and the JCA JSR members why the did
> not use javax.jca or javax.connector as package name.
> 
This does not hold for JSR-220 as far as I know.
Use groupId javax.persistence and artifactId ejb for JSR-220.
I mentioned already that javax.ejb would be a better groupId.

Markus
- --
__

  Markus Wolf
  Wedeler Landstrasse 63
  22559 Hamburg

 tel: (+49) 40 / 550 083 70
 mob: (+49) 177 / 288 48 67
 web: http://www.matrixweb.de
 icq: #109622365
 pgp: http://wwwkeys.de.pgp.net
__
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtMBDYuGbqyQxpHcRAsQ1AJ95rKZTKIEWVymdW57kpEiwf4C0gACaAnXY
IJ/TJuDYRjj20arPskpSsCw=
=X36X
-END PGP SIGNATURE-

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



Re: Java EE

2006-07-12 Thread Nicolas De Loof


http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Convention is to use the java package for java APIs as groupId.
So for example, the java connector API (jca) has groupId 
"javax.resources". You can ask SUN and the JCA JSR members why the did 
not use javax.jca or javax.connector as package name.


Nico.

PATRON Mickaël a écrit :

When I have installed the API's for JSR-220 :
mvn deploy:deploy-file -DgroupId=javax.ejb -DartifactId=j2ee15 -Dversion=3.0 
-Dfile=ejb-3_0-api.jar -Durl=file:.m2 -Dpackaging=jar

I would like know the best practice with the value to done to groupId and 
artifactId. Anyone knows this ?

But after, I have a trouble with ejb-jar.xml when I do "mvn package".

 [INFO] Error assembling EJB
Embedded error: 
D:\developpement\j2ee\console3\ejb\target\classes\META-INF\ejb-jar.xml isn't a 
file.

How can I generate ejb-jar.xml ?

-Message d'origine-
De : Markus Wolf [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 12 juillet 2006 09:38

À : Maven Users List
Objet : Re: Java EE

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi again,

  

But I'm missing some more API's from JavaEE (like @Remote or @Stateless,
 ...). Is there anything available? I know Sun releases a javaee.jar
package with SAS and Glashfish containing all JavaEE APIs in one, but
there is no maven repository for it.



I've found the API's for JSR-220 on sun site and wonder why there are no
current sugestions in maven2 for this. You can grab the final JSR-220
here http://java.sun.com/products/ejb/docs.html.
Are there any maven2 repositories having this API or are there group and
artifact sugestions on the way just the way it is with the other sun
packages?

Thanks
Markus Wolf
- --
  

emedia-solutions wolf
Wedeler Landstrasse 63
22559 Hamburg
(040) 550 083 70



 web: http://www.emedia-solutions-wolf.de
mail: [EMAIL PROTECTED]
 pgp: http://wwwkeys.de.pgp.net
  

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtKbZeyJE91ndMG4RAvuvAJsEHLKqikaYwkQ5nMepFdbkW4QTEACfWyMF
S2oK/8yCI5RuNVzwSPx/I6U=
=a4KA
-END PGP SIGNATURE-

-
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 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: Java EE

2006-07-12 Thread PATRON Mickaël

When I have installed the API's for JSR-220 :
mvn deploy:deploy-file -DgroupId=javax.ejb -DartifactId=j2ee15 -Dversion=3.0 
-Dfile=ejb-3_0-api.jar -Durl=file:.m2 -Dpackaging=jar

I would like know the best practice with the value to done to groupId and 
artifactId. Anyone knows this ?

But after, I have a trouble with ejb-jar.xml when I do "mvn package".

 [INFO] Error assembling EJB
Embedded error: 
D:\developpement\j2ee\console3\ejb\target\classes\META-INF\ejb-jar.xml isn't a 
file.

How can I generate ejb-jar.xml ?

-Message d'origine-
De : Markus Wolf [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 12 juillet 2006 09:38
À : Maven Users List
Objet : Re: Java EE

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi again,

> But I'm missing some more API's from JavaEE (like @Remote or @Stateless,
>  ...). Is there anything available? I know Sun releases a javaee.jar
> package with SAS and Glashfish containing all JavaEE APIs in one, but
> there is no maven repository for it.
> 
I've found the API's for JSR-220 on sun site and wonder why there are no
current sugestions in maven2 for this. You can grab the final JSR-220
here http://java.sun.com/products/ejb/docs.html.
Are there any maven2 repositories having this API or are there group and
artifact sugestions on the way just the way it is with the other sun
packages?

Thanks
Markus Wolf
- --
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
> (040) 550 083 70
>
>>  web: http://www.emedia-solutions-wolf.de
>> mail: [EMAIL PROTECTED]
>>  pgp: http://wwwkeys.de.pgp.net
>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtKbZeyJE91ndMG4RAvuvAJsEHLKqikaYwkQ5nMepFdbkW4QTEACfWyMF
S2oK/8yCI5RuNVzwSPx/I6U=
=a4KA
-END PGP SIGNATURE-

-
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: Java EE

2006-07-12 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> I've found the API's for JSR-220 on sun site and wonder why there are no
> current sugestions in maven2 for this. You can grab the final JSR-220
> here http://java.sun.com/products/ejb/docs.html.
> Are there any maven2 repositories having this API or are there group and
> artifact sugestions on the way just the way it is with the other sun
> packages?
> 
Thinking again about this I realized that groupId javax.persistence and
artifactId ejb are what I searched for, but I think this naming scheme
is a bit irritating. javax.ejb would be a better groupId IMHO.

Thanks anyway
Markus Wolf
- --
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
> (040) 550 083 70
>
>>  web: http://www.emedia-solutions-wolf.de
>> mail: [EMAIL PROTECTED]
>>  pgp: http://wwwkeys.de.pgp.net
>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtK2weyJE91ndMG4RAndNAJ0VRr1RaJDGza+hs9t/djbuUsEYnQCdFn7O
NuwK9WopwYAkSddxMYV/onk=
=cfcH
-END PGP SIGNATURE-

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



Re: Java EE

2006-07-12 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi again,

> But I'm missing some more API's from JavaEE (like @Remote or @Stateless,
>  ...). Is there anything available? I know Sun releases a javaee.jar
> package with SAS and Glashfish containing all JavaEE APIs in one, but
> there is no maven repository for it.
> 
I've found the API's for JSR-220 on sun site and wonder why there are no
current sugestions in maven2 for this. You can grab the final JSR-220
here http://java.sun.com/products/ejb/docs.html.
Are there any maven2 repositories having this API or are there group and
artifact sugestions on the way just the way it is with the other sun
packages?

Thanks
Markus Wolf
- --
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
> (040) 550 083 70
>
>>  web: http://www.emedia-solutions-wolf.de
>> mail: [EMAIL PROTECTED]
>>  pgp: http://wwwkeys.de.pgp.net
>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtKbZeyJE91ndMG4RAvuvAJsEHLKqikaYwkQ5nMepFdbkW4QTEACfWyMF
S2oK/8yCI5RuNVzwSPx/I6U=
=a4KA
-END PGP SIGNATURE-

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



Re: Java EE

2006-07-11 Thread Martin Vysny
On Tue, 2006-07-11 at 09:04 +0200, Markus Wolf wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> >
> >  
> >false
> >  
> >  java-net
> >  java.net repository
> >  
> >  https://maven-repository.dev.java.net/nonav/repository/
> >  legacy
> >
> > 
> 
> This repository and the javax.persistence groupId are great. Thanks for
> this.
> But I'm missing some more API's from JavaEE (like @Remote or @Stateless,
>  ...). Is there anything available? I know Sun releases a javaee.jar
> package with SAS and Glashfish containing all JavaEE APIs in one, but
> there is no maven repository for it.
> 

I made a small example app for Seam/EJB3, you may download it here:
. The dependencies are not
perfect but I hope it helps.
Sincerely,
Martin



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



Re: Java EE

2006-07-11 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

>
>  
>false
>  
>  java-net
>  java.net repository
>  
>  https://maven-repository.dev.java.net/nonav/repository/
>  legacy
>
> 

This repository and the javax.persistence groupId are great. Thanks for
this.
But I'm missing some more API's from JavaEE (like @Remote or @Stateless,
 ...). Is there anything available? I know Sun releases a javaee.jar
package with SAS and Glashfish containing all JavaEE APIs in one, but
there is no maven repository for it.

Thanks
Markus Wolf
- --
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
> (040) 550 083 70
>
>>  web: http://www.emedia-solutions-wolf.de
>> mail: [EMAIL PROTECTED]
>>  pgp: http://wwwkeys.de.pgp.net
>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEs011eyJE91ndMG4RAoyqAJ4t2umrStKzE6HezdzQVrGRTOvIZwCfQOzl
7ZD8bz/DppFjdBM3/b2zmRQ=
=SKHB
-END PGP SIGNATURE-

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



Re: Java EE

2006-07-10 Thread Matthias Wessendorf

Markus,

try this

   
 
   false
 
 java-net
 java.net repository
 
 https://maven-repository.dev.java.net/nonav/repository/
 legacy
   

Regards,
Matt

On 7/10/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

On 7/10/06, Markus Wolf <[EMAIL PROTECTED]> wrote:

> are there any recommendations for groupId and artifactId for Java EE
> Specs available? On the website-guides there are only EJB3 / Persistence
>  recommendations, but this does not include the JEE Annotations required
> to deploy something to Glassfish using annotations (e.g. @EJB or
> @PersistenceContext).

Isn't that in javax.persistence?  There is a Maven 1 repo available at
java.net, you can use it with m2 by saying legacy in
the repository element.

 * https://maven-repository.dev.java.net/repository/

(And persistence-api-1.0.jar which seems to contain
PersistenceContext, is here:
https://maven-repository.dev.java.net/repository/javax.persistence/jars/
.)

> If there are no recommendations, what about this:
> groupId: javax.jee (maybe javax.j2ee)
> artifactId: jee (maybe even j2ee)
> version: 5.0

If the above isn't what you're looking for, How about javaee ? Sun
uses it in the URL: http://java.sun.com/javaee/   The '2' is out now,
it's just Java EE. :)

HTH,
--
Wendy

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





--
Matthias Wessendorf

futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

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



Re: Java EE

2006-07-10 Thread Wendy Smoak

On 7/10/06, Markus Wolf <[EMAIL PROTECTED]> wrote:


are there any recommendations for groupId and artifactId for Java EE
Specs available? On the website-guides there are only EJB3 / Persistence
 recommendations, but this does not include the JEE Annotations required
to deploy something to Glassfish using annotations (e.g. @EJB or
@PersistenceContext).


Isn't that in javax.persistence?  There is a Maven 1 repo available at
java.net, you can use it with m2 by saying legacy in
the repository element.

* https://maven-repository.dev.java.net/repository/

(And persistence-api-1.0.jar which seems to contain
PersistenceContext, is here:
https://maven-repository.dev.java.net/repository/javax.persistence/jars/
.)


If there are no recommendations, what about this:
groupId: javax.jee (maybe javax.j2ee)
artifactId: jee (maybe even j2ee)
version: 5.0


If the above isn't what you're looking for, How about javaee ? Sun
uses it in the URL: http://java.sun.com/javaee/   The '2' is out now,
it's just Java EE. :)

HTH,
--
Wendy

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



Java EE

2006-07-10 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

are there any recommendations for groupId and artifactId for Java EE
Specs available? On the website-guides there are only EJB3 / Persistence
 recommendations, but this does not include the JEE Annotations required
to deploy something to Glassfish using annotations (e.g. @EJB or
@PersistenceContext).

If there are no recommendations, what about this:
groupId: javax.jee (maybe javax.j2ee)
artifactId: jee (maybe even j2ee)
version: 5.0

Thanks
Markus Wolf
- --
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
> (040) 550 083 70
>
>>  web: http://www.emedia-solutions-wolf.de
>> mail: [EMAIL PROTECTED]
>>  pgp: http://wwwkeys.de.pgp.net
>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEsqrHeyJE91ndMG4RAtbeAJ9EqKz3HGsmIj0nfNBO9al9tqpONwCeKaPx
efvV1M3/zbeldwrui7eUYjc=
=2X7J
-END PGP SIGNATURE-

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



+ Java-EE-Application with Maven2 +

2006-04-18 Thread Serge Emmanuel Pagop
Hi maven2 gurus,

I try to build the tutorial from Java EE 5 Tutorial with maven2 and it works
good. But I have to do some tasks manually.
First, my application-hierarchy looks like this:

javaeetutorial5
  + pom.xml
  + converter-ejb
 + pom.xml
 + src
+ main
 + target
+ classes
+ org
+ tutorials
 + Converter.class
 + ConverterBean.class
  + converter-client
 + pom.xml
  + converter-webapp
 + pom.xml
 + src
+ main
   + webapp
+ WEB-INF

my first question:

I will like to know, how I can create a directory classes in WEB-INF of the
module converter-webapp and then copy the full tree "org.tutorials" and also
the compiled class "Converter.class"  from the target-directory  of the
module converter-ejb to that classes-directory with maven2?

my second question:

How can I access from the module converter-webapp the module
converter-ejbin maven2?
because I know that there are defaults values like ${project}, ${pom},
${version}

my third question:

Is It possible to tell to the maven-war-plugin to create some directories
like classes in WEB-INF and then copy some importants classes in this
directory?

If someone have some idea or some supposition send me an email or just reply
a reponse.

Thanks..