Guys,
I need to deploy these two directories into the deployment target
directory:
src\main\scripts\linux
src\main\scripts\windows
These two directories should be in target\linux and target\windows.
I tried writing my own assembly descriptor, but with no luck.
Any suggestions?
Thanks in
Hi
What I mean by my user, is that what I upload (deploy task) ends up in a
directory under my useraccounts home directory on the remote (repository)
machine instead of in the Maven 2 repository.
Do we need to create a common user that has as it's home directory the Maven
repository? I
Hello,
I have a maven plugin packaging a project as a OSGi bundle. The plugin
works when calling on a single project, but sometimes in multi-module
project the installed artifact has a wrong extension (osgi-bundle
instead of jar).
The problem occurs when I have different module packaged
maven-antrun-plugin?
-D
On 9/14/06, Rodriguez, Victor [EMAIL PROTECTED] wrote:
Guys,
I need to deploy these two directories into the deployment target
directory:
src\main\scripts\linux
src\main\scripts\windows
These two directories should be in target\linux and target\windows.
I tried
Hi,
Markus, were you able to get what Franz was saying about the relationship
between the MavenArchiveConfiguration javadoc
and archive configuration (for the jar plugin)? From the provided example in
the Jar Plugin docs, specifically
Yes, I already got it. :-)
deng_ching schrieb:
Hi,
Markus, were you able to get what Franz was saying about the relationship
between the MavenArchiveConfiguration javadoc
and archive configuration (for the jar plugin)? From the provided example in
the Jar Plugin docs, specifically
Problem solved. Solution is described here:
http://jroller.com/page/gbilodeau/?anchor=of_running_jpa_unit_tests1.
Guillaume Bilodeau wrote:
I am experiencing a similar problem when using entity beans in the form of
annotated classes: the tests run fine under Eclipse but fail under Maven
Hi
Figured it out: You need to add 2 forward slashes after scp:. So it is
scp://host[:port]/.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 8:10 AM
To: users@maven.apache.org
Subject: RE: Uploading to a local
Hi,
ATM, I've the following classical strucutre
project
|-pom.xml
|-module1
| |-pom.xml
| |-src
|-module2
| |-pom.xml
| |-src
the code in module2 relies heavily on code from module1, so in the
module2/pom.xml there is a dependency declaration :
dependency
groupIdcom.tennaxia.t3/groupId
Try a maven eclipse:eclipse command in your root directory of the
project. It will create project files for module1 and module2 in such a
way, that the eclipse projects are depended on each other, instead of
that module2 is depended on module1.jar file. You don't have to do mvn
install but you
Hi,
We're maven newbies and would like to configure our
surefire-report:report goal so that it always runs as part of the test
goal. This would mean we wouldn't have to manually run it when a test
failed. Here's the except from our pom:
plugin
groupIdorg.apache.maven.plugins/groupId
Hi
I am trying to get the maven changes-plugin to generate a jira report, but it
always comes out empty. I have configured the issueManagement and have also
added the jira-report to the reports section of the maven-changes-plugin. When
I run mvn site I see that it downloads the correct url
I am using the EAR packaging to let Mvn2 create an .ear file plus
automatically create an application.xml inside of it.
It detects all my EJB modules, but it doesn't detect that one of the
included JARs is not a utility JAR but in fact a J2EE Client
Application JAR.
Maybe the packaging type I
you mean ejb-client? Your dependency should be 'ejb-client' not 'jar'.
Anyhow, if you want a jar to be included in the application.xml, just
configure the plugin acccordingly (includeInApplicationXml) [1]
Cheers,
Stéphane
[1] http://maven.apache.org/plugins/maven-ear-plugin/howto.html
On
thanks it works but I can not use the m2 plugin [1] to handle the
dependencies anymore (buildpath conflict).
This is no big deal as I do not modify my pom file every day.
I am going to fill a bug report for enhancement on the m2 plugin.
Thanks for the help
chris
[1]
No I do not mean ejb-client but J2EE Client Application:
What you mean is a JAR containing the interfaces of the EJBs, but what I
mean is a standalone (Swing) application that is to be run inside of a
J2EE Client Container.
I have seen that EJB-JARs are enlistet in the EAR's application.xml
normally have something like
parentProj/
parentProj/part1
parentProj/part2
parentProj/part3
parentProj/part4
parentProj have a POM containing the 4 modules
and in POM of each module, defines its dependency there
e.g. in part4, add dependency to make it depends on part1, part2, part3
so when u
How do I then i part2 define a dependency on part1?
Is it possible to inherit the version from the parentProj to the part1
and part2 projects so I dont have to synchronize it on all levels?
Adrian Shum wrote:
normally have something like
parentProj/
parentProj/part1
parentProj/part2
Such kind of dependency is nothing different from dependencies u normally see.
I suggest u have a look in the maven guides, and Better Builds with Maven
book.
Look at section of multi-module project and u can get the answer of
questions u just asked, including version number inheritence.
Hi.
it depends on Your needs...
Thanks for the response!
Needs are simple.
We are a small company with ~20 developers. Different people do different
projects. Projects often depend on each other. Currently we have no central repo
for our firma. Therefor if my project depends on 10 other
Hi all,
This may well be a newbie question.
I've got a parent directory/pom which has sub-modules. I haven't created a
src/site/site.xml file - I'm hoping the defaults will be good enough for a
first attempt.
Question 1 - I don't get an index.html. In the sub-modules, the generated
site works
Orford, Ian wrote, On 2006-09-15 2:16 PM:
Hi all,
This may well be a newbie question.
I've got a parent directory/pom which has sub-modules. I haven't created a
src/site/site.xml file - I'm hoping the defaults will be good enough for a
first attempt.
Question 1 - I don't get an index.html.
I have patched the Maven War Plugin locally and installed it into my local
repository with mvn install. I bumped the version from 2.0.1 to 2.0.2. It
works fine when installed in the local repository, but when I upload to the
development repository, other developers can't seem to get it to work.
it works fine when i use a filter file, but i want to use properties defined
in profiles. the resources plugin uses them appropriately. any idea when
the war plugin will do the same?
--
View this message in context:
strange. i got it to work by changing the resource directory from
${basedir}/src/main/webapp/WEB-INF to ${basedir}/src/main/webapp. i can't
explain why it doesn't work for WEB-INF...
--
View this message in context:
That's great, thanks...
1. I like the idea of configuring maven-info-reports-plugin. At the moment,
I've just added the bits suggested in
http://maven.apache.org/plugins/maven-project-info-reports-plugin/howto.html
. It generates all 7 bits. I cant see any documentation about how to
generate the
OK, I found the index and summary components of the info-report plugin. So
that's ok.
I guess the main documentation is out of date.
Still puzzled about scp tho.
Ian
-Original Message-
From: Orford, Ian [mailto:[EMAIL PROTECTED]
Sent: 15 September 2006 14:51
To: 'Maven Users List'
If the current release of the EAR plugin does not support the
functionality you desire, you have a few options:
1. Complain about missing functionality on the Maven User list.
2. File a JIRA Enhancement report and hope someone looks at your issue
and decides it is worth spending some time to
4 places with docs on that:
- the free m2 book from mergere.com
- site plugin docs
- mini guide docs on maven.apache.org
- In spring-rich-c.sf.net we're using maven 2 to generate and deploy the
website to SF (trhough scp or ssh).
Just take a look at the parent's pom distributionManagement
Hi there! I'll configure my project to be built by Maven2. There are 5
subprojects in my main project, but, sometimes there is modifications in
only one module, so It is not necessary to build all subprojects again.
What can I do NOT to build all subprojects of my main projects?
Best regards,
I'm pretty sure the J2EE client application descriptor you speak of is a
BEA only primitive and not generic enough to be included in the EAR plugin
(please correct me if I'm wrong, I don't remember ever seeing this in the
J2EE spec).
With that said a light bult has sort of went off and perhaps
Hi all,
I am using maven1.0.2 to run my projects unit tests'. The src/java which
contains my source classes has a folder that keeps the resource files and
the test classes use this directory.
I have tried to add this directory as resource in project.xml file but it
does not see this directory
OK, I found the index and summary components of the info-report plugin. So
that's ok.
I guess the main documentation is out of date.
Where did you find this?
Tom.
-Original Message-
From: Orford, Ian [mailto:[EMAIL PROTECTED]
Sent: 15 September 2006 14:51
To: 'Maven Users List'
Maven itself is not smart enought to do that yet. But Continuum can do that
for
you automatically. If a source of a sub project change, Continuum will
build all projects that depend
on the change project as well.
-D
On 9/15/06, Roberto de Castro [EMAIL PROTECTED] wrote:
Hi there! I'll
The following elements of my situation are completely non-negotiable:
1. over 200 developers, some internal to the enterprise and some outside the
enterprise network and allowed access only to DMZ hosts
2. Maven was chosen as the build system (hence my presence here), and
Subversion as the SCM
Dear.
Where can I find working maven-jdepend-plugin for M2, I found one under the
following URL :
http://www.ibiblio.org/maven2/maven/maven-jdepend-plugin/
but version 1.4 1.5 - throwing NPE during execution of this plugin from
reporting section in pom.xml.
Can somebody please
Hi,
Proximity's WebDAV adapter is just finished in SVN last night :)
IF you deploy from Maven only (will not mount it as a volume in
windows, since current implementation have some M$ related issues due
to buggy namespace handling of webfolders...) -- it should work.
Altough i'm going for
I am using org.apache.commons.io.filefilter.* to try to return the
directories which have the src subdirectories in them, or effectively,
to return what the **/src expression in Ant would do. However, it is
not working, and I spent over 6 hours on this, so I would please
apprciate any help given,
http://blog.interface21.com/main/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://mojo.codehaus.org/jdepend-maven-plugin/usage.html
On 9/15/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:
Dear.
Where can I find working maven-jdepend-plugin for M2, I found one under the
following URL :
http://www.ibiblio.org/maven2/maven/maven-jdepend-plugin/
but version 1.4
Hi, Dan, but I don't want to use continuos integration in my project. I
would like to control when to build the subprojects. Maven1 is able to build
whatever project exits in a directory below the main project. i. e., main
project triggers subprojects only if they were download to local directory
Does anybody know if eclipse supports different classpaths for each
source directory? You can have multiple source directories with
different build destinations but can each source also have a list of
different dependencies? I am pretty certain there is no support in the
interface but have
Remove unwanted modules out of pom temporarily?
-D
On 9/15/06, Roberto de Castro [EMAIL PROTECTED] wrote:
Hi, Dan, but I don't want to use continuos integration in my project. I
would like to control when to build the subprojects. Maven1 is able to
build
whatever project exits in a
How can I do this dinamycally? I mean, sometimes I need to build different
modules. That is, suppose there are modules A, B and C in my project.
Sometimes, I need to build modules A and B, and in another day I need to
build module A only. In fact, I need to build the modules that have, at
least,
[EMAIL PROTECTED] wrote:
Hi
I am trying to get the maven changes-plugin to generate a jira report, but it
always comes out empty. I have configured the issueManagement and have also
added the jira-report to the reports section of the maven-changes-plugin. When
I run mvn site I see that it
Good stuff, thanks for the pointer Alexandre. I would have missed it
otherwise...
Wayne
On 9/15/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
http://blog.interface21.com/main/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Greetings. We'd like
to change the global default goal for Maven 2.0 projects. I don't see this as a
param in the application.xml. Any help would be appreciated.
Thomas BoylesProduction / Release EngineerMobile - 415.624.7496Home - 415.738.8733
I think we found that maven just used the plugin from our tree. I tested
this by adding silly debug statements in one of the Java files from the
plugin. But that might only be true if you are building the whole
project tree, as opposed to just building a war module. Hmmm... I don't
think we
configure maven profile to do that
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
-D
On 9/15/06, Roberto de Castro [EMAIL PROTECTED] wrote:
How can I do this dinamycally? I mean, sometimes I need to build different
modules. That is, suppose there are modules A, B
i'm having trouble with maven's classpath
i know it's dependencies are loaded from $MAVEN_HOME/lib...
but that seems to be about all
I've tried to load resources from new jars in that dir, with no success
specifically, I'm trying to do an xmlns:axis=antlib:org.apache.axis... or
an ant:taskdef
Ian:
OK, I found the index and summary components of the info-report plugin. So
that's ok.
I guess the main documentation is out of date.
Can you share where you found this information? I've just arrived at this
problem and would also just like to access the default generated site for
now.
hi
you can try this:
unitTestSourceDirectorysrc/test/unitTestSourceDirectory
!-- Unit test classes --
unitTest
includes
include**/Test*.java/include
/includes
/unitTest
On 9/15/06, gulhan [EMAIL PROTECTED] wrote:
Hi all,
I am using maven1.0.2 to run my projects
Hi,
I've been using Maven through the Mergere plug-in for eclipse, but I'm
wondering how others are working with JUnit tests. When I get a test
failure, I get output like this:
[ERROR] mojo-execute : surefire:test
Diagnosis: There are test failures.
FATAL ERROR: Error executing Maven
Hi,
I've been using Maven through the Mergere plug-in for eclipse, but I'm
wondering how others are working with JUnit tests. When I get a test
failure, I get output like this:
[ERROR] mojo-execute : surefire:test
Diagnosis: There are test failures.
FATAL ERROR: Error executing Maven
Alexander,
please read J2EE 1.4 specification: The J2EE Client Application
Descriptor is a mandatory part of J2EE 1.4. It is no BEA invention.
Quoted from Java(tm) 2 Platform Enterprise Edition Specification, v1.4
chapter 9.7 J2EE Application Client XML Schema:
J2EE.9.7 J2EE Application Client
55 matches
Mail list logo