how to create a site in maven 2

2005-11-11 Thread Maruf Aytekin
Hello All, I am pretty new to maven just trying it for my company. I hve a problem with creating site. I know that it'd be something so simple. Apologies for taking your time. My problem is following; I first created a maven project amqxtras with the following command C:\TestMaven mvn

RE: how to create a site in maven 2

2005-11-11 Thread Maruf Aytekin
[mailto:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 11:25 AM To: Maven Users List; Maruf Aytekin Subject: Re: how to create a site in maven 2 Hi run C:\TestMaven\amqxtrasmvn site from the c:\TestMaven\amqxtras directory the archetype:create goal and its arguments just create the basic

get the source from SCM in Maven 2

2005-11-11 Thread Maruf Aytekin
In maven 2 is there a way to get the source from SCM and place in the src directory at build time like fetching the source at the build time with Ant? Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

m2 VSS access

2005-11-17 Thread Maruf Aytekin
Hello, I use VSS as SCM. any ideas how can I access VSS to fetch the source for a maven2 project?? Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: m2 VSS access

2005-11-17 Thread Maruf Aytekin
implementation in maven-scm, but you can perhaps help us to do it. Emmanuel Maruf Aytekin a écrit : Hello, I use VSS as SCM. any ideas how can I access VSS to fetch the source for a maven2 project?? Thanks

I cannot run otional ant tasks by usind maven-antrun-plugin

2005-11-17 Thread Maruf Aytekin
I have used http://maven.apache.org/plugins/maven-antrun-plugin/ to run ant tasks in pom.xml. It runs core ant tasks successfully but it doesn't run optional tasks.. any ideas???

Dependencies between modules

2006-08-14 Thread Maruf Aytekin
Hi, I am trying to build a multiple project with maven 2. I have defined the modules in the top level POM as follows: modules modulerecmessage/module modulehttpmanagement/module .. /modules And also defined Dependency management section in top level POM as:

RE: Jar Dependency Graphical View

2006-08-16 Thread Maruf Aytekin
Yes, DependencyFinder is very good. I have used it Maruf -Original Message- From: Pin Ngee Koh [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 1:05 AM To: users@maven.apache.org Subject: Jar Dependency Graphical View Is there a good tool to generate dependency graph and

gwt maven 2

2007-01-12 Thread Maruf Aytekin
I have a gwt project and I am trying to buil dit with maven 2. I checked out maven-googlewebtoolkit2-plugin from |http://gw-maven.googlecode.com/svn/trunk/ |and built it and installed it and dependencies to .m2 local repository. I have added this plugin in the pom as follows: build plugins

Re: gwt maven 2

2007-01-12 Thread Maruf Aytekin
in your pom By the way maven 1.0.2 plugin is quite god and powerfull (we are using gwt plugin in maven 1.0.2 Regards Neeraj On 1/12/07, Maruf Aytekin [EMAIL PROTECTED] wrote: I have a gwt project and I am trying to buil dit with maven 2. I checked out maven-googlewebtoolkit2-plugin from

Re: gwt maven 2

2007-01-15 Thread Maruf Aytekin
Many thanks for this information. Maruf Iulian Costan wrote: On 1/12/07, Iulian Costan [EMAIL PROTECTED] wrote: On 1/12/07, Maruf Aytekin [EMAIL PROTECTED] wrote: Thank you Julian, I have one more quetsion: How do you orginize directory structure? as maven 2 directory structure or you

How do I use a war as dependency?

2007-01-26 Thread Maruf Aytekin
Hi I have a multi module project as below: main/pom - |war/ pom | ejb/pom ejb and war project are the subprojects for main. some classes in ejb depends on the classes in war project. Since packaging is war for this project howshould i define this dependency? Is there a

Re: How do I use a war as dependency?

2007-01-26 Thread Maruf Aytekin
The common code needs to into war file too. How could I do that without using two copies of the common code? Thanks Maruf Niels Gylling wrote: ejbs can only depend on jars, so create a shared module artifact containing common code. /Niels Maruf Aytekin wrote: Hi I have a multi module

Re: How do I use a war as dependency?

2007-01-27 Thread Maruf Aytekin
to a container. The j2ee way of doing so is an ear file. /Niels Maruf Aytekin wrote: The common code needs to into war file too. How could I do that without using two copies of the common code? Thanks Maruf Niels Gylling wrote: ejbs can only depend on jars, so create a shared module artifact

Maven Webstart Plugin

2007-01-30 Thread Maruf Aytekin
Hi, I am trying to build a jnlp project with maven 2. I am currently using mojo's Maven Webstart Plugin. I have two questions: 1. Should I use this plug in or is there any plug in that can be configured easily? 2. When I run mvn install webstart:jnlp I get following error: [INFO] didn't

Re: Maven Webstart Plugin

2007-01-30 Thread Maruf Aytekin
in red Jerome Lacoste wrote: On 1/30/07, Maruf Aytekin [EMAIL PROTECTED] wrote: Hi, I am trying to build a jnlp project with maven 2. I am currently using mojo's Maven Webstart Plugin. I have two questions: 1. Should I use this plug in or is there any plug in that can be configured easily

Re: Maven Webstart Plugin

2007-01-30 Thread Maruf Aytekin
When it says [INFO] didn't find *artifact *with main class: whicj artifact does it refer to? Many Thanks Maruf Maruf Aytekin wrote: in red Jerome Lacoste wrote: On 1/30/07, Maruf Aytekin [EMAIL PROTECTED] wrote: Hi, I am trying to build a jnlp project with maven 2. I am currently using

Re: Maven-antrun-plugin regexp

2007-02-01 Thread Maruf Aytekin
Another way to do this without using com.sun.tools as dependency. add property name=build.compiler value=extJavac/ before you call the ant tasks/filesas below. it worked for me and wanted to share with the list executions execution phaseinstall/phase configuration tasks

Re: Maven-antrun-plugin regexp

2007-02-02 Thread Maruf Aytekin
Another way to do this without using com.sun.tools as dependency: add property name=build.compiler value=extJavac/ before you call the ant tasks/filesas below. it worked for me and wanted to share with the list executions execution phaseinstall/phase configuration tasks

How can i connect to a password protected repository?

2007-02-05 Thread Maruf Aytekin
I would like to set a password protected repository. In order to download from repository you need to enter usernae and password to apache authentication prompt. Where should I configure it? in the pom or settings file? repositories repository idinternal/id nameMyCompany

Re: How can i connect to a password protected repository?

2007-02-05 Thread Maruf Aytekin
Andrew Williams wrote: In settings.xml - something like servers server idinternal/id username.../username password.../password /server /servers Andy Maruf Aytekin wrote: I would like to set a password protected repository. In order to download from repository you need to enter usernae

Re: How can i connect to a password protected repository?

2007-02-05 Thread Maruf Aytekin
. . Rodrigo Ruiz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No, Andrew was right. The servers/server entry in settings.xml is for any remote server. Just give it a try ;-) Cheers, Rodrigo Ruiz Maruf Aytekin wrote: I think this is for deploying artifacts. and the settings

Re: How can i connect to a password protected repository?

2007-02-05 Thread Maruf Aytekin
. . Rodrigo Ruiz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No, Andrew was right. The servers/server entry in settings.xml is for any remote server. Just give it a try ;-) Cheers, Rodrigo Ruiz Maruf Aytekin wrote: I think this is for deploying artifacts. and the settings

Re: How can i connect to a password protected repository?

2007-02-06 Thread Maruf Aytekin
Andy, many thanks for the help. It works now. -Maruf Andrew Williams wrote: You need to setup a pluginRepositories section too Andy On 5 Feb 2007, at 16:03, Maruf Aytekin wrote: Hi, Thanks for the help. I am doing something wrong here I guess. I have set the username and password

I need help with cargo-maven2-plugin.

2007-02-13 Thread Maruf Aytekin
Hi All, I need help with cargo-maven2-plugin. I have jboss-4.0.5.GA installed on my testcip server. I am trying to deploy a war webapp to jboss with cargo-maven-plugin. Related part of the pom.xml is below: build plugin groupIdorg.codehaus.cargo/groupId

Re: I need help with cargo-maven2-plugin.

2007-02-14 Thread Maruf Aytekin
Can someone point me to an example of cargo-maven2-plugin use case? Many Thanks Maruf Maruf Aytekin wrote: Hi All, I need help with cargo-maven2-plugin. I have jboss-4.0.5.GA installed on my testcip server. I am trying to deploy a war webapp to jboss with cargo-maven-plugin. Related part

cargo-maven2-plugin containerIdjbos4x/containerId

2007-02-14 Thread Maruf Aytekin
Hi All, I need an example usage of cargo-maven2-plugin. Can someone point me to an example usage for remote deployment on runtime? I have seen http://cargo.codehaus.org/Home it's not helping much. I tried everything on that page but still getting exceptions. Many thanks in advance, Maruf

How do I run scp optional task from inside maven 2 ?

2007-02-14 Thread Maruf Aytekin
I am trying to run scp optional task from inside maven 2 to deploy a maven 2 artifact. I keep getting the following error: [ERROR] BUILD ERROR [INFO] [INFO] Error executing ant tasks Embedded error: Could not create

Re: How do I run scp optional task from inside maven 2 ?

2007-02-15 Thread Maruf Aytekin
version1.5.3-1/version /dependency dependency groupIdant/groupId artifactIdant-jsch/artifactId version1.6.5/version /dependency /dependencies /plugin Wayne On 2/14/07, Maruf Aytekin [EMAIL

RE: [m2] how do i exclude a specific file or list of files from a jar in m2

2005-11-21 Thread Maruf Aytekin
Hello how do i exclude a specific file or list of files from a jar in m2. I looked in the documentation on maven.apache.org but couldn't find the answer thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Maven 2 - Hudson

2009-12-25 Thread Maruf Aytekin
Hi all, We are moving our projects to Maven2 and also planning to use Hudson as CI tool. I cannot get Hudson send out SCM changes in the build email. I am trying to generate SCM changes report with Maven and send email from Maven. On hudson form people are not suggesting this. All suggests CI

m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Maruf Aytekin
Hi there, We are using m2eclipse plugin for our maven2 project in eclipse. It seems it cannot resolve properties from settings file. When we enabled Dependency Management for M2 plugin it gives errors for the main pom.xml that cannot resolve systempath for the dependencies in system scope. Here

RE: m2eclipse plugin does not resolve properties from settings.xml

2010-01-11 Thread Maruf Aytekin
when first setting up a new Eclipse workspace with an existing product. After a mvn install, things are magically better. And you are using the dev version of m2eclipse? If not, you should - it's more stable than the official release. -Original Message- From: Maruf Aytekin [mailto:aayte

Re: m2eclipse plugin does not resolve properties from settings.xml

2010-01-12 Thread Maruf Aytekin
.  If the above doesn't fix, try _not_ using the external - use the embedded version and see if the problem goes away. -Original Message- From: Maruf Aytekin [mailto:aayte...@gmail.com] Sent: Monday, January 11, 2010 7:34 AM To: users@maven.apache.org Subject: RE: m2eclipse plugin

Re: m2eclipse plugin does not resolve properties from settings.xml

2010-01-12 Thread Maruf Aytekin
/12 Maruf Aytekin aayte...@gmail.com: Hi Jeff Thanks for the details. Our projetc is a multi module project and system scoped dependencies defined in parent pom.xml.  When I followed your steps plugin imported all sub projects as independent eclipse projects. Is this the way it is suppossed

Re: m2eclipse plugin does not resolve properties from settings.xml

2010-01-13 Thread Maruf Aytekin
://m2eclipse.sonatype.org/project-information.html -Original Message- From: Maruf Aytekin [mailto:aayte...@gmail.com] Sent: Tuesday, January 12, 2010 2:38 AM To: Maven Users List Subject: Re: m2eclipse plugin does not resolve properties from settings.xml Hi Jeff Thanks for the details. Our

skip run of a plugin in a phase without changing pom.xml

2010-01-27 Thread Maruf Aytekin
Hi All Is there a way to not execute a maven ant run without being changeing pom.xml. I have following setup: plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId executions execution

Eear libraries classpath

2010-01-29 Thread Maruf Aytekin
Hi All We are creatign an ear as a result artifact of a maven project. In the ear file we package all libraries with the final names without verison numbers. Maven creates classpaths for those libraries with the names+versions. Example: We have an EAR package contains Module A and B Module A

Re: Eear libraries classpath

2010-02-01 Thread Maruf Aytekin
Hi Wayne Thanks for your response on this. Is this a problem; having ModuleB as ModuleB.jar in ear package? Can ModuleA fsee ModuleB on the classpath? When you tested this EAR with your target Java EE app server, what happened? Did things deploy and work properly, or no? No this did not

maven release from CVS tag

2010-02-02 Thread Maruf Aytekin
Hi All How do I make maven release from a CVS tag with maven releas eplugin? I am aware that this is not a good practice but we are making releases from CVS tags instead of head. The company I work for has been following this method for their some unique resons which I am not agreed. I am trying

getting specification version without SNAPSHOT

2010-03-04 Thread Maruf Aytekin
Hi All, How can I chop off -SNAPSHOT string from Specification-Version:1.5.2-SNAPSHOT or Implementation-Version when I build a war file with Maven2? I would like to use the version info as Specification-Version:1.5.2 in manifest.mf. Many thanks, Maruf

Re: getting specification version without SNAPSHOT

2010-03-04 Thread Maruf Aytekin
, Anders Hammar and...@hammar.net wrote: That should happen automatically if you build/release a version, i.e. you don't have -SNAPSHOT in you project version element. /Anders On Thu, Mar 4, 2010 at 12:51, Maruf Aytekin aayte...@gmail.com wrote: Hi All, How can I chop off -SNAPSHOT string

RE: maven release from CVS tag

2010-02-03 Thread Ahmet Maruf Aytekin
. Anyway, try adding the tag-tag in the SCM and just give it a try (I'd advise using the dryRun-principle for testing!). On 02/02/2010 01:10 PM, Maruf Aytekin wrote: Hi All How do I make maven release from a CVS tag with maven releas eplugin? I am aware that this is not a good practice but we