Seems to me that your example is on a super old version of the code. Since your original version was 3.1.3-SNAPSHOT and there was some refactoring along the way, try using 3.1.3 as the version number.
On Fri, Jun 30, 2017 at 6:16 PM, Nesrine Hamdani <[email protected]> wrote: > hi, > i remove the -SNAPSHOT part, it's ok now but i have this errors > > ClassUtil cannot be resolved SimplePublish.java > The import org.apache.juddi.ClassUtil cannot be resolved > The method getUDDIClerkManager(null) is undefined for the type > UDDIClientContainer > > i lunch maven clean , maven build maven install , i add jar in build path > class util.jar , i use command lin mvn .. it build success. > > but the errors stay how can you do now? > > > 2017-06-30 2:30 GMT+01:00 Alex O'Ree <[email protected]>: >> >> remove the -SNAPSHOT part >> >> On Thu, Jun 29, 2017 at 9:37 AM, Nesrine Hamdani >> <[email protected]> wrote: >> > hi, >> > i change 3.1.3 SNAPSHOT with 3.3.4 it displays the same errors. i use >> > juddi >> > 3.3.4 the lastest >> > >> > in pom file >> > <dependency> >> > <groupId>org.apache.juddi</groupId> >> > <artifactId>uddi-ws</artifactId> >> > <version>3.3.4-SNAPSHOT</version> >> > </dependency> >> > <dependency> >> > <groupId>org.apache.juddi</groupId> >> > <artifactId>juddi-core</artifactId> >> > <version>3.3.4-SNAPSHOT</version> >> > </dependency> >> > <dependency> >> > <groupId>org.apache.juddi</groupId> >> > <artifactId>juddi-client</artifactId> >> > <version>3.3.4-SNAPSHOT</version> >> > </dependency> >> > >> > dependendency and juddi are inderline and errors: >> > Description Resource Path Location Type >> > Cannot read lifecycle mapping metadata for artifact >> > org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.7:runtime >> > Cause: >> > error in opening zip file pom.xml /simple-publish line 1 Maven Project >> > Build >> > Lifecycle Mapping Problem >> > Missing artifact org.apache.juddi:juddi-client:jar:3.3.4-SNAPSHOT >> > pom.xml >> > /simple-publish line 31 Maven Dependency Problem >> > Missing artifact org.apache.juddi:juddi-core:jar:3.3.4-SNAPSHOT pom.xml >> > /simple-publish line 26 Maven Dependency Problem >> > Missing artifact org.apache.juddi:uddi-ws:jar:3.3.4-SNAPSHOT pom.xml >> > /simple-publish line 21 Maven Dependency Problem >> > >> > >> > >> > >> > >> > 2017-06-29 0:13 GMT+01:00 Alex O'Ree <[email protected]>: >> >> >> >> Well that's unexpected. What version of jUDDI are you using? I suspect >> >> that the build process on our end may not have updated the pom and is >> >> still pointing at the snapshot version. >> >> >> >> For a quick fix, try editing the pom file of the simple-publish and >> >> replace 3.1.3-SNAPSHOT with 3.3.4 (which is the latest) >> >> >> >> On Wed, Jun 28, 2017 at 6:03 PM, Nesrine Hamdani >> >> <[email protected]> wrote: >> >> > hi, i'm trying to run simple-publish , i want to use maven to this >> >> > case >> >> > so >> >> > when i do the command >> >> >>mvn -Pdemo test >> >> > it displays: >> >> > >> >> > >> >> > [ERROR] Failed to execute goal on project simple-publish: Could not >> >> > resolve >> >> > depe >> >> > ndencies for project >> >> > org.apache.juddi:simple-publish:jar:3.1.3-SNAPSHOT: >> >> > The >> >> > fol >> >> > lowing artifacts could not be resolved: >> >> > org.apache.juddi:uddi-ws:jar:3.1.3-SNAPS >> >> > HOT, org.apache.juddi:juddi-core:jar:3.1.3-SNAPSHOT, >> >> > org.apache.juddi:juddi-clie >> >> > nt:jar:3.1.3-SNAPSHOT, >> >> > org.apache.juddi:simple-publish:jar:3.1.3-SNAPSHOT: >> >> > Could >> >> > not find artifact org.apache.juddi:uddi-ws:jar:3.1.3-SNAPSHOT -> >> >> > >> >> > i try to use IDE eclips but i couldnt run the projet in pom.xml it >> >> > was >> >> > errors: >> >> > >> >> > Description Resource Path Location Type >> >> > Cannot read lifecycle mapping metadata for artifact >> >> > org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.7:runtime >> >> > Cause: >> >> > error in opening zip file pom.xml /simple-publish1 line 1 Maven >> >> > Project >> >> > Build Lifecycle Mapping Problem >> >> > Missing artifact org.apache.juddi:juddi-client:jar:3.1.3-SNAPSHOT >> >> > pom.xml >> >> > /simple-publish1 line 63 Maven Dependency Problem >> >> > Missing artifact org.apache.juddi:juddi-core:jar:3.1.3-SNAPSHOT >> >> > pom.xml >> >> > /simple-publish1 line 58 Maven Dependency Problem >> >> > Missing artifact org.apache.juddi:simple-publish:jar:3.1.3-SNAPSHOT >> >> > pom.xml >> >> > /simple-publish1 line 68 Maven Dependency Problem >> >> > Missing artifact org.apache.juddi:uddi-ws:jar:3.1.3-SNAPSHOT pom.xml >> >> > /simple-publish1 line 53 Maven Dependency Problem >> >> > >> >> > thank you for your help >> >> > >> > >> > > >
