From users-return-143837-archive-asf-public=cust-asf.ponee.io@maven.apache.org Mon Feb 4 13:58:55 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 480EC180651 for ; Mon, 4 Feb 2019 14:58:54 +0100 (CET) Received: (qmail 36727 invoked by uid 500); 4 Feb 2019 13:58:48 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 36705 invoked by uid 99); 4 Feb 2019 13:58:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2019 13:58:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D48F1183C9A for ; Mon, 4 Feb 2019 13:58:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.05 X-Spam-Level: ** X-Spam-Status: No, score=2.05 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=bellsouth.net Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Aeffm7E-jX1j for ; Mon, 4 Feb 2019 13:58:45 +0000 (UTC) Received: from sonic317-37.consmr.mail.ne1.yahoo.com (sonic317-37.consmr.mail.ne1.yahoo.com [66.163.184.48]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 97A2B61318 for ; Mon, 4 Feb 2019 13:48:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s2048; t=1549288106; bh=CGY4RrSgsGur2/PmT5o3WKo/yV6GVKUwThP58HR0VDo=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=YyOp055gprPVrkY3lfMogZwI8uENM5RWQ8PSBBf+9QFgejp+6vImyOdIvUIDGzx7eGB5pEy449gkFfRxSW/7d+dkXCsEhvYKK9Fexe9p67Q+ST36tRBSs66MtW07MDZszTF3+Q6tQyNQFOGNLoqi5abhMtR5kQbeIi0Nc/MPNG37vL6yfzNikwqdmw8saMccnhfVtftU3n/wwE2gcOCg8Rc490mwkAvyXGclQ9vQqpS90KSKJ1Fieua+O+0y58YdkBZ3rwrTjYbCz/a7GQB7sDNUDKD7qdv+rmguiJRWezfmS9+S8p8TDly4hLfX2KNJdalO0ltWgmqQcr1/SULETQ== X-YMail-OSG: VJsh2M8VM1nc9dZVn7JQeRZX7X4hzuQ4Cv.VeiBNZSELV7XeIYW_5RvHY6ycYD3 zS51yfc099bDnH3gevs6KoY5bq3X38ujXkczfW4TPGbuvgAqxnequNFWZmmXIymjgcBTc_De8OmI BmKV__HUfZ6p0Lb8_5OU2zkUXkNuMGq4FI842RpraFVH9HazIdwScc9eOOVHZXLSUBt6m4KNUiV5 0uMA0MFyxAG60weE5x.gjPjKjP8nt1aK0dzrOdiePh6Cxf3C9rrb8hh6Pmr4E8ZcvRT20Gqb4P1z y0JSgbNg6iotOPuGacXn.o9S1BDl0tU8tuYLS6FA.LJLfqSK88NNKWVffkeVzgQfQVyoIJ.jeVtB yjYIFR6Hb8OaYAWrmzpE23oLz9GWClEaZRGQK6FBmi.No6sHMFMKQAj_HoHOLREuDnHwaqKrfNg0 r5LK3OqZSLU.vf9qU5mn9jrdZ_xogl0CexTgYYb4Suvi4ffJt2cs4LvpAm5t8BcoJLKQ_tPaThdT qEz95ciY6Qm3XlQV345F3n21y.ngWXceYCvy0eW5ZCkR_2TMDWslMI9_ogpP9DNTqLTdmkDdiv27 5QMaOBCyO05onRmQhr1H8ltiOyva4V1QXgX2rf1AV0GuxKuFysLoVbmhIN7_kdhQFfWTOMcHR.88 p2FqTc0t4XZPqT63eMO547uMA0sS8WQqgGHmp0h0MSYPmXHAFgxJWsr_X5hgk4_6eEGZsC4pgey8 9yH3v7cib_.d3FRhuGeb3U23_QCceR24B169ZAe2GVXC6AGfaX7155ykBFxuOsZT_kPGsboL0eqw sFPDDCWs4pHGNEkXBIYFlr1myDXm7bltXNo1DSZGwz3yQz1FqfrMUhQF0hoi1JEqJRaBzoq8emqs PLNPB0QASCNF.sxUf5GLTBcZZCrPaSdKBkA9TRZPKYs.rJOaQsS9EQBN6UoxaJ7QV4J7S5ox3B_L 99qUvSXL_MVGBscXNQIcQTXNCgoTGmYhH2wvFsU2U5RzsG8TqpOTKQJf1ET1ioJe7gSYYBKeLExN TeerqQtXw_QAjTsfqpWkUrGbNrKT27rE_xgFGWTZo1IiK.az3j8hoo00- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Mon, 4 Feb 2019 13:48:26 +0000 Received: from 162-230-29-192.lightspeed.tukrga.sbcglobal.net (EHLO [192.168.0.102]) ([162.230.29.192]) by smtp423.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 2c35dad1f8c7ea9927deb6108bfc06ac for ; Mon, 04 Feb 2019 13:48:24 +0000 (UTC) Subject: Re: Confusion with Dependency Paths To: users@maven.apache.org References: <54c21835-080e-e854-63bb-a1e35d1efe27@bellsouth.net> From: Dennis Putnam Openpgp: preference=signencrypt Autocrypt: addr=dap1@bellsouth.net; prefer-encrypt=m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XpMgs7AAICB/95 AiJ9EDojDAaCCLfKc/nO58mpQiqpJ4Mecs5viPfhjzuqzE8TVegLA4jWjrsun2eE/M357NJA mZvvGeRsunHfxeq9JZ8R/yYTC4/trW19trU77LE61If51O0MRIh+wODfjZPxrZN5cQ/3l/as hZrZMD3jHo2rvzA2Oq1LQyqZWRIaD42vor6SOJj//81bEIb3N3uCh5EEpXT+EzXTgGF7Wrng oNVmehu92wtV5h8IoHfzcODwcXEk6C7d9nVqW6TNSfJM7/GBSvbxTSQTK/7fn/5QphDIf7V+ +Et0Xe6gA/sUA9Fd8m1MQUs1KJnuOWjw5qQ3sCwyL6eG7qVtFNoOwkYEGBECAAYFAj7uAhwA CgkQ/fiWYqZ2tVTabgCfUed1hVCTMDNx0+WS0NDgrYZpQ00AoOjRozaRTJcR8Fmp8ehnmx1O XGif Message-ID: <3b2d81e8-95d7-e2a6-3078-66be857f0c0a@bellsouth.net> Date: Mon, 4 Feb 2019 08:48:23 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Jt7dt64wxgd4SonCFzdYry5QsRm8blL5C" --Jt7dt64wxgd4SonCFzdYry5QsRm8blL5C Content-Type: multipart/mixed; boundary="KSuIUAiAiV1x2pE0kbVEoYSaWZI86OF2p"; protected-headers="v1" From: Dennis Putnam To: users@maven.apache.org Message-ID: <3b2d81e8-95d7-e2a6-3078-66be857f0c0a@bellsouth.net> Subject: Re: Confusion with Dependency Paths References: <54c21835-080e-e854-63bb-a1e35d1efe27@bellsouth.net> In-Reply-To: --KSuIUAiAiV1x2pE0kbVEoYSaWZI86OF2p Content-Type: multipart/alternative; boundary="------------55ED27C1E9D30F986E37F3D9" Content-Language: en-US This is a multi-part message in MIME format. --------------55ED27C1E9D30F986E37F3D9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Marco, Thanks for the reply. Here is my pom.xml: 4.0.0 KCBSEvents KCBSEvents 0.0.1-SNAPSHOT src src **/*.java maven-compiler-plugin 3.7.0 1.7 1.7 commons-io commons-io 2.5 org.apache.httpcomponents httpclient 4.5.6 org.apache.httpcomponents httpcore 4.4.10 commons-codec commons-codec 1.10 commons-logging commons-logging 1.2 I'm not sure what you mean by the exact error as the part I didn't post was just the source info. FWIW, here is the exact error: =A0[javac] /usr/build/src/KCBSEvents/Helpers.java:36: error: package org.apache.commons.io does not exist =A0=A0=A0 [javac] import org.apache.commons.io.IOUtils; =A0=A0=A0 [javac]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 ^ I don't think I know what the DependencyManagement section is. I have , isn't that the correct section? On 2/3/2019 1:59 PM, Marco Schulz wrote: > Hi Dennis > > I suppose you use a simple Maven Project configuration. May you added t= he Dependency manually. Whitout seeing the exact error in the cmd and you= r pom I guess you added the dependency in the DependencyManagement sectio= n. You need to use the Dependencies section. > > regards > .marco > > Get Outlook for Android > > ________________________________ > From: Dennis Putnam > Sent: Sunday, February 3, 2019 7:51:20 PM > To: users@maven.apache.org > Subject: Confusion with Dependency Paths > > I have a Maven project that was created using Eclipse. The application > is working fine but I am having a problem compiling with 'javac'. I'm > getting the following compile error: > > error: package org.apache.commons.io does not exist > > However, the build path contains: > > ../repository/commons-io/commons-io/2.5 > > When I added the dependency I specified: > > GroupID: commons-io > Artifact: commons-io > Version: 2.5 > > That is what is reflected in the pom.xml. I am guessing there is > something wrong with the path but I do not understand where > org.apache.commons-io comes from in the error message. Doesn't that mea= n > the pom.xml dependency would have to be: > > GroupID:org.apache.commons-io > Artifact: commons-io > Version: 2.5 > > Which it isn't and means a different path then the above and the > explains the error. When I look at the build path in Eclipse the path i= s > correct. Can someone explain what is going on and how to debug/fix it? = TIA. > > --------------55ED27C1E9D30F986E37F3D9 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi Marco,

Thanks for the reply. Here is my pom.xml:

<project xmlns=3D"http://maven.apache.org/POM/4.0.0" xmlns:xsi=3D"http:/=
/www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=3D"http://maven.apache.org/POM/4.0.0 h=
ttp://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>KCBSEvents</groupId>
  <artifactId>KCBSEvents</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <build>
    <sourceDirectory>src</sourceDirectory>
    <resources>
      <resource>
        <directory>src</directory>
        <excludes>
          <exclude>**/*.java</exclude>
        </excludes>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.7.0</version>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
   <dependencies>
  	<dependency>
  		<groupId>commons-io</groupId>
  		<artifactId>commons-io</artifactId>
  		<version>2.5</version>
  	</dependency>
  	<dependency>
  		<groupId>org.apache.httpcomponents</groupId>
  		<artifactId>httpclient</artifactId>
  		<version>4.5.6</version>
  	</dependency>
  	<dependency>
  		<groupId>org.apache.httpcomponents</groupId>
  		<artifactId>httpcore</artifactId>
  		<version>4.4.10</version>
  	</dependency>
  	<dependency>
  		<groupId>commons-codec</groupId>
  		<artifactId>commons-codec</artifactId>
  		<version>1.10</version>
  	</dependency>
  	<dependency>
  		<groupId>commons-logging</groupId>
  		<artifactId>commons-logging</artifactId>
  		<version>1.2</version>
  	</dependency>
   </dependencies>
</project>

I'm not sure what you mean by the exact error as the part I didn't post was just the source info. FWIW, here is the exact error:

=A0[javac] /usr/build/src/KCBSEvents/Helpers.java:36: error: packag= e org.apache.commons.io does not exist
=A0=A0=A0 [javac] import org.apache.commons.io.IOUtils;
=A0=A0=A0 [javac]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ^

I don't think I know what =
the DependencyManagement section is. I have <dependencies>, isn't t=
hat the correct section?

On 2/3/2019 1:59 PM, Marco Schulz wrote:
Hi Dennis

I suppose you use a simple Maven Project configuration. May you added the=
 Dependency manually. Whitout seeing the exact error in the cmd and your =
pom I guess you added the dependency in the DependencyManagement section.=
 You need to use the Dependencies section.

regards
=2Emarco

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Dennis Putnam <dap1@bellsouth.net>
Sent: Sunday, February 3, 2019 7:51:20 PM
To: users@maven.apache.org
Subject: Confusion with Dependency Paths

I have a Maven project that was created using Eclipse. The application
is working fine but I am having a problem compiling with 'javac'. I'm
getting the following compile error:

 error: package org.apache.commons.io does not exist

However, the build path contains:

=2E./repository/commons-io/commons-io/2.5

When I added the dependency I specified:

GroupID: commons-io
Artifact: commons-io
Version: 2.5

That is what is reflected in the pom.xml. I am guessing there is
something wrong with the path but I do not understand where
org.apache.commons-io comes from in the error message. Doesn't that mean
the pom.xml dependency would have to be:

GroupID:org.apache.commons-io
Artifact: commons-io
Version: 2.5

Which it isn't and means a different path then the above and the
explains the error. When I look at the build path in Eclipse the path is
correct. Can someone explain what is going on and how to debug/fix it? TI=
A.



--------------55ED27C1E9D30F986E37F3D9-- --KSuIUAiAiV1x2pE0kbVEoYSaWZI86OF2p-- --Jt7dt64wxgd4SonCFzdYry5QsRm8blL5C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) iEYEARECAAYFAlxYQqcACgkQ/fiWYqZ2tVSVfQCgkwguWkj84SDV42DD4sLetlPM L5UAoJYaWV3O8HLS0Y4P5Ye3qkfZqOgP =byam -----END PGP SIGNATURE----- --Jt7dt64wxgd4SonCFzdYry5QsRm8blL5C--