Re: Maven newbie: Marry maven classloaders and jars-in-jar artifact?

2016-02-24 Thread Wayne Fay
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"

Re: running tests in parallel

2016-02-24 Thread Wayne Fay
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

Re: Weird error

2015-11-18 Thread Wayne Fay
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

Re: Maven stops building class files after Enum file added to project.

2015-11-09 Thread Wayne Fay
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

Re: Copying resources from another .jar with assembly to build a deb?

2015-11-05 Thread Wayne Fay
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

Re: Add third party jars from the file system to final executable jar without adding the third party jars in local maven repo

2015-10-26 Thread Wayne Fay
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

Re: Setting Up Internal Repositories

2015-10-16 Thread Wayne Fay
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

Re: Best way to lock in .jar versions between releases.

2015-10-13 Thread Wayne Fay
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

Re: Cause: the class org.apache.tools.ant.taskdefs.optional.ssh.Scp was not found

2015-10-12 Thread Wayne Fay
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

Re: War file name and sftp to server

2015-10-09 Thread Wayne Fay
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

Re: Maven and Vaadin to build war correct

2015-10-08 Thread Wayne Fay
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

Re: Copy-dependencies goal error

2015-10-06 Thread Wayne Fay
me 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 Administrator > F

Re: Copy-dependencies goal error

2015-10-06 Thread Wayne Fay
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

Re: Copy-dependencies goal error

2015-10-05 Thread Wayne Fay
fferent? > > That'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- &g

Re: Copy-dependencies goal error

2015-10-04 Thread 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,

Re: How to run junit test suite class but still see individual test class progress information on stdout?

2015-09-24 Thread Wayne Fay
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

Re: [EXTERNAL] Re: POM file downloaded by Maven different than what was deployed.

2015-09-23 Thread Wayne Fay
embly suggests 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 >> >

Re: POM file downloaded by Maven different than what was deployed.

2015-09-23 Thread Wayne Fay
> 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

Re: Maven ear,jar and war packaging

2015-09-13 Thread Wayne Fay
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,

Re: AUTO: Warren Cook is out of the office (returning 09/14/2015)

2015-09-11 Thread Wayne Fay
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

Re: maven jar versus ant jar

2015-09-01 Thread Wayne Fay
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

Re: maven jar versus ant jar

2015-09-01 Thread Wayne Fay
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

Re: What does the TODO refering to a "jarjar" format in the maven-assembly-plugin jar-with-dependencies example mean?

2015-09-01 Thread Wayne Fay
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

Re: package com.aspose.cells does not exist

2015-08-26 Thread Wayne Fay
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 hector.magna...@sap.com wrote: Can anyone point me to where to get the dependency for aspose-cells-7.3.1.jar ? I can't find a

Re: dependency error

2015-08-24 Thread Wayne Fay
Click the url. urlhttp://maven.aspose.com/artifactory/simple/ext-release-local//url 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 hector.magna...@sap.com wrote: Can someone help me with this error

Re: error when using log4j dependency

2015-08-24 Thread Wayne Fay
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

Re: Why Maven included provided scope dependency in the final jar-with-dependency

2015-08-19 Thread Wayne Fay
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 that is

Re: Why Maven included provided scope dependency in the final jar-with-dependency

2015-08-19 Thread Wayne Fay
Ben, I had not even considered that option. Good one! Cheers. Wayne On Wed, Aug 19, 2015 at 3:22 PM, java8964 java8...@hotmail.com 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

Re: Jetspeed 2.3

2015-08-17 Thread Wayne Fay
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 lalitha.bourishe...@oracle.com wrote: Tried by giving mvn

Re: Specified destination directory cannot be created

2015-08-17 Thread Wayne Fay
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- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Monday, August 17

Re: Specified destination directory cannot be created

2015-08-17 Thread Wayne Fay
On Mon, Aug 17, 2015 at 9:43 AM, michael.ctr.taru...@faa.gov 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

Re: for maven-compiler-plugin

2015-04-15 Thread Wayne Fay
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 lin...@gmail.com wrote: Thanks Dan, Followed your advice tried mvn -X

Re: for maven-compiler-plugin

2015-04-15 Thread Wayne Fay
version2.3.2/version configuration source1.5/source target1.5/target /configuration /plugin regards, Lin On Wed, Apr 15, 2015 at 9:04 AM, Wayne Fay wayne...@gmail.com wrote: Your link is to the m-javadoc-p. You want m-compiler-p as seen here. Look

Re: Can Maven be used in an nmake environment with VPATH?

2015-04-01 Thread Wayne Fay
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 stevec...@comcast.net wrote: JK- After half a day messing

Re: Custom configuration for tomcat7:run goal

2014-09-03 Thread Wayne Fay
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 bug

Re: Custom configuration for tomcat7:run goal

2014-09-02 Thread Wayne Fay
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 a

Re: how to access properties defined in other module pom in maven multimodule project

2014-08-28 Thread Wayne Fay
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

Re: local repository permissions

2014-08-06 Thread Wayne Fay
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

Re: MD5 checksum validation tool [Windows]?

2014-08-05 Thread Wayne Fay
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

Re: Strange error while using Maven

2014-06-25 Thread Wayne Fay
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 ERROR]

Re: Unmanaged dependency question

2014-05-31 Thread Wayne Fay
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 Arguably

Re: [ANN] flatten-maven-plugin 1.0.0-beta-1 Released

2014-05-01 Thread Wayne Fay
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 eric.koloty...@gmail.com wrote: When I tried using Maven with IBM's Jazz, I had to manually flatten my projects because Jazz could not deal with nested

Re: BUILD FAILED - apache-maven-3.2.1

2014-04-22 Thread Wayne Fay
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

Re: Better way to capture output from a Maven job

2014-04-11 Thread Wayne Fay
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 helpful -

Re: Hot deployment using jetty 8 and maven

2014-04-10 Thread Wayne Fay
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 Maven

Re: Hot deployment using jetty 8 and maven

2014-04-10 Thread Wayne Fay
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:

Re: Maven cannot see my DLL artifact

2014-04-07 Thread Wayne Fay
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:

Re: USER LIBRARIES

2014-04-04 Thread Wayne Fay
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 as

Re: Maven Filtering

2014-04-04 Thread Wayne Fay
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]

Re: Scanning for Projects... before

2014-04-02 Thread Wayne Fay
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:

Re: Scanning for Projects... before

2014-04-02 Thread Wayne Fay
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 unlikely

Re: Debugging output only for a subproject in a reactor run

2014-03-31 Thread Wayne Fay
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 pre

Re: skip deploy maven parent pom to artifactory

2014-03-31 Thread Wayne Fay
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

Re: maven release-plugin 2.5 bug - releasing snapshots...

2014-03-28 Thread Wayne Fay
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

Re: Why is mvn archetype:generate so low?

2014-03-27 Thread Wayne Fay
[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? If

Re: More on releasing artifacts with and without debug info

2014-03-27 Thread Wayne Fay
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

Re: Incremental Build ?

2014-03-26 Thread Wayne Fay
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 jason@... Subject: Incremental build API Date: Tue, 25

Re: The par packaging not working

2014-03-20 Thread Wayne Fay
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

Re: excluding classes and including classes in maven

2014-03-19 Thread Wayne Fay
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

Re: Install Problem on Mac OS

2014-03-17 Thread Wayne Fay
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 ...password/\n port/... @15:14) caused by: java.lang.NumberFormatException: For

Re: Maven 3.1.1 dependency downloading issues

2014-03-12 Thread Wayne Fay
mirrorOfcentral/mirrorOf ... 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: mirrorOf*/mirrorOf which will capture all

Re: How to exclude jar from war overlay

2014-03-11 Thread Wayne Fay
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

Re: Maven 3.1.1 dependency downloading issues

2014-03-11 Thread Wayne Fay
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 mirror for this mycentral defined in settings.xml with a configuration of

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-10 Thread Wayne Fay
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

Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-10 Thread Wayne Fay
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, when I

Re: Maven-shade-plugin Class Overlap

2014-03-10 Thread Wayne Fay
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 the

Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-10 Thread Wayne Fay
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 some

Re: Maven-shade-plugin Class Overlap

2014-03-10 Thread Wayne Fay
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

Re: Best way for packaging maven plugin

2014-03-09 Thread Wayne Fay
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

Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-09 Thread Wayne Fay
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:

Re: Maven-shade-plugin Class Overlap

2014-03-09 Thread Wayne Fay
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's

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
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

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
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), central

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
pom.xml dependency groupIdcom.oracle/groupId artifactIdojdbc6/artifactId version11.2.0.1/version scopeprovided/scope /dependency What is the complete path in the pom.xml file to this dependency node? Use XSLT or post the pom

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
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:

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
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, set

Re: Maven Dependency on exe

2014-03-08 Thread Wayne Fay
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

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-06 Thread Wayne Fay
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

Re: Could not create staless EJB whith maven 3.2.1 but working fine with version 3.0.5

2014-03-05 Thread Wayne Fay
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 tests

Re: Google Summer of Code - Java opportunity, mentors needed

2014-03-04 Thread Wayne Fay
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 back

Re: Maven copies 3 jars in lib folder (skinny war) for no reason

2014-03-03 Thread Wayne Fay
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 the

Re: Using a proxy server during mvn install

2014-02-28 Thread Wayne Fay
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 nt_mahm...@yahoo.com wrote: Hi I run mvn install to build YCSB. In the middle of the compilation,

Re: Using a proxy server during mvn install

2014-02-28 Thread Wayne Fay
On Friday, February 28, 2014 10:37 PM, Wayne Fay wayne...@gmail.com wrote: 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 nt_mahm

Re: Can I generate pre-signed 3rd party artifacts?

2014-02-27 Thread Wayne Fay
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 should

Re: Rule for maven plugin inheritance

2014-02-24 Thread Wayne Fay
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 plug

Re: Why does Maven fail to compile my project occasionally?

2014-02-20 Thread Wayne Fay
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 after

Re: Solution for handeling many conflicts in maven dependencies.

2014-02-19 Thread Wayne Fay
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 using

Re: Why does Maven fail to compile my project occasionally?

2014-02-16 Thread Wayne Fay
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 provided

Re: Looking for org.apache.poi 3.10-FINAL

2014-02-16 Thread Wayne Fay
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 completely blaming

Re: Looking for org.apache.poi 3.10-FINAL

2014-02-16 Thread Wayne Fay
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

Re: Prevent installing archives to local repository

2014-02-14 Thread Wayne Fay
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? What

Re: Why is dependency:analyze lying to me?

2014-02-13 Thread Wayne Fay
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 can

Re: Maven parent POM - execute plugin after the submodule execution

2014-02-13 Thread Wayne Fay
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 blto...@abv.bg wrote: Hi Everybody, in my project i

Re: How to minimize quantity of profiles in pom.xml file

2014-02-13 Thread Wayne Fay
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 do

Re: Best practices for Java EE 7 dependencies

2014-02-11 Thread Wayne Fay
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 agreeing

Re: Best practices for Java EE 7 dependencies

2014-02-07 Thread Wayne Fay
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:

Re: Build is successful but can't run?

2014-02-06 Thread Wayne Fay
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 is

Re: Build is successful but can't run?

2014-02-05 Thread Wayne Fay
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 use

Re: Build is successful but can't run?

2014-02-05 Thread Wayne Fay
*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

Re: Maven antrun: pass maven properties to ant

2014-02-04 Thread Wayne Fay
- 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   2   3   4   5   6   7   8   9   10   >