Re: Unable to resolve dependencies for synapse-extensions when building
Hi all, > Yes Isuru I ran a mvn install -Dmaven.test.skip=true > Will try a clean install. > Tried this and it worked! First ran a mvn clean install and then a mvn install without tests. Appreciate the prompt response. On Tue, Dec 28, 2021 at 11:33 AM Nuwan Jayawardene wrote: > Yes Isuru I ran a mvn install -Dmaven.test.skip=true > Will try a clean install. > > > > > On Tue, Dec 28, 2021 at 12:02 AM Isuru Udana wrote: > >> Hi Nuwan, >> >> Are you building with tests? If not can you please try build with tests? >> >> On Mon, 27 Dec 2021, 10:10 Nuwan Jayawardene, wrote: >> >>> Hi all, >>> I was recently building Synapse on a fresh machine and ran into the >>> following error midway through; >>> >>> [ERROR] Failed to execute goal on project synapse-extensions: Could not >>> resolve dependencies for project >>> org.apache.synapse:synapse-extensions:bundle:3.0.2-SNAPSHOT: Could not find >>> artifact org.apache.synapse:synapse-core:jar:tests:3.0.2-SNAPSHOT in >>> apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1] >>> >>> A screenshot is also attached herewith; >>> [image: image.png] >>> >>> Assuming it was an issue with my Java install or due to version >>> incompatibility in the new machine I decided to wipe the .m2 repo of an >>> older machine (where the build was successful thus far) and start a fresh >>> build. >>> This build too was met with the exact same error. >>> >>> Both machine environments have *Java SE 1.8.0_141* and *Maven 3.6.3 * >>> >>> Would greatly appreciate some thoughts on this. >>> Kind regards >>> >>> -- >>> *Nuwan Jayawardene* >>> Assistant Lecturer, Informatics Institute of Technology (IIT). >>> Research Assistant, University of Moratuwa >>> >>> https://www.linkedin.com/m/in/nuwanjaya >>> >>> >>> > > -- > *Nuwan Jayawardene* > Assistant Lecturer, Informatics Institute of Technology (IIT). > Research Assistant, University of Moratuwa > > https://www.linkedin.com/m/in/nuwanjaya > > -- *Nuwan Jayawardene* Assistant Lecturer, Informatics Institute of Technology (IIT). Research Assistant, University of Moratuwa https://www.linkedin.com/m/in/nuwanjaya
Re: Unable to resolve dependencies for synapse-extensions when building
Yes Isuru I ran a mvn install -Dmaven.test.skip=true Will try a clean install. On Tue, Dec 28, 2021 at 12:02 AM Isuru Udana wrote: > Hi Nuwan, > > Are you building with tests? If not can you please try build with tests? > > On Mon, 27 Dec 2021, 10:10 Nuwan Jayawardene, wrote: > >> Hi all, >> I was recently building Synapse on a fresh machine and ran into the >> following error midway through; >> >> [ERROR] Failed to execute goal on project synapse-extensions: Could not >> resolve dependencies for project >> org.apache.synapse:synapse-extensions:bundle:3.0.2-SNAPSHOT: Could not find >> artifact org.apache.synapse:synapse-core:jar:tests:3.0.2-SNAPSHOT in >> apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1] >> >> A screenshot is also attached herewith; >> [image: image.png] >> >> Assuming it was an issue with my Java install or due to version >> incompatibility in the new machine I decided to wipe the .m2 repo of an >> older machine (where the build was successful thus far) and start a fresh >> build. >> This build too was met with the exact same error. >> >> Both machine environments have *Java SE 1.8.0_141* and *Maven 3.6.3 * >> >> Would greatly appreciate some thoughts on this. >> Kind regards >> >> -- >> *Nuwan Jayawardene* >> Assistant Lecturer, Informatics Institute of Technology (IIT). >> Research Assistant, University of Moratuwa >> >> https://www.linkedin.com/m/in/nuwanjaya >> >> >> -- *Nuwan Jayawardene* Assistant Lecturer, Informatics Institute of Technology (IIT). Research Assistant, University of Moratuwa https://www.linkedin.com/m/in/nuwanjaya
Re: Unable to resolve dependencies for synapse-extensions when building
Hi Nuwan, Are you building with tests? If not can you please try build with tests? On Mon, 27 Dec 2021, 10:10 Nuwan Jayawardene, wrote: > Hi all, > I was recently building Synapse on a fresh machine and ran into the > following error midway through; > > [ERROR] Failed to execute goal on project synapse-extensions: Could not > resolve dependencies for project > org.apache.synapse:synapse-extensions:bundle:3.0.2-SNAPSHOT: Could not find > artifact org.apache.synapse:synapse-core:jar:tests:3.0.2-SNAPSHOT in > apache.snapshots (https://repository.apache.org/snapshots) -> [Help 1] > > A screenshot is also attached herewith; > [image: image.png] > > Assuming it was an issue with my Java install or due to version > incompatibility in the new machine I decided to wipe the .m2 repo of an > older machine (where the build was successful thus far) and start a fresh > build. > This build too was met with the exact same error. > > Both machine environments have *Java SE 1.8.0_141* and *Maven 3.6.3 * > > Would greatly appreciate some thoughts on this. > Kind regards > > -- > *Nuwan Jayawardene* > Assistant Lecturer, Informatics Institute of Technology (IIT). > Research Assistant, University of Moratuwa > > https://www.linkedin.com/m/in/nuwanjaya > > >