Hi,
This is partly a maven question and partly a continuum one.
I have a multi-project build where one of the components is made up of
several different projects. This is represented in maven2 as a parent
project and several child projects. However, when I distribute this
component I would like
Edwin, how about introduce another project which will uses
maven-assembly-plugin to combine
those components into one single jar, send use a custom plugin to deploy the
big jar.
( I can send you the mojo, which i call deployable-assembly-maven-plugin).
However, there is the problem, the big jar
On 12/5/05, li pan [EMAIL PROTECTED] wrote:
That is, I have to do it manually?
most probably yes. like i said it is going to be a paradigm shift so
you will need to invest some effort. it is the same like migrating
from a make system to an Ant system.
ciao!
BTW, what does ciao! in your post
Hi Benedict,
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
testExcludes
testExclude
Volker Hartmann a écrit :
Hi,
I've problems using the release plugin.
I'm not very familar with svn so I'm not sure how to create the
repository and how to
declare it in pom.xml.
I tried to find a complete HowTo but without any success!?
I always got the following error:
*svn*: Cannot
I run the command mvn deploy (for some reason mvn
install doesn#8217;t activate the plugin, compile and
package cause it to run infinitely).
When I put the configuration node directly under the
plugin node it doesn#8217;t complain but then the
plugin executes only once.
Did you try running it
Hi I am trying to add *.properties files that reside in the java package
structure of my project to the war's that I build.
ex.
java spring controller classes =
com/fundamo/accountUser/web/controller
resources (properties files) = com/fundamo/accountUser/web/resources
I tried the
I did using forkMode=once.
On a windows box, it fails because the command-line is too long (there are
too many dependencies..).
On a UNIX box, I do have a different error:
Embedded error: Error while executing forked tests.
-classpath: not found
Regards,
Jérôme.
2005/12/4, Jason van Zyl [EMAIL
Hi,
I want to deploy some aritfacts into our internal development
repository. Currently I have to edit every POM to point the
distributionMnagement-Section to the correct repository. Is it possible
to deploy without changing the pom ? E.g. I need to provide current
snapshots of maven 2 and
Christian Schulte schrieb:
Hi,
when I build an ear file with maven 2 it happens that because of
transitive dependencies I get e.g. two struts.jar files in the
generated file. What is the recommended way of managing transitive
dependencies ? Say I have a dependency which itself has a
Hi, I actually manage this plugin , and it is hosted on sourceforge.
I am not currently working with M2, so feel free to take the m1 code and modify
it to do a M2 plugin !
Stéphane
Brian E. Fox a écrit :
Anyone have an M2 Kodo plugin? We currently use Ant to do it, but I was
thinking about
Hi,
Anyone know how I might access arbitrary files maintained by one project in
another project without having the 'source' project available? Are there any
ways of providing this kind of arbitrary file/artifact packaging,
distribution and unpacking functionality? Note the files i wish to
Hi,
how do I make maven fetch e.g. junit-3.8.1-sources.jar so that this file
gets copied into the local repository ? I tried putting a dependency to
it in the root pom like this
dependencies
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
Christian Schulte wrote on Monday, December 05, 2005 12:13 PM:
Christian Schulte schrieb:
Hi,
when I build an ear file with maven 2 it happens that because of
transitive dependencies I get e.g. two struts.jar files in the
generated file. What is the recommended way of managing transitive
Brilliant. Thanks so much.
Should I have been able to find this in any documentation?
Benedict
Nik Gonzalez wrote:
Hi Benedict,
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
Hello All,
I'm a new member of the list and as such I may be presenting a
solution to an old problem - please forgive me if so. However, after
a lot of searching I could not find a solution to my problem and such
thought it might be interesting to publish my solution.
The problem arose
I took at quick look the other day. Isn't most of the M1 plugin in Jelly? I was
thinking of looking at the ant plugin to get some java code.
-Original Message-
From: stéphane bouchet [mailto:[EMAIL PROTECTED]
Sent: Monday, December 05, 2005 6:15 AM
To: Maven Users List
Subject: Re: M2
I have a plugin that can do the copying or exploding. Assuming you can
build and deploy, this might complete the cycle.
-Original Message-
From: John Allen [mailto:[EMAIL PROTECTED]
Sent: Monday, December 05, 2005 6:26 AM
To: users@maven.apache.org
Subject: [m2] howto turn arbitrary
Koos,
First, two things:
1) You say you're trying to add the resources, but never describe
what the problem is. I presume that the resources you defined are not
being copied to your webapp/war.
2) It is a suggested Maven practice to place resources to be bundled
in your artifact (war
Yes, the m1 plugin is only written in jelly.But I am not a devlopper of Kodo, so
i cannot have access to the source code of the ant task... I only use the java
code to enhance and create the schema.
Look at the solarmatric's docs .
Stéphane
Brian E. Fox a écrit :
I took at quick look the
Hi,
I try to use maven for building a jar package. When building with ant I
include all the tld-files in the project into META-INF with the ant
target:
metainf dir=${tlddir}
include name=*.tld/
/metainf
Maven only includes the class files from the project.
Is there a way to make maven 1.x
Hi Emmanuel!
You must define the tagBase directory like this :
mvn -DtagBase=file:///[pathToSVNRepos]/tags/ release:prepare
You got it! :-)
Thank you for your help.
Regards,
Volker
What I've done:
svnadmin create [pathToSVNRepos]/myFirstProject
Maven has the following structure.
Hi all,
In Maven 1.x, I could get a list of the jars in my version control
repository, and dynamically add them to the Maven build path using an ant
task.
What's important to note, is that I have all my dependency jars in a few,
KNOWN directories. I would like to be able to include all those
I'm seeing behavior where small deploys seem to work fine but larger
ones (1MB+) seem to fail every time.
I'm using an scp: url to a Linux Fedora Core 4 server. Here's the debug
output. Is this a known issue in Wagon or jsch?
[DEBUG] Configuring mojo
Hi,
I have recently turned on filtering for my resources folder. Worked
fine, until I started the application: It turned out, that images are
filtered too, becoming corrupt. (Funnily, this was on Windows only.
Everything worked fine on Linux.)
Two questions:
- Can anyone explain the
Jakob,
Presuming your TLDs are in src/main/tld, you can add the following to
your POM build section:
resources
resource
directorysrc/main/tld/directory
targetPathMETA-INF/targetPath
/resource
/resources
See http://maven.apache.org/maven-1.x/using/resources.html for more info
I have my projects setup so only filtered (property) resources go in
/resources. Everything else is in webapp/img , etc. I honestly never
even thought about putting everything into resources.
-Original Message-
From: Jochen Wiedmann [mailto:[EMAIL PROTECTED]
Sent: Monday, December 05,
1) Do what you are doing now.
2) Create on dependencies.xml (project.xml style) with ALL artifacts and
dependencies.
(problem is that it will not download anything, in my case it was a solution
:)
3) Do something like this in a goal :
u:available file=${basedir}/dependencies.xml
Shit :) Your question was about maven 2...
Sorry for the noice..
Mvgr,
Martin
Martin van den Bemt wrote:
1) Do what you are doing now.
2) Create on dependencies.xml (project.xml style) with ALL artifacts and
dependencies.
(problem is that it will not download anything, in my case it was a
Jochen,
Here's a couple suggestions:
1) Put you images in a separate resource directory (e.g.,
src/main/image) and add another resource stanza to your POM with
filteringfalse/filtering
2) Add an excludes stanza to your existing resource and exclude
all common image extension, then add
I have a project which runs the xdoclet-maven-plugin and the
jxr-maven-plugin report. The xdoclet plugin is adding a source
directory to the project at runtime which the jxr plugin is reporting
does not exist. I'm running mvn install site:site and it looks like
the generated-sources directory is
Yes, we do the same thing. How to solve changed with M2. Now, use
scopesystem/scope and systemPath.
I think this JIRA discusses what your issue is. Brett described the
un-recommended workaround.
http://jira.codehaus.org/browse/MNG-1471
I look forward to reading your comments on this... :-)
Also, you should take a look at Maven-Proxy. This way the jars will be
downloaded one time for the whole enterprise instead of being downloaded for
every single developpers. I have set Maven Proxy and my corporation central
repository at the same location to avoid having Maven looking on central
Jeff,
I added a comment to that issue.
If they take systemPath away, as he says, then that'll break me again, for
sure.
I'm really contemplating NOT using M2.
In any case, my workaround to make it truly dynamic, is my build.bat file
first calls an ANT script that compiles a DependencyBuilder
Thank you for the suggestion. I also getting this error while using alpha-5.
Michael
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 6:58 PM
To: Maven Users List
Subject: RE: maven2 deploy using wagon-ftp
You want alpha-5, I had crashes
I need to filter for all projects in this specific order:
default.values
user.default.values
user.[app].values
This is because when multiple filters are used, the last one wins. This
will allow developers to override values either on a global basis or per
project (or not at all). Since this
I have the following structure where JAR2 depends on JAR1.
Parent
|- pom.xml
|
|- JAR1
| |- pom.xml
|
|
|- JAR2
| |- pom.xml
The JAR1 and JAR2 projects are developed concurrently, and pom.xml of JAR2
lists JAR1 as a dependency.
The parent pom.xml lists JAR1 and JAR2 as modules.
All
Works fine for me with Maven 1.1-beta-1 and Maven plugin plugin 1.6.
Finally no more parse errors for source files with Java generics,
hooray :-)
Evidently the new plugin includes unit tests in its reports... is
there a property to disable this feature?
Where can I get alpha-5 version? What is the url?
-Original Message-
From: Michael Fiedler [mailto:[EMAIL PROTECTED]
Sent: Monday, December 05, 2005 1:37 PM
To: Maven Users List
Subject: RE: maven2 deploy using wagon-ftp
Thank you for the suggestion. I also getting this error while
I had the same problem. I got the latest code and uncommented the
following line in SurefirePlugin.java:
// surefireBooter.setJvm( jvm );
This appeared to fix the problem.
Stephen Cowx wrote:
Hi
I get the same error on linux. If I remove the
forkModeonce/forkMode the build works.
If
in your pom.xml file:
build
extensions
extension
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-ftp/artifactId
version1.0-alpha-5/version
-Original Message-
From: Mordo, Aviran (EXP N-NANNATEK) [mailto:[EMAIL PROTECTED]
Sent: Monday, December
All good points Jeff, I'm going to give M2 a try with my workaround, but if
even one other thing gets in my way, I'll be reverting my build to Maven 1.x
On 12/5/05, Jeff Jensen [EMAIL PROTECTED] wrote:
Quoting Matthew Wheaton [EMAIL PROTECTED]:
Jeff,
I added a comment to that issue.
If
Thank you for the fix. But I still have a problem.
I used the deploy-file goal to deploy a third party jar file
(jsr_api.jar) to my internal remote repository and it does that without
problem (deploy the jar file).
Now when I compile my application which has a dependency on that jar
file, maven
Lot's of people seem to have this problem with scp (I do on Mac OS X). Use scpexe instead.
On 5 Dec 2005, at 16:34, Mike Perham wrote:
I'm seeing behavior where small deploys seem to work fine but larger
ones (1MB+) seem to fail every time.
I'm using an scp: url to a Linux Fedora Core 4
Hi all
Let me preface what I am saying by admitting that I am a novice with
Maven. Please forgive any poorly worded or redundant content.
Suggestions about more appropriate mailing lists or forums to get info
are always appreciated.
I'm trying to use maven for a project I am building
Jörg Schaible schrieb:
Christian Schulte wrote on Monday, December 05, 2005 12:13 PM:
Christian Schulte schrieb:
Hi,
when I build an ear file with maven 2 it happens that because of
transitive dependencies I get e.g. two struts.jar files in the
generated file. What is the recommended way
Hi,
Is there a repository containing snapshots of the surefire report plugin?
I cant find it on http://snapshots.maven.codehaus.org/maven2
Regards,
Kristian Andersen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
Several issues found in the precent version of the eclipse plugin have
now been fixed and new features added. We are happy to announce the
first production quality release of the plugin!
The 2.0 release fixes some critical bugs related to multiproject
handling and WTP (j2ee projects)
Christian Schulte wrote:
Hi,
how do I make maven fetch e.g. junit-3.8.1-sources.jar so that this
file gets copied into the local repository ? I tried putting a
dependency to it in the root pom like this
dependencies
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
Hi Dan,
It is now deployed. Thanks to John Casey :)
regards,
-allan
dan tran wrote:
Hi Allan,
Since you committed deploy:deploy-file, could you deploy a snaphost as
well. This way
my team here does not have to build it from source on our build machines
-Dan
Hi Kristian,
None. I think :)
try to check it out from SVN and build it from source.
regards,
-allan
Kristian Andersen wrote:
Hi,
Is there a repository containing snapshots of the surefire report plugin?
I cant find it on http://snapshots.maven.codehaus.org/maven2
Regards,
Kristian
Hi,
I want to configure maven.war.src for fitting my directories.
Would someone tell me method ?
I could work by default ,but I want to fit pom.xml to my directories.
So I configured pom.xml like following ,but it did not work my way.
project
:
build
Dear ,
We can re-build it for mave 2, isn't right?
thanks.
Tel: (020)36315358-328 Fax: (020)36315170
stéphane bouchet
Hi Keisuke,
See http://docs.codehaus.org/display/MAVENUSER/FAQs
and look for the question How can I configure the equivalent of
maven.war.src of war plugin in m2?
Hope this helps
regards,
-allan
Keisuke Matsubara wrote:
Hi,
I want to configure maven.war.src for fitting my directories.
Would
Henry Isidro wrote:
Try this:
dependencies
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1-sources/version
typejar/type
scopeprovided/scope
/dependency
/dependencies
If you are using the Eclipse plugin, then a more simple trick is addding
the
Hi Yossi,
See http://docs.codehaus.org/display/MAVENUSER/FAQs
and look for the question How to execute the assembly plugin with
different configurations?
let me know if it works :)
regards,
-allan
Yossi Shaul wrote:
I run the command mvn deploy (for some reason mvn
install doesn#8217;t
Doug Douglass wrote:
1) Put you images in a separate resource directory (e.g.,
src/main/image) and add another resource stanza to your POM with
filteringfalse/filtering
That brings me up to another question: I understand that your suggestion
is easier for maintaining the POM. OTOH, I do
58 matches
Mail list logo