I'm curious if the Assembly plugin is capable of creating a tar file similar
to the following command:
find * ! -type d | tar zcvfT $TARFILE -
if you exec 'tar ztvf myAssembly.tar.gz' you will see that directories are
listed in the tar file. if you create a tar w/ the above command, you will
fyi, this is a bug in maven-war-plugin 2.1-alpha-2. I have filed a bug for
it:
http://jira.codehaus.org/browse/MWAR-168
these incorrectly reported messages do not appear in maven-war-plugin 2.0.2.
try:
mvn clean;
mvn install;
mvn install;
with both 2.0.2 and 2.1-alpha-2. during the 3rd command
After installing 3rd party dependencies in Nexus and then building a war, the
first time the build runs the dependencies are downloaded fine from Nexus,
the second time I get a INFO message for every one of the dependencies I
added:
[INFO] Dependency[Dependency
Yeah, I see that... I actually edited my post. The groupIds are the same...
for the post - I attempted to replace my domain with mycompany and pasted
over the word legacy instead. Oops. Anyway, the groupIds are in fact the
same. Sorry for the confusion.
Please let me know if you have further
Repositories elements seem to play different roles - either you are
retrieving from the repository, using the defined respository element in
settings.xml or you are deploying to a repository using the repository
element inside of distributionmanagement within the pom.xml. The way in
which this is
Brett Porter wrote:
Yes, I think so.
I wanted to follow up on this post with something I found in the release
notes of Maven 2.0.9:
# MNG-3286 - The inherited field in a plugin execution block is now
functioning correctly. Previously you could only dis-inherit an entire
plugin
Thanks for the tip - Interestingly enough inherited is valid under both
plugin and execution, but only works under plugin.
[ worked ]
!-- parent pom --
plugin
artifactIdmaven-antrun-plugin/artifactId
inheritedfalse/inherited
executions
execution
idparent/id
I have a parent pom who exec's an ant plugin tasks, but I do not want the
child pom of the parent to exec the same ant plugin execution when the
child runs the ant plugin. It appears that the child pom's instance of the
ant plugin inherits the parent pom's ant plugin executions - but I just want
What is the best way to import an Oracle dump file my_data.dmp back into
Oracle with Maven? Is there a plugin for this?
Thanks.
--
View this message in context:
http://www.nabble.com/Importing-Oracle-DMP-File-With-Maven-tp16191606s177p16191606.html
Sent from the Maven - Users mailing list
The above XML apparently only works when the POM's packaging is jar. When
I execute this POM from a parent POM, who's packaging is pom, the optional
ant task jar files are not included in and the ant tasks blow out w/ an
error. I can only exec mvn install in the same directory which has the POM
This problem seems similar to mine:
http://www.nabble.com/running-optional-ant-tasks-with-maven-antrun-plugin-td15842721s177.html
Why is the parent pom not seeing the plugin dependencies of a required jar
module?
greenstar wrote:
Hello,
I have a situation where dependencies of type pom
For large Maven projects, what is the best practice way for changing the
version of the POMs? Just created a script and traverse all POMs to alter
their version or is there a better method? Thanks.
--
View this message in context:
I just found that this is a bug:
http://jira.codehaus.org/browse/MANTRUN-51
In a multi-module project, the ant plugin dependencies are lost.
The 'workaround' is the place the ant plugin dependencies in the 1st module
despite if you actually need the ant plugin there, simply to load the
these emails repeatedly.
Is gotama the only person using Nabble who is experiencing these
troubles? Are other people seeing it too? Or is gotama simply
hitting refresh and causing these emails to be sent over and over
again without realizing it?
Wayne
On 3/10/08, gotama [EMAIL PROTECTED] wrote
There is a bug for the IDEA plugin:
http://jira.codehaus.org/browse/MIDEA-98
http://jira.codehaus.org/browse/MIDEA-102
I am using maven 2.0.8 w/ idea plugin 2.1 on XP w/ Cygwin.
When I exec mvn idea:idea through Cygwin, the resulting IDEA project files
have malformed file paths.
When I exec
Excellent... thank you. I'll check it out.
Does Maven's lifecycle end at the repository and deploying to an application
one of those more customizable tasks that is not under the normal realm of
Maven?
The books I've looked through seem to end their deploy discussion around the
repository and
Actually, Cargo seems broken, at least for JBoss. Has anyone actually remote
deployed to JBoss4x successfully with Cargo?
What I have read and tried is that:
1) remote stop/start does not work; mvn cargo:start gives me only local
containers can be started,
2) remote deploying to JBoss
Any Maven solutions?
Come on guys - we're talking about copying a file from point a to point b.
Cargo can't do this? Maven can't do this?
If you can't tell me how Cargo can do it, how can I simply scp a file in
Maven?
Thanks.
--
View this message in context:
How can I do:
mvn install:install-file
not from the command line, but configured in a POM?
I'd like to automate this as the EAR I am installing to the repo will change
frequently, but is not built w/ Maven. Until the module is Mavenized, I
simply want a module POM to copy an EAR from a
How can I run optional ant tasks with maven-antrun-plugin ?
When I run it, it is missing the optional jar from the classpath - even
though the jar is properly placed in %ANT_HOME%/lib/ and exec'ing the same
ant task in native ant works fine. so there is some disconnect w/ the
classpath... My
Awesome... thanks. That did the trick... Here is the final config fyi...
Remotely stops JBoss, copies over a new EAR file and remotely starts JBoss:
plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
dependencies
What I'd like to do is use Maven to scp some ear artifacts to my server's
JBoss deploy directory - not to a repository. How can I do this? When I use
distributionManagement the ear is in fact scp'd, but with everything else
related to a repository... html files and in a path of
22 matches
Mail list logo