I would like to host a mirror of the maven repository. How can I do it?
I have never tried declaring the same plugin twice, but you can simply
define more executions in the same plugin declaration like,
executions
execution
idone/id
.
.
/execution
execution
idtwo/id
.
.
/execution
/executions
Thanks,
Kalpak
Here's my
Do you mean the local mirror or the public mirror?
Anyway there are some open source products available. Look at,
Nexus: http://nexus.sonatype.org/
Artifactory: http://nexus.sonatype.org/
Thanks,
Kalpak
I would like to host a mirror of the maven repository. How can I do it?
Actually,
Artifactory is located at: http://artifactory.jfrog.org (+ live demo:
http://repo.jfrog.org)
I think we'll keep it there for a while ;)
Yoav
On Thu, May 13, 2010 at 11:57 AM, Kalpak Gadre kalpa...@gmail.com wrote:
Do you mean the local mirror or the public mirror?
Anyway there
On May 13, 2010, at 4:57 AM, Kalpak Gadre wrote:
Do you mean the local mirror or the public mirror?
Anyway there are some open source products available. Look at,
Nexus: http://nexus.sonatype.org/
Artifactory: http://nexus.sonatype.org/
Perfect! These are the only links you need,
There's also Archiva: http://archiva.apache.org/ :)
-Deng
On Thu, May 13, 2010 at 4:57 PM, Kalpak Gadre kalpa...@gmail.com wrote:
Do you mean the local mirror or the public mirror?
Anyway there are some open source products available. Look at,
Nexus: http://nexus.sonatype.org/
LOL.. did not try to be biased... :)
Apologies Artifactory guys..
- Kalpak
On May 13, 2010, at 4:57 AM, Kalpak Gadre wrote:
Do you mean the local mirror or the public mirror?
Anyway there are some open source products available. Look at,
Nexus: http://nexus.sonatype.org/
Artifactory:
I recently started using groovy.My maven project has both groovy and java
files.
I have compiler plugin to compile my java files
plugin
artifactIdmaven-compiler-plugin/artifactId
version2.0.2/version
configuration
source1.6/source
Thanks, but the problem is that when I do that, both executions occur, even
when I specify inheritance=false.
I basically need to use the same plugin for two different purposes, without
either of them affecting the other; I tried to specify different versions
for the mvn dep plugin (i.e. in one
What about using profiles? Define 3 profiles; one for wsdl only, one for
javascript only, and one for both. Then have the war project activate the
one it needs.
Tim McGinnis
717 720-1962
Web Development
AES/PHEAA
From:
Shan Syed shan...@gmail.com
To:
Maven Users List
Hi all,
How can I get maven to automatically copy (or move) my persistence.xml file
from my persistence module's meta-inf directory to the web app's meta-inf
directory?
I have a persistence module that contains, among other things, entity classes
and the persistence.xml file. I've stored the
I have a persistence module that contains, among other things, entity classes
and the persistence.xml file. I've stored the persistence.xml file in
src/main/resources/meta-inf. When I build the app from the parent directory
(directory that contains the parent pom), the persistence.xml file is
What is the best way to deploy a non-jar file built with a plugin?
I have a jar project I build in Maven, which works nicely to build and deploy
jar, javadocs, and sources artifacts. I've written my own plugin that generates
a deb into target directory (I'm aware of existing deb plugins, but
So the deb is a secondary artifact in the same module? Use the
buildhelper plugin, see the last example at
http://mojo.codehaus.org/build-helper-maven-plugin/usage.html
Kalle
On Thu, May 13, 2010 at 9:44 AM, Jason Winnebeck jpw...@rit.edu wrote:
What is the best way to deploy a non-jar file
thanks - how would I set this up?
I tried to specify two profiles in my parent POM, each with their own
pluginManagement blocks, containing a maven-dependency-plugin configuration,
and then activated the profile in the WAR projects' POMs, but there is no
result
I basically want my plugins' meta
Are you defining the plugin in your WAR POM also? Using the
pluginManagement I believe you also need to call out the use of the plugin
in the WAR POM, but don't define any of the execution/configuration data,
that is provided by the pluginManagement in the profile.
Profile provides this:
I tried this (in my WAR POM):
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId
/plugin
/plugins
/build
profiles
profile
Dan,
I don't understand the requirement here. Why would you need the
persistence.xml file in the WEBAPP/meta-inf folder? Why not to have the
webapp which includes the persistence module as a dependency, thus the
persistence module will be placed under webapp/lib and the classes will
be available
I took a look at the source code for the build-helper-maven-plugin execution
you showed me. It's basically just a shell around attachArtifact, but with one
small difference. It calls attach artifact on the project and not the
execution project. I modified my plugin to do it that exact way and
Try this.
In your WAR POM remove all the maven-dependency-plugin and put this in
properties
unpack-javascripttrue/unpack-javascript
/properties
build
plugins
plugin
artifactIdmaven-dependency-plugin/artifactId
Hi,
We have a project that generates several smaller projects that are
individually versioned, released, etc. as they're common components.
We have one project that is a client library for a larger system and it
depends on a few of these smaller projects. I'm having a hard time
trying to figure
Some awesome folks have created a patch to the
buildnumber-maven-plugin that supports Git. Apparently it works, but
the integration tests do not pass. Is anyone interested in helping
make the tests pass? If not, perhaps someone could offer some advice
on how to debug plugin integration tests?
22 matches
Mail list logo