Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39185

Re: need help with maven

Newsgroups comp.lang.java.programmer
Date 2019-11-26 05:19 -0800
References <42591719-d10c-40fd-9a62-1aa81a8fb696@googlegroups.com> <qrilao$iq5$1@dont-email.me>
Message-ID <06b741a0-6436-47f3-89a2-0aa6d7fa2fc5@googlegroups.com> (permalink)
Subject Re: need help with maven
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


On Tuesday, November 26, 2019 at 2:47:44 AM UTC-5, Wayne wrote:
> Try looking for a text file named "manifest".  You might
> find it in a subdirectory named "resources".
> 
> -- 
> Wayne
> 
> On 11/25/2019 2:17 PM, Eric Douglas wrote:
> > I inherited a maven project and I'm having trouble understanding how it works.
> > I run the build and it creates a runnable jar with some values in the manifest such as 'Built-By' and 'Start-Class'.  I open the pom.xml and I don't see these values.
> > I'm not sure if this is a maven thing, a spring boot thing, or a little of both?  While the pom.xml file has no reference to a main class or start class, Eclipse opens it with 5 tabs.  The tab labeled 'Effective POM' has this:
> > <mainClass>${start-class}</mainClass>
> > So it's using some sort of variables but where does it go from there?  I don't see where variables are defined or assigned.
> >

That was my first thought was it could be hard coded somewhere copying it in, but there are no manifest files in the project folder so I can only guess it's constructing.  While there are no references for that in the pom, there are some references in the effective pom.  So far I'm having a hard time tracing the source.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

need help with maven Eric Douglas <e.d.programmer@gmail.com> - 2019-11-25 11:17 -0800
  Re: need help with maven Wayne <wayne@nospam.invalid> - 2019-11-26 02:47 -0500
    Re: need help with maven Eric Douglas <e.d.programmer@gmail.com> - 2019-11-26 05:19 -0800
  Re: need help with maven Joerg Meier <joergmmeier@arcor.de> - 2019-11-26 11:41 +0100
  Re: need help with maven Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-11-26 18:46 +0100
    Re: need help with maven Eric Douglas <e.d.programmer@gmail.com> - 2019-11-26 11:05 -0800

csiph-web