Thanks All,
I was able to remove a class file from jar file.
Now, my problem is :
I am using the following structure
EService
-Service : Contains all the content of war file
-src
-config
-pom.xml: It creates a war file
-ear
Raphaël,
It turned out that the generated archetype that was attached to
http://jira.codehaus.org/browse/ARCHETYPE-153 was the problem.
When I started with the project and ran archetype:create-from-project on it,
the resultant generated archetype worked correctly.
Thanks,
Pat
Raphaël wrot
Once agian thanks Dave for qyuick response.
That's what I did to install manually the jar files in repo.
Are you saying that I could use any random group ids and artifacts ids to
install my jar files in local repo as long as it those match with my pom file ?
So I had lets suppose common-logging
Ah. I see where you went wrong. It's not even that complicated. Use
the following command to add your jar files to your local repository:
mvn install:install-file -Dfile= -DgroupId=
-DartifactId= -Dversion= -Dpackaging=
Example: mvn install:install-file -Dfile=myjar.jar -DgroupId=myjar
-
Thanks Dave for such a quick response.
I started from jar files w/o pom files. So I went to maven repository web site
http://www.mvnrepository.com/ and search for those jars. Some of those jars
were available under different groups ids but same artifact id like
saax-api-1.3.jar is found under j
Thank you for advise.
2008/10/29 Dennis Lundberg <[EMAIL PROTECTED]>
> sean.chen(???) wrote:
> > We use JIRA 3.12.x as our bug/issue tracking system, I want to integrate
> > Maven with JIRA after our CI runs, Its also generate the release issues?
> > anyone know how to integrate the two software?
Unless you specified the proper versions and classifiers for your
dependencies, then Maven is likely to find the ones that are available
in the primary repository. Assuming that you used Maven to install your
jar files into your local repository, make sure that your pom.xml
specifies the same
I have simple web services demo which I created in Eclipse and added external
jar files to project. I am able to run it successfully unit tests in eclipse
IDE.
Now I have moved the code to maven project and added dependencies tho those jar
files in my pom file. And now the maven project fails c
It seems that the rpm plugin was only designed to produce rpms on the local
machine and not distribute them to the repository. In my use case, I want rpm
to be the primary artifact of the project and have logged an issue[1] with an
attached patch for that.
[1] - http://jira.codehaus.org/browse
I have logged several issues with this plugin[1,2,3] and provided patches. With
the patch, I was able to generate an rpm as an artifact with little difficulty.
[1] - http://jira.codehaus.org/browse/MOJO-1249
[2] - http://jira.codehaus.org/browse/MOJO-1250
[3] - http://jira.codehaus.org/browse/MOJ
sean.chen(???) wrote:
> We use JIRA 3.12.x as our bug/issue tracking system, I want to integrate
> Maven with JIRA after our CI runs, Its also generate the release issues?
> anyone know how to integrate the two software?I can see many project such as
> maven-war-plugin have this:
>
>>
>>
>
Is there anyway of doing string operations when using resource filtering?
eg. something like "${project.version?substring(0,2)}" or
"${project.version?replace("-",".")}" ? (freemarker style here)
I ask since I want to generate an RPM spec file and then rpmbuild doesn't
like dashes ("-") in the ver
Thanks for all these inforations
Raphaël
2008/10/27 stug23 <[EMAIL PROTECTED]>:
>
> After further testing, it appears that the problems I have with multimodule
> projects do not occur on the Windows platform, just on Mac OS X. I will do
> some more testing to nail this down.
>
>
>
> stug23 wrote:
You'll probably need to run
mvn -N versions:update-child-modules
afterwards to fix all the parent references in the child modules though
(oh and then you'll need to commit the changed poms for the chiildren to
SCM)
2008/10/28 Olivier Lamy <[EMAIL PROTECTED]>
> Hi,
> -N should work.
> And add -
Hi,
-N should work.
And add -Darguments="-N"
--
Olivier
2008/10/28 John Coleman <[EMAIL PROTECTED]>:
> Hi,
>
> I have a pom type parent project with modules of type jar that inherit
> settings from the parent.
>
> Is it possible to do a mvn release at the parent level that does not
> build and re
Hi,
I am using assembly-plugin to create a tar.gz assembly.
I have a .tgz dependency which I need to unpack to create the assembly.
Here is how my assembly descriptor looks like:
/
*tgz
true
But in the dependency .tgz, there are so
Hi,
I have a pom type parent project with modules of type jar that inherit
settings from the parent.
Is it possible to do a mvn release at the parent level that does not
build and release all the related modules? I have tried the
--non-recursive option to no effect. I just want to create a tagged
If the submodules don't change, you just disconnect them from the main
build, change the parent to point to a released version and release
separately. The plugin won't change the versions if they are not part of the
build. All poms in the trunk or branches should use snapshot versions so
they are r
I use it for a couple of small artifacts. It does lack of a lot of
functionality (check outstanding issues and discussions in codehaus).
If you already are generating the spec files and are happy to keep
doing it, I'd suggest you stick to it until the plugin grows in
functionality.
My 2p.
Gabri
Is anyone using the rpm-maven-plugin to generate practical rpm:s?
My colleague is quite sceptical and prefers us to call a simple
rpm-generation script from maven, should I try to concinve him not to? and
why?
ie. what advantages/disadvantages do we have from using a proper plugin
instead of a scri
This is covered here:
http://blogs.sonatype.com/people/brian/2008/05/19/misused-maven-terms-defined/
-Original Message-
From: Kent Närling [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 10:17 AM
To: Maven Users List
Subject: What is "attached" and not?
I have tried to find ou
You can attach arbitrary artifacts using the build-helper plugin. See
http://mojo.codehaus.org/build-helper-maven-plugin/howto.html for an example.
Justin
-Original Message-
From: Kent Närling [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 10:17 AM
To: Maven Users List
Subje
On Tue, Oct 28, 2008 at 7:06 AM, Ray Krueger <[EMAIL PROTECTED]> wrote:
> Has anyone noticed that repo1 has been really slow the past couple days?
> It just took me 20 seconds to download commons-lang which is all of 237k.
>
I always take the opportunity in this kind of scenario to recommend a lo
I have tried to find out what qualifies a result as being "attached" and
not, but cannot find the answer?
More specifically, I am using the rpm-maven-plugin, but simply fail to get
the resulting rpm to be considered "attached" and hence uploaded to the
repository when I release the project...
Is
On Tue, Oct 28, 2008 at 8:09 AM, Chris Helck <[EMAIL PROTECTED]> wrote:
> What monetary purpose is there to scraping the repo? I want to know if there
> is a security issue related to using Maven.
> -C. Helck
>
What possible security risk could come from someone scraping the site?
--
They use it to provide search websites and stick ads or sell the accumulated
information about the OSS projects it contains.
On 10/28/08 9:09 AM, "Chris Helck" <[EMAIL PROTECTED]> wrote:
> What monetary purpose is there to scraping the repo? I want to know if there
> is a security issue related
What monetary purpose is there to scraping the repo? I want to know if there is
a security issue related to using Maven.
-C. Helck
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2008 8:56 AM
To: Maven Users List
Subject: Re: repo1.maven.org is
We have been getting hit really hard by people trying to scrape the repo for
monetary purposes. We block them when it causes problems and then they get
more sneaky about their methods.
The machine load was going through the roof so we are in the process of
installing a balancer and an additional m
Has anyone noticed that repo1 has been really slow the past couple days?
It just took me 20 seconds to download commons-lang which is all of 237k.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hello,
This is my very first post on this list, so I'll give enough
explanation for my questions :-)
I have an environnement with maven 1.0.2 (very old, but entreprise
environnement so it will not change before months ...), and I looked
for information about remote deployment (mainly sftp).
I fo
Hi,
Thanks for your responses. I understand the idea.
Here are my worries (I'll try to be clear).
I've got a multi-module project. A parent POM and childs (25). The first
time all the pom are in snapshot version. When I use the release:prepare
plugin, it create a snapshot pom for the parent and a
Le lundi 27 octobre 2008 à 14:48 +1100, James William Dumay a écrit :
> On Mon, 2008-10-06 at 10:13 -0700, bshepherd wrote:
> >
> > Would like to see this plugin in central. It helped me alot.
> >
> > Brian
>
> Good news - I've released the maven-licenses-plugin 0.1 and it should be
> up on the
32 matches
Mail list logo