Questions tagged [maven-descriptor]

7 questions
26
votes
2 answers

Maven assembly - Error reading assemblies

I have defined a personalized jar-with-dependencies assembly descriptor. However, when I execute it with mvn assembly:assembly, I get : ... [INFO] META-INF/ already added, skipping [INFO] META-INF/MANIFEST.MF already added, skipping [INFO] javax/…
Laurent
  • 14,122
  • 13
  • 57
  • 89
14
votes
4 answers

why is my maven plugin descriptor not being generated automatically?

I have wrote my own plugin project and have run the command mvn -install through cygwin for my plugin project. the jar file for it is being created in my repository, however when I execute my plugin, it says that my plugin descriptor is not present.…
ken
  • 193
  • 1
  • 3
  • 8
6
votes
1 answer

Maven descriptor (META-INF/maven) duplicate entry in archive

I'm facing a problem with maven build. I have several ejb projects. After maven build the jar-file contains the maven descriptor in META-INF/maven twice, i.e. if I extract files to disk 7zip asks to overwrite files although extracted to a new…
Steffen Harbich
  • 2,639
  • 2
  • 37
  • 71
3
votes
1 answer

Maven assembly plugin: run only one descriptor

I have a project which has several custom descriptors written for the assembly plugin. Is there a way to run only one of those descriptors at a time instead of the whole bunch? I tried using the descriptors switch as documented here, passing in the…
UrLicht
  • 939
  • 1
  • 14
  • 25
0
votes
2 answers

Property Replacement in Maven Site Content

I'm generating maven site content using the site plugin. I want to have a little table that shows my maven group id, artifact id, parent info, etc on the module. I don't see a plugin for it, so I was going to use the APT format and create a…
John Ellinwood
  • 14,291
  • 7
  • 38
  • 48
0
votes
5 answers

Cannot resolve dependencies with maven

I can't seem to do anything with maven because it can't download its dependencies. When I try to run a sample application from http://openejb.apache.org/ejb3-tutorial.html it gives me some…
user979959
0
votes
0 answers

Build maven Artifacts for different environments via Jenkins

We have 5 enviornments, DEV, SIT, UAT, PT, PROD. We want the flexibility to deploy different code in different environments. So we created 5 branches on GitHub. The issue we are facing is in distinguishing the artifacts. We only have one build…