Re: Blacklisting during Dependency Location

2013-10-23 Thread Russell Gold
Hi Robert, In all of the repositories I've seen, you never had to login to see dependencies. They were always publicly readable; logging in was always just to control who could upload. I suspect that your repository is misconfigured. - Russ On Oct 23, 2013, at 12:57 AM, Robert Kuropkat

Re: Blacklisting during Dependency Location

2013-10-23 Thread Stephen Connolly
Our corporate internal repo needs a login for read access, and we have no issues when people use the settings.xml that I tell them to use! On 23 October 2013 13:19, Russell Gold r...@gold-family.us wrote: Hi Robert, In all of the repositories I've seen, you never had to login to see

Maven - slf4j noclassdeffound error

2013-10-23 Thread Seenu
I am using intellij and maven, I have used the following pom.xml : project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd;

Re: Maven - slf4j noclassdeffound error

2013-10-23 Thread Kevin Krumwiede
I don't see any reference to slf4j in your pom or your code. Are you sure you posted the right thing? On 10/23/13, Seenu gunrockse...@gmail.com wrote: I am using intellij and maven, I have used the following pom.xml : project xmlns=http://maven.apache.org/POM/4.0.0;

Re: Maven - slf4j noclassdeffound error

2013-10-23 Thread Thomas Broyer
None of the transitive dependencies of spark are in the classpath. It generally happens if the POM is invalid. What does mvn dependency:tree says? Is there any error/warning in IDEA? Le 23 oct. 2013 14:28, Seenu gunrockse...@gmail.com a écrit : I am using intellij and maven, I have used the

Re: Blacklisting during Dependency Location

2013-10-23 Thread Robert Kuropkat
So it is even weirder than I thought. I cleared the .m2 cache and typed mvn compile install, then mvn site and it worked! Then I typed mvn site again and it failed (blacklisted to repo). That doesn't even make sense to me. If I clear the m2 cache and do a mvn install again, it

Re: Blacklisting during Dependency Location

2013-10-23 Thread Ziga GREGORIC
Hi Robert, long time ago, I had similar issue. Try adding this snipplet to your pom.xml The version of the plugin might not be the latest, but it worked for me (back then): reporting plugins plugin artifactIdmaven-project-info-reports-plugin/artifactId

Re: Blacklisting during Dependency Location

2013-10-23 Thread Robert Kuropkat
The problem with this is this tag 'dependencyLocationsEnabled' tag being set to false. This is the most common solution people post but it works through the simple exedient of disabling the feature. I might try putting this in minus that tag though. Perhaps explicitly stating the version

Re: Blacklisting during Dependency Location

2013-10-23 Thread Robert Kuropkat
I would love to hear/see details. Any chance of posting a scrubbed settings.xml and sample pom? Right now, the only consistent way I can make 'mvn site' is to clear the cache first which is pretty much a non-starter. Robert Kuropkat On 10/23/2013 08:23 AM, Stephen Connolly wrote: Our

mvn-eclipse-plugin problem with pde projects and linked resources

2013-10-23 Thread Jennifer Vendetti
Hello, I just took over the maintenance of several OSGi bundles. I added the mvn-eclipse-plugin to the POM files for each of the bundles because I'd like to generate the necessary Eclipse project files to work with the source code and use the OSGi Framework launcher in the Eclipse IDE:

Re: mvn-eclipse-plugin problem with pde projects and linked resources

2013-10-23 Thread Alejandro . Endo
I use pde + maven-bundle-plugin + osgi framework launcher but i don't use mvn-eclipse-plugin. You should be using m2e, which works completely different than m-eclipse-p. Just do a final eclipse:clean and forget about that plugin. Then make sure that your eclipse has m2e (comes by default with

Re: mvn-eclipse-plugin problem with pde projects and linked resources

2013-10-23 Thread Jennifer Vendetti
Hello Alejandro, Thank you very much for the reply, but there is something I don't understand. I'm using Eclipse Kepler, which has m2e. I tried what you suggested. Importing as existing Maven projects works very well, with all dependencies detected and no compilation errors. However,

Re: mvn-eclipse-plugin problem with pde projects and linked resources

2013-10-23 Thread Alejandro . Endo
it all depends if you are going the maven bundle plugin route (which is POM-centric and the manifest is auto generated) or manifest first, where the manifest is generated by hand (eclipse tooling helps with this though) and the pom is also generated by hand but it has a much smaller role (to

Maven shade plugin: Retaining origin file timestamps

2013-10-23 Thread Kranthi Kumar
Hello, I am currently using maven shade plugin to package a project jar that would contain some java libraries as well as some clojure libraries. After some investigation into load time performance issue, I found that maven shade plugin default behaviour is to re-write or create the files, which

maven-assembly-plugin binaries usage

2013-10-23 Thread Frédéric THOMAS
Hi, I was trying to use the moduleSets/binaries to get all my Flex Modules and their runtime locales packed. It works fine launch from the parent module but not from the parent's parent module: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (make-assembly) on

Maven - slf4j noclassdeffound issue

2013-10-23 Thread Seenu
I am using intellij and maven, I have used the following pom.xml : project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd;

Re: Maven - slf4j noclassdeffound issue

2013-10-23 Thread Russell Gold
Hi Seenu, What does the source code look like for spark.route.RouteMatcherFactory? - Russ On Oct 23, 2013, at 7:52 AM, Seenu gunrockse...@gmail.com wrote: I am using intellij and maven, I have used the following pom.xml : project xmlns=http://maven.apache.org/POM/4.0.0;

Re: Maven shade plugin: Retaining origin file timestamps

2013-10-23 Thread Wayne Fay
compile it on the fly. For example, if a.clj and a corresponding a.class is present with equal timestamps then clojure would think that a.clj is newer and would compile it. This is causing all the clojure files to be compiled again and thus causing jar load time to increase. Perhaps just

Re: mvn-eclipse-plugin problem with pde projects and linked resources

2013-10-23 Thread Barrie Treloar
Oddly, the bundles run fine outside of the Eclipse environment. My first few attempts at using the OSGi Framework launcher has left me with a slew of ClassNotFoundException errors at runtime. Will need to investigate this further. Thanks for your help in getting me this far along. Please

Re: Maven - slf4j noclassdeffound error

2013-10-23 Thread Seenu
It is referenced by spark core I can see slf4j-API getting pulled by the project in IntelliJ I also tried including the dependency in the Pom.xml. The noclassdeffound is still showing. Sent from my iPhone On Oct 23, 2013, at 10:22 AM, Kevin Krumwiede kjk...@gmail.com wrote: I don't see

Re: Maven - slf4j noclassdeffound error

2013-10-23 Thread gunrock seenu
I tried this pom.xml, that did not help either its just seems to be missing something . project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;

Re: Maven - slf4j noclassdeffound error

2013-10-23 Thread gunrock seenu
Also here is the source I see for RouteMatchFactory /* * Copyright 2011- Per Wendel * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * *

Re: Maven - slf4j noclassdeffound error

2013-10-23 Thread gunrock seenu
~/M101J$ mvn dependency:tree [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building M101J 1.0-SNAPSHOT [INFO] [INFO] [INFO] ---

Re: Maven - slf4j noclassdeffound error

2013-10-23 Thread gunrock seenu
~/M101J$ mvn --version Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.7.0_40, vendor: Oracle Corporation Java home: /usr/lib/jvm/jdk1.7.0_40/jre Default locale: en_US, platform encoding: UTF-8 OS name: linux, version: 3.8.0-31-generic, arch: amd64, family: unix strange thing I