Hi All,
I see TBD next to Generate a sub module from an archetype at
http://maven.apache.org/plugins/maven-archetype-plugin. Is TBD for
implementation or documentation?
Is it possible to control the files created in a sub-module? Is it also
possible to sync the content in the files based on
OK, well there goes my It's the maven versions that use hashmap and not
linkedhashmap theory...
-Stephen
2009/8/4 David Hoffer dhoff...@gmail.com
I just verified, all our builds are using 2.1.0.
-Dave
On Mon, Aug 3, 2009 at 7:18 PM, David Hoffer dhoff...@gmail.com wrote:
No, I'm using
When I make a build at the end the maven-itblast-plugin is used to kick off
Junit tests.
This is working just fine.
However I would like to run the same set of JUnit tests against an other db
vendor as well.
In fact the Junit tests should be executed on a Oracle database but also on
a SQL server
Hi,
I'm quite new to Maven and facing an issue I could not workaround.
I'm using Maven 2.2.0, and using site-deploy to deploy my generated site to
a webserver, through scp.
Here are the settings server I use :
server
idGGS-website/id
usernamemylogin/username
We had an idea like to compile and build the openssl, apache using maven
pom.xml
Is it possible to compile and build the apache, openssl using pom.xml
We need to invoke the apache build procedure using pom.xml.
Please let me know if it is possible using the pom.xml. If so please provide
me some
The permission settings in server are not used anymore since maven 2.1 [1]. The
chmod command is optional and configurable in the current site-plugin-2.1-SNAPSHOT
[2], you can test it eg like
chmodModeg+w,a+rX/chmodMode
chmodOptions-Rf/chmodOptions
Note however that there are some pitholes
Hi,
I think the following configuration should do the trick :
build
plugins
plugin
artifactIdmaven-dependency-plugin/artifactId
version2.0/version
executions
execution
idunpack-jetty/id
phasepackage/phase
goals
Seems to work nicely, done some releases with it today.
/Paul
Le mardi 04 août 2009 01:49:15, John Casey a écrit :
Hi again,
After Brett sorted out some issues that got lost in the source-control
mess on my localhost, and I resolved a couple more stragglers that came
up as a result of
Any thoughts on how I should resolve this? Here are some options I thought
of.
1. Does the surefire plugin allow jar order to be specified via
configuration?
2. Put a copy of the overrides in each artifact under test so they always
endup in the classes folder.
3. Apply the overrides to the
I have a multi-module top-level project. The first set of modules
build ordinary JAR artifacts, and each has some javadoc with it.
The next module just runs maven-shade-plugin to combine then into a shaded jar.
Finally, there's a module to build a release package.
I am not seeing how to
Hi, I have a maven project (that is web project by its nature) and I want to
run it in eclipse as WTP project.
I found command (on
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html):
mvn -Dwtpversion=R7 eclipse:eclipse
Where wtpversion can be R7, 1.0, 1.5, 2.0 or none (default).
As
Sorry that came out wrong, I know I cannot do -Dwtpversion=3.1, but I am
wondering what are my alternatives.
It seems there should be a new new way to do this, and I cannot find it.
Or maybe 2.0 works as good as 3.1
Thanks
-MB
massive.boisson wrote:
As current wtp version is 3.1, can I
On Tue, Aug 4, 2009 at 9:27 AM,
massive.boissonmassive.bois...@gmail.com wrote:
Hi, I have a maven project (that is web project by its nature) and I want to
run it in eclipse as WTP project.
I found command (on
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html):
mvn
I talked to Benson on IRC The solution (more like hack) that CXF uses
to accomplish this is to use dependency plugin to unpack the source jars for
everything being shaded and re-run the javadoc plugin on that unpacked source.
It's a complete hack, but it at least works for what we
m2 is the better solution if you need to debug
curious as to what term CI means?
Martin
Ask about software clunker upgrade program
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten
WIth Maven 2.2.0 i'm getting an N.P.E from DefaultArtifact when calling
getSelectedVersion on a dependency.
This is in a multimodule project - and several modules build fine before
I hit the one that constantly failes.
[INFO] java.lang.NullPointerException
[INFO] at
On Tue, Aug 4, 2009 at 9:56 AM, Martin Gaintymgai...@hotmail.com wrote:
m2 is the better solution if you need to debug
curious as to what term CI means?
CI = continuous integration... Things like Hudson, Bamboo, Continuum.
-Wes
--
Wes Wannemacher
Head Engineer, WanTii, Inc.
Need Training?
What is the maven way of creating a patched jar?
I have a case where I need to apply some overrides to a binary jar which is
one of my dependencies. I have the source code for the overrides. So I
could create a child module with the source and the one dependency that
needs the overrides
On Tue, Aug 4, 2009 at 9:25 AM, David Hofferdhoff...@gmail.com wrote:
What is the maven way of creating a patched jar?
I have a case where I need to apply some overrides to a binary jar which is
one of my dependencies. I have the source code for the overrides. So I
could create a child
Hi
I have a problem, which might be solved using Maven's make-like reactor mode -
but I'm not sure if it is!
Consider the following projects/modules
Project A
+--- Module A1
+--- Module A2
Project B
+--- Module B1
+--- Module B2
Now, if A1 depends on B1, but B2 depends on A2, it's impossible
Hi and thanks for reply,
I'm trying to test this but fail since now.
I added repository for apache snapshots in my archiva proxy connectors list,
but now it seems nothing works anymore ...
My build downloads .pom and metadata for maven-site-plugin 2.1-SNAPSHOT, but
it's not able to download
We had an idea like to compile and build the openssl, apache using maven
pom.xml
Is it possible to compile and build the apache, openssl using pom.xml
We need to invoke the apache build procedure using pom.xml.
This is a good question for the Apache HTTP Server email list, not the
Maven list.
We have a single file called aim_version.properties. In it is a string
@VERSION@ which is replaced with a property that I get from the command
line. I am building an assembly, and I need to change the @VERSION@ string
with a value of a property that I either get from the command line, or I get
as
Thank you guys,
I do need to debug.
It was not obvious at all to me how to import existing java web maven
project into eclipse wtp project using m2 eclipse plugin. And I tried to
figure it out.
Do you have a hint or two?
Thanks
-MB
mgainty wrote:
m2 is the better solution if you need
Thanks. This almost works. I had to add
includeScopecompile/includeScope to the third execution.
Now a new problem: it copies over the dependencies with a particular
groupId, but not the transitive dependencies. I guess what I really want
is jetty plus everything it depends on to go in a
I'm using maven-dependency-plugin to make a custom directory of
dependencies. The trouble is that I can't find a way to delete the
outputDirectory before the plugin runs so I can be sure there aren't any
old files left over in it.
I tried to use maven-clean-plugin to do it, but it insists on
Let me answer my own question.
After searching the m2 forum, I found:
http://www.nabble.com/How-to-convert-or-use-a-Maven-project-as-a-dynamic-web-project--to23430177.html#a23432587
For anyone looking to do this, it's very simple, you just need to make sure
you have installed m2e WTP
Hum,
I'm getting close but not quite there yet. Here is my configuration.
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId
executions
execution
idunpack/id
On Tue, Aug 4, 2009 at 1:01 PM, David Hofferdhoff...@gmail.com wrote:
Hum,
I'm getting close but not quite there yet. Here is my configuration.
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId
Yeah, I meant install phase. My pom's packaging is jar, and I have the
source in src/main/java.
It seems to find the source because for new files I do find the compiled
classes in the right places. However what I also find is that for classes
in the dependent jar they seem to have overwrote the
Tim,
4. Package, publish your new patched artifact to a repository manager
(under a new groupId, artifactId, version).
The key here is that you create a project that patches the original
artifact and then publishes it under a different GAV coordinate. I
would not recommend patching the
On Tue, Aug 4, 2009 at 1:27 PM, Anders Hammarand...@hammar.net wrote:
Tim,
4. Package, publish your new patched artifact to a repository manager
(under a new groupId, artifactId, version).
The key here is that you create a project that patches the original
artifact and then publishes it
On Tue, Aug 4, 2009 at 1:25 PM, David Hofferdhoff...@gmail.com wrote:
Yeah, I meant install phase. My pom's packaging is jar, and I have the
source in src/main/java.
It seems to find the source because for new files I do find the compiled
classes in the right places. However what I also
To resolve the overwrite issue I thought I would attach the
maven-dependency-plugin to the process-classes phase so it happens after the
compile. I then set its overWrite, overWriteReleases overWriteSnapshots
tags to false so it would not overwrite the just compiled output. But it
doesn't work,
I did encounter the same problem. The build does eventually proceed, but
after several minutes per module. In our multi-module build this more than
doubles the release build time.
Setting dependencyLocationsEnabled to false speeds this up:
Nevermind. I just noticed this is within the release plugin itself, not the
project info reports plugin.
On Tue, Aug 4, 2009 at 11:49 AM, Andrew Goktepe andrewgokt...@gmail.comwrote:
I did encounter the same problem. The build does eventually proceed, but
after several minutes per module.
I think our emails collided. Just to be clear, here is my new
configuration. It does not work because it overwrites what the compiler
did.
executions
execution
idunpack/id
phaseprocess-classes/phase
Hi David,
If you have all the source code, as you seem to suggest several times
in this convoluted post, then why don't you just deploy a new
-SNAPSHOT yourself to your local repository? You ARE using a
repository manager, right??
Hum,
Adding overWriteIfNewerfalse/overWriteIfNewer does not help either. The
behavior I am seeing is that it always overwrites.
-Dave
On Tue, Aug 4, 2009 at 12:49 PM, David Hoffer dhoff...@gmail.com wrote:
I think our emails collided. Just to be clear, here is my new
configuration. It
Perhaps I'm not clear what you are suggesting. I'm not trying to do a
release, I'm trying to use a snapshot (that a different division at our
company produces). However I need to make a few overrides to this
snapshot. yes we do have a process to move our overrides into the
snapshot...but that
No maven-clean-plugin is more flexible. Read there
http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html
[?]
2009/8/5 Chris she...@yahoo.com
I'm using maven-dependency-plugin to make a custom directory of
dependencies. The trouble is that I can't find a way
I can delete the directories ok. What I can't do is prevent it from
deleting the target directory.
Alexander wrote:
No maven-clean-plugin is more flexible. Read
there http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html
2009/8/5 Chris she...@yahoo.com
Use the excludes config property to exclude the specific files you
don't want to overwrite.
http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
The docs on that mojo leave much to be desired.
On Tue, Aug 4, 2009 at 2:10 PM, David Hofferdhoff...@gmail.com wrote:
Perhaps I'm
Oh, you right. But you already answered your question! [?]
Use excludeDefaultDirectories. It works fine, really. Be sure you use 2.3
version of maven-clean-plugin. (as it mentioned in documentation this option
work only since 2.3)
plugin
groupIdorg.apache.maven.plugins/groupId
I just want to clarify:
If I need to change this aim_version.properties file to use ${version} or
whatever, that's fine with me. If I need to change the name or move this to
another location, that's fine too. If we have to make this an XML file
instead of a properties file, that's fine too.
We
I keep getting the error Missing site information in the distribution
management element in the project.., but I clearly have a site
descriptor in that section...
site
idags-utilities.allureglobal.com/id
nameAGS Utilities/name
url${site.deploy.base}/url
Why don't you just make this folder a subfolder of /target and when you want
this cleaned out, you run clean?
On Tue, Aug 4, 2009 at 3:34 PM, Alexander the.malk...@gmail.com wrote:
Oh, you right. But you already answered your question! [?]
Use excludeDefaultDirectories. It works fine, really.
On Tue, Aug 4, 2009 at 3:30 PM, Tim O'Brientobr...@discursive.com wrote:
Use the excludes config property to exclude the specific files you
don't want to overwrite.
http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
The docs on that mojo leave much to be desired.
Oh
Late to the thread here, but why are you unpacking this patched jar?
Why not just deploy it to your repo manager and update your poms to
depend on it?
On Tue, Aug 4, 2009 at 3:10 PM, David Hofferdhoff...@gmail.com wrote:
Perhaps I'm not clear what you are suggesting. I'm not trying to do a
FWIW, the dependency plugin is looking at a marker file stored in
/target/dependencies to determine if a jar needs to be unpacked again.
It compares the timestamp of the jar with the timestamp of the marker
to determine newness. Once it decides to unpack a jar, it unpacks
_all_ files in there, not
I love it how you are so close to the code, you think that this is
sufficient documentation for a plugin goal configuration property on
unpack:
Property: overWriteIfNewer
Documentation: Overwrite if newer
:-)
Like I said, that leave a lot to be desired.
On Tue, Aug 4, 2009 at 3:19 PM, Brian
Shef wrote:
Now a new problem: it copies over the dependencies with a particular
groupId, but not the transitive dependencies. I guess what I really want
is jetty plus everything it depends on to go in a directory. Possible
without having to list every transitive dependency explicitly?
The transitive or not applies to the list that it starts with. Then it
starts applying the various filters defined, but you can't currently
filter and then get the transitives.
On Tue, Aug 4, 2009 at 4:33 PM, JeremieBjeremie.bousq...@gmail.com wrote:
Shef wrote:
Now a new problem: it copies
That stuff is generated from the javadoc annotations. Take a look at
the usage page:
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html#Overwrite%20Rules
Overwrite Rules
Artifacts are copied or unpacked using the following rules:
* If the artifact doesn't exist in the
The reactor mode would only help if you had a parent above A and B
that was aggregating both projects. Then all of them would be in the
reactor together and you'd be able to influence what gets built. (by
default it would build them in the correct order based on
dependencies).
On Tue, Aug 4, 2009
On Tue, Aug 4, 2009 at 3:37 PM, Brian Foxbri...@infinity.nu wrote:
That stuff is generated from the javadoc annotations. Take a look at
the usage page:
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html#Overwrite%20Rules
Overwrite Rules
Artifacts are copied or unpacked
Right, if you have that many projects you want a repository manager to
host and share your internal artifacts (as well as proxy external
ones). See here for more info:
http://maven.apache.org/repository-management.html
On Fri, Jul 31, 2009 at 1:56 PM, Kalle
Korhonenkalle.o.korho...@gmail.com
Bleh, I still think it's awful, it reads like it was written by a cyborg. :-)
If I'm going to unpack something, I'm going to expect that
overwrite would allow me to control whether or not the process of
unpacking was going to be destructive to existing files or not.
That's the conundrum
run with -X and see what it's doing
On Tue, Aug 4, 2009 at 2:49 PM, Andrew Goktepeandrewgokt...@gmail.com wrote:
Nevermind. I just noticed this is within the release plugin itself, not the
project info reports plugin.
On Tue, Aug 4, 2009 at 11:49 AM, Andrew Goktepe
Oops! Nevermind. Chalk this one up to blondness. :-)
David C. Hicks wrote:
I keep getting the error Missing site information in the distribution
management element in the project.., but I clearly have a site
descriptor in that section...
site
I'm not unpacking a patched jar, rather I'm unpacking the original
jar...trying to create a patched jar if I could only get the unpack to work
correctly. :)
-Dave
On Tue, Aug 4, 2009 at 2:22 PM, Brian Fox bri...@infinity.nu wrote:
Late to the thread here, but why are you unpacking this patched
Andrew Goktepe wrote:
I did encounter the same problem.
I doubt, unless you're as stupid as me ... ;-)
MRELEASE-469
- Jörg
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail:
For each dependencies, URL are checked to retrieve data.
To disable use this tip :
reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-project-info-reports-plugin/artifactId
We have a series of HTML based help files that sit inside our
src/main/resource/help directory. Right now, we store these files as html
files, and everything is fine.
The problem is that the people who build these files create the files in
Microsoft Word, then use a PC program called Robohelp to
You could declare these documentaion as dependecy. Then use dependency
plugin for unpacking this module. [?]
See http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
2009/8/5 David Weintraub qazw...@gmail.com
We have a series of HTML based help files that sit inside our
http://www.sonatype.com/people/2008/04/how-to-share-resources-across-projects-in-maven/
On Tue, Aug 4, 2009 at 6:51 PM, David Weintraubqazw...@gmail.com wrote:
We have a series of HTML based help files that sit inside our
src/main/resource/help directory. Right now, we store these files as html
On Tue, Aug 4, 2009 at 9:49 AM, John Casey jdca...@commonjava.org wrote:
Hi again,
After Brett sorted out some issues that got lost in the source-control mess
on my localhost, and I resolved a couple more stragglers that came up as a
result of testing out RC1, I think we're in better shape
That's an ld bug in the release plugin. It bumps the property to
the being released version but doesn't bump it to the next dev
version.
On Tue, Aug 4, 2009 at 8:41 PM, Brett Randalljavabr...@gmail.com wrote:
On Tue, Aug 4, 2009 at 9:49 AM, John Casey jdca...@commonjava.org wrote:
Hi
On Wed, Aug 5, 2009 at 12:21 PM, Brian Fox bri...@infinity.nu wrote:
That's an ld bug in the release plugin. It bumps the property to
the being released version but doesn't bump it to the next dev
version.
On Tue, Aug 4, 2009 at 8:41 PM, Brett Randalljavabr...@gmail.com wrote:
On Tue,
69 matches
Mail list logo