Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] building a repository deletes target/ after running

how do you build that? with CLI command or with some build machine? I guess you dont have somewhere clean command after the mvn package , right?

D.


> ------------ Původní zpráva ------------
> Od: iulian dragos <jaguarul@xxxxxxxxx>
> Předmět: [tycho-user] building a repository deletes target/ after running
> Datum: 06.9.2012 14:45:33
> ----------------------------------------
> Hi all,
>
> I'm trying to build a product (based on Eclipse, with my feature
> pre-installed). I am stuck in building the repository. For some reason it
> always runs `clean` after building the product, so I am left without a
> `target/` directory at the end of my build. I run `mvn package`, and I see
> 'building zip file', then cleaning everything. Googling didn't help..
>
> What am I doing wrong? Here's my pom file:
> https://gist.github.com/3655814(it has a parent file defining a few
> plugins, like the build-number
> plugin).
>
> Here's my output:
>
> thanks,
> iulian
>
>
> INFO] --- tycho-p2-repository-plugin:0.15.0:archive-repository
> (default-archive-repository) @ scalaide ---
> [INFO] Building zip:
> /Users/dragos/workspace/git/plugin/dragos-scala-ide/org.scala-ide.product/target/scalaide-2.1.0-SNAPSHOT.zip
> [INFO]
> [INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @ scalaide >>>
> [INFO]
> [INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier
> (default-build-qualifier) @ scalaide ---
> [INFO]
> [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ scalaide ---
> [INFO] Checking for local modifications: skipped.
> [INFO] Updating project files from SCM: skipped.
> [INFO] ShortRevision tag detected. The value is '7'.
> [INFO] Executing: /bin/sh -c cd
> /Users/dragos/workspace/git/plugin/dragos-scala-ide/org.scala-ide.product
> && git rev-parse --verify --short=7 HEAD
> [INFO] Working directory:
> /Users/dragos/workspace/git/plugin/dragos-scala-ide/org.scala-ide.product
> [INFO] Storing buildNumber: 0a279a5 at timestamp: 1346934877292
> [INFO] ShortRevision tag detected. The value is '7'.
> [INFO] Executing: /bin/sh -c cd
> /Users/dragos/workspace/git/plugin/dragos-scala-ide/org.scala-ide.product
> && git rev-parse --verify --short=7 HEAD
> [INFO] Working directory:
> /Users/dragos/workspace/git/plugin/dragos-scala-ide/org.scala-ide.product
> [INFO] Storing buildScmBranch: UNKNOWN
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @ scalaide ---
> [INFO] Deleting
> /Users/dragos/workspace/git/plugin/dragos-scala-ide/org.scala-ide.product/target
> [INFO]
> [INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @ scalaide <<<
> [INFO]
> [INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ scalaide ---
> [INFO] No sources in project. Archive not created.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 33.925s
> [INFO] Finished at: Thu Sep 06 14:34:37 CEST 2012
> [INFO] Final Memory: 60M/123M
> [INFO]
> ------------------------------------------------------------------------
>
>
> --
> « Je déteste la montagne, ça cache le paysage »
> Alphonse Allais
>
>
>


Back to the top