Comments (16)
I'm working on a new release targeting PIT 1.3.0 but at the moment it is on hold.
Putting it in the maven repo would be great but I've never been able to make it work on my side from the pom.xml Is it possible to upload the artifacts directly?
from pitest-descartes.
Hi @oscarlvp
You should be able to deploy it using mvn deploy
. But before that, you must add to your settings your credentials:
<settings>xml
<servers>
<server>
<id>github</id>
<username>githubUserName</username>
<password>githubPassWord</password>
</server>
</servers>
</settings>
On Linux, this file is in ${HOME}/.m2/settings.xml
.
Ensure the access of this file is constraint, only should have the access, or remove your sensitive information after the deployment.
from pitest-descartes.
This issue is really important for us (XWiki) since we cannot use Descartes for real because of this (we need a deployed version in a maven repository). Thanks!
from pitest-descartes.
Having it work on the latest pitest (1.3.2 as of now) would be great too :)
from pitest-descartes.
Hi @danglotb,
I set my settings.xml file and tried "mvn deploy" (on the Descartes master) but the site goal failed.
It seems I'm facing this issue: github/maven-plugins#85
I tried the work around, but it doesn't work neither.
I compared Descartes pom.xml with DSpot one, and I cannot see the difference (except local directory name to upload in the maven repository)
How did you manage to make it work ? :-)
I attached Descartes pom.xml and traces file.
mvn_deploy.traces.txt
pom.xml.txt
from pitest-descartes.
Hi @CaelInria
I don't know the problem.
Do you want I try to deploy pitest-descartes
?
from pitest-descartes.
from pitest-descartes.
I discussed with @oscarlvp and he pointed me the fact that I use mvn deploy
instead of the combo: mvn release:prepare
and mvn release:perform
which is a bad practice.
For now, I'm gonna try to mvn deploy
and see what happens. The, for further deployment and especially for deployment on maven central we must use mvn release
right?
from pitest-descartes.
Deploy is not a release. It just deploys the snapshot which is not what is needed! :)
See the list of steps done by release:prepare and release:perform here (you'll find it has tens of steps and deploy is just one):
- http://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html
- http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html
You should really use the release plugin (and it's not hard to use) :)
from pitest-descartes.
Hi, I just released the test-runner artifact under the groupID eu.stamp-project
see this
I suggest you the following actions in order to deploy others artifacts:
- Configure your
pom.xml
following this and using thepom.xml
of test-runner artifact. - Change your groupID to
eu.stamp-project
- Create an account on sonatype/Nexus Repository and ping me to be added to the groupID
- perform the release with:
mvn release:clean release:prepare release:perform
from pitest-descartes.
@danglotb : I created an account (Cael) on https://issues.sonatype.org/
I assume I have to update my settings.xml ? ;-)
from pitest-descartes.
Hi @CaelInria
I just added you to deploy artifacts to this groupId (c.f. this thread)
You will have to generate user token in oss.sonatype.org (use the same credentials than on issues.sonatype.org).
You should have access to user token in your profile.
then in your setting.xml
you add:
<servers>
<server>
<id>ossrh</id>
<username>user-token</username>
<password>user-passwd</password>
</server>
<server>
<id>ossrh-snapshots</id>
<username>user-token</username>
<password>user-passwd</password>
</server>
</servers>
You can have look to this and to the pom.xml
of test-runner artifact to set up your own pom.xml
.
Finally, perform the release with mvn release:clean release:prepare release:perform
.
The prompt will ask you the current release version and the next one.
Also, you will have to sign artifacts, by setting up a pgp key, see this.
Cheers,
from pitest-descartes.
@danglotb : Please add oscarlvp to the sonatype group.
from pitest-descartes.
I deployed pitmp-maven-plugin. :)
@danglotb : Actually I used maven-gpg-plugin for GPG key.
You can update your settings.xml with:
<server>
<id>gpg.passphrase</id>
<passphrase>your gpg passphrase</passphrase>
</server>
And have a look on pitmp-maven-plugin pom.xml.
@vmassol : Descartes is cooming.. :)
from pitest-descartes.
Hi @oscarlvp
You have been added to the groupID on sonatype
from pitest-descartes.
Descartes 1.0 is available. :-)
from pitest-descartes.
Related Issues (20)
- pitest/descartes fail to run test on xwiki-commons-extension-repository-maven HOT 8
- False positive in xwiki-platform-rendering-macro-python HOT 2
- smarter stop method 'constant' HOT 6
- Extreme mutation and lambdas (anonymous functions) HOT 8
- xwiki-platform-store-filesystem-oldcore is flickering HOT 16
- xwiki-commons-extension-maven is flickering HOT 1
- xwiki-platform-lesscss-default is flickering
- xwiki-platform-configuration-default is flickering
- xwiki-platform-user-default is flickering
- xwiki-platform-localization-source-wiki is flickering
- False positives while using Robolectric/Android HOT 5
- add support for ignoring method with annotation HOT 3
- Document configuration using Gradle HOT 2
- Add mutation returning method argument HOT 3
- add support for TestNG HOT 5
- only mutate methods larger than a given size HOT 2
- add support for breaking the build if at least one pseudo-tested exists HOT 2
- running Descartes without modifying the pom.xml? HOT 3
- Descartes failing to pass test which should get passed, false non green suit detection on spoon. HOT 2
- Does not work with pitest 1.7.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pitest-descartes.