Re: Why does Maven install try to download resources it is supposed to be installing?
Hi Kevin, OK, I see... when you're doing a "mvn clean install", having downloaded the isis-1.15.0-source-release.zip and building in core directory. Yeah, so short answer is I'm not sure either, is kinda odd. Perhaps it's because the parent pom.xml (in core) references all those modules in its section. If you start with an empty ~/.m2/repository/org/apache/isis, and then interrupt the build after all the downloads, then you'll see that all that is created in ~/.m2/repository/org/apache/isis subdirectories are timestamp files, eg core/isis-core-applib/1.15.0/isis-core-applib-1.15.0.jar.lastUpdated which just records which remote repositories were checked for the artifact, and when. But no artifact is actually downloaded, so they all get built locally. It would be better though if the verify instructions said to build using the mvn clean install -o, ie with the offline flag. I'll update them accordingly. Thx Dan On Tue, 8 Aug 2017 at 17:04 Kevin Meyer wrote: > Hi Dan, > > I'm in the isis-1.15.0 directory, doing a "mvn clean install" > > Sure, in the archetype projects, I could expect this behaviour... > > Cheers, > Kevin > > > On Tue, August 8, 2017 17:54, Dan Haywood wrote: > > Hi Kevin, > > What command are you running, and in which directory? > > In the release-1.15.0-RC1 branch the example applications > > (example/application/hello world etc) will have a reference to 1.15.0, > but > > I doubt you're trying to build them? > > Cheers, > > Dan. > > > > > > On Tue, 8 Aug 2017, 16:40 Kevin Meyer, wrote: > > > > > >> Hi, > >> > >> > >> I'm in the process of checking the latest release candidate and I > >> notice again that Maven is trying to download many resources that it is > >> supposed to be building... > >> > >> For example, the target, isis-core-viewer-wicket-applib-1.15.0.jar, is > >> being looked for in several repos, shown below. > >> > >> Is this how dumb Maven is, or do we have a pom.xml configuration > >> problem? > >> > >> Cheers, > >> Kevin > >> > >> > >> > >> Downloading: > >> > >> > >> https://repository.jboss.org/nexus/content/groups/public-jboss/org/apac > >> he/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wic > >> ket-applib-1.15.0.jar Downloading: > >> > >> > >> https://oss.sonatype.org/content/repositories/snapshots/org/apache/isis > >> /core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-app > >> lib-1.15.0.jar Downloading: > >> > >> > >> http://www.datanucleus.org/downloads/maven2-nightly/org/apache/isis/cor > >> e/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-applib- > >> 1.15.0.jar > >> Downloading: > >> > >> > >> http://repository.jboss.org/nexus/content/groups/public-jboss/org/apach > >> e/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wick > >> et-applib-1.15.0.jar Downloading: > >> > >> > >> http://download.java.net/maven/2/org/apache/isis/core/isis-core-viewer- > >> wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar > >> Downloading: > >> > >> > >> http://download.java.net/maven/1/org/apache/isis/core/isis-core-viewer- > >> wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar > >> > >> > >> > >> > >> > >> -- > >> Kevin Meyer > >> Ljubljana, Slovenia > >> > >> > >> > >> > > > > > -- > Kevin Meyer > Ljubljana, Slovenia > > >
Re: Why does Maven install try to download resources it is supposed to be installing?
Hi Dan, I'm in the isis-1.15.0 directory, doing a "mvn clean install" Sure, in the archetype projects, I could expect this behaviour... Cheers, Kevin On Tue, August 8, 2017 17:54, Dan Haywood wrote: > Hi Kevin, > What command are you running, and in which directory? > In the release-1.15.0-RC1 branch the example applications > (example/application/hello world etc) will have a reference to 1.15.0, but > I doubt you're trying to build them? > Cheers, > Dan. > > > On Tue, 8 Aug 2017, 16:40 Kevin Meyer, wrote: > > >> Hi, >> >> >> I'm in the process of checking the latest release candidate and I >> notice again that Maven is trying to download many resources that it is >> supposed to be building... >> >> For example, the target, isis-core-viewer-wicket-applib-1.15.0.jar, is >> being looked for in several repos, shown below. >> >> Is this how dumb Maven is, or do we have a pom.xml configuration >> problem? >> >> Cheers, >> Kevin >> >> >> >> Downloading: >> >> >> https://repository.jboss.org/nexus/content/groups/public-jboss/org/apac >> he/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wic >> ket-applib-1.15.0.jar Downloading: >> >> >> https://oss.sonatype.org/content/repositories/snapshots/org/apache/isis >> /core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-app >> lib-1.15.0.jar Downloading: >> >> >> http://www.datanucleus.org/downloads/maven2-nightly/org/apache/isis/cor >> e/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-applib- >> 1.15.0.jar >> Downloading: >> >> >> http://repository.jboss.org/nexus/content/groups/public-jboss/org/apach >> e/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wick >> et-applib-1.15.0.jar Downloading: >> >> >> http://download.java.net/maven/2/org/apache/isis/core/isis-core-viewer- >> wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar >> Downloading: >> >> >> http://download.java.net/maven/1/org/apache/isis/core/isis-core-viewer- >> wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar >> >> >> >> >> >> -- >> Kevin Meyer >> Ljubljana, Slovenia >> >> >> >> > -- Kevin Meyer Ljubljana, Slovenia
Re: Why does Maven install try to download resources it is supposed to be installing?
Hi Kevin, What command are you running, and in which directory? In the release-1.15.0-RC1 branch the example applications (example/application/hello world etc) will have a reference to 1.15.0, but I doubt you're trying to build them? Cheers, Dan. On Tue, 8 Aug 2017, 16:40 Kevin Meyer, wrote: > Hi, > > I'm in the process of checking the latest release candidate and I notice > again that Maven is trying to download many resources that it is supposed > to be building... > > For example, the target, isis-core-viewer-wicket-applib-1.15.0.jar, is > being looked for in several repos, shown below. > > Is this how dumb Maven is, or do we have a pom.xml configuration problem? > > Cheers, > Kevin > > > Downloading: > > https://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar > Downloading: > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar > Downloading: > > http://www.datanucleus.org/downloads/maven2-nightly/org/apache/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar > Downloading: > > http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar > Downloading: > > http://download.java.net/maven/2/org/apache/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar > Downloading: > > http://download.java.net/maven/1/org/apache/isis/core/isis-core-viewer-wicket-applib/1.15.0/isis-core-viewer-wicket-applib-1.15.0.jar > > > > > > -- > Kevin Meyer > Ljubljana, Slovenia > > >