Hi,
I am developing a Mojo for manipulation of JIRA while making a release.
This mojo is required to manipulate issues and generate release notes.
The process is very specific to the client. As part of the process, I
need to commit the newly generated release notes to SCM. I also need to
Thanks Stephen and Leonard.
due to how maven plugin plugin works, you cannot have a dependency on
a maven plugin and extend the mojo's in that plugin.
when we switch from javadoc processing to annotation processing, and
with the classloader from maven 3 it will be possible, but until then
Hi Amol,
The rt.jar and tools.jar maybe be transitively referenced in your project.
Try mvn dependency:tree on your project. This will list all the
dependencies in a hierarchy. You can find which exact dependency is
referencing the rt.jar and tools.jar libraries.
It is questionable why
Hi Kamaran,
It would help if you provide build log. Check what part in the build is
taking too long.
Thanks,
Kalpak
Hi,
I am a first time user of Maven. Earlier used Ant and now migrating the
project to Maven. My environment is apache-maven-3.0, JDK 1.6.0_22 on
Windows 7 platform. I am
It would help if you elaborate what you are exactly trying to achieve.
To install arbitrary artifacts to the repository, you can use
build-helper-maven-plugin
http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
Kalpak
Hi,
In my project I have a lot of
I have got around including config files form modules into an assembly
using repository. I have configured build-helper-maven-plugin to install
the configuration files into repository. The installed config files need
a special classifier to distinguish it from the jar itself. The assembly
the rest of your comment.
- Kalpak
Regards,
B. Ravi Shankar
2010/11/11 Kalpak Gadre [via Maven]
ml-node+3259883-1188320679-143...@n5.nabble.comml-node%2b3259883-1188320679-143...@n5.nabble.com
To make it work the Maven way, you should ideally separate the jar
from the war file
project
extract
the war. locate the .class files then again package them in to jar? but
that
will be lots of work right?
Regards,
B. Ravi Shankar
2010/11/11 Kalpak Gadre [via Maven]
[hidden email]http://user/SendEmail.jtp?type=nodenode=3260435i=0[hidden
email]http://user/SendEmail.jtp?type
To make it work the Maven way, you should ideally separate the jar
from the war file as an independent module. Your war file will then
depend on the jar.
Not sure if your packaging is war, adding maven-jar-plugin creates a jar
file? If it does then you can use build-helper-maven-plugin to
Check the groupId in the exclusion, you have specified it as
org.apache.poi before version 3.0 it use to be only poi so your
exclusion should look like,
exclusions
exclusion
groupIdpoi/groupId
artifactIdpoi/artifactId
/exclusion
/exclusions
2010/9/17 Pradnya
Yes variable version names are not allowed as of Maven 3. I believe the
reason will be deploying into repositories, as pom with version as some
properties instead of a proper version could get deployed.
A quick fix is to configure Eclipse to use external installation of
Maven 2. But remember
Just in case.. Are you dynamically loading these classes from your code?
You can see these kind of errors in case you are dynamically loading
classes using System class loader instead of the immediate class loader.
The test runner will segregate the classes by providing a custom class
loader
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?
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
.
-Original Message-
From: Kalpak Gadre [mailto:kalpa...@gmail.com]
Sent: Friday, May 07, 2010 2:44 AM
To: Maven Users List
Subject: Conveniently switch between settings
Hi,
I use Maven from workplace and home. At workplace we have
proxy as well as a maven repository. Where at home I
Hi,
I use Maven from workplace and home. At workplace we have proxy as well
as a maven repository. Where at home I don't need any proxy and don't
have a repository.
Is there no convenient way to switch between these configurations other
than specifying alternate settings file? It would be
I haven't worked with a lot of multi-module projects, but the way it
works if I understand it right is that your core-api will be built and
installed into the local repository. Now whenever you will build the
client / server from the relevant directory, It will *not* rebuild the
core-api. It
I don't think there is any way you can provide a wild-card dependency
like somedir/**/*.jar
You can define a pom which lists all these jars as dependencies and
refer that pom as a dependency. But anyhow I believe you will have to
define all of them as dependencies separately. You should be
Hi Shalini,
You can! But then you are really not using Maven. You are just using
Maven to invoke your Ant.
I recommend you read more about Maven to really understand how you can
do it effectively using Maven.
After you have read the basics you can look at this
What do you think should happen then?
scope provided means the dependency will be provided in deployment
environment say like J2EE container.
Read this:
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
Thanks,
Kalpak
Hi,
In my application, if I
What do you think should happen then?
scope provided means the dependency will be provided in deployment
environment say like provided by J2EE container.
Read this:
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
Thanks,
Kalpak
Hi,
In my
Past discussion which happened on similar question,
http://www.mail-archive.com/users@maven.apache.org/msg108587.html
Kalpak
Hi,
Using release:prepare, release:perform I successfully created a tag in svn.
I now have to fix some bugs so I thought I should create a new branch from
the svn tag.
Hi Partha,
If you just need to copy the properties file so that it gets embedded in
the jar file, Maven conventionally uses src/main/resources/ directory
for this. So you could simply place your properties file under
src/main/resources and it will automatically get embedded in the jar file.
I tried your configuration and noted one thing,
It did not work for me when the plugin definition is done under
plugins section in pluginManagement
but it does work if the plugin definition is done in plugins section
in build
I am using Maven 2.2.1 Could you try defining your plugin under
I would recommend that you define properties for port and credentials like,
properties
https.port443/https.port
keystorec:/xxx-ssl.keystore/keystore
passwordxxx/password
keyPasswordxxx/keyPassword
/properties
and in your configuration refer to them like,
connector
26 matches
Mail list logo