FAQ Database Discussion Community


How to deploy additional artifacts in maven without hardcoding a repository?

maven,release,snapshot,maven-deploy-plugin,deploying
In my maven pom, I have an additional jar-file that I'd like to include with my deployables. I've got the jar-file building successfully, and I figured I'd use the maven-deploy-plugin, like so (version-wise, I'm using 2.8.2 from dependencyManagement): <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <executions> <execution> <id>deploy-special-jar</id> <phase>deploy</phase> <goals> <goal>deploy-file</goal>...

lvm: create snapshot between volume groups

linux,virtualization,partitioning,snapshot,lvm
is there a way to create a snapshot of a logical volume (lv1) that resides into volume group vgA inside a different volume group (say vgB)? i have my root logical volume in volume group vgA on the SSD and i want to take a snapshot of the volume on...

Python using sort with function gives TypeError: date_compare() missing 1 required positional argument: error

python,sorting,amazon-web-services,amazon-ec2,snapshot
I am completely new to Python so please excuse my lack of knowledge. I am writing a script to create AWS EC2 snapshots and then delete any older snapshots specified in the script. I took some code from other scripts which appear to have been written in an older Python...

How to query a balance metric from a table that is not snapshotted

sql,sql-server,sql-server-2012,query-optimization,snapshot
Problem: Query optimization - current solution takes 10+ mins to complete, which is too long for reporting purposes. Goal: Report out active customers by day. An active customer is someone who has made a purchase in the last year. Sample Dataset: Customer_Id | Order_Date 1 | 1/1/2014 1 | 1/2/2014...

Jenkins Maven POM Version number not changing

maven,github,jenkins,pom.xml,snapshot
I have a simple Maven project that I am using as a Sandbox project to investigate how to push variables from Jenkins into a Maven build so they appear in the artifacts. (Or better still have Jenkins add parameters to the Maven build and leave the original intact). I have...

Merge Replication First Snapshot don't work

sql-server,replication,snapshot,merge-replication
When doing the First Synchronization in Merge Replication, I'm having this error: "Cannot delete table 'dbo.eqp_Equipment' because it is being referenced by a FOREIGN KEY constraint. (Source: MSSQLServer, Error number: 4712)" Then I changed the "Action if name is in use" to "Truncate all data in the existing object", then...

Elasticsearch: Restore snapshot with different shards number

elasticsearch,backup,sharding,snapshot
I have created an Elasticsearch snapshot and want to restore it with a different number of shards: My old cluster uses 5 shards for every index, I want to reduce it to 2 shards. Is this somehow possible to do this with the Elasticsearch snapshot API?...

Python script for EC2 snapshots, use datetime to delete old snapshots

python,datetime,amazon-web-services,amazon-ec2,snapshot
I am a beginner with Python and I have written a python script which takes a snaphot of a specified volume and then retains only the number of snapshots requested for that volume. #Built with Python 3.3.2 import boto.ec2 from boto.ec2.connection import EC2Connection from boto.ec2.regioninfo import RegionInfo from boto.ec2.snapshot import...

How do I make a releases, builds, and/or snapshots with BitBucket?

git,bitbucket,release,snapshot
I have just been working on my engine but after changing focus for a competition, I would like to be able to make releases and builds for my game. I know GitHub has releases, but I am 15 and don't have a steady supply of money to get private repos...