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
Thanks,
Tomas
From: Michael Vorburger [mailto:[email protected]]
Sent: Thursday, December 01, 2016 11:48 AM
To: Robert Varga; Tomas Janciga -X (tjanciga - PANTHEON TECHNOLOGIES at Cisco)
Cc: [email protected]; Jis Abraham (jiabraha); Lionel
Florit (lflorit); Vimal Srivastava (vimsriva);
[email protected]
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 <[email protected]<mailto:[email protected]>>
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 <[email protected]<mailto:[email protected]>> | IRC:
vorburger @freenode | ~ = http://vorburger.ch<http://vorburger.ch/>
_______________________________________________
controller-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-dev