My project is dependent on a third-party JAR file which will be
installed on the target machine by a mechanism other than Maven. Hence,
I have no influence on its actual file name.
As I want Maven to automatically build the MANIFEST's Class-Path entry,
I have put the same third-party JAR into m
If you want the deps extracted, you need to do a combination of [1] and [2].
If you want the dep jars included in the final jar, I think you best option
is to use the maven-assembly-plugin [3]. You also need to make the final
jar executable in this case.
[1]
http://maven.apache.org/plugins/maven-
You should not do it this way
Stephen wrote it all up nicely.
http://developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.html
> 0 down vote favorite
>
> I have project that compiles and links fine when using Eclipse IDE.
> This project uses some external jar files and also us
Hi all.
I´m newbie in maven.
I have a Maven project and I need to build a jar file with the maven
dependencies inside, like I do with export jar as runnable in Eclipse to
execute the functionality from the command line.
What plugin can I use for this with what config?
Thanks.
Saludos,
Ing. Jor
0 down vote favorite
I have project that compiles and links fine when using Eclipse IDE.
This project uses some external jar files and also uses some of JNI (
.so ) libraries.
They are all located in the libs/ directory of my project. How should
my pom.xml file look like in order for all the jar
Re: "Local" access crossing different EAR files:
That isn't Maven related, but I happened to be discussing this with some
folks in my company just this morning. Basically it's a classloading
issue. An Enterprise Application (ear file) has its own classloader.
So the client in ear file B, tryin
On 11 June 2013 22:27, Stephen Connolly wrote:
> On 11 June 2013 22:03, James Green wrote:
>
>> If you search for maven-download-plugin you should reach a project on
>> GitHub.
>
>
> Please advise them to rename their plugin as the current name is in
> violation of the permitted usages of the ASF
> I think that I'd like to deploy to JBoss AS 7 with an EAR containing the EJB
> jar, and two
> separate wars that use the services of the beans packaged in the EAR. I'm a
> little
> concerned though because I read that if I go this route, the web tier will be
> forced to use
> the remote interf
On Tue, Jun 11, 2013 at 1:26 PM, rdiddly wrote:
> I found that if I didn't use the jarModule in the configuration,
> thirdparty.jar was put into the root directory of the ear instead of in the
> lib folder (which is where I believe I want it), so I added the jarModule
> block to specify that the
> If you search for maven-download-plugin you should reach a project on
> GitHub. There is another problem with this plugin in our case - it caches
Yes, I found it, but don't plan to do much more at this time.
> I'll take a look it only to be more familiar with them. I'll look at the
> dependency
On 11 June 2013 22:03, James Green wrote:
> See responses inline.
>
>
> On 11 June 2013 21:47, Wayne Fay wrote:
>
> > > Nexus is used to host the .exe file. As the exe originates from a
> > separate
> > > Maven project, and it needs to live somewhere, I folded the exe
> > generation
> > > into a
See responses inline.
On 11 June 2013 21:47, Wayne Fay wrote:
> > Nexus is used to host the .exe file. As the exe originates from a
> separate
> > Maven project, and it needs to live somewhere, I folded the exe
> generation
> > into an ant task as part of that maven project. Now I have versione
> Nexus is used to host the .exe file. As the exe originates from a separate
> Maven project, and it needs to live somewhere, I folded the exe generation
> into an ant task as part of that maven project. Now I have versioned
> hosting of the exe.
I'm still confused about why you are having this pr
> I can build all of the sub-modules without any problems. Here's my pom to
> build the ear (missing the open/close tags from XML, using ':' to separate
> opening tag from content):
Don't bother with this next time. Just post the XML. (Why did you feel
the need to strip the tags? Nabble fixed thei
Nexus is used to host the .exe file. As the exe originates from a separate
Maven project, and it needs to live somewhere, I folded the exe generation
into an ant task as part of that maven project. Now I have versioned
hosting of the exe.
But our customers are trapped behind a strict firewall. We
Hello Maven mavens,
Forgive me if this is a duplicate. I sent it by email, but didn't see it
show up on the Nabble site, so I don't know if sending it to the list via
email works or not.
Good documentation on the maven ear plugin is not easy to find. Most posts
are from 2005.
I've got a multi-mo
Well I finally got the chance to try a release from the command line and it
worked. Therefore I would assume MyEclipse is modifying the normal behavior in
some manner. I will post the question on the MyEclipse forums.
Thank you for your replies and sorry for not trying the command line before
> We have a maven project that results in a web archive. We want to ship a
> file (a .exe) within this for simple download by customers.
...
> So I am left wondering how I can ask that a web archive can be built that
> ships with a file downloaded from our Nexus installation? This doesn't
> sound l
We have a maven project that results in a web archive. We want to ship a
file (a .exe) within this for simple download by customers.
I've looked at the wagon plugin (
http://mojo.codehaus.org/wagon-maven-plugin/download-mojo.html) but this
requires the target URL to be a directory from which a rel
tabs are evil ;-)
On 11 June 2013 16:45, Curtis Rueden wrote:
> Hi Stephen,
>
> > The Mojo team is pleased to announce the release of Mojo's Tidy Maven
> > Plugin version 1.0-alpha-1.
>
> Thanks, I think this is a good idea for a plugin! However, when I gave it a
> spin on my project, it munged
Hi Anders,
> Even better, file a ticket:
I knew someone was going to say that. ;-)
https://jira.codehaus.org/browse/MOJO-1942
Regards,
Curtis
On Tue, Jun 11, 2013 at 11:04 AM, Anders Hammar wrote:
> Even better, file a ticket:
> http://mojo.codehaus.org/tidy-maven-plugin/issue-tracking.html
Even better, file a ticket:
http://mojo.codehaus.org/tidy-maven-plugin/issue-tracking.html
I also think there has been some work wrt spaces/tabs on trunk.
/Anders
On Tue, Jun 11, 2013 at 5:45 PM, Curtis Rueden wrote:
> Hi Stephen,
>
> > The Mojo team is pleased to announce the release of Mojo
Hi Stephen,
> The Mojo team is pleased to announce the release of Mojo's Tidy Maven
> Plugin version 1.0-alpha-1.
Thanks, I think this is a good idea for a plugin! However, when I gave it a
spin on my project, it munged the leading whitespace for each major
section, replacing a single leading tab
Wayne,
Thanks for your response.
I don't really need to make the EJB jar work standalone. I was trying to divide
and conquer. In 4.2.2 I deployed the EJB jar as part of an EAR with 2 WARs. I
think that I'd like to deploy to JBoss AS 7 with an EAR containing the EJB jar,
and two separate wars t
On 11/06/13 14:35, Lukas Theussl wrote:
Peter Lord wrote:
> On 11/01/13 11:26, Lukas Theussl wrote:
>> Peter Lord wrote:
>> > On 11/01/13 08:14, Lukas Theussl wrote:
>> >> My question was: is the wrapping different in the apt source and the
>> >> pdf/html output? Pre-formatted text preserves line
Peter Lord wrote:
On 11/01/13 11:26, Lukas Theussl wrote:
Peter Lord wrote:
> On 11/01/13 08:14, Lukas Theussl wrote:
>> My question was: is the wrapping different in the apt source and the
>> pdf/html output? Pre-formatted text preserves line-breaks, so you
would
>> have to adjust the apt sou
On 11/01/13 11:26, Lukas Theussl wrote:
Peter Lord wrote:
> On 11/01/13 08:14, Lukas Theussl wrote:
>> My question was: is the wrapping different in the apt source and the
>> pdf/html output? Pre-formatted text preserves line-breaks, so you would
>> have to adjust the apt source to fit your needs
r1491738 fixes the broken link. I need to investigate how to fix the site
without releasing the plugin. The correct link is
http://ant.apache.org/manual/Tasks/ant.html
On 11 June 2013 10:31, James Green wrote:
> I'm reading from http://maven.apache.org/plugins/maven-antrun-plugin/ that
> I shou
Thanks for this, my point was more that the web site should work instead of
people asking for help in the list.
But I appreciate your time!
2013/6/11 Martin Gainty
> James-
>
> you can use ant antfile attribute to specify the exact location of
> build.xml
> here basedir is the current working
James-
you can use ant antfile attribute to specify the exact location of build.xml
here basedir is the current working directory where maven-antrun-plugin is
executed
...more stuff...
http://maven.apache.org/plugins/mave
I'm reading from http://maven.apache.org/plugins/maven-antrun-plugin/ that
I should write a build.xml and call it using the task.
Trouble is, the link to the documentation comes back 404 Not Found.
Is this stuff therefore still valid?
James
31 matches
Mail list logo