Niranjan Deshpande schrieb:
Tim i indeed wht u suggested
but the build xmls just dont seem to to reached..
It's working for me with this test project:
.
|-- pom.xml
`-- src
`-- main
|-- antscripts
| |-- antscript1.xml
| `-- antscript2.xml
Hi everyone
I have a small problem executing my JUnit test which depend on some test
files (xml and plaintext documents). Whenever I run surefire
compiles all JUnit Testclasses to target/test-classes but my test files
don´t get copied to target/test-classes and therefore my JUnit tests fail.
No
I'm still a bit confused though... can't I define my repository in a
parent.pom ? Why isn't this the preferred approach? Would seem to make sense
to me - users check out a parent project from cvs. Run mvn install, put the
parent pom in their repo. All new projects use this parent pom definition
whe
Thank you! that was exactly the issue, all working now.
-Gianni
On 05/giu/08, at 07:29, Tim Kettler wrote:
Hi,
googling hints that it's a bug in the java sdk on freebsd. There is
a similar bug report like yours for freebsd 6 posted for IDEA [1]
which says that IPv6 support in the jdk is t
On Thu, Jun 5, 2008 at 11:43 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Or if you're on an operating system with symbolic links, you could adjust
> the link to settings.xml when you change locations.
>
Ok, thanks. I can do the above.
--
Rick
The easiest would be to simply rename settings.xml to settings.x when
you get home. This assumes that you don't have any special settings
for your projects. But this would disable the artifactory repo. Or if
you're on an operating system with symbolic links, you could adjust
the link to settings.xm
I'm totally confused and could use some help...
I have an internal company repo setup fine. Currently, following the
artifcatory docs, I defined this repo in my mavenhome/conf/settings.xml file
such as:
acme-company
central
http:/
we manage the versioning problem by using one version for all projects. for a
maven release we let maven auto increment the version number. merging back into
the trunk we use svn merge, but sometimes there are conflicts with poms.
--- On Thu, 6/5/08, Bryan Loofbourrow <[EMAIL PROTECTED]> wrote:
I'm working with Maven on a large project == many, many Maven projects,
and multiple, separately releasable artifacts. Managing this is pretty
reasonable, but the part I haven't figured out how to manage efficiently
has to do with branching in my source control manager.
Let's take a typical br
Well, this is actually an J2EE project (EJB3 to be specific)...
But my questions remain even for a J2EE project?
2008/6/6 Mick Knutson <[EMAIL PROTECTED]>:
> I always use multi-module, but I always am working on J2EE apps.
> If you want common shared projects, then split this up, but you still
I always use multi-module, but I always am working on J2EE apps.
If you want common shared projects, then split this up, but you still might
have multi-modules if you are creating j2ee apps.
On Thu, Jun 5, 2008 at 3:22 PM, Kent Närling <[EMAIL PROTECTED]>
wrote:
> 2008/6/6 Mick Knutson <[EMAIL
2008/6/6 Mick Knutson <[EMAIL PROTECTED]>:
> dist is usually going to be an assembly, and you add assembly descriptors
> into src/assemble/*.xml
> You do not store the rpm's or bin's there. They do not end up in svn in
> other words.
>
> I have:
> root pom.xml
> |-->common 1..* jar's
> |-->core
dist is usually going to be an assembly, and you add assembly descriptors
into src/assemble/*.xml
You do not store the rpm's or bin's there. They do not end up in svn in
other words.
I have:
root pom.xml
|-->common 1..* jar's
|-->core
|-->src
|-->assemble
|-->main/resources
|-
Sorry, didn't get what you mean by that?
You mean dist should not be a project on its own, or?
2008/6/5 Mick Knutson <[EMAIL PROTECTED]>:
> dist should be src/assemble for assemblies.
>
> On Thu, Jun 5, 2008 at 2:41 PM, Kent Närling <[EMAIL PROTECTED]>
> wrote:
>
> > We have a project in SVN th
dist should be src/assemble for assemblies.
On Thu, Jun 5, 2008 at 2:41 PM, Kent Närling <[EMAIL PROTECTED]>
wrote:
> We have a project in SVN that is made of several projects, something like
> this:
>
> - core - core project
> - common - common libraries
> - pluginA
> - pluginB
> ... etc
> -
We have a project in SVN that is made of several projects, something like
this:
- core - core project
- common - common libraries
- pluginA
- pluginB
... etc
- doc - for documentation)
- tools - some command line tools
- dist - distribution project which packages all of the above projects into
> So in our case we are trying to manage the Websphere runtime classpath
> as a single set of dependencies. The case for doing this is pretty
> strong and we've been using it to aggregate the container library into a
> single dependency in our projects for while. I was hoping the import
> scope wou
Hi Simon,
I'm aware of the difference btw dependencies and dependencyManagement.
When I first heard about the feature proposal I thought it was to inline
dependencies into poms. My line of thinking was of course into the
dependencies section.
When I read that you put that scope only in the dep
> Wayne Fay wrote:
>
> The real use case for import scope IMO is where a company
> does not want to use a single shared corporate parent pom,
> but they do want to enforce versions on all projects. So you
> manage versions in the imported pom (one place), force all
> your projects to import it
On Thu, 2008-06-05 at 15:32 -0500, Wayne Fay wrote:
> I haven't used it yet myself, but from my reading of the
> documentation, I believe it really only brings in the
> dependencyManagement section of the imported pom. So you will still
> need to declare struts-core in the project you need to use
On Thu, 2008-06-05 at 15:41 -0400, Timothy Reilly wrote:
> I don't think I'm understanding the docs here regarding how to use
> import scope:
> http://maven.apache.org/guides/introduction/introduction-to-dependency-m
> echanism.html#Importing_Dependencies
>
> Here is what I have - must be incorre
I haven't used it yet myself, but from my reading of the
documentation, I believe it really only brings in the
dependencyManagement section of the imported pom. So you will still
need to declare struts-core in the project you need to use it, but you
can leave off the version (and scope).
The real
I'm having trouble getting the archetype plugin to update. I deleted all
the versions in my personal repository. But when I run "mvn
archetype:generate" it downloads version 1.0-aplha-4 instead of the latest
version 2.0-alpha-3.
Looking at the meta data at
http://repo1.maven.org/maven2/org/apach
I don't think I'm understanding the docs here regarding how to use
import scope:
http://maven.apache.org/guides/introduction/introduction-to-dependency-m
echanism.html#Importing_Dependencies
Here is what I have - must be incorrect I think...
parent
+ testapp
+ testimports (not a module)
Tim i indeed wht u suggested
but the build xmls just dont seem to to reached..
On Thu, Jun 5, 2008 at 6:53 PM, Tim Kettler <[EMAIL PROTECTED]> wrote:
>
> Hi, (again :-) )
>
> Niranjan Deshpande schrieb:
>
> I am trying to execute ant tasks from maven's pom as below.
>>
>>
>>
>>
>> maven-an
On Thu, Jun 5, 2008 at 2:37 PM, Mick Knutson <[EMAIL PROTECTED]> wrote:
> how can I set a jndi datasource inside embedded tomcat with cargo?
>
There isn't really good documentation on this subject that I'm aware of.
Here's an example, though:
http://blogs.atlassian.com/developer/2007/03/from_manu
Thanks (and sorry for submitting this request to the wrong group earlier).
If I wasn't clear, I do need the result to be:
-- target
|-- classes
`-- AppServices
|-- META-INF
| `-- services
| `-- org.apache.commons.logging.LogFactory
`-- WEB-INF
how can I set a jndi datasource inside embedded tomcat with cargo?
--
---
Thank You…
Mick Knutson
BASE Logic, inc.
Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySp
>Not uncommon for people to solve this problem by putting together a
'parent'
>POM that contains only those inheritable bits, and subbing that for all
>actual projects.
hm... but that only works if one is in control of all the participating
poms.
I'd like to use a given pom as parent pom.
mf
This isn't a bug - resources is "class path" resources in the context
of Java, which happens to be in WEB-INF/classes for a web app, and /
for a JAR.
You have two options:
- add the files directly to src/main/webapp
- use the war plugin's webResources configuration to add a new location
(this is
On Thu, Jun 5, 2008 at 12:15 PM, martinf <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> is it possible to control which elements a pom inherits from its parent
> pom?
>
> Like is there a way to inherit all elements form the
> but inherit no element beyond parents pom element?
>
> Well, and if its po
I need to add a "META-INF/services/org.apache.commons.logging.LogFactory"
to tell commons-logging to use log4j (a pretty basic thing I think). I
thought I was suppose to add it to the main/resources/ directory. As many
of you know, it copies everything from here to the WEB-INF/classes
directo
So I get this again:
*The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you want to continue connecting? (yes/no): y*
And I do NOT see anything in my security logs:
Jun 5 08:07:13 12825-42150 sshd[
Hi, (again :-) )
Niranjan Deshpande schrieb:
I am trying to execute ant tasks from maven's pom as below.
maven-antrun-plugin
1.1
generate-sources
run
The generate.sh file has 10 xml files that i want to run as
ant -buildfile -filename
for the time being I am r
Yes, but I do not see a described resolution.
On Thu, Jun 5, 2008 at 9:34 AM, Tim Kettler <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Mick Knutson schrieb:
>
>> I have the following for my reports declaration:
>> ...
>>
>> Then I noticed Checkstyle 2.2 got downloaded this morning on my build (mvn
>> sit
done :)
On 6/5/08, Tim Kettler <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Niranjan Deshpande schrieb:
>
>> please give me the link from where I can download this plugin.
>>
>>
> You don't need to download a plugin in maven 2 manually, just configure it
> in your POM and maven will take care of downloa
Hi,
Mick Knutson schrieb:
I have the following for my reports declaration:
...
Then I noticed Checkstyle 2.2 got downloaded this morning on my build (mvn
site actually), but then I got this failure:
[...]
Could this be related to this [1] recent discussion on the dev list. I
haven't followe
I am trying to execute ant tasks from maven's pom as below.
maven-antrun-plugin
1.1
generate-sources
run
The generate.sh file has 10 xml files that i want to run as
ant -buildfile -filename
for the time being I am running the plugin as maven antrun:run, just to fi
martinf schrieb:
> Hi all,
>
> is it possible to control which elements a pom inherits from its parent pom?
>
> Like is there a way to inherit all elements form the
> but inherit no element beyond parents pom element?
>
No.
Hi,
Niranjan Deshpande schrieb:
please give me the link from where I can download this plugin.
You don't need to download a plugin in maven 2 manually, just configure
it in your POM and maven will take care of downloading it to your local
repository during execution.
On the plugin homepag
Hi all,
is it possible to control which elements a pom inherits from its parent pom?
Like is there a way to inherit all elements form the
but inherit no element beyond parents pom element?
Well, and if its possible, how can it be done?
Martin
--
View this message in context:
http://www.n
I have the following for my reports declaration:
...
Then I noticed Checkstyle 2.2 got downloaded this morning on my build (mvn
site actually), but then I got this failure:
this realm = plexus.core
urls[0] = file:/C:/apache-maven-2.0.8/bin/../lib/maven-2.0.8-uber.jar
urls[1] =
file:/c:/opt/.m2/re
please give me the link from where I can download this plugin.
--
Regards,
Niranjan Deshpande
"Shut yourself from the world and create the reality you want"
This shows how to execute a script file in a maven phase using Ant
scripting. See the sample.
http://maven.apache.org/guides/mini/guide-using-ant.html
Upul
On Thu, Jun 5, 2008 at 7:50 PM, nicolas.duminil <
[EMAIL PROTECTED]> wrote:
>
> Greetings,
>
> I need to execute a script (bat, cmd, sh, etc
Nicolas;
Am Thu, 5 Jun 2008 07:20:04 -0700 (PDT)
schrieb "nicolas.duminil" <[EMAIL PROTECTED]>:
> I need to execute a script (bat, cmd, sh, etc.) in maven and I don't
> find anything. I can execute a Java app but don't know how to launch
> a .bat file. Please help.
I am doing things like that us
Greetings,
I need to execute a script (bat, cmd, sh, etc.) in maven and I don't find
anything. I can execute a Java app but don't know how to launch a .bat file.
Please help.
Kind regards,
Nicolas
--
View this message in context:
http://www.nabble.com/How-to-execute-a-script-in-maven2---tp176
This is the output of ssh2 -V:
ssh2: SSH Tectia Server 4.4.8 on i686-pc-linux-gnu
Build: 21
Crypto library version: SSH Cryptographic Library, version 1.2.6
FIPS certification mode: DISABLED
Product: SSH Tectia Server (A)
License type: commercial
Thanks,
Venkat
-Original Message-
From:
There was an issue with my server path in the last case (I included port
no.). Now I removed the port number and gave the path from root. Now, I
get the following error:
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from scp_inhouse_snapshot
[WARNING] repository metadata for: 'sna
In additional to that, I am trying any way I can to deploy site docs:
I keep getting this error:
*[INFO] [site:deploy]
The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you wan*t to continue connectin
Hi,
I get the same error when I execute ssh2 -V on my windows XP machine:
C:\ssh2 -V
'ssh2' is not recognized as an internal or external command,
operable program or batch file.
Please help me resolve this.
Thanks,
Venkat
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
David;
Am Thu, 5 Jun 2008 09:01:38 +0200
schrieb David Delbecq <[EMAIL PROTECTED]>:
> You can create a modules based pom that will build all your projects.
> http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation
Thanks a bunch, this indeed is quite what I
Hi,
for qt 4.4 one native jar is +/- 17MB ...
I think you'd better ask the jambi mailing list as the possibility to
create reduced native jar
according to the application needs is jambi specific and not maven
cheers,
Etienne
PS: I'll try to make splitted jars when my other todos are solved
Hi
On Thu, Jun 5, 2008 at 3:14 PM, Charlier, Etienne
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm busy right now trying to implement Option 3. based on jambi 4.4
> preview (they now distribute platform specific jars containing the
> native code)
>
> - I wrote a shell script that
> - downloads the
Hi Simon,
Thanks a lot for that reply.
Yes, I have a workflow in ANT (with CVS), which asks the user whether he
wants a timestamp or a version build. With that as a mindset, I was looking
on Maven. You have identified it right that Maven has its own stuff when it
comes to versioning the builds.
W
Hello,
I'm busy right now trying to implement Option 3. based on jambi 4.4
preview (they now distribute platform specific jars containing the
native code)
- I wrote a shell script that
- downloads the jambi jar ( linux 32, linux 64, win 32 for now)
- unpack them
- deploy the java jar to my loc
Hi
I'm creating a project that uses qtjambi (QT's java binding -
http://trolltech.com/products/qt/features/language-support/java). It
has both jar files and native libraries (statically compiled - seems
to be working fine at least on a few linuxes I've tried). In their
deployment documentation the
I don't think this information is what Niranjan is really looking for.
He appears to have some workflow that he is used to with some other
build tool, and is trying to use Maven to reproduce that same workflow.
But my guess is that it isn't a workflow that maven is designed to
implement, hence the
The solution is to specify resources in maven-war-plugin
http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
Kinski wrote:
>
> Hi,
>
> I am re-factoring a legacy web services app as a Maven project which is
> now complete apart from one obstacle. I am u
> So long as maven supports your scm...
But then it is still much better to get this SCM supported then having hundred
of developers tweaking around manually.
Which SCM you need isn't supported yet?
Since I already wrote the maven-scm-providers-git, I maybe can help you in
writing another one.
The release-plugin will replace a version
n-SNAPSHOT
with n, then tag this version n and replace it again with
(n+1)-SNAPSHOT
All those versions will be prompted, but prefilled as default.
so if you have a
myproject-2.17-SNAPSHOT
mvn release:prepare will create and tag a
myproject-2.17
in the S
Thank you! that was the problem, all working now.
-Gianni
On 05/giu/08, at 07:29, Tim Kettler wrote:
Hi,
googling hints that it's a bug in the java sdk on freebsd. There is
a similar bug report like yours for freebsd 6 posted for IDEA [1]
which says that IPv6 support in the jdk is the prob
Hi,Does the multiproject site works with maven 2.0.9,is there a separate plugin
for it?It used to create separate sites for every subproject before,does it
still do that.Kindly let me know.
Thanks,
Kalyana krishnan
I am looking for a little help with the Maven API.
If I have the file path to a pom.xml file that is the top level pom in a
multi-module project, how do I (using the Maven API) load that top level
pom and also recurse down to the sub-module poms and come up with a list
of all of the SNAPSHOT de
Niranjan,
The maven release plugin allows performing a dry run of the prepare goal [1].
mvn release:prepare -DdryRun=true
The dry run performs all the local file changes but without executing any SCM
operations (commits and tagging).
To revert the file changes from the dry run you can also us
Thanks for the answer. So, I tried maven-checkstyle-plugin 2.2 and it didn't
work either, but that's a good beginning to have the correct plugin
version...
In the xml checkstyle configuration file where modules are defined, i tried
to change
by and it now works. I don't
really understand why we ha
You can create a modules based pom that will build all your projects.
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation
Le Thursday 05 June 2008 08:15:22 Kristian Rink, vous avez écrit :
> Folks;
>
> not sure whether this is a "common" use case, I wonder
66 matches
Mail list logo