Re: [ANN] Maven Stylus Skin 1.0.1 Released

2007-07-10 Thread Srepfler Srgjan

Dennis Lundberg wrote:

Wim Deblauwe wrote:

url of the website or the groupId/artifactId would be useful...


There is no website for this skin.

groupId:artifactId
org.apache.maven.skins:maven-stylus-skin

If you are using this skin you already have this configured in your 
site.xml file.




regards,

Wim

2007/5/31, Dennis Lundberg [EMAIL PROTECTED]:



The Maven team is pleased to announce the release of Maven Stylus Skin,
version 1.0.1.


Release Notes - Maven Skins - Version stylus-1.0.1

** Bug
 * [MSKINS-1] - Images are missing that are referenced in
maven-theme.css


- The Maven Team

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









I don't use is but I'd like to check it out, where can I find the homepage?
Srgjan

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



Re: Issue with commons-logging 1.1

2007-02-02 Thread Srepfler Srgjan

Dennis Lundberg wrote:

Srepfler Srgjan wrote:

Hi,
The problem I've bumped in is that commons-logging 1.1 has put a 
dependency on the servlet-api library and left the default scope. 
That means servlet-api gets right into my EAR which in turn makes my 
web application unable to serve my jsp's as it's a library that is 
provided by the servlet container. I don't declare commons-logging 
explicitly but I've got a bunch libraries that depend on it 
implicitly so it would be too hard to exclude the commons-logging lib 
for all the particular libs and explicitly declare it. For the moment 
I've manually modified the 1.1 pom but I think that even if the 
commons-logging team ships a 1.1.1 release as my libs depend on 1.1 
I'd still be having issues thanks to the don't replace releases 
policy in the repository. I'd file a bug but the issue tracker tag in 
the pom points to bugzilla and they are not listed, so this is a 
public shout out hoping that it will get picked up.
If anyone can raise the issue with the c-logging guys or can make a 
replace of only the pom in the repository it would be a great 
community service.

Srgjan


The dependency on servlet-api has had the following added in the 
current 1.1.1-SNAPSHOT version of the pom:


  optionaltrue/optional

That is great but all the libraries that currently use c-logging and 
bring in the dependency are breaking my build. I suspect this hasn't 
been raised as an issue because many are still calling versions before 
1.1 and it seems I've added some artifacts that called upon 1.1 and it 
override the other versions where this problem didn't persist. I 
wouldn't be surprised if more people discover this problem now (I 
suspect either the latest version of hibernate or spring 2.0.2 brought 
in 1.1 bu I could be mistaken). I know the repository policy and I 
understand the reasoning behind it but modifying the pom would probably 
not break of any build and the current one does.
I would be nice if maven would have a way to declare library aliases in 
settings.xml so that one can say use c-logging 1.1.1 instead of 1.1 or 
use the glassfish implementation of jta instead of the sun 
implementation. That would allow quick fixes without the need to 
disturb Carlos for these minor things.
Now if we go in that direction, a nice tangent would be if we can add an 
automated feedback of these aliases which could be some sort of a 
retroactive loop that could improve the quality of the artifacts. Let me 
explan.
The repository remains the same. We know there are may flaws in the 
current pom's but we don't change the pom's because that generally 
creates more problems then benefits. I we would have this alternative 
knowledge base of aliases or alternative pom's (that contain diff's of 
the original pom), we could declare use that lib but also apply items 
#234 and #543 from the knowledge base plus apply this local patch. Plus 
you could even submit that back and people could use it as well.
To me this does seems like a complication of the maven model but it's 
also a much more dynamic bazaar'ish model of development that combines 
both the traditional approach and a dynamic, organic way of improving 
the repository while retaining the declarative approach. I'm also aware 
this would (perhaps) need a db that is much more difficult to replicate 
then the current repository mirroring system and would probably require 
more CPU power. It's just a tangent thought.


Srgjan

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



Issue with commons-logging 1.1

2007-02-01 Thread Srepfler Srgjan

Hi,
The problem I've bumped in is that commons-logging 1.1 has put a 
dependency on the servlet-api library and left the default scope. That 
means servlet-api gets right into my EAR which in turn makes my web 
application unable to serve my jsp's as it's a library that is provided 
by the servlet container. I don't declare commons-logging explicitly but 
I've got a bunch libraries that depend on it implicitly so it would be 
too hard to exclude the commons-logging lib for all the particular libs 
and explicitly declare it. For the moment I've manually modified the 1.1 
pom but I think that even if the commons-logging team ships a 1.1.1 
release as my libs depend on 1.1 I'd still be having issues thanks to 
the don't replace releases policy in the repository. I'd file a bug but 
the issue tracker tag in the pom points to bugzilla and they are not 
listed, so this is a public shout out hoping that it will get picked up.
If anyone can raise the issue with the c-logging guys or can make a 
replace of only the pom in the repository it would be a great community 
service.

Srgjan

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



Re: Thanks for Maven 2

2007-01-27 Thread Srepfler Srgjan

Franz Garsombke wrote:

I know that most of the time people post to ask questions or report problems. I 
would like to give thanks to the Maven team for producing some much needed 
forward-thinking software that really does revolutionize how we build 
componentized software. I know that working on open source is difficult and 
takes quite an amount of time.

Franz Garsombke

 
-

Everyone is raving about the all-new Yahoo! Mail beta.
  
I too would like to thank the Maven2 team. It has greatly improved the 
reliability of my build process and the confidence I will produce yet 
another build time after time. Yes there are glitches, problems and 
occasional frustrations but I find the maven way much more productive 
and extensible than the ant way. I'm positive the maven team will work 
on getting as many bugs out and improve the process even more and I 
guess IDE support should get better and better with time. Can we make 
this a positive feedback thread? There have been too many negative 
backlashes.


THANK YOU ALL MAVEN (+PLUGINS) HACKERS!
Srgjan

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



Re: EAR and eclipse plugin

2006-11-26 Thread Srepfler Srgjan

JC Walmetz wrote:

My project contains an packageear/package module, when I generate my
eclipse projects using the eclipse plugin, the ear module is created in
eclipse as a java project and is marked on error.

Any idea on how to generate a project without error in eclipse for an ear
module ?
  
I have the same problem, if you ask me that's a bug and I have filed a 
JIRA on it just the other day.

If you think your problem is related to mine vote on it.
http://jira.codehaus.org/browse/MECLIPSE-196
Srgjan

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



Re: Maven 2, Eclipse WTP

2006-11-07 Thread Srepfler Srgjan

Daniel Serodio wrote:

[EMAIL PROTECTED] wrote:
  

Hi

There is a typo here: the exact syntax is: mvn -Dwtpversion=1.0 eclipse:eclipse 
(You can also specify 1.5 and 0.7 for wtpversion)
  


I tried using 1.5 but it gave me an error Unsupported WTP version: 1.5.
This plugin currently supports only the following versions: 1.0 R7 none.
  

If you add the snapshots repository you could use 1.5 as well.
Srgjan

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



Re: Add pom tags into Eclipse?

2006-11-07 Thread Srepfler Srgjan

jiangshachina wrote:

About Maven docs, the mail list has discussed.
It's said that some plugin docs are being improved, but not hosted by main
site currently.
Now, I think the biggest problem is that docs don't show all parameters or
elements on POM model or plugin configurations.
For example, parameter warSourceExcludes exist in maven-war-plugin
configuration really, but I don't find it at the plugin's site
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html.

a cup of Java, cheers!
Sha Jiang
The way I look at it, the pom has a schema file and if the editor is 
good should know how to pick it up, my objection is that it objectively 
cannot know all the parameters of external plugins so the schema is 
useless. If maven takes the spring 2.0 approach in using namespaces it 
could allow tag validation (and thus code completion) for plugins as well.

Srgjan

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



Eclipse plugin EAR facet issue

2006-11-06 Thread Srepfler Srgjan
Can someone please confirm if they also have this issue. When I generate 
a J2EE application eclipse project the Java 1.4 project facet is applied 
to the EAR module.
As I understand this is wrong and eclipse reports errors. Also the 
absurd is that if one goes to the project properties, project faces, 
when I try to remove the Java facet I get that the project facet Java 
cannot be deselected as it's critical to the function of the project.

Please advise,
Srgjan

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



Re: Maven 2, Eclipse WTP

2006-11-06 Thread Srepfler Srgjan

Steinar Bang wrote:

Alexandre Touret [EMAIL PROTECTED]:



  

1 / The location of WEB-INF directory
according to the maven structure, I put the WEB-INF directory in
src/main/webapp
Unfortunately when I start mvn eclipse:eclipse WTP doesnt retreive
tthe right path of WEB-INF directory and always create a directory
under src/main/java.
How may I configure maven or wtp to configure this path ?
Is the location of my WEB-INF directory on the right path ?



I thought it was supposed to be
 src/main/resources/WEB-INF
?
  

What? Isn't it src\main\webapp\WEB-INF ?

Srgjan

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



Re: Plugin to do http POST?

2006-11-02 Thread Srepfler Srgjan

Wayne Fay wrote:

I don't personally know of any M2 plugins which could do this.

It seems like you should be able to use the HTTP Post Ant task from
Antelope [1] to do it along with Maven Antrunner plugin.

[1] http://antelope.tigris.org/nonav/docs/manual/bk03ch17.html

Wayne

On 11/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] 
wrote:
We've got a custom web form used internally to deploy web 
applications to
our qa server. I'd like to automate the resulting http POST within 
Maven.

Is anyone aware of any plugins that can do this? I've checked the main
maven site and codehaus without any obvious choices.
Greg Vaughn
[EMAIL PROTECTED]
==
Confidentiality Notice: The information contained in and transmitted 
with
this communication is strictly confidential, is intended only for the 
use of

the intended recipient, and is the property of Countrywide Financial
Corporation or its affiliates and subsidiaries.  If you are not the 
intended
recipient, you are hereby notified that any use of the information 
contained
in or transmitted with the communication or dissemination, 
distribution, or
copying of this communication is strictly prohibited by law.  If you 
have

received this communication in error, please immediately return this
communication to the sender and delete the original message and any 
copy of

it in your possession.
==




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


Perhaps you could write a small plugin that's based on the 
commons-httpclient library.
Read this blog entry 
*http://weblogs.java.net/blog/joshy/archive/2006/11/a_quick_intro_t.html

Srgjan
*

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



Re: maven and WTP in eclipse

2006-10-09 Thread Srepfler Srgjan

Rod Coffin wrote:

Hi Adam,

I do this frequently using the Maven eclipse plugin.  This plugin will
generate the necessary Eclipse project files from your Maven 
metadata.  You

can find information on the plugin at:
http://maven.apache.org/plugins/maven-eclipse-plugin/.  You will need to
specify the version of WTP that you are using.  For example:

mvn eclipse:eclipse -Dwtpversion=1.5

Also, you'll want to either create a M2_REPO classpath variable 
yourself or
have the plugin do it for you by executing the eclipse:add-maven-repo 
goal.


HTH,

Rod

On 10/5/06, Adam Hardy [EMAIL PROTECTED] wrote:


Hi All

I'm trying out the Eclipse Web Tools Platform (WTP) to see what it
offers in terms of the development cycle, and I'm trying to configure a
maven-ised 'dynamic web' project.

I have tomcat configured in Eclipse, and I have associated the maven
project with tomcat, but trying to start it proves that Eclipse hasn't
added the Maven dependencies to the project's classpath.

I cannot see any way to do this and I think I must do it manually in the
config files in my project, but I haven't found any reference about what
files or attributes to edit.

Does anyone have any experience with this?

Thanks
Adam

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




It seems the current version supports only 1.0 R7 none, are you using 
some other version?
I personally am having a problem to deploy an EAR containing a War and 
EJB module from eclipse to JBoss. Does anyone have this problem? Has 
anyone managed to deploy an maven EAR project using the application 
server explorer in eclipse? Also as I run the command to generate the 
workspace as the Web module references the EJB module it expects a jar 
artifact, is there a way to make that reference to a project reference 
so that classes compiled in the ejb module get picked up by the Web project?
Also, I noticed the EAR project seems to have a java facet, isn't this 
incorrect?


Thanks,
Srgjan

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



Re: maven and WTP in eclipse

2006-10-09 Thread Srepfler Srgjan

Adam Hardy wrote:

Srepfler,
make sure you're using the latest maven-eclipse-plugin snapshot from 
the snapshots repo at http://people.apache.org/maven-snapshot-repository


This supports 1.5.

I can't help you with the jboss stuff, sorry, but it sounds like you 
have got your inter-project dependencies mixed up.


An EAR file doesn't produce a JAR artifact and you can't make a maven 
dependency on it because it doesn't have any of its own classes. You 
should make a dependency on the each jar directly in your war pom, 
installing them in your repo is they are not actual projects nor on 
the maven repo.


HTH
Adam

I perhaps explained incorrectly, my War has a dependency on the EJB 
module, not on the EAR and I declare it in the War.
What happens is that the eclipse:eclipse task links the library 
installed in the repo not the eclipse project. Did this make more sense?

dependency
 groupIdit.linksystem.csai/groupId
 artifactIdCSAIEJB/artifactId
 typeejb/type
 scopeprovided/scope
/dependency

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



Re: maven and WTP in eclipse

2006-10-09 Thread Srepfler Srgjan

Jörg Schaible wrote:

Srepfler Srgjan wrote on Monday, October 09, 2006 4:17 PM:

  

I perhaps explained incorrectly, my War has a dependency on the EJB
module, not on the EAR and I declare it in the War.
What happens is that the eclipse:eclipse task links the library
installed in the repo not the eclipse project. Did this make
more sense?
dependency
  groupIdit.linksystem.csai/groupId
  artifactIdCSAIEJB/artifactId
  typeejb/type
  scopeprovided/scope
/dependency



You must generate both eclipse project files with the same maven call. Only 
then inter-project links are geneareted (and the artifact's version must match).

- Jörg

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


  
It seems I made references between projects now but the issue that the 
EAR has also the Java facet (version 1.4) still remains. I use the 
snapshots eclipse plugin.

When I looked at org.eclipse.wst.common.project.facet.core.xml file I found:
faceted-project
 runtime name=*JBoss v4.0* /
 fixed facet=*jst.ear* /
 fixed facet=*jst.java* /
 installed facet=*jst.ear* version=*1.3* /
 installed facet=*jst.java* version=*1.4* /
/faceted-project

and also in the project properties in the faces window I get that EAR 
1.3 and Java 1.4 cannot be both selected. It seems that the plugin 
wrongly adds that facet to the project.

Srgjan

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



Re: sql server jars

2006-10-01 Thread Srepfler Srgjan

Wayne Fay wrote:

I'm not an official member/representative of Apache in any way so take
this with a grain of salt... I think you'll need a Maven PMC member to
look into things and potentially send this issue to [EMAIL PROTECTED] to
get their approval etc and then assuming it all works out, it can be
posted into the Maven repo.

But even this seems like a lot of work -- why can't MSFT just release
some things (like for example a SQL Server client connection library)
under a license which freely permits redistribution rights, like so
many other libraries/products already hosted by Maven? Even Sun has
seen the error of their ways and is busy relicensing things under
CDDL of late...
I agree, it's a pain in the butt, I guess being a big company has it's 
drawbacks. Having to deal with legal is always a problem and indeed the 
EULA is filled with stuff in which they wave their responsibility more 
than anything else. However, can maven accept the terms or not?

Srgjan

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



Re: sql server jars

2006-09-30 Thread Srepfler Srgjan

Wayne Fay wrote:

Feel free to look into it Srgjan and if it seems to allow
redistribution, open a JIRA ticket for it.

Wayne
I've asked on the MS msdn forums about it and a person answered that 
indeed the older driver had the restrictions on redistribution but the 
new one seems can be redistributed but it seems that the maven team 
should make a formal request. The guy also said he'd be glad to help 
clarify any licensing issues directly so I'm pointing you to the discussion:

http://forums.microsoft.com/MSDN/showpost.aspx?postid=777134siteid=1
and here is the registration for the driver redistribution:
http://msdn.microsoft.com/data/ref/jdbc/redist/default.aspx
I believe someone from representing maven team (or the apache 
foundation) should read the license and if it's ok then perhaps we can 
redistribute the lib through our repository.

This is the EULA:
http://msdn.microsoft.com/data/ref/jdbc/redist/eula.aspx
Perhaps there are some issues like:
require distributors and external end users to agree to terms that 
protect it at least as much as this agreement; EXPORT RESTRICTIONS; others?
Also, although we accept these terms, there is currently no way for the 
maven end users to accept the license as well.

What's your thoughts?

Srgjan

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



Hibernate's new Entity Manager missing

2006-09-29 Thread Srepfler Srgjan

Hi,
Is there anyone that could be so kind to create an entry on ibiblio for 
the new EntityManager 3.2.0.CR2 that uses the latest Hibernate libs 
3.2.0.cr4? It's the last step that we'd need if we want to use JPA with 
hibernate. It has a couple of dependencies that are not in the repo as 
well. This package begs for some love as the last version was added on 
November 2005.
Also, if anyone needs a quick fix while waiting for the latest spring 
rc4 to get on ibiblio you can use ant mvn.install.jars that will 
install the jars in your repository. That said I hope we'll have spring 
2.0 the day it comes out :)

Thanks,
Srgjan

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



Re: Hibernate's new Entity Manager missing

2006-09-29 Thread Srepfler Srgjan

Srepfler Srgjan wrote:

Hi,
Is there anyone that could be so kind to create an entry on ibiblio 
for the new EntityManager 3.2.0.CR2 that uses the latest Hibernate 
libs 3.2.0.cr4? It's the last step that we'd need if we want to use 
JPA with hibernate. It has a couple of dependencies that are not in 
the repo as well. This package begs for some love as the last version 
was added on November 2005.
Also, if anyone needs a quick fix while waiting for the latest spring 
rc4 to get on ibiblio you can use ant mvn.install.jars that will 
install the jars in your repository. That said I hope we'll have 
spring 2.0 the day it comes out :)

Thanks,
Srgjan

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



I forgot to mention, the hibernate tools library is to be updated as well.
Srgjan

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



Re: Hibernate's new Entity Manager missing

2006-09-29 Thread Srepfler Srgjan

Wayne Fay wrote:

Is there any particular reason you're unable to create the Maven
artifact yourself and upload to JIRA? Or ask the Hibernate people to
please make a nice Maven bundle and post it themselves, if you're
unable/unwilling to do so?

Maven generally relies on people who need something (for their own
project) to actually create the bundle(s) and upload them to JIRA for
eventual uploading into the Maven repo. Or even better, the project
creates their own bundles and uploads them.

Wayne

I didn't want to make a debate out of this but I felt it was coming. I 
already have my own quick and dirty setup and I do create my own fixes 
when I need them (and I need them too often, some libs get posted 
quickly - like the hibernate core the other week, but other get 
forgotten forever). I have been through a rather nasty trial and failure 
to submit Rife once and the interaction I had just sucked and it wasn't 
a nice experience. I am not saying it's someones fault but I don't need 
the experience again. I realize the pom's I create might not pass the 
quality assurance so I thought I'd suggest the idea to the maven 
community and get someone more qualified interested (I think of myself 
as someone that leans on the strength of the community when I need help, 
is this wrong attitude?).
I understand the move your asses and help argument that arises too 
often but this is not the case here, I'm just a content user but not 
quite happy to help any more in certain areas, but in others I believe I 
have helped like sending diffs for fixing documentation or just trying 
to swap ideas with the users in the community both on irc or the list, 
also I've blogged a bit trying to spread the gospel and trying to push 
it everywhere I work. So my original post was trying to raise an issue 
that if we as a community would get a working JEE5/JPA stack, that would 
help people adopt it sooner and also adopt maven along with it. I wasn't 
trying to get my homework done by someone else.
The hibernate people have bitched about maven all the time (sorry to say 
that, but I as hibernate user have a right to bitch as well, it's a two 
way street), I have asked them on more occasions (irc and forum) to try 
and adopt maven or at least publish hibernate libs and tools, zilch. The 
same I have tried when I did the Rife lib but then I got into 
philosophical discussions on maven's concept of dependencies, the 
classifier issue that at the time wasn't clear (I had two opposing 
answers from Carlos and Zyl, whom does one listen? - better, more 
visible guidelines needed) etc etc.
I believe our community suffers from these issues and I really don't 
know if we can help it. Perhaps a better human protocol on how to get 
libs in the repo? Perhaps some sort of a web page wizard that can create 
pom's automatically? We also could make use of rss feeds of with new 
releases, plugins and libs. Also the fact maven is so fragile when it 
builds doesn't help. I can understand it, but it doesn't help us. We are 
avoided as the bubonic plague when people want a deterministic build 
process. That way the people that should use maven and publish 100% 
correct pom's and libs don't use it to build their systems. What 
happened with the stories where projects were to be given access to 
upload their libs?
Sorry for the outburst or if I'm out of line here, I'm still for maven 
it just needs to sort some quicks out. Also this discussion is getting 
off topic.

Srgjan

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



Re: sql server jars

2006-09-28 Thread Srepfler Srgjan

Stephen Duncan wrote:

FYI: My experience is that the JTDS driver is better than the one from
Microsoft anyway.

-Stephen

On 9/1/06, Geoffrey De Smet [EMAIL PROTECTED] wrote:

Interesting, I think I 'll try this one as an alternative :)

Wendy Smoak wrote, On 2006-09-01 4:03 PM:
 On 9/1/06, Douglas Ferguson [EMAIL PROTECTED] wrote:

 Are there sql server jars in central, of so what's the groupId?

 Are you looking for a JDBC driver for Microsoft SQL Server?

 Google turned up jTDS: http://jtds.sourceforge.net/

 It's on ibiblio in groupId net.sourceforge.jtds
   http://www.ibiblio.org/maven2/net/sourceforge/jtds/

 HTH,

--
With kind regards,
Geoffrey De Smet


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





I believe the new driver for SQLServer 2005 is a complete re-write so it 
might be better than the old driver (although I didn't have any serious 
problems when I used it).
Is it certain that the license prohibits redistribution? It would be 
really nice if we have the official drivers in the repo.

Srgjan

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



Re: J2me maven plugin

2006-09-16 Thread Srepfler Srgjan

Frank Seidinger wrote:

Vandermi Joao da Silva wrote:
  

Is there some plugin for J2ME?
If that exist plugin ,is possible create a file jad to project J2me?
I see one plugin in mojo site but the URL is down.




Dear Vandermi,

I've created a j2me plugin for maven2. Actually it does excactly what your
are looking for. It preverifies your classes and creates a java descriptor
after packaging your jar. The manifest entries are generated through
configuration.

The plugin is currently in the mojo-sandbox on the codehaus site. You can
find the plugins documentation at:

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

If you have any questions regarding the plugin, please feel free email or
post me,

Kind regards,

Frank Seidinger

  

Hi Frank,
I've noticed that the netbeas IDE now features some sort of a 
preprocessor that allows multiple jar file outputs (in order to tackle 
the device fragmentation issue). Can your plugin use this preprocessor 
(I don't know if it's a part of the standard j2me sdk)? If so how do you 
tackle the one artifact per module issue as effectually one source 
code base could generate more then one artifact?

Thanks, Srgjan

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



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]



Re: maven site into Trac?

2006-08-01 Thread Srepfler Srgjan

Hi Andrew,
Do you feel you know trac/maven integration enough so that you could add 
support for it to the changes plugin so that we can use trac instead of 
jira as issue tracker?

Srgjan

Andrew Williams wrote:

OK, OK so here it is - you can grab MavenTrac, the Trac plugin for Maven
sites here: http://dev.rectang.com/projects/maventrac/
There are (what I think classify as) comprehensive instructions, but let
me know on the site or on email if you have any troubles using it.
(Quite possible, as it is still early)

Sorry it took a while, but I was working on TraM a Trac-Multi wrapper
which you can see in action on that site
(http://dev.rectang.com/projects/). Thought it might interest some folk
here too...

Andy

p.s. why not check out ContinuTrac too ;)
(http://dev.rectang.com/projects/continutrac/)

p.p.s Sorry for the adverts!

On Sun, 2006-07-30 at 14:10 -0700, Josh Long wrote:
  

The clamoring masses have it..

please release it

On 7/30/06, Srepfler Srgjan [EMAIL PROTECTED] wrote:


YES!
:)
Srgjan

Andrew Williams wrote:
  

:)

I am the dev behind dev.rectang.com and can tell you it is not manually
done :)

I have a trac plugin that is almost ready for a release that does it
for me.

step 1) install plugin, tell it where the site is generated to (on the
filesystem)
step 2) set your site to use the maven-trac-skin (or whatever I call it
when it is released) and deploy it into the expected area.

Shall I announce here when it is ready perhaps?

Andrew

Valerio Schiavoni wrote:


hello everyone,
any one knows how to 'merge' the maven generated website within Trac, as
it's done here:
http://dev.rectang.com/projects/javautil/maven/

i think they did it 'manually'..but maybe not.

thanks,
valerio

  


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


  



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



Re: maven site into Trac?

2006-08-01 Thread Srepfler Srgjan

Andrew Williams wrote:

I cannot say without seeing exactly what you want. I have not looked
into the changes plugin much - what exactly are you looking for? Just a
handler for Trac changes so the changes plugin outputs links that work
inside MavenTrac?

Andy

On Tue, 2006-08-01 at 22:55 +0200, Srepfler Srgjan wrote:
  

Hi Andrew,
Do you feel you know trac/maven integration enough so that you could add 
support for it to the changes plugin so that we can use trac instead of 
jira as issue tracker?

Srgjan

Andrew Williams wrote:


OK, OK so here it is - you can grab MavenTrac, the Trac plugin for Maven
sites here: http://dev.rectang.com/projects/maventrac/
There are (what I think classify as) comprehensive instructions, but let
me know on the site or on email if you have any troubles using it.
(Quite possible, as it is still early)

Sorry it took a while, but I was working on TraM a Trac-Multi wrapper
which you can see in action on that site
(http://dev.rectang.com/projects/). Thought it might interest some folk
here too...

Andy

p.s. why not check out ContinuTrac too ;)
(http://dev.rectang.com/projects/continutrac/)

p.p.s Sorry for the adverts!

On Sun, 2006-07-30 at 14:10 -0700, Josh Long wrote:
  
  

The clamoring masses have it..

please release it

On 7/30/06, Srepfler Srgjan [EMAIL PROTECTED] wrote:



YES!
:)
Srgjan

Andrew Williams wrote:
  
  

:)

I am the dev behind dev.rectang.com and can tell you it is not manually
done :)

I have a trac plugin that is almost ready for a release that does it
for me.

step 1) install plugin, tell it where the site is generated to (on the
filesystem)
step 2) set your site to use the maven-trac-skin (or whatever I call it
when it is released) and deploy it into the expected area.

Shall I announce here when it is ready perhaps?

Andrew

Valerio Schiavoni wrote:



hello everyone,
any one knows how to 'merge' the maven generated website within Trac, as
it's done here:
http://dev.rectang.com/projects/javautil/maven/

i think they did it 'manually'..but maybe not.

thanks,
valerio

  
  

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


  
  

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


  
I unfortunately don't have a jira instance with which I can play with 
but if you take a look at this page:

http://maven.apache.org/plugins/maven-changes-plugin/usage.html
you can see under How to generate a JIRA report how they declare they 
want to use it directly to generate a report.
I don't know what kind of a result does JIRA gives back to the plugin so 
I guess it's possible that Trac doesn't support that kind of export 
capability but I wouldn't be surprised if it's not such a big deal to 
implement it. This would allow I believe creating a changes list getting 
from trac all issues closed (or existing) for the release cycle in question.

Srgjan

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



Re: maven site into Trac?

2006-07-30 Thread Srepfler Srgjan

YES!
:)
Srgjan

Andrew Williams wrote:

:)

I am the dev behind dev.rectang.com and can tell you it is not manually
done :)

I have a trac plugin that is almost ready for a release that does it 
for me.


step 1) install plugin, tell it where the site is generated to (on the
filesystem)
step 2) set your site to use the maven-trac-skin (or whatever I call it
when it is released) and deploy it into the expected area.

Shall I announce here when it is ready perhaps?

Andrew

Valerio Schiavoni wrote:

hello everyone,
any one knows how to 'merge' the maven generated website within Trac, as
it's done here:
http://dev.rectang.com/projects/javautil/maven/

i think they did it 'manually'..but maybe not.

thanks,
valerio





-
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: Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-07-18 Thread Srepfler Srgjan

Marco Mistroni wrote:

hi darren,
there are problems with surefire-2.0.. i have mailed testng mailiing
lists..
if you run maven -x with  both surefire-2.2 and surefire-2.0 you'llnoticd
that with 2.2 there are plenty of jars being loaded in jboss, while
with 2.0there areonly 3.. that was as far as i debugged.. i m pretty
busy @ work at
the moment

hth
marco

On 6/27/06, Srepfler Srgjan [EMAIL PROTECTED] wrote:


Darren Hartford wrote:
 Tested with alpha 8, no problems.  Although, still need to use the
 SUREFIRE-2.2-SNAPSHOT plugin.
 -D

But the set of files are completely different, what is the list we can
cut/replace?
Srgjan

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





Hi marco,
Is there any progress on updating the example to use latest libs and 
containers?

Srgjan

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



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

2006-06-27 Thread Srepfler Srgjan

Marco Mistroni wrote:

hello,
sorry... you have to get it from ejb3-embeddable  alpha6 ...
go to www.jboss.org,  and look for EJB3 Download
you should look  for EJB3.0 RC6 PFD

now they are at version 8  i'll try asap to see if my simple sample
break
i will if necessary update zip

hth
marco


Thanks Marco
Grazie Marco
Srgjan

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



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

2006-06-27 Thread Srepfler Srgjan

Darren Hartford wrote:

Tested with alpha 8, no problems.  Although, still need to use the
SUREFIRE-2.2-SNAPSHOT plugin.
-D
  
But the set of files are completely different, what is the list we can 
cut/replace?

Srgjan

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



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

2006-06-26 Thread Srepfler Srgjan

Hi Marco,
I want to try your example but where can we find the files 
ehcache-alpha6.jar, hibernate-all-alpha6.jar, jboss-ejb3-all-alpha6.jar 
and thirdparty-all-alpha6.jar ? The latest jboss microcontainer release 
is 1.0.2 and it doesn't contain these libs (actually, is this the 
project we're supposed to download?)

Thanks and I hope this will become an archetype!

Srgjan

W Totti!!!

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



Re: JSP compiler plugin

2006-06-23 Thread Srepfler Srgjan

Max Cooper wrote:

Did I read that correctly that . is your warSourceDirectory?

I would expect many issues with that directory structure, though I am 
not sure if your current issue is related.


-Max

Alexandre Poitras wrote:

Is c.tld located in src/main/resources/WEB-INF/tld?

On 6/7/06, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote:

plugin
groupIdorg.codehaus.mojo/groupId


artifactIdjspc-maven-plugin/artifactId

executions
execution
idjspc/id
phasecompile/phase
goals
goalcompile/goal
/goals
configuration
inputWebXml./WEB-INF/web.xml/inputWebXml
injectStringnonexistent/injectString
outputWebXml/dev/null/outputWebXml
warSourceDirectory./warSourceDirectory
workingDirectoryjsp-compile/workingDirectory
/configuration
/execution
/executions
/plugin


for soem reason I'm getting this error:

[INFO] [jspc:compile {execution: jspc}]
[INFO] Built File: /MML/index.jsp
[WARN] Internal Error: File /WEB-INF/web.xml not found
[INFO] 
 


[ERROR] BUILD ERROR
[INFO] 
 


[INFO] Error

Embedded error: File /WEB-INF/tld/c.tld not found

But there is WEB-INF/tld directory inside module and it contains 
c.tld file.

Also WEB-INF/web.xml exists.

Any ideas what needs to be specified?

--
Eugene N Dzhurinsky

Sorry if this is a banal question (I haven't done jsp precompiling yet), 
so the jsp's get precompiled and exposed as servlets in the web.xml? 
Sounds a bit dirty, can't the container precompile the jsps on deploy?

Srgjan

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



Re: nice repos :-)

2006-06-13 Thread Srepfler Srgjan

Geoffrey De Smet wrote:

Any chance of linking both from maven.apache.org?

Subhash Chandran wrote:

There is another I know:

http://www.mvnregistry.com/

Both seem to do their job well...

Regards,
Subhash.

On 6/12/06, cameron101 [EMAIL PROTECTED] wrote:


http://www.mvnrepository.com







Kudos to both teams, I hope the official maven project will have also 
something that will offer the same features (search and metadata view) 
and also be a tool for the external developers so that they can update 
their libs. We need to raise the number of projects that adopt maven and 
a healthy, rich and vibrant repository is a must.


Srgjan

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



Re: [m2] TestNG example integration with Maven?

2006-06-08 Thread Srepfler Srgjan

Mick Knutson wrote:

Has anyone used Maven and XDoclet with TestNG and jdk 1.4.2?

---
Thank You
Mick Knutson

BASE logic, inc.
(415) 648-1804 (San Francisco, CA)
http://www.BASELogic.com

http://www.djmick.com
---



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


I agree, it would be great if there is an archetype that has a TestNG 
test and is all set up. Actually, if I remember correctly archetypes can 
be partial and it would be nice if one can choose which test frameworks 
would like to use and the basic project archetype would add the part for 
the target framework.

Srgjan

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



Re: eclipse, wtp, maven and web apps

2006-06-05 Thread Srepfler Srgjan

kvpetrov wrote:

I can't believe I am the only one who encountered this problem. Guys, help!
--
View this message in context: 
http://www.nabble.com/eclipse%2C-wtp%2C-maven-and-web-apps-t1725424.html#a4720818
Sent from the Maven - Users forum at Nabble.com.


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


  

I didn't understand exactly what do you mean. Can you make an example?
Srgjan

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



Re: Spotlight: Maven Repository at Java.Net with GlassFish components

2006-06-04 Thread Srepfler Srgjan

Serge Emmanuel Pagop wrote:

Sorry, the java persistence api is already available.

I greet the initiative, we should just add your repository to our 
settings or will you synchronize with the ibiblio repository? Your file 
structure is strange, lib  jars/poms/sources and then artifacts crammed 
inside, is this standard? Are you guys using maven to build glassfish or 
individual libs or is this some manual overtime work?

Keep up the good work!
Srgjan

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



Continuum build for the gentoo distribution

2006-05-23 Thread Srepfler Srgjan

Hi,
is there some developer that knows the gentoo portage system and that 
can produce a gentoo ebuild for the continuum server?

We'd be really happy to see continuum on Gentoo.
Srgjan


mule and maven2

2006-05-13 Thread Srepfler Srgjan
Does anyone have some experience in using maven 2 along with the mule 
ESB? We are having difficulties to determine what are the right libs to 
put in WEB-INF/lib so transitive dependencies would come very useful.
I hope someone is working on archetypes and a m2 plugin as mule is a 
nice target for one.


Srgjan


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



Re: maven-eclipse-plugin

2006-05-13 Thread Srepfler Srgjan

Ingo Düppe wrote:

Hi Steven,

this was my original question that eclipse:eclipse only generates 
project files for each of the modules but not for the parent project. 
So I guess this would be a really nice feature.


Regards,
Ingo

When you say parent project are you referring to a multi module project? 
What would the equivalent of it be under eclipse, I mean it's not a 
project with a java nature, what is it? Also if such a feature would 
need to be implemented I believe  the only way to achieve something like 
that would be to make a multi module projects but with a flat hierarchy 
(as eclipse can't handle projects that are within projects but all 
projects are flatly in a workspace) and relative paths between them and 
people on the list have been against that kind of approach (but don't 
ask me why).
Anyhow, once you generate the projects for the modules and import them 
in the workspace, do you need the parent project? Only possible use I 
see if some maven plugin manages to run some targets on the parent pom, 
otherwise I don't know. Anyone?

Srgjan

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



Axis webapp archetype, and axistools-plugin

2006-05-10 Thread Srepfler Srgjan
Hi, First of all it's great that axistools has a archetype. I hope every 
plugin would offer one as it jumpstarts the newbie user. However, seeing 
it I found it's missing an important use-case. The one where you use the 
java2wsdl but not from a JavaBean but from a EJB (that sits in another, 
EJB module). Could you expand the archetype by adding a EAR module and a 
EJB module that uses the kernel and exposes that same web service but 
starting from the EJB? I know it's more work to do but I feel it's an 
important use-case. Also, the axistools I have uses axis 1.2.1. Is there 
a version that uses 1.4 or even 2.0 ?

Thanks and keep up the good work!

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



Re: Search maven 2 repository site?

2006-03-02 Thread Srepfler Srgjan

Immagine Google Base + Maven repository, a match made in heaven :)

Srgjan

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



Re: how to create web project for eclipse using maven eclipse plugin

2006-02-28 Thread Srepfler Srgjan

Tom Joad wrote:

Hello,
What is WTP switch?
I'm not a developper , i know a little about eclipse to achieve the
migration of our project
from no maven management project to maven management project. I use maven m2.x
I give you how i proceed.
I checkout the project from cvs and disconnect it.
I prepare  the project pomfile
I delete WEB-INF/lib.
I close the project under eclipse.

  

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

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



Re: how to create web project for eclipse using maven eclipse plugin

2006-02-24 Thread Srepfler Srgjan

Tom Joad wrote:

Hello
when you say it's not working what do you mean?
I suppose you use maven1.x
For me the problem was eclipse did not build  my project. But maven
packaging works fine.
I use maven2.x but i think that you must set MAVEN_REPO as eclipse
variable of your local repository before running eclipse:eclipse.
Tom
  

Are you using the WTP switch?

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



Re: [m2] Compiling JSPs

2006-02-21 Thread Srepfler Srgjan

On 2/21/06, Mick Knutson [EMAIL PROTECTED] wrote:

Can anyone give me a reason _NOT_ to pre-compile jsp's?
Seems to take a short amount of time to compile in maven, and I get to see
what issue I have right away.


This is an interesting article about jsp precompiling:
http://www.mernst.org/blog/archives/02-01-2006_02-28-2006.html#39
so judge yourself if it's useful or not, and whether EL compiling should 
be added to J5EE/J6EE.


OT: One other thing that I didn't know about jsp's was that if I'd do 
${bean.property} to read the property, it would be re-evaluate the get 
method which I guess would be the correct thing to do but I've noticed 
I've gained tremendous speed improvements if sometimes I put the 
property in an intermediary jsp bean and reuse it on the page when the 
property is a collection of items that I recuperate via Facade from the 
EJB tier and Hibernate. So, that's just a tip if someone uses this 
multi-layer approach that can avoid you some very expensive round-trips 
(that I doubt people do anymore thanks to spring).


Srgjan

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



Re: taglibs vs jstl

2006-02-19 Thread Srepfler Srgjan

Brian E. Fox wrote:
Seems to me like taglibs should have a dependency on jstl in it's pom.  

  

+1

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



Re: [M2] Eclipse WTP not Working

2006-02-18 Thread Srepfler Srgjan

Fabrizio Giustina wrote:

I've tried to use maven-eclipse-plugin's support for WTP with Eclipse
3.1.1and WTP
1.0 (latest release). I could configure a TomCat 5.5 server and add my Web
project.  I also got to the point where I could start TomCat.  However, the
application did not load due to missing libraries on the classpath.
Everything works fine when I deploy the same war manually.



The released version of the eclipse plugin only supports WTP R7.
Wtp 1.0 support has been added recently (not released yet) but there
is a bug WTP 1.0 so that external dependencies are not working at all,
see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=116783

As a workaround, the eclipse plugin in svn will move all the
dependencies to src/main/webapp/WEB-INF/lib while generating a WTP
configuration (with -Dwtpversion=1.0) but this is absolutely a
non-optimal solution.
A working wtp 1.0.1 build should be out in a couple of weeks so we'll
wait for it before releasing a new version of the plugin (btw, if you
are running web modules inside eclipse, wtp 1.0 has a big performance
regression which makes it unusable, regardless of the external
dependency problem...)

fabrizio

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


  
Does this bug affect also WTP 1.5M4? Anyhow isn't that issue fixed at 
least according to bugzilla or was it reopened the other day?
Can I use the 1.0 project support with 1.5? What do I need and where can 
I check out to build the new eclipse plugin? Thx

Srgjan

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



Re: hibernate3 plugin

2006-02-14 Thread Srepfler Srgjan

A site that describes goals and documents the plugin would be most usefull.

Srgjan

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



Re: Build numbering w/ Maven

2006-02-02 Thread Srepfler Srgjan

Emmanuel Venisse wrote:

It isn't possible but can be a good idea.
Please file an issue.

Emmanuel


I like this idea too.

Srgjan


Re: SV: Worst documentation in the whole apache projects

2006-01-29 Thread Srepfler Srgjan

Jason van Zyl wrote:

David Sag wrote:


well i would agree in principle but the maven2 plugin matrix you list 
is hopelessly out of date, and always has been.


The plugin matrix is meant to be a guide. It does not scale right now 
and it is hard to keep up to date because it is a manual process. We 
definitely want to move toward pushing more plugin information during 
the deployment of the plugin and then our new repository manager can 
scan for that and index the information and we'll use that to generate 
the plugin matrix. But we needed to start somewhere and see what kind 
of information would be good to display and now we can go about 
working on a generated version.
Also, if a plugin is external perhaps we might reference it via rss and 
show an updated status for it, like latest changelog or something?


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



Re: Extending Maven's POM XML

2006-01-28 Thread Srepfler Srgjan

Jason van Zyl wrote:

jean safar wrote:

Hi,

Is it possible to extend the XML description for POMs in Maven 2?


No, but we are discussing adding a custom/ element to the POM for 
general extensions. We are thinking about changes to the POM for 
integration testing so this might all get rolled into 2.0.3. Currently 
you cannot have custom extensions in the POM.



Shouldn't be better to use schemas for that?

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



Re: EAR and non-repository libraries questions

2006-01-12 Thread Srepfler Srgjan

There is (or at least there was a j2ee/ear) archetype that might help you.
Keep in mind that this will provide you with the basis for your project 
but as j2ee is very rich platform it might be different from what you 
want or need but it none the less illustrates the module dependencies 
very well. (at least it was when I tried it).


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



[m2] jetty6 doesn't get downloaded

2006-01-10 Thread Srepfler Srgjan

I'm having problems in using jetty, I've declared it in the pom:

   plugin
   groupIdorg.mortbay.jetty/groupId
   artifactIdmaven-jetty6-plugin/artifactId
   version1.0/version
   configuration
  scanIntervalSeconds10/scanIntervalSeconds
  contextPath/jspArt/contextPath
   /configuration
   /plugin

and have added the montbay repo to settings.xml
however the plugin that it searches is 
org.apache.maven.plugins:maven-jetty6-plugin, what might be the problem?

I use maven 2.0.1
Thanks

C:\Documents and Settings\Username\maven-projects\jspart\jspArtWebmvn 
-U jetty6:run

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty6'.
[INFO] org.apache.maven.plugins: checking for updates from cargo m2 
release repository

[INFO] org.apache.maven.plugins: checking for updates from mortbay-repo
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from cargo m2 release 
repository

[INFO] org.codehaus.mojo: checking for updates from mortbay-repo
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-jetty6-plugin: checking 
for updates from cargo m2 release repository
[INFO] artifact org.apache.maven.plugins:maven-jetty6-plugin: checking 
for updates from mortbay-repo
[INFO] artifact org.apache.maven.plugins:maven-jetty6-plugin: checking 
for updates from central
[INFO] 


[ERROR] BUILD ERROR
[INFO] 

[INFO] The plugin 'org.apache.maven.plugins:maven-jetty6-plugin' does 
not exist or no valid version could be found
[INFO] 


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


[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Jan 10 16:51:15 CET 2006
[INFO] Final Memory: 1M/2M
[INFO] 
 



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



Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Srepfler Srgjan

Ralph Pöllath wrote:


On 10.01.2006, at 16:56, Srepfler Srgjan wrote:


I'm having problems in using jetty, I've declared it in the pom:

   plugin
   groupIdorg.mortbay.jetty/groupId
   artifactIdmaven-jetty6-plugin/artifactId
   version1.0/version
   configuration
  scanIntervalSeconds10/scanIntervalSeconds
  contextPath/jspArt/contextPath
   /configuration
   /plugin

and have added the montbay repo to settings.xml
however the plugin that it searches is  
org.apache.maven.plugins:maven-jetty6-plugin, what might be the  
problem?

I use maven 2.0.1



Did you add the mortbay repo as a pluginRepository?

I used to have the followinng in my POM, and it worked:

pluginRepositories
pluginRepository
idmortbay-repo/id
namemortbay-repo/name
urlhttp://www.mortbay.org/maven2/snapshot/url
/pluginRepository
/pluginRepositories

I'm not currently using it anymore, so I can't make any guarantees.

Cheers,
-Ralph.


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



Yes, it's in settings.xml
I think it's not that the repos or artifacts are not there but the 
artifact itself is wrongly identified 
(org.apache.maven.plugins:maven-jetty6-plugin which is clearly a wrong 
groupid)
I've tried the latest maven snapshot from zones and the problem is still 
there.

Also I tried it with a clean webapp made from the web archetype.

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



Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Srepfler Srgjan

I've resolved the issue by adding to the settings.xml:
settings
pluginGroups
 pluginGrouporg.mortbay.jetty/pluginGroup
/pluginGroups
/settings
thanks to rinku on irc

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



Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Srepfler Srgjan

Srepfler Srgjan wrote:


I've resolved the issue by adding to the settings.xml:
settings
pluginGroups
 pluginGrouporg.mortbay.jetty/pluginGroup
/pluginGroups
/settings
thanks to rinku on irc

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



Isn't this kind of behavior a bug?
|pluginGroups| List of groupIds to search for a plugin when that plugin 
groupId is not explicitly provided.
as I explicitly stated the groupId I see no reason why I had to specify 
this element, what do you guys think?


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



Re: [m2] jetty6 doesn't get downloaded

2006-01-10 Thread Srepfler Srgjan
It was my mistake, I've declared the plugin under 
buildpluginManagementpluginsplugin

instead it should go to buildpluginsplugin

cheers

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



Re: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-09 Thread Srepfler Srgjan

Jim Babka wrote:


Eclipse does provide some ant tasks, but they require that Eclipse is
running.  They have a way to run in headless mode, but you need to use a
script that invokes Eclipse, and then tell Eclipse to run its antRunner
process.  As far as I can tell, there is no way to have ant run these
Eclipse tasks without running ant from Eclipse (which we clearly can't
do if we need to run ant from maven).
 

Did you look inside the plugins, sometimes the ant files are laying 
around there so we might extract them from the package where they are, 
if they rely on some variables passed on by the eclipse enviroment 
perhaps a EclipseMock object could inject the variables instead of the 
runtime?


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



[m2] RIFE library request

2006-01-09 Thread Srepfler Srgjan

Could someone please contribute the RIFE web framework library to ibiblio?
http://rifers.org/downloads

Srgjan

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



Re: Maven2 Book...when

2006-01-08 Thread Srepfler Srgjan

Sebastien Arbogast wrote:


You haven't heard ?!!! Of course, they are working on it, Vincent announced
it at JavaPolis. And the most wonderful : it's gonna be free !

 


Fr? Really?
Yip!

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



Re: Using XDoclet2 Hibernate with Maven2

2006-01-07 Thread Srepfler Srgjan

Vote for this issue:
http://jira.codehaus.org/browse/XDOCLET-41
Maven2 must use better the feature of archetypes in order to facilitate 
the migration and adoption of it's technologies.


Srgjan

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



Re: [m2] Surefire w/TestNG

2006-01-06 Thread Srepfler Srgjan
I have tried to put in touch a person from this list (Kaare Nilsen) that 
had made a 80% functional test-ng prototype plugin with Cedric Beust 
of TestNG and they exchanged these mails, as they were only between the 
four of us perhaps you'd like to follow up on it:


Cedric:

Hi Srepfler (and Kaare and Andy) and thanks for the note.

Kaare:  sorry you had such a hard time with our code base.  I wasn't 
even aware you were working on that, I would have been happy to help 
you.  And I agree that our dual annotation code base is not the simplest 
and interestingly, I have been thinking of ways to revamp it these past 
days.  Quite a coincidence.


Finally, Andrew is in copy because he's the author of the Maven 1.1 
plug-in and he's currently working on a 2.0 version.  Andrew, maybe you 
could benefit from Kaare's work so far?


Kaare:

Hi.

First I would like to balance the sheet by saying that I think testNg
is a very well put together from an user perspective, and I have
really nothing bad to say about that.
But from a plugin perspective my main critic is that i can't seem to
find a clean interface for invoking it.
With that said. I would very much like the plugin to get finished, but
my effort is at the time beeing directed to the aspectJ plugin for m2
and i really do not have time to find out what part of the annotation
codebase that conflicts with maven.

Btw: would it not be a good idea to get testNG jars uploaded to ibiblio ?

Cedric:

Hi Kaare,

No need to apologize :-)

When a project grows big enough, you can't really like 100% of its 
source code any more, no matter how hard you try, so your criticism is 
well taken.


Could you be a bit more specific as to what problems you encountered?  
It might be a learning experience for me and the people in CC as well, 
and I'll be more than happy to do my best and make sure that writing a 
Maven 2 plug-in for TestNG will be as effortless as possible for whoever 
ends up stepping up to the plate...


Andy:

Putting the TestNG jars on Ibiblio would be excellent. I started down 
this path, but lost interest when I saw the process...


Do you mind sharing what you've done thus far on the plug-in- perhaps I 
can finish it?


Thank you!!

Kaare:

But of course

Cedric:

Just wanted to let you know that I completely revamped our annotation
support.  Everything is working and we're back at 100% tests now.  I
still need to delete a few files and do some renaming, but the dual
annotation support is much cleaner now.  I'll be happy to write up a
quick design overview (should take a few paragraphs) if you're
interested.


Having said that, I realized I never really asked you why you
needed a better understanding of that part of our codebase for your
Maven 2 plug-in...  I am not familiar with the Maven plug-in API, but I
have always been under the impression that interfacing with TestNG
requires nothing more than being able to create a TestNG() object, set
various parameters, add a listener and call run().


Care to share your findings?

Kaare:

Sure..

The problem does not really occur when everything works as expected,
it is when problems occur and one needs to dig into how things work,
and what classes one needs to provide new implementation of fixes for.
It is very popssible that i have approached this plugin in a very
wrong way, but basicly what happens is that I do not suspect the class
in a project containing the main method to be the public api but more
a wrapper for the project to use the api. So the first thing i usually
do is to read the main method and see how things are wired together
and how the command line args are parsed to parameters to the api.
Then i try to emulate the main method.
Right now (since it has been a while since i stopped the attemt) I
really do not remember why I abondoned this approach, and tried
another solution, but i suspect it had something to to with the
annotations not working.
What i could try again with the new versions released is to try the
first approach again, and try to copy the privateMain method
replacing the commandline args with  plugin configuration params and
then see what happens.
But with all that said, the testng plugin should really be integrated
into the surefire plugin to get it to run as an equal to junit, but i
would settle for an own plugin for now.

--




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



[m2] maven-eclipse-plugin and Borland Together 2006

2006-01-06 Thread Srepfler Srgjan
Can the generated eclipse project be somehow told to be a Java Modelling 
Project or UML 2.0, 1.4 Project, etc etc.?

Also, how can I say which project nature my project should be?

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



Re: maven eclipse and wtp

2006-01-04 Thread Srepfler Srgjan

Alexandre Poitras wrote:


Anyway wtp 1.0 is buggy, external libraries don't work anymore so you have to
stay with r7 till the bug is resolved.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=116783 for details,
the issue is scheduled for 1.0.1. Please add a vote to the issue in
bugzilla to raise the priority for eclipse developers!

 


I voted, and so should every maven2/eclipse user.
Anyhow I hope maven2 and wtp integration will improve with time, what's 
preparing for wtp 1.5, will there be some eclipse 3.2 features that 
might come handy like the more classpath's per project (will that be 
solved by jdt?)


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



[m2] Cargo question

2006-01-02 Thread Srepfler Srgjan
Does cargo handle the deployment of data sources, certificates and 
activation of the secure connectors?


Cheers

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



Re: [ANN] Cargo m2 plugin v0.1

2006-01-01 Thread Srepfler Srgjan

Vincent Massol wrote:


The Cargo team is happy to announce the first release of the Maven2 plugin
for Cargo (version 0.1).

Major features:
* Allows to start/stop all containers supported by Cargo (Resin, Tomcat,
Orion, WebLogic, JBoss, Jetty, etc).
* Allows to perform local and remote deploys to containers
* Automatic deployment of generated artifact for J2EE projects (war, ear,
ejb)
* Support for Cargo's generation of configurations and for user-provided
custom configurations.

Useful links:
* Rel.Notes: http://cargo.codehaus.org/Release+notes+for+Maven2+plugin+0.1
* Plugin documentation: http://cargo.codehaus.org/Maven2+plugin
* Cargo: http://cargo.codehaus.org
* Samples: http://tinyurl.com/b57dl

Thanks
-Vincent 

 


Happy New Year to you too :)

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



[m2] servlet-api src

2005-12-31 Thread Srepfler Srgjan

Hi,
I'd like to build a source jar for servlet-api, anyone knows how can it 
be done and where can I get the code base (do I need entire tomcat or is 
there some other implementation?)
If I manage to do it I'd contribute it to ibiblio, as it would allow for 
a nice auto completion with documentation and implementation of methods 
with real params not arg1, arg2 in eclipse.

Once again Happy New Year everybody!

Srgjan

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



Re: [m2] servlet-api src

2005-12-31 Thread Srepfler Srgjan

Carlos Sanchez wrote:


It's build as part of the tomcat project, you need to get it from
tomcat project. Then you can post it in MAVENUPLOAD jira project.

On 12/31/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
 

I've just noticed that there is already the sources jar up on ibiblio, 
however mvn eclipse:eclipse -DdownloadSources=true doesn't pick up that 
the sources exist, do I need to update something?


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



Re: [m2] dbMonster or dbUnit howto's

2005-12-30 Thread Srepfler Srgjan




I don't use it. In fact, I don't even know what it does.


Adam

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



http://dbmonster.kernelpanic.pl/
dbMonster is a tool which helps database application developers with 
tuning the structure of the database, tuning the usage of indexes, and 
testing the application performance under heavy database load. dbMonster 
generates as much random test data as you wish and puts it into SQL 
database. It provides a very pluggable interface and is trivial to use.



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



[m2] Happy New Year

2005-12-30 Thread Srepfler Srgjan

We appreciate very much all the fine work that came out this 2005.
You are doing a really nice framework and I hope it'll be even livelier 
during 2006.
I hope that you'll evangelize more it's use especially among apache 
projects and that you'll start the circle of trust so that the owners 
might put new pom's by themselves.
Also I hope to see better integration with eclipse and the WTP plugin 
(1.0 or 1.5), TestNG support and early JUnit 4 adoption, code-gen stuff 
like xdoclet or andromda  for struts, hibernate, beehive etc.
All that said, my best wishes for the New Year 2006 to all maven 
developers and users, you're a great lot.

Cheers,

Srepfler Srgjan

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



Re: Multiproject site

2005-12-30 Thread Srepfler Srgjan

Brett Porter wrote:


I wanted to compliment you on a job well done with this site - it's great!

- Brett

Fabrizio is a genius, he's an early adopter of maven 2 (I guess he 
should be a model for all)  and his displaytag* library is just great. I 
can't wait for 1.1 to go official.

Buon lavoro e felice Anno Nuovo!

Srgjan

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



[m2] maven-eclipse-plugin and subversion

2005-12-30 Thread Srepfler Srgjan
Is it possible that if I do mvn eclipse:eclipse that my project would 
get disconnected from the subversion repository?

What would be the approach to avoid this kind of behavior? Thanks

Srgjan

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



[m2] dbMonster or dbUnit howto's

2005-12-29 Thread Srepfler Srgjan
Did anyone have success in integrating dbMonster or dbUnit with a maven2 
j2ee project? Could you paste some pom's or how-to's on how you did 
this? Thanks and Happy Holidays


Srgjan

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



Re: [m2] dbMonster or dbUnit howto's

2005-12-29 Thread Srepfler Srgjan

Adam Hardy wrote:


Srepfler Srgjan on 29/12/05 17:14, wrote:

Did anyone have success in integrating dbMonster or dbUnit with a 
maven2 j2ee project? Could you paste some pom's or how-to's on how 
you did this? Thanks and Happy Holidays



I use DbUnit and the only interaction it has with maven2 is as a 
dependency.


My unit tests are set up with a base class that uses DbUnit. I don't 
inherit the DbUnit testcase.



Thanks for your use case, very useful. How about dbMonster?
Cheers,
Srepfler

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



[2] Could maven modify the pom?

2005-12-28 Thread Srepfler Srgjan

Could maven modify the pom?
For instance mvn addreport -DgroupId=org.apache.maven.plugins 
-DartifactId=maven-junit-report-plugin

or adddependency, etc.

Cheers and Happy New Year everybody

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



Hibernate tools

2005-12-28 Thread Srepfler Srgjan

Hi,
I noticed that the hibernate-tools library is a bit old. I've tried to 
cocture up a pom for 3.1.0.beta2 but it seems that it needs some 
libraries that go with it:


velocity-1.4.jar, velocity-tools-generic-1.4.jar, jtidy-r8-21122004.jar 

Now as far as velocity it's already available in the repo however the 
velocity tools generic's latest is 1.2 and jtidy's latest is 4aug2000r7-dev

Any clues what needs to be done to push this through to the end?

Srgjan

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



Re: Hibernate tools

2005-12-28 Thread Srepfler Srgjan

Alexandre Poitras wrote:


Btw the latest build of velocity-tools is 1.2, so I guess hibernate
pom file is wrong.

 



In fact, I didn't get that dependency from a pom but from this site:
http://www.hibernate.org/hib_docs/tools/ant/index.html

taskdef 
name=hibernatetool 
classname=org.hibernate.tool.ant.HibernateToolTask 
classpath=[location of hibernate-tools.jar, velocity-1.4.jar, velocity-tools-generic-1.4.jar, jtidy-r8-21122004.jar, hibernate3.jar  jdbc drivers]/ 




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



[m2] maven-eclipse-plugin and wtp 1.0

2005-12-27 Thread Srepfler Srgjan
Will there be any changes to the maven-eclipse-plugin to integrate with 
the WTP 1.0 way of managing j2ee projects?


Cheers

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



EJB, XDoclet example

2005-12-23 Thread Srepfler Srgjan

Hi,
Can someone post a working ejb and hibernate xdoclet project or archetype?

Thx

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



Re: [m2] C# plugin - anyone interested in taking a look?

2005-12-21 Thread Srepfler Srgjan

Is this plugin 1.x or 2.x based? Will it support the new msbuild xml format?
Thanks and keep up the good work.

Srgjan


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



Re: [m2] - WAR file generation

2005-12-20 Thread Srepfler Srgjan

Karthik Manimaran wrote:


The jar file DotComCommon-1.0.jar is duplicated in the EAR file.

1. It is present in the EAR file as a separate jar at the root.
2. It is also present inside PrivacyWeb.war file (inside WEB-INF/lib folder)

The same duplication occurs for all other jars used by PrivacyWeb (runtime,
commons-*, ContentManager etc)

Now the EAR is twice as big as what it is supposed to be. I do not need
Maven to include all the depencies required for the WAR file inside lib
directory as it is already available as separate jars in the EAR file.

Thanks and regards,
Karthik.

For my team we allow the war module to have it's own libraries, only if 
the lib can be reused between it and the ejb module do we put it in ear, 
otherwise we keep them separated. That's our approach.

Cheers

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



Re: [m2] - WAR file generation

2005-12-20 Thread Srepfler Srgjan

Karthik Manimaran wrote:


My question here is - How to avoid jars that can be reused from being copied
to the lib directory and have it as a common file in the EAR.

Thanks and regards,
Karthik.
 

We put the ejb module in the ear and we put this in the war module pom 
so that it uses the ear lib and doesn't import it.


dependency
 groupIdit.linksystem.csai/groupId
 artifactIdCSAIEJB/artifactId
 version1.0/version
 scopeprovided/scope
/dependency

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



Re: IDE build and debugging

2005-12-19 Thread Srepfler Srgjan

Sebastien Arbogast wrote:


Yes, I know Mevenide, but I've never managed to make it work worrectly under
Eclipse. I can't run Maven goals from the maven console (I always get error
during build messages), so integration with Eclipse debugging capabilities
is even harder. As for the IntelliJ plugin, I use it for running goals
inside IntelliJ console, but I have never managed to use debugging there
either. And I read the whole documentation of those plugins, and it didn't
help me that much.

 

If you execute mvn eclipse:eclipse where your pom is you should get a 
valid eclipse project, from that point on you could run the app in 
debugging from eclipse. I don't know about the goal support though.

Cheers

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



Re: Is it possible to make pom.xml simpler?

2005-12-18 Thread Srepfler Srgjan
Like I said there is nothing that **could** prevent people from doing a 
1-1 mapper between a simple-style to complex-style, all that it's 
important is that there is 1 format in the repositories. If this could 
help speed up the process of *writing* the code I say it might be welcome.
One point though, having seen the humongous xsd for the pom, it's not at 
all trivial task and it could be more trouble then worth (then again, it 
could be tackled in many ways, one namespace for a simplified pom, 
separate namespaces for different things/different plugins). All in all, 
it *could* be done, I don't know if it *should* be done.

The things we end users and you developers should weigh in are these:
If you simplify the pom perhaps you could gain more users.
If you develop this namespace approach, we'd have to tech the parsers 
how to deal with these new schemas, we'd have to write new schemas, we'd 
have a bunch of bugs which would lead to bad user experience and 
probably a drop in early adopters (like me).
I'd go with the more gradual approach, open the infrastructure for use 
cases where the pom is a flexible, extensible, syntacticly open model. 
Build the infrastructure and enforce community guidelines for public 
repositories.

That would be what I'd do.

Srgjan Srepfler

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



Source packages for acegisecurity

2005-12-17 Thread Srepfler Srgjan
Is there a source package for acegi security? Can it be added to the 
repository?

Thanks
Srgjan

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



Re: MavenProject

2005-12-16 Thread Srepfler Srgjan

Christopher Cobb wrote:


I see several plugin examples on the Maven site that use MavenProject.  When
I try to use it, however, I get the error:



package org.apache.maven.project does not exist



How do I give my plugin access to MavenProject??


 


What does this plugin do and where can it be found?
Srgjan

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



Re: Posts in thread: Pb while installing maven-andromda plug-in

2005-12-16 Thread Srepfler Srgjan

Somasundaram P wrote:


Hi all,
 Thk u for the reply, but still it is not working.
  
 I have installed Maven2.0.1 v 
  
the command :
   mvn -v  
 
  
   as per:
  
   http://www.andromda.org/starting.html
  
 I tried replacing maven(1.0v) keyword by mvn(2.0.1v) in the above cmd. It is not working still.
  
 Pls. help me with this.I wish Maven with Andromda up  running.
  
 Thank You!
  

 

I think andromda is still maven 1 only, but it'll be great to hear from 
andromda developers/users if that is true?

As for the first issue it's strange that the archetype doesn't work.
Srgjan

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



Re: [m2] maven-ear-plugin: why is the includeInApplicationXml set to false by default ?

2005-12-16 Thread Srepfler Srgjan

Stephane Nicoll wrote:


Hello,

This is the expected behavior. Java modules should not be set in the
application.xml (see the spec). Instead you should refer them in the
Class-Path entry of the manifest file. However, if you want to include it in
the application.xml anyway, you can set this property to true.

Hope it helps,
Stéphane

 


Hi,
Is this the spec you are reffering to? 
http://java.sun.com/j2ee/j2ee-1_4-fr-spec.pdf

What do you mean java modules should not be set in the application.xml
isnt' this a valid module
modulejavalib/antlr.jar/java/module
?

Thanks,
Srgjan

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



[m2] Struts Ti and evangelism

2005-12-16 Thread Srepfler Srgjan

Hi,
Having decided that Struts and WebWork are moving together and forming a 
new project Struts Ti is there a chance that they might adopt m2 or 
would that seriously jeopardize the future of the project? :)
The various news flying around... Struts integrates Beehive, WebWork. 
WebWork integrates RIFE and Spring. Spring integrates SpringMVC, 
WebWork, WebFlow, Hibernate... well, everything...

This makes me hear in the background:

One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.

...I was referring to maven2
PS. OT: In which architectural layer would SiteMash be? Could it 
integrate as well?


Srgjan

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



Re: [m2] maven-ear-plugin: why is the includeInApplicationXml set to false by default ?

2005-12-16 Thread Srepfler Srgjan

Stephane Nicoll wrote:


Yes, or the spec for J2EE 1.3. You should refer java application client
module only in this section. This should not be used for libraries.

quote
The java element specifies the URI of a java application client
module, relative to the top level of the application package.
quote

See also section 8.2 of the same document, page 133. It explains how to
refer to a library using the Class-Path entry of a manifest file.

Hope it helps,
Stéphane

   


Thanks,
I've been living a lye!
Why God! Why! in the theme of Joey from Friends when he celebrates his 
birthday


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



Re: Is it possible to make pom.xml simpler?

2005-12-16 Thread Srepfler Srgjan



If your sole concern is the number of lines one must type, it is
certainly an option to have meta-pom.xml be in the format you find most
comfortable, then xslt it into the more verbose m2 pom.xml.

This argument of attributes versus elements has existed since the dawn
of [xml] time. I am not trying to argue one way or the other, but since
m1 pom used the more verbose syntax, it eases the transition.

 My USD$0.02,
 -- /v\atthew

-
 

In fact people should develop a plugin that maps the simplified and 
verbose schemas on the fly :)
The advantage of using namespaces is that you can create a your tag and 
map it to the verbose tag from the official pom.
That's the way I've seen the spring guys use it for now but the 
advantage that I see is that in could be much easier to extend the pom 
and it would be more type safe


My 0.02MKD

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



[m2] DBUnit plugin form m2?

2005-12-15 Thread Srepfler Srgjan

Hi,
Does anyone know if there is a m2 plugin for DBUnit and if not, can 
someone post an example pom that uses it via ant?

Thanks

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



Re: Is it possible to make pom.xml simpler?

2005-12-15 Thread Srepfler Srgjan

Brett Porter wrote:


Let's not start another attributes vs elements holy war :)

I have no problem with either, but the reasons I see not to change:
- we would have to support both. This may lead to confusion.
- currently it is very consistent - there are no attributes, lists are
always visible as lists, etc.  The syntax is a lot more memorable,
even if it is more verbose.

I agree that requiring tools is a bad idea, but they certainly won't
hurt (even an XML editor + XSD will do the trick here). I think the
focus should be on removing repetition in the content, not the syntax.

That's just my view - others?

- Brett
 

I think that both formats should be valid, however if a plugins is to be 
put in the repository I'd go with the longer version that way it's all 
standardized and clean. I think it should be easy to make a tool that 
parses a pom and spits out one or the other version. What I'd be more 
interested is the namespaces issue, I really hate the way ant gets 
extended and the way we mix things in the pom without a namespace (ex, 
you can put in directly ant tags inside, for me that is just asking for 
trouble), this leads to unverifiable and dependent to external factors 
pom. The added benefit is that from that point on any xml editor that 
understand xsd's would work great.


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



Re: [m2] [evangelism] [suggestion] New libraries coming out

2005-12-14 Thread Srepfler Srgjan

Brett Porter wrote:


This is exactly what we plan to do. There is work under way to set up
the necessary permission system and web of trust. Ideally, it will be
the projects themselves doing so, but we realise this won't always be
the case.

BTW, we just did a big key signing at ApacheCon. If you ever wind up
at a face to face with other people in the community, make sure you
create and sign each others PGP keys!

Cheers,
Brett
 



Sounds like a great initiative, it'll help us manage the repo, it'll 
benefit the upstream devs and the downstream devs as well.
I believe that if a project comes out that already uses m2 they should 
be allowed to manage their own repos, what do you think?


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



Ibiblio announcment list

2005-12-14 Thread Srepfler Srgjan

Hi,
is there a ibiblio announcement list where people could see what are the 
libs uploaded, dropped from ibiblio and where they can discuss also on 
which libs might be wise to add, how to correct pom's etc.
I'm saying this because the process is not transparent enough, people 
should be able to discuss things much more quickly. JIRA is slow and 
normal people don't use it or don't won't to register. Far from the case 
where you shouldn't use it but a mailing list would be more immediate 
(also, it could bring in pom's that don't pass the bar on entering the 
repo but people could use locally).


Cheers
Srgjan

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



[m2] TestNG and webapp testing

2005-12-13 Thread Srepfler Srgjan

Hi,
I've read this blog 
http://blog.hibernate.org/cgi-bin/blosxom.cgi/Christian%20Bauer/java/ejb3withtestng.html 
and I found it very interesting. Is there a plugin for TestNG for 
maven2? What about Cactus?
What is the approach to developing in-container tests? I read somewhere 
that Cargo has some support but I don't understand how is it done (any 
example projects?), and also what's the status of Cargo form m2 and 
what's the compatibility status on JBoss 4.0.3?

Thanks


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



[m2] New libraries coming out

2005-12-13 Thread Srepfler Srgjan

Hi,
I just wanted to let people know some libs have been released but since 
I don't have the time to make the pom's for them I'm hoping someone else 
would like to volunteer.
First of all hibernate 3.1 got final, then there is a 3.1 beta2 of their 
tools package that I for instance use to get the ant tasks and some 
library support, this package is very useful (specially if you'd like to 
use ant and xdoclet stuff with external plugins)  and none the less 
latest version in ibiblio is 3.0.0 alpha. I do however have some 
remarks, perhaps an alternative artifact might be better suited as this 
is a whole plugin package for eclipse, leaving space to extract only 
basic libraries.
Then there is acegisecurity 1.0.0RC and I the most difficult pom to be 
made would be experimental pom's for spring 2 (not out yet, but the 
sooner we start preparing for it the better).

Srgjan

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



Re: [m2] New libraries coming out

2005-12-13 Thread Srepfler Srgjan

Hvala (thanks),
If anyone is following this and want's to add his 2 cents please do.

Tomislav Stojcevich wrote:


I take back part of that.  org.hibernate.hibernate.3.1rc2 has a pom
you can you for a start.

org.hibernate.hibernate-tools only had alpha5 with no pom.  I made up
the following based on what was in the lib directory of the download
for the 3.1beta1.  It depends on a snapshot of jtidy-r8 which is not
yet released, now I know why I didn't request an upload.  Here's my
pom you can use for a start.

project
 modelVersion4.0.0/modelVersion
 groupIdorg.hibernate/groupId
 artifactIdhibernate-tools/artifactId
 version3.1.0.beta1/version
 dependencies
   dependency
 groupIdehcache/groupId
 artifactId
 



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



Re: [m2] New libraries coming out

2005-12-13 Thread Srepfler Srgjan
I personally think that we should lobby for grater use of maven2. I mean 
with all respect to maven you team just can't and shouldn't handle this 
enormous repository. I mean the hibernate guys should build their libs 
with m2 pom and also house the libs themselves. I mean we can't really 
bother your people for every little thing like hibernate annotation 
3.1beta*7* or something else I mean come on, you have lives too :)

Same thing goes for spring libraries, or any other project.

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



Re: ear includes all jar files

2005-11-28 Thread Srepfler Srgjan
Perhaps if there are libs that you want in the war alone you can specify 
them only in the war pom and you don't specify anything in the ear pom 
that shouldn't be there? I think we should see your pom's.


but my problem is my ear file contains all the other dependencies jar from 
EJBs  War Directory which i don't want. is there a way to control this so 
that it will only have my EJBs.jar and War.war file only not the 
dependecies jar of EJBs  War


Thanks,



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



Re: inheriting from plugins

2005-11-27 Thread Srepfler Srgjan

Anuerin Diaz wrote:


On 11/27/05, Brett Porter [EMAIL PROTECTED] wrote:
 


No, I mean using libraries in a dependency fashion, rather than inheritance.

   



sorry but im lost on how to implement this 'dependency fashion'. it
might have just been terminologies or it can be a whole ballpark. :)  
basically my understanding of that is if i want to depend on a library

then i should have a list of the API that i could use which is
perfectly alright if i have those API handy. i am opting for
inheritance since most of the code in the assembly plugin is reusable
and i dont want to code them again in our plugin. thinking back this
also might not be prudent since i am not sure how parent methods will
perform with child variables. i guess i have to take a quick crash
review on oop.
 

Perhaps they mean you can wrap the base class in your class and build on 
top of it? (I'm just guessing)


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



Re: [m2] new hibernate+ejbdoclet+webdoclet plugin announcement

2005-11-26 Thread Srepfler Srgjan

I should write the tasks using the CDATA to delimit them?

Ashley Williams wrote:

Srepfler, make sure you build mant first of all - it's in the same  
directory as hibernate.

Also your plugin config should look something like this:

 plugin
groupIdorg.codehaus.mojo/groupId
artifactIdhibernatedoclet-maven-plugin/artifactId
version1.0-beta-1/version
executions
  execution
goals
  goalhibernatedoclet/goal
/goals
phasegenerate-sources/phase
configuration
  task![CDATA[
hibernatedoclet
  fileset includes=**/bo/*.java/
  hibernate version=3.0/
/hibernatedoclet
  ]]/task
/configuration
  /execution
/executions
  /plugin

Let me know how you get on.

- Ashley 




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



Re: [m2] new hibernate+ejbdoclet+webdoclet plugin announcement

2005-11-26 Thread Srepfler Srgjan

Ashley Williams wrote:


Sorry, yes - for the time being ;)

Not sure how to inject config xml into a mojo so for now it's got to  
be a string - and

all the angled brackets would cause trouble without the CDATA section.

As soon as I can work it out I will definitely change this though!


I think I've noted that the antrun plugin allows such a functionality.


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



[m2] question about pom and namespaces

2005-11-26 Thread Srepfler Srgjan

Hi,
This is something I never understood so I'd like to know what was the 
reasoning behind the choices that were made although some weren't made 
by the maven project itself.
First, as I didn't misunderstood this wrong, the ant xml format itself 
doesn't have a schema? I saw it can get extended using taskdef and 
loading a class and after that you can use

new targets. Which makes a schema useless I suppose.
Now, there's a possibility to insert some ant code inside the pom itself.
Wouldn't be better if when we call an external tool that uses some xml 
based format that it's code should use namespaces?
I mean you must let tools be able to analyze the document, validate the 
content and offer code completion. Without namespaces I don't see these 
documents very xml-friendly.
Also other path would be that the editors would have to know the various 
formats used and be able to do reflection run-time, but in which 
timespan can that be achieved?


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



  1   2   >