Try changing the maven-bundle-plugin version to 2.4.0. Or try building the latest svn trunk.
On 1 May 2014 12:12, Gary Gregory <[email protected]> wrote: > What about mvn package? > > Gary > > <div>-------- Original message --------</div><div>From: > [email protected] </div><div>Date:05/01/2014 12:08 (GMT-05:00) > </div><div>To: [email protected] </div><div>Subject: RE: More > maven build problems for log4j </div><div> > </div>Dell - Internal Use - Confidential > No custom ~/.m2/settings.xml file that I know of > > Build results=====================================> > > C:\Software\log4j2source\apache-log4j-2.0-rc1-src>mvn install > [INFO] Scanning for projects... > Downloading: > https://repository.apache.org/content/repositories/releases/org/apache/felix/maven-bundle-plugin/2.3.7/maven-bundle-plugin-2 > Downloading: > http://repo.maven.apache.org/maven2/org/apache/felix/maven-bundle-plugin/2.3.7/maven-bundle-plugin-2.3.7.pom > [ERROR] The build could not read 7 projects -> [Help 1] > [ERROR] > [ERROR] The project > org.apache.logging.log4j.osgi:log4j-core-osgi-async:2.0-rc1 > (C:\Software\log4j2source\apache-log4j-2.0-rc1-src\log4 > [ERROR] Unresolveable build extension: Plugin > org.apache.felix:maven-bundle-plugin:2.3.7 or one of its dependencies could > not be reso > gin:jar:2.3.7: Could not transfer artifact > org.apache.felix:maven-bundle-plugin:pom:2.3.7 from/to apache ( > https://repository.apache.org/c > ry.apache.org/140.211.11.74] failed: Connection timed out: connect -> > [Help 2] > [ERROR] Unknown packaging: bundle @ line 28, column 14 > [ERROR] > [ERROR] The project > org.apache.logging.log4j.osgi:log4j-core-osgi-jpa:2.0-rc1 > (C:\Software\log4j2source\apache-log4j-2.0-rc1-src\log4j- > [ERROR] Unresolveable build extension: Plugin > org.apache.felix:maven-bundle-plugin:2.3.7 or one of its dependencies could > not be reso > gin:jar:2.3.7: Could not transfer artifact > org.apache.felix:maven-bundle-plugin:pom:2.3.7 from/to apache ( > https://repository.apache.org/c > ry.apache.org/140.211.11.74] failed: Connection timed out: connect -> > [Help 2] > [ERROR] Unknown packaging: bundle @ line 28, column 14 > [ERROR] > [ERROR] The project > org.apache.logging.log4j.osgi:log4j-1.2-osgi-api:2.0-rc1 > (C:\Software\log4j2source\apache-log4j-2.0-rc1-src\log4j-o > [ERROR] Unresolveable build extension: Plugin > org.apache.felix:maven-bundle-plugin:2.3.7 or one of its dependencies could > not be reso > gin:jar:2.3.7: Could not transfer artifact > org.apache.felix:maven-bundle-plugin:pom:2.3.7 from/to apache ( > https://repository.apache.org/c > ry.apache.org/140.211.11.74] failed: Connection timed out: connect -> > [Help 2] > [ERROR] Unknown packaging: bundle @ line 28, column 14 > [ERROR] > [ERROR] The project > org.apache.logging.log4j.osgi:log4j-core-osgi-net:2.0-rc1 > (C:\Software\log4j2source\apache-log4j-2.0-rc1-src\log4j- > [ERROR] Unresolveable build extension: Plugin > org.apache.felix:maven-bundle-plugin:2.3.7 or one of its dependencies could > not be reso > gin:jar:2.3.7: Could not transfer artifact > org.apache.felix:maven-bundle-plugin:pom:2.3.7 from/to apache ( > https://repository.apache.org/c > ry.apache.org/140.211.11.74] failed: Connection timed out: connect -> > [Help 2] > [ERROR] Unknown packaging: bundle @ line 28, column 14 > [ERROR] > [ERROR] The project > org.apache.logging.log4j.osgi:log4j-core-osgi-nosql-couchdb:2.0-rc1 > (C:\Software\log4j2source\apache-log4j-2.0-rc1- > [ERROR] Unresolveable build extension: Plugin > org.apache.felix:maven-bundle-plugin:2.3.7 or one of its dependencies could > not be reso > gin:jar:2.3.7: Could not transfer artifact > org.apache.felix:maven-bundle-plugin:pom:2.3.7 from/to apache ( > https://repository.apache.org/c > ry.apache.org/140.211.11.74] failed: Connection timed out: connect -> > [Help 2] > [ERROR] Unknown packaging: bundle @ line 28, column 14 > [ERROR] > [ERROR] The project > org.apache.logging.log4j.osgi:log4j-core-osgi-nosql-mongodb:2.0-rc1 > (C:\Software\log4j2source\apache-log4j-2.0-rc1- > [ERROR] Unresolveable build extension: Plugin > org.apache.felix:maven-bundle-plugin:2.3.7 or one of its dependencies could > not be reso > gin:jar:2.3.7: Could not transfer artifact > org.apache.felix:maven-bundle-plugin:pom:2.3.7 from/to apache ( > https://repository.apache.org/c > ry.apache.org/140.211.11.74] failed: Connection timed out: connect -> > [Help 2] > [ERROR] Unknown packaging: bundle @ line 28, column 14 > [ERROR] > [ERROR] The project > org.apache.logging.log4j.osgi:log4j-core-osgi-reduced:2.0-rc1 > (C:\Software\log4j2source\apache-log4j-2.0-rc1-src\lo > [ERROR] Unresolveable build extension: Plugin > org.apache.felix:maven-bundle-plugin:2.3.7 or one of its dependencies could > not be reso > gin:jar:2.3.7: Could not transfer artifact > org.apache.felix:maven-bundle-plugin:pom:2.3.7 from/to apache ( > https://repository.apache.org/c > ry.apache.org/140.211.11.74] failed: Connection timed out: connect -> > [Help 2] > [ERROR] Unknown packaging: bundle @ line 28, column 14 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException > C:\Software\log4j2source\apache-log4j-2.0-rc1-src> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > From: Matt Sicker [mailto:[email protected]] > Sent: Thursday, May 01, 2014 9:57 AM > To: Log4J Users List > Subject: Re: More maven build problems for log4j > > You couldn't build log4j 2.0? What version of Maven are you using? Are you > using a custom ~/.m2/settings.xml file? > > > On 1 May 2014 08:47, wrote: > > > Dell - Internal Use - Confidential > > Could not build clean target for 1.2.17, could not build install > > target for 2.0. In each case maven libraries could not be found. > > > > Thanks > > > > wALTER > > > > > > > -- > Matt Sicker > -- Matt Sicker <[email protected]>
