On Mon, Jan 28, 2013 at 4:23 PM, Ralph Goers <[email protected]>wrote:
> There is also http://people.apache.org/~rgoers/log4j2/build.html. If you > feel that needs more information please feel free to update > src/site/xdoc/build.xml.vm. > Done. Thank you for the pointer. Gary > > Note that the page above says you can use Maven 2 or 3 but I haven't used > Maven 2 on Log4j 2 in quite a while so I don't know if that still works. > > Ralph > > > On Jan 28, 2013, at 12:54 PM, Gary Gregory wrote: > > On Mon, Jan 28, 2013 at 3:28 PM, Ralph Goers > <[email protected]>wrote: > >> Hmmm. I always do a "mvn clean install" before running "mvn site". I'm >> not really sure why it wouldn't find the jar though since it was just built >> in the previous sub project. >> >> > OK, thank you. I added a BUILDING.txt in the root of the project to > collect of this knowledge. I'd like to make it easier for contributors. > > Gary > > >> Ralph >> >> >> >> On Jan 28, 2013, at 12:20 PM, Gary Gregory wrote: >> >> I downloaded the tag and I have I seem to forget the proper way to build >> because "mvn clean site" give me the error below. >> >> We need a BUILDING.txt next to the release notes IMO. >> >> [INFO] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building flume-remote 2.0-beta4 >> [INFO] >> ------------------------------------------------------------------------ >> Downloading: >> http://repo.maven.apache.org/maven2/org/apache/logging/log4j/samples/flume-common/2.0-beta4/flume-common-2.0-beta4.jar >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Apache Log4j 2 .................................... SUCCESS >> [2:17.801s] >> [INFO] Apache Log4j API .................................. SUCCESS >> [2:29.411s] >> [INFO] Apache Log4J Core ................................. SUCCESS >> [3:53.132s] >> [INFO] Apache Log4j 1.x Compatibility API ................ SUCCESS >> [43.326s] >> [INFO] Apache Log4j SLF4J Binding ........................ SUCCESS >> [30.576s] >> [INFO] Apache Log4j to SLF4J Adapter ..................... SUCCESS >> [31.481s] >> [INFO] Apache Log4j Commons Logging Bridge ............... SUCCESS >> [25.551s] >> [INFO] Apache Log4j Flume NG Bridge ...................... SUCCESS >> [3:27.877s] >> [INFO] Log4j Web Adapters ................................ SUCCESS >> [27.948s] >> [INFO] log4j-samples ..................................... SUCCESS >> [0.830s] >> [INFO] flume-common ...................................... SUCCESS >> [0.878s] >> [INFO] flume-remote ...................................... FAILURE >> [1.118s] >> [INFO] flume-embedded .................................... SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 14:51.044s >> [INFO] Finished at: Mon Jan 28 12:29:12 EST 2013 >> [INFO] Final Memory: 114M/269M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal on project flume-remote: Could not resolve >> dependencies for project >> org.apache.logging.log4j.samples:flume-remote:war:2.0-beta4: Could not find >> artifact org.apache.logging.log4j.samples:flume-common: >> jar:2.0-beta4 in central (http://repo.maven.apache.org/maven2) -> [Help >> 1] >> [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/DependencyResolutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :flume-remote >> >> >> On Mon, Jan 28, 2013 at 2:45 PM, Christian Grobmeier <[email protected] >> > wrote: >> >>> +1 >>> >>> looks good, thanks again! >>> >>> On Mon, Jan 28, 2013 at 4:14 PM, Ralph Goers <[email protected]> >>> wrote: >>> > This is a vote to release Log4j 2.0-beta4, the sixth release of Log4j >>> 2.0. >>> > >>> > Changes since the last release candidate include: >>> > 1. Change Flume embedded tests to use the memory channel instead of >>> the file >>> > channel. >>> > 2. LOG4J2-156: LocalizedMessageTest fails on linux system. Thanks to >>> > Andreas Born. >>> > >>> > >>> > Changes in this version include: >>> > >>> > New features: >>> > o Added Log4j 2 to SLF4J adapter. >>> > o LOG4J2-131: Add SMTPAppender. Thanks to Scott Severtson. >>> > o Added hostName and contextName to property map. >>> > o Add MessageFormatMessage and FormattedMessage. >>> > o LOG4J2-134: Use %red, %white, %blue, and so on in the console >>> appender. >>> > o LOG4J2-133: Allow custom message creation via a message factory. >>> > o Added Flume Appender samples. >>> > >>> > Fixed Bugs: >>> > o LOG4J2-156: LocalizedMessageTest fails on linux system. Thanks to >>> Andreas >>> > Born. >>> > o LOG4J2-152: RollingFileAppender's FileRenameAction was throwing a >>> > NullPointerException if no directory was specified >>> > on the target file name. Thanks to Remko Popma. >>> > o LOG4J2-150: Convert all System.getProperty calls to use >>> PropertiesUtil to >>> > suppress SecurityExceptions. >>> > o LOG4J2-147: ThreadContextMapFilter was matching on the key instead >>> of the >>> > value of the key. Thanks to William Burns. >>> > o Allow FlumeAvroManager to initialize even if it cannot connect to an >>> > agent. >>> > o LOG4J2-149: SMTPAppender will only cache filtered events. Thanks to >>> Scott >>> > Severtson. >>> > o LOG4J2-145: Add missing serial version IDs. >>> > o LOG4J2-144: NullPointerException in RFC5424Layout. >>> > o LOG4J2-143: MessagePatternConverter now returns "null" if the log >>> message >>> > is null. >>> > o LOG4J2-142: Serialized LogEvents were not reset in the output stream >>> > causing them to deserialize incorrectly. >>> > o LOG4J2-139: Fix null pointer exception in SocketAppender if no >>> protocol >>> > is specified. The protocol will default >>> > to TCP for the SocketAppender and UDP for the SyslogAppender. >>> > o LOG4J2-140: Typo in documentation of SocketAppender. Thanks to Joern >>> > Huxhorn. >>> > o LOG4J2-137: Fix hang in Dumbster SMTP test server. >>> > o LOG4J2-130: PatternLayout should format throwables without >>> requiring a >>> > converter. >>> > o LOG4J2-135: BaseConfiguration does not close the first appender. >>> Thanks >>> > to Ingo Feltes. >>> > o LOG4J2-132: AbstractLogger.catching(Throwable) checks for DEBUG >>> level but >>> > logs at ERROR level. >>> > o LOG4J2-129: RoutingAppender was only creating a single appender for >>> the >>> > default Route. >>> > o LOG4J2-126: Allow JMS appenders to recover if the queue or topic is >>> > unavailable. >>> > o LOG4J2-127: AbstractLogger methods were not passing Markers to the >>> > isEnabled methods. >>> > o LOG4J2-125: JMSQueue and JMSTopic Appenders did not allow name to be >>> > specified. >>> > o LOG4J2-111: Enhanced javadoc copyright statement. >>> > o LOG4J2-120: TCPSocketManager would fail if the initial connection >>> could >>> > not be established. >>> > o LOG4J2-119: A broken socket connection would cause the >>> TCPSocketManager >>> > to continuously reconnect. >>> > o LOG4J2-123: The example for ThreadContextMapFilter was incorrect. >>> Thanks >>> > to Olivier Lamy. >>> > o LOG4J2-116: File renaming was using the wrong date value. Enhanced >>> > DefaultRolloverStrategy to store newest files in >>> > highest index as well as lowest. >>> > o LOG4J2-115: ThreadContext Map elements with null values are now >>> ignored >>> > when constructing a Flume event and in the >>> > RFC5424 Layout. >>> > o LOG4J2-113: StructuredDataFilter createFilter was annotated with >>> > PluginAttr instead of PluginElement for the >>> > KeyValuePairs. >>> > o LOG4J2-114: StructuredDataMessage was validating the length of the >>> values >>> > in the event Map instead of the lengths >>> > of the keys. Thanks to Arkin Yetis. >>> > >>> > Changes: >>> > o LOG4J2-136: Allow newlines to be escaped in Syslog and RFC5424 >>> layouts. >>> > Allow Throwables to be included in >>> > the output from RFC5424Layout. Thanks to Scott Severtson. >>> > o LOG4J2-128: Add follow attribute to Console Appender. >>> > o LOG4J2-122: Add unit test to verify exceptions are thrown when the >>> socket >>> > connection fails. >>> > o LOG4J2-110: Renamed log4j12-api to log4j-1.2-api. >>> > >>> > Please test and cast your votes. >>> > [] +1, release the artifacts >>> > [] -1, don't release because⦠>>> > >>> > The vote will remain open for 72 hours (or more if required). >>> > >>> > Tag: >>> > >>> https://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0-beta4/ >>> > >>> > >>> > Web Site: >>> > http://people.apache.org/~rgoers/log4j2/ >>> > >>> > Artifacts: >>> > >>> https://repository.apache.org/content/repositories/orgapachelogging-182/ >>> > >>> > >>> > The artifacts may be downloaded using >>> > >>> > wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate >>> > >>> https://repository.apache.org/content/repositories/orgapachelogging-182/org/apache/logging/log4j/ >>> > >>> > Description: >>> > >>> > 2.0-beta4-rc2 >>> > >>> > Details: >>> > >>> > The following artifacts have been staged to the org.apache.logging-182 >>> > (u:rgoers, a:99.180.69.21) repository. >>> > >>> > archetype-catalog.xml >>> > flume-remote-2.0-beta4-sources.jar >>> > flume-remote-2.0-beta4.pom >>> > flume-remote-2.0-beta4.war >>> > flume-remote-2.0-beta4.war.asc >>> > flume-remote-2.0-beta4.pom.asc >>> > flume-remote-2.0-beta4-sources.jar.asc >>> > flume-common-2.0-beta4.jar >>> > flume-common-2.0-beta4.jar.asc >>> > flume-common-2.0-beta4.pom >>> > flume-common-2.0-beta4.pom.asc >>> > flume-common-2.0-beta4-sources.jar >>> > flume-common-2.0-beta4-javadoc.jar >>> > flume-common-2.0-beta4-sources.jar.asc >>> > flume-common-2.0-beta4-javadoc.jar.asc >>> > flume-embedded-2.0-beta4-sources.jar >>> > flume-embedded-2.0-beta4.pom.asc >>> > flume-embedded-2.0-beta4.war >>> > flume-embedded-2.0-beta4.war.asc >>> > flume-embedded-2.0-beta4-sources.jar.asc >>> > flume-embedded-2.0-beta4.pom >>> > log4j-samples-2.0-beta4.pom.asc >>> > log4j-samples-2.0-beta4.pom >>> > log4j-web-2.0-beta4-sources.jar >>> > log4j-web-2.0-beta4-javadoc.jar >>> > log4j-web-2.0-beta4.jar.asc >>> > log4j-web-2.0-beta4.pom >>> > log4j-web-2.0-beta4-javadoc.jar.asc >>> > log4j-web-2.0-beta4.jar >>> > log4j-web-2.0-beta4-sources.jar.asc >>> > log4j-web-2.0-beta4.pom.asc >>> > log4j-slf4j-impl-2.0-beta4-javadoc.jar >>> > log4j-slf4j-impl-2.0-beta4-sources.jar >>> > log4j-slf4j-impl-2.0-beta4.pom.asc >>> > log4j-slf4j-impl-2.0-beta4.pom >>> > log4j-slf4j-impl-2.0-beta4-sources.jar.asc >>> > log4j-slf4j-impl-2.0-beta4-javadoc.jar.asc >>> > log4j-slf4j-impl-2.0-beta4.jar.asc >>> > log4j-slf4j-impl-2.0-beta4.jar >>> > log4j-jcl-2.0-beta4.pom.asc >>> > log4j-jcl-2.0-beta4.jar >>> > log4j-jcl-2.0-beta4-sources.jar.asc >>> > log4j-jcl-2.0-beta4-sources.jar >>> > log4j-jcl-2.0-beta4.jar.asc >>> > log4j-jcl-2.0-beta4-javadoc.jar.asc >>> > log4j-jcl-2.0-beta4-javadoc.jar >>> > log4j-jcl-2.0-beta4.pom >>> > log4j-1.2-api-2.0-beta4.pom >>> > log4j-1.2-api-2.0-beta4.pom.asc >>> > log4j-1.2-api-2.0-beta4.jar >>> > log4j-1.2-api-2.0-beta4-javadoc.jar >>> > log4j-1.2-api-2.0-beta4.jar.asc >>> > log4j-1.2-api-2.0-beta4-javadoc.jar.asc >>> > log4j-1.2-api-2.0-beta4-sources.jar >>> > log4j-1.2-api-2.0-beta4-sources.jar.asc >>> > log4j-flume-ng-2.0-beta4-tests.jar >>> > log4j-flume-ng-2.0-beta4-sources.jar >>> > log4j-flume-ng-2.0-beta4.pom.asc >>> > log4j-flume-ng-2.0-beta4-javadoc.jar >>> > log4j-flume-ng-2.0-beta4-tests.jar.asc >>> > log4j-flume-ng-2.0-beta4-javadoc.jar.asc >>> > log4j-flume-ng-2.0-beta4.jar >>> > log4j-flume-ng-2.0-beta4.jar.asc >>> > log4j-flume-ng-2.0-beta4-sources.jar.asc >>> > log4j-flume-ng-2.0-beta4.pom >>> > log4j-to-slf4j-2.0-beta4.pom.asc >>> > log4j-to-slf4j-2.0-beta4-javadoc.jar.asc >>> > log4j-to-slf4j-2.0-beta4.jar.asc >>> > log4j-to-slf4j-2.0-beta4.pom >>> > log4j-to-slf4j-2.0-beta4-sources.jar.asc >>> > log4j-to-slf4j-2.0-beta4-javadoc.jar >>> > log4j-to-slf4j-2.0-beta4-sources.jar >>> > log4j-to-slf4j-2.0-beta4.jar >>> > log4j-distribution-2.0-beta4-bin.zip.asc >>> > log4j-distribution-2.0-beta4-src.zip >>> > log4j-distribution-2.0-beta4-bin.tar.gz >>> > log4j-distribution-2.0-beta4-src.zip.asc >>> > log4j-distribution-2.0-beta4-bin.tar.gz.asc >>> > log4j-distribution-2.0-beta4.pom >>> > log4j-distribution-2.0-beta4-src.tar.gz.asc >>> > log4j-distribution-2.0-beta4-bin.zip >>> > log4j-distribution-2.0-beta4.pom.asc >>> > log4j-distribution-2.0-beta4-src.tar.gz >>> > log4j-api-2.0-beta4-sources.jar.asc >>> > log4j-api-2.0-beta4-javadoc.jar.asc >>> > log4j-api-2.0-beta4-sources.jar >>> > log4j-api-2.0-beta4.jar.asc >>> > log4j-api-2.0-beta4-javadoc.jar >>> > log4j-api-2.0-beta4.jar >>> > log4j-api-2.0-beta4.pom.asc >>> > log4j-api-2.0-beta4.pom >>> > log4j-core-2.0-beta4.jar >>> > log4j-core-2.0-beta4-sources.jar >>> > log4j-core-2.0-beta4-tests.jar.asc >>> > log4j-core-2.0-beta4.jar.asc >>> > log4j-core-2.0-beta4-sources.jar.asc >>> > log4j-core-2.0-beta4-tests.jar >>> > log4j-core-2.0-beta4.pom.asc >>> > log4j-core-2.0-beta4-javadoc.jar >>> > log4j-core-2.0-beta4-javadoc.jar.asc >>> > log4j-core-2.0-beta4.pom >>> > log4j-2.0-beta4.pom >>> > log4j-2.0-beta4.pom.asc >>> > >>> >>> >>> >>> -- >>> http://www.grobmeier.de >>> https://www.timeandbill.de >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> E-Mail: [email protected] | [email protected] >> JUnit in Action, 2nd Ed: <http://goog_1249600977/>http://bit.ly/ECvg0 >> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >> >> >> > > > -- > E-Mail: [email protected] | [email protected] > JUnit in Action, 2nd Ed: <http://goog_1249600977/>http://bit.ly/ECvg0 > Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > > > -- E-Mail: [email protected] | [email protected] JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
