On Thu, Dec 1, 2016 at 12:03 PM, Tomas Janciga -X (tjanciga - PANTHEON TECHNOLOGIES at Cisco) <tjanc...@cisco.com> wrote:
> Hi, > > OK, I’ve added this into the pom file of my onem2mtest2bundle-api module: > > <build> > > <plugins> > > <plugin> > > <groupId>pl.project13.maven</groupId> > > <artifactId>git-commit-id-plugin</artifactId> > > <configuration> > > <failOnNoGitDirectory>false</failOnNoGitDirectory> > > </configuration> > > </plugin> > > </plugins> > > </build> > > > > Although it has skipped the previous error, I see this new one: > > [ERROR] Bundle > org.opendaylight.iotdm:onem2mtest2bundle-api:bundle:0.1.0-SNAPSHOT > : Input file does not exist: target/classes/META-INF/git.properties > erm... where, can you give a little bit of context - the lines from your log before this? ;-) Oh, maybe from the maven-bundle-plugin - see the change to the maven-bundle-plugin in odlparent pom.xml in https://git.opendaylight.org/gerrit/#/c/48443/ in addition to the introduction of the git-commit-id-plugin to odlparent-lite ... ... hm, how the hell do we tell maven-bundle-plugin to <Include-Resource> the META-INF/git.properties IFF ITS THERE (but ignore it if it's not) ?? Thanks, > > Tomas > > *From:* Michael Vorburger [mailto:vorbur...@redhat.com] > *Sent:* Thursday, December 01, 2016 11:48 AM > *To:* Robert Varga; Tomas Janciga -X (tjanciga - PANTHEON TECHNOLOGIES at > Cisco) > *Cc:* controller-dev@lists.opendaylight.org; Jis Abraham (jiabraha); > Lionel Florit (lflorit); Vimal Srivastava (vimsriva); odlparent-dev@lists. > opendaylight.org > *Subject:* Re: [controller-dev] Unable to build new project created by > startup project achetype > > > > Hi, [+odlparent-dev] > > > > On Thu, Dec 1, 2016 at 10:25 AM, Robert Varga <n...@hq.sk> wrote: > > On 12/01/2016 08:06 AM, Tomas Janciga -X (tjanciga - PANTHEON > TECHNOLOGIES at Cisco) wrote: > > [ERROR] Failed to execute goal > > pl.project13.maven:git-commit-id-plugin:2.2.1:revision (get-git-infos) > > on project onem2mtest2bundle-api: .git directory is not found! Please > > specify a valid [dotGitDirectory] in your pom.xml -> [Help 1] > > This is a side-effect of https://git.opendaylight.org/gerrit/48443. > > > > Oups... :-( sorry! > > Michael, can you take a look at how to make this an INFO? > > > > I believe https://git.opendaylight.org/gerrit/#/c/48865/ will fix this - > could you try and confirm? (I've not actually tested it myself locally, in > the interest of getting it out ASAP.) > > > > There was no intention to restrict anything with this; please see this > announcement https://lists.opendaylight.org/pipermail/dev/2016- > November/002958.html re. what that is about. > > > Tx, > > M. > > -- > > Michael Vorburger <vorbur...@redhat.com> | IRC: vorburger @freenode | ~ = > http://vorburger.ch > > >
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev