Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0B0E3200C82 for ; Sat, 13 May 2017 07:40:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 09968160BC8; Sat, 13 May 2017 05:40:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4FB62160BB8 for ; Sat, 13 May 2017 07:40:08 +0200 (CEST) Received: (qmail 76867 invoked by uid 500); 13 May 2017 05:40:07 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 76858 invoked by uid 99); 13 May 2017 05:40:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 May 2017 05:40:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 006851A025A for ; Sat, 13 May 2017 05:40:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qhxDRtIp0GFI for ; Sat, 13 May 2017 05:40:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6E5E05F4EE for ; Sat, 13 May 2017 05:40:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A1639E0665 for ; Sat, 13 May 2017 05:40:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1FCF2242F5 for ; Sat, 13 May 2017 05:40:04 +0000 (UTC) Date: Sat, 13 May 2017 05:40:04 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (BEAM-2280) Examples archetypes build fail when upgrading MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 13 May 2017 05:40:09 -0000 [ https://issues.apache.org/jira/browse/BEAM-2280?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 resolved BEAM-2280. ---------------------------------------- Resolution: Duplicate Fix Version/s: Not applicable > Examples archetypes build fail when upgrading > --------------------------------------------- > > Key: BEAM-2280 > URL: https://issues.apache.org/jira/browse/BEAM-2280 > Project: Beam > Issue Type: Bug > Components: examples-java > Reporter: Pei He > Assignee: Pei He > Priority: Minor > Fix For: Not applicable > > > WriteWindowedFilesDoFn.java is removed in 2.0.0, but exists in previous v= ersions. > However, maven-archetypes/examples/generate-sources.sh only rsync existin= g files, and won't remove the leftover WriteWindowedFilesDoFn.java. > So, if users have built the module in 0.6.0, after upgrading the built wi= ll fail unless WriteWindowedFilesDoFn.java is removed manually. > LOG > [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-comp= iler-plugin:3.5.1:compile (default-compile) on project basic: Compilation f= ailure: Compilation failure: > [INFO] [ERROR] /Users/peihe/github/beam/sdks/java/maven-archetypes/exampl= es-java8/target/test-classes/projects/basic/project/basic/src/main/java/it/= pkg/common/WriteWindowedFilesDoFn.java:[28,32] cannot find symbol > [INFO] [ERROR] symbol: class IOChannelFactory > [INFO] [ERROR] location: package org.apache.beam.sdk.util > [INFO] [ERROR] /Users/peihe/github/beam/sdks/java/maven-archetypes/exampl= es-java8/target/test-classes/projects/basic/project/basic/src/main/java/it/= pkg/common/WriteWindowedFilesDoFn.java:[29,32] cannot find symbol > [INFO] [ERROR] symbol: class IOChannelUtils > [INFO] [ERROR] location: package org.apache.beam.sdk.util > [INFO] [ERROR] -> [Help 1] > [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to = execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (= default-compile) on project basic: Compilation failure -- This message was sent by Atlassian JIRA (v6.3.15#6346)