I avoided answering this for a while as I hoped someone else might
make a more useful comment, but I don't like seeing posts - especially
from people new to Maven & this list - completely unanswered if I have
something to contribute, so here's my 2c...
Personally, I'd abandon the "jars in a jar" t
Maven users on this list generally have a better experience when they
don't just ask "how is this supposed to work" but instead demonstrate
that they have actually tried to solve their problem by themselves.
Ideally you'd provide one or more examples of the Maven configuration
you have tried along
This seems to be the issue:
he.maven.plugins:maven-eclipse-plugin:2.9:eclipse failed: A required class
was missing while executing
org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse
: org/codehaus/plexus/util/StringUtils
But I'm not sure why StringUtils is not found. Hopefully someone else
Can you make it work with plain "javac -cp ..."? Have you tried? There
may be some "hidden" javac error that Maven is not showing you, for
some reason.
Wayne
On Mon, Nov 9, 2015 at 2:00 PM, Jarl wrote:
> Once a 'clean' is performed all subsequent builds leave classes directory
> empty. I can c
I could be wrong, but I think you are looking for
maven-dependency-plugin:unpack.
Wayne
On Thu, Nov 5, 2015 at 12:42 PM, Kevin Burton wrote:
> I have init scripts and various other scripts I want to share between
> projects.
>
> The MAIN one is our init script for our daemons.
>
> so if I have a
Sounds like you know the answer. Use the "mvn install" file command.
Wayne
On Mon, Oct 26, 2015 at 9:53 AM, reena upadhyay wrote:
> Can you please provide some code snippet, how to add it to local repo
> through pom.xml. I don't want it add to my local maven repo using mvn
> install file command
Some organizations have concerns about using precompiled binaries
provided by third parties.
To "vet" a third-party provided binary would be a process to simply
compare the provided binary against the one that you could create
yourself using the same source code. A sufficiently motivated
third-par
Forget transitive dependencies. Pretend you're back on Ant. All
artifacts must be declared. Leave nothing to chance.
Declare all dependencies, including the ones you are currently
bringing in transitively, in your project's pom.
Set all versions with [1.2.3] to "lock" them down.
There may be ano
Maybe use org.apache.ant:ant-nodeps artifact instead (or in addition) to
what you already listed (?).
Version 1.8.1 seems to be the latest.
Wayne
On Oct 12, 2015 1:05 PM, "K R" wrote:
> What do I need to do to make this work see error below?
>
> [ERROR] Failed to execute goal
> org.apache.maven
Also check for error messages on the Tomcat server side, in the Tomcat logs.
Wayne
On Oct 8, 2015 6:49 PM, "ke...@na7kr.us" wrote:
> I tried tomcat plugin and it starts to upload and stops no error.
>
>
> On October 8, 2015 2:13:18 PM tras...@stratuscom.com wrote:
>
> Check the Tomcat site for t
Your time is most likely better spent on a Vaadin-specific list, where
you can probably find a decent percentage of people who use Maven for
their builds vs a Maven-specific list where only a tiny fraction of
users are using Vaadin.
Wayne
On Thu, Oct 8, 2015 at 12:59 PM, K R wrote:
> In Eclipse
partly to blame here. But many of the Maven User List responders
> have a little dirt on their hands too. I don't see any of you acknowledging
> that.
>
> Regards,
> Mike
>
> Michael Tarullo
> Contractor (Engility Corp)
> Enterprise Architect
> NSRR System Administr
Maven is a rather complex piece of software. Many problems cannot be
simply distilled to "here's your simple problem, and here's your
simple solution." I understand this is what you want, but it is rarely
that simple. And attacking the people on this list who are trying to
help you when you are fru
x27;s what I'm struggling with right now!!!
>
> Thanks,
> Mike
>
> Michael Tarullo
> Contractor (Engility Corp)
> Enterprise Architect
> NSRR System Administrator
> FAA WJH Technical Center
> (609)485-5294
>
>
> -Original Message-
> From: Wayne Fay
What version of Maven was this process originally built to run against?
Can you roll (Maven) back to that version and try again, to confirm it
still works as it did originally? If it does not work, then you know
it is not Maven but rather another tool in the mix like Nexus etc.
Wayne
On Fri, Oct
There is probably some configuration available that will satisfy your
needs (e.g. useFile):
http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html
If not, you may need to just cat some files under
target/surefire-reports when your build is done.
Also look here, it may be interestin
gests that it's the 'magic' is
>> happening on the server side. So will have to wait for reply from jFrog.
>>
>> > -Original Message-
>> > From: Wayne Fay [mailto:wayne...@gmail.com]
>> > Sent: Wednesday, September 23, 2015 2:57 PM
>&g
> I have a parent pom deployed to Artifactory (3.9.3), which when downloaded
> into local Maven repo by Maven itself (3.2.5, as a normal part of the Maven
> build lifecycle), is not the same as what is deployed. If I download the
Maybe also try watching/capturing the network traffic to confirm wha
Not sure how you plan on packaging jars in another jar. That is not
allowed per the jar spec, as far as I'm aware. What are you actually
doing here?
As for packaging only certain jars in an ear or war, that is
controlled by the scope for the dependency declared in your pom. This
is standard, built
I heard they share a cubicle. When one is on vacation, the other one
is working, and vice versa.
On Fri, Sep 11, 2015 at 7:23 AM, Barrie Treloar wrote:
> Is Warren related to Julia Antonova?
-
To unsubscribe, e-mail: users-unsu
SVN says Brett posted that file (over 10 yrs ago), so maybe he can tell us more:
"Added Mon Apr 18 07:07:58 2005 UTC (10 years, 4 months ago) by brett"
http://svn.apache.org/viewvc/maven/plugins/tags/maven-assembly-plugin-2.5.5/src/main/resources/assemblies/jar-with-dependencies.xml?view=log
I sc
Try "mvn clean" first to be sure you didn't accidentally put the
contents of that jar file in target/ and forget about it. Then build
again.
If it is still large and includes those files, there must be something
in your pom file that is causing it to occur. Very hard to debug your
build without se
Greg T. sent you this reply a few days back when you asked this
question previously:
> jar tvf abc.jar
That is (still) the answer to your question.
Wayne
On Tue, Sep 1, 2015 at 3:29 PM, Magnanao, Hector
wrote:
> I was finally able to build my snapshot jar using maven after going thru all
> th
If no one here can help, I'd assume the dev team responsible for creating
the artifact could tell you where to find it.
Wayne
On Aug 25, 2015 11:17 AM, "Magnanao, Hector"
wrote:
> Can anyone point me to where to get the dependency for
> aspose-cells-7.3.1.jar ? I can't find a good repo in google
Click the url.
http://maven.aspose.com/artifactory/simple/ext-release-local/
There appears to be no artifacts with groupId javax in this repo. Only
stuff under com.
Wayne
On Mon, Aug 24, 2015 at 3:21 PM, Magnanao, Hector
wrote:
> Can someone help me with this error ? It can't seem to get to thi
I said it way back in 2009, and it is still true:
Friends don't let friends use the dev.java.net repo.
Seriously, get rid of that repo from all your pom files, config files,
everywhere. Find another source of the javax.jms jar that you need, or
try a newer version, perhaps under a different groupI
Ben, I had not even considered that option. Good one!
Cheers.
Wayne
On Wed, Aug 19, 2015 at 3:22 PM, java8964 wrote:
> Thanks, Ben.
> You are absolutely correct. The hive-exec is an uber jar including all
> "protobuf" classes.
> So now my only option is to use "fileset" to filter these classes
> 1) The scope is changed to "provided" in this case, why the final jar still
> contains protobuf-java classes?
> 2) If the above way is not the right way to handle this case, what should I
> do? Basically, I want hive-jdbc as "compile", but exclude "protobuf-java"
> dependency.
1. Not sure why th
;
> Looks like that is not the case.
>
> Thanks everyone for your suggestions.
>
> Mike
>
> Michael Tarullo
> Contractor (Engility Corp)
> Enterprise Architect
> NSRR System Administrator
> FAA WJH Technical Center
> (609)485-5294
>
>
> -Original Message---
On Mon, Aug 17, 2015 at 9:43 AM, wrote:
> ...
> I think it might be time to see what the vendor of the software I'm trying to
> build has to say!!!
In these cases, it is nearly always a good idea to talk to the vendor
and use the support you are already paying for rather than simply
depending o
Stop fighting with Maven.
Read the Jetspeed documentation:
http://portals.apache.org/jetspeed-2/tutorial/index.html
Wayne
On Mon, Aug 17, 2015 at 7:21 AM, Lalitha Bourishetty
wrote:
> Tried by giving mvn
> :[:]: i.e.,
> mvn
> org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:2.3.0:db.fu
ugin
> 2.3.2
>
> 1.5
> 1.5
>
>
>
>
> regards,
> Lin
>
>
> On Wed, Apr 15, 2015 at 9:04 AM, Wayne Fay wrote:
>
> > Your link is to the m-javadoc-p. You want m-compiler-p as seen here. Look
> > for the "so
Your link is to the m-javadoc-p. You want m-compiler-p as seen here. Look
for the "source" parameter.
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
Wayne
On Sun, Apr 12, 2015 at 1:10 AM, Lin Ma wrote:
> Thanks Dan,
>
> Followed your advice tried mvn -X compile and out
This blog post may be helpful to you:
http://blog.sonatype.com/2009/08/create-a-customized-build-process-in-maven/
If I was in your shoes, I would at least consider this approach.
Wayne
On Wed, Apr 1, 2015 at 4:50 PM, Steve Cohen wrote:
> JK-
>
> After half a day messing around, I am now convi
> What I hoped to accomplish was to put some specific snippets in pom.xml
> or some other place and have maven pick up those snippets and drop them
> in the right place in the generated web.xml.
That plugin is owned and maintained by the Tomcat guys, so feel free
to file an improvement in their bu
> My question is: how do I get the web.xml that maven generates include the
> extra
> directives that I need for the CORS filter to work when the project is
> launched from
> Eclipse or the command line using the tomcat7:run goal?
Not sure if this is possible, but if it is, the documentation is
> n pom of A.B.C i have defined a property as abc where A B C are modules. Now
> i want to access that property in pom of A.D.F module
What does the parent > child > grandchild relationship look like
between these various modules? What you want may not be possible.
Wayne
> How can I get maven to create directories and files with world writeable
> permissions
> when it is downloading or installing to the local ~/.m2 repository ?
Most likely you are attempting to do something that Maven does not
want you to do - the ~/.m2 repo is not designed to be shared. Describe
Perhaps you need to whip something up then? I'm sure it would not be
terribly difficult. All the source code for the md5 checking is open
source, so you just need to pretty it up with a front end.
Even better (from my POV) would be a tool that could be run and take a
directory/path as input, then
> 1. Added jar into maven local repo with command like
> mvn install:install-file -Dfile='C:\ATUReporter_Selenium_testNG_4.6.jar'
> -DgroupId=atu -DartifactId=atu-reporter-selenium-testng -Dversion=4.6
> -Dpackaging=jar
...
> But while running the automation scripts, maven given me error like
>
> E
> so that I can do everything right. What I had been trying to do in the
> meantime
> is having it set up
> so that when we set up a new development station, the user can simply clone
> the
> Github repo that
> has these dependency projects and just do 'mvn install' on each one, then
> build
Ar
Flatten-m-p only touches your pom, not the project. So I think it does not
address your use case.
Wayne
On May 1, 2014 9:40 AM, "Eric Kolotyluk" wrote:
> When I tried using Maven with IBM's Jazz, I had to manually flatten my
> projects because Jazz could not deal with nested projects (modules).
> I am trying to install apache-maven-3.2.1
> http://ftp.unicamp.br/pub/apache/maven/maven-3/3.2.1/source/apache-maven-3.2.1-src.tar.gz
No, you are trying to BUILD Maven 3.2.1. If you simply want to install
it, grab the binaries.
Who's JDK/JVM are you using and what version is it?
Wayne
---
> While this works okay, I would have hoped for a better way to return a value
> from Maven. Is there a return/result parameter of some sort such that I
> don't have to pick the result out of the entire text output of the Maven job
> execution?
The versions-maven-plugin from Codehaus may be helpfu
> monitored by something like Jenkins. I'd want all those bits anyway.
Agreed... but one step at a time. :)
Wayne
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.ap
> However, it would be great to execute "mvn process-classes" automatically
> anytime maven sees there have been source files changed.
This is just not a feature that Maven natively supports. You can get
similar functionality out of your IDE. Or maybe your IDE can use an
"on save" trigger to kick
> the artifact there. If I delete the artifact from my local repository, Maven
> has no trouble downloading the metadata and pom, but for some reason it
> cannot see the dll artifact.
Are you sure it finds the pom? The error below indicates it does not.
> Downloading:
> http://localhost:8081/nexu
> Am I going insane, is this a bug in Maven, or is the documentation wrong?
>
> Is there some other way to escape the filtering?
Generally, this should work. Did you specify the escapeString
configuration [1]? What version of plugins etc are you using?
[1]
http://maven.apache.org/plugins/maven-r
> Is there a chance that instead of managing the dependencies, I will just add
> the USER LIBRARY I have created on Eclipse?
I don't really understand the question. Provide more context and
details in what you are doing vs what you expect. Also be clear if you
are using M2E or command-line Maven a
>> repo unless their are snapshots, right? Well snapshot is not an option
>> right now (due to corporate things).
>
> It is one of Maven's cardinal assumptions that release versions are
> immutable. If you need different contents, use either: A) a different
As Curtis already mentioned, you are unl
> Is it possible running a maven plugin before "Scanning for projects..." ?
Probably not. What is your use case?
Wayne
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@mave
> Thanks for your advise. One more question, the following is our project maven
> structure. There are too many pom exist after deploy. For example, not only
> the ear pom.xml deploy to artifactory, but also the console A pom , the
> console pom and the parent pom. They separate to different direct
> commandline option -X enables debugging for the complete execution, and I
> fear this would create too much output and might fail the build due to
> memory problems... Now, is there a way to change the logger during the build
> to enable debugging just for this one project? (plugins running in pr
> Let me join this thread, because that "someone" is me. As said by Stephen:
> the version handling prior to 2.4 contained several issues, so you were
> relying on a bug.
Reminds me of this classic XKCD... :)
https://xkcd.com/1172/
Wayne
--
Off the top of my head, I could imagine 2 other approaches:
1. set up 2 separate project trees - one that produces the debug
output, and another that depends on the source of the first (use
dependency:unpack), and merely produces the non-debug output
2. if tooling exists to strip debug informatio
> [INFO] Generating project in Batch mode.
> *It hangs here for hours! *
>
> what's going on here? why it hangs?
Hopefully the silence is deafening for you on this one. Your
experience is not typical. Please describe your environment - are you
on a network at work where there are Internet proxies?
> Is there any way to implement incremental build with required dependency
> compilation using Maven?
If you search the mail list archive, Jason van Zyl posted some
information about Incremental Builds just a few days ago.
From: Jason van Zyl
Subject: Incremental build API
Date: Tue, 25 Mar 2014
Google has more information on the par plugin if you look there. From
what I can see, the Apache Maven dev team has nothing to do with this
plugin.
Instead I think you should look at the Codehaus Mojo project, specifically:
http://mojo.codehaus.org/jboss-packaging-maven-plugin/par-mojo.html
I als
> I want some help regarding how to exclude some classes and including
> other classes in one module.
>
> The intuition behind that is we have some mock classes that we want them
> to replace the original classes when the development profile is active.
To me, this seems like something you would h
> mvn clean package
> [ERROR] Error executing Maven.
> [ERROR] 9 problems were encountered while building the effective settings
> [WARNING] Unable to parse element 'port', must be an integer (position:
> END_TAG seen ...\n ... @15:14) caused by:
> java.lang.NumberFormatException: For input st
> central
...
> I am wondering why some artifacts still downloading from other repo, here
...
> How can i stop downloading from other repository?
The mirrorOf value should be an asterisk/star, as I stated before:
>> * which will capture all repo requests, and
Wayne
--
> If it's correct, seems my options are
> 1. configure the threads to just 1, so mycental always the first one to try.
> 2. block all external repositories, just left mycentral.
Generally speaking, I'd expect you should have a for this
"mycentral" defined in settings.xml with a configuration of
*
> I have a war overlay I want to use in my war but need to specify a
> different jar version in my final war or remove some unused jars.
> Shouldn't dependencyManagement work for both of these cases? What's the
> approach to handle these two cases?
To be clear, are you saying that you want to co
> Well, I can find out which are and aren't but they change every release, and
> there will be many eventually. Which the filter using include/excludes would
> be unmanageable when it gets as large as I imagine it will be
Try this experiment for me.
Make 3 jar file with content as follows:
1.jar
> I am still having trouble.
> It certainly should be easy to reproducee no?
> It is a trivial settings.xml and pom.xml and mvn dependency:tree goal
Have you used "mvn -U" lately?
Have you deleted ~/.m2/repository lately? I rarely do this myself, but
occasionally we hear this solves problems for s
> Thanks for the reply, I was curious how would you throw together a filter
> that could handle something like that? I didn't see anything like that on
> their website.
Do you know the name(s) of the files that overlap?
If so, surely a filter that specifies them could be created.
If not, that's th
>> Where did this repo.maven.apache.org url come from?
>
> Wayne, it's a correct URL for the central repository. It's the one we
> define in the super-POM since Maven 3.0.something.
Doh, well ignore that then. I should have done 30 seconds of searching
before sending that one. :)
But just FYI, wh
> I'm not sure where you mean to check that ojdbc6 is listed as a dependency.
> I am trying to convert the project from using MySql to Oracle,
> so I might not have configured everything correctly.
Add -X to the call to Maven (mvn -X ...) and pipe the output to a file
(mvn -X ... > out.txt). Then
> I'm trying to use maven shade to overlay all of my changes to a jar on top of
> another in a manner similar to a jar overlay. However there are some classes
> that overlap in my source files with the jar I wish to overlap. After I
> build, the ones that overlap are replaced by what is in the jar'
> Downloading:
> http://repo.maven.apache.org/maven2/log4j/log4j/maven-metadata.xml
> Downloading: http://repo1.maven.org/maven2/log4j/log4j/maven-metadata.xml
> Downloaded: http://repo1.maven.org/maven2/log4j/log4j/maven-metadata.xml
> (352 B at 0.7 KB/sec)
> Downloaded:
> http://repo.maven.apache
> I have a maven project with many modules, some of them use a maven plugin
> into the goal compile. This plugin is also a module.
Best practice (IMO & IME) is to have the plugin as its own,
independent project. Then depend on the plugin in your other projects.
Wayne
> Understandably
> C:\Users\Eric\.m2\repository\net\kolotyluk\windows\elevate\0.0.1-SNAPSHOT\elevate-0.0.1-SNAPSHOT.exe
> does not show up on the classpath, but is there some way to pass this
> information from Maven to the tests so they can find the executable?
What unit test tool are you using?
> I don't have control over the server so I cannot change the POM.
> Is there a way to have maven ignore the modelVersion is missing error?
Can you not open a ticket/bug somehow to request they fix this file?
Or perhaps find a different repository that hosts the (corrected)
file? Or worst case, se
> What is the complete path in the pom.xml file to this dependency node?
> Use XSLT or post the pom file at pastebin, gist, etc.
Of course I meant, use XPath (syntax)
Wayne
-
To unsubscribe, e-mail: users-unsubscr...@maven.a
> pom.xml
>
> com.oracle
> ojdbc6
> 11.2.0.1
> provided
>
What is the complete path in the pom.xml file to this dependency node?
Use XSLT or post the pom file at pastebin, gist, etc.
Also consider changing the scope just for testin
> In the log, there is a reference to 'no dependency information available',
...
> Verifying availability of
> C:\Users\david.kennedy\.m2\repository\com\oracle\ojdbc6\11.2.0.1\ojdbc6-11.2.0.1.pom
> from [eclipselink (http://download.eclipse.org/rt/eclipselink/maven.repo/,
> releases+snapshots), cen
> I updated the ojdbc6-11.2.0.1.pom file (see below) and the 'invalid'
> message did not appear.
Good.
> Now there is an error running JUnit tests: No suitable driver found for
> oracle:thin:@dataserver.com:1521:dbname
Most likely you are missing a dependency declaration for the ojdbc
driver in
> "The POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid, transitive
> dependencies (if any) will not be available, enable debug logging for more
> details"
Did you enable debug logging with -X to see more details? What does it say?
Wayne
-
> With maven version 3.2.1, in fact same issue since version 3.1.1, I get
> the exception SCHWERWIEGEND: EJB5070: Exception creating stateless session
> bean : [RequirementBeanSL]
> when building the concerned module with tests. Changing back to run the
> same tests with maven version 3.0.5, all t
> When you call this GSOC, are you looking to sponsor a student within
> the Apache Maven project? I don't think that this is viable. If you
> have some other sponsoring organization and an intention to manage it
> elsewhere, then I wish you luck but I have no standing to object.
Benson, scroll ba
> I still cannot understand why those three jars are copied there. Two of
> them they are not in the dependency tree at all, so the war should not need
> them, and the other one (seam) is a depedency of other 4 artifacts, which
> means that is also referenced from ouside the war so it should be on
p proxy.somewhere.com 8080
> proxyuser somepassword
> www.google.com|*.somewhere.com
> . .
>
>
> So if I want to use SOCKS5, I have to use socks5. Is
> that right?
>
>
>
>
> Regards,
> Mahmood
>
>
>
> On Friday, February 28, 2014 10:37 PM, Wayne
Yes, and this is well documented on the Maven site.
Search with Google, Yahoo, Bing, etc with the following terms:
maven proxy configure
Wayne
On Fri, Feb 28, 2014 at 12:46 PM, Mahmood Naderan wrote:
> Hi
>
> I run "mvn install" to build YCSB. In the middle of the compilation, it
> connects to
> to be signed using the same certificate. Although the
> webstart-maven-plugin can take care of the signing, there are so many
> jar files that it takes quite a long time to sign them all every time I
> build.
Why are you doing this "every time you build"? This seems like the
kind of thing that s
> At first, I define two maven java doc plugin inside the reporting tag and
> used to generate
> different type of javadoc, one for standard javadoc and for customize one.
FYI: I don't use much of the reporting functionality in Maven, just the basics.
> Later, I want to move those two javadoc pl
> It's because my code depends some other modules which I didn't put it into
> pom.xml explicitly. And I'm adding them into the corresponding pom.xml.
> Thank you for directing me back to the right track!
Glad you sorted that out! :)
> However, I'm curious that I succeed to compile the project af
> is a problem. We excluded zookeeper from netflix-curator and hadoop, but
> not from hbase. So when we use all 3 artifacts we receive zookeeper from
> hbase, but when use only netflix-curator and hadoop we can lost needed
> artifacts.
You should have a direct dependency on zookeeper if you are us
documents the behaviour in the FAQ
> with a tip that a not-yet-indexed artifact can be proactively retrieved
> by entering its Group Id, Artifact Id & Version.
>
> That way we all save time.
>
> All the best,
> DaveLaw
>
>
> On 16.02.2014 21:52, Wayne Fay wrote:
>>
>> thanks once again! The only person to supply useful information.
...
>> Over 6 days old!!
...
>> So that means maven central took over 6 days to index this content.
>> That is quite incredible!
...
>> This is in my opinion a bug, or at least a fundamental design error.
> Also before completel
> I've written a Windows batch file to invoke Maven to build the project
> before I choose Jenkins as my daily build system. And at that time I got
> the same Maven error as I described in this thread.
Maven calls out to your system JDK to do the compilation step. With
the [ERROR] lines you provid
> i see, that some of the files are installing to the local repository and
> some not. The files that i need are installed to the repository, but there
> is also a file that should not be installed. My question is how maven
Can you be more specific about "the file that should not be
installed"? Wh
> I have a lot of profiles in my module pom. The difference between them is
> only target URL.
>
> Is there any possibility to make one profile with parameters which will be
> taken from file or any other solution to make one profile instead of many.
Tell us more about what you are building. Why d
Just add another submodule.
Make it depend on the "last" submodule (eg you had A, B, C before -
make this D, and depend on C, assumes C depends on B which depends on
A).
Add the plugin to D.
Wayne
On Thu, Feb 13, 2014 at 7:04 AM, DenisDasKind wrote:
> Hi Everybody, in my project i have a pom, th
> This may fall into the “How the hell is Maven supposed to know?” category,
Yes, it most certainly does.
> [WARNING]
> org.springframework.security:spring-security-taglibs:jar:3.1.1.RELEASE:compile
...
> Anyway, not sure if the plugin can be configured to detect these kind of
> things, but a guy
>> > Should I better specify the exact dependencies and investigate some
>> > more work in POM maintainance? What would this gain me?
>>
>> You answered your own question, congrats! :)
>
> Well, if I got you right, you mean it won't gain me anything. Right?
I made no such statement. I was simply a
> Should I better specify the exact dependencies and investigate some more
> work in POM maintainance? What would this gain me?
You answered your own question, congrats! :)
Wayne
-
To unsubscribe, e-mail: users-unsubscr...@maven
> I added the maven-assembly-plugin as described here:
> http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
> and now the dependencies are bundled within the jar. Thanks for your help
This is a fine approach. I still maintain the exec plugin
> *Failed to load Main-Class manifest attribute from target/myApp.jar*
>
> I opened the manifest and the *Main-Class* attribute was entered as
> *mainClass.* So I changed it to the former and that got rid of that error.
> But now I *still *get the original error.
You should specify the fully qual
> When I try to /run /it in the form of *java -cp
> target/my-app-1.0-SNAPSHOT.jar com.mycompany.app.App* I get this:
> *java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory*
>
> How come this dependency fails at this late stage?
This line says "run Java with the classpath being my-app.jar and
>- outputDirectory, indicates where the generation happens? or the war is
>generated in project.build.directory and then copied to the indicated
>directory.
Best way to know for sure is to simply give it a try on a dev machine.
Wayne
--
1 - 100 of 5016 matches
Mail list logo