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: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-...@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<mailto: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<mailto:vorbur...@redhat.com>> | IRC: 
vorburger @freenode | ~ = http://vorburger.ch<http://vorburger.ch/>

_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev
  • [controller-d... Tomas Janciga -X (tjanciga - PANTHEON TECHNOLOGIES at Cisco)
    • Re: [con... Robert Varga
      • Re: ... Michael Vorburger
        • ... Tomas Janciga -X (tjanciga - PANTHEON TECHNOLOGIES at Cisco)
          • ... Michael Vorburger
            • ... Tomas Janciga -X (tjanciga - PANTHEON TECHNOLOGIES at Cisco)
              • ... Michael Vorburger

Reply via email to